diff options
| author | Zhineng Li <[email protected]> | 2026-02-13 10:54:11 +0800 |
|---|---|---|
| committer | Zhineng Li <[email protected]> | 2026-02-13 10:54:11 +0800 |
| commit | 7347bac4ab7e136157fc94777e6cf87ef9e08599 (patch) | |
| tree | 0dec367dac6e152161a6f7cc0dba6ebbef1f34a2 /data/en_us/computenestsupplier/2021-05-21/api-docs.php | |
| download | acs-metadata-full-main.tar.gz acs-metadata-full-main.zip | |
first commitHEADv1.0.0+20260212main
Diffstat (limited to 'data/en_us/computenestsupplier/2021-05-21/api-docs.php')
| -rw-r--r-- | data/en_us/computenestsupplier/2021-05-21/api-docs.php | 16519 |
1 files changed, 16519 insertions, 0 deletions
diff --git a/data/en_us/computenestsupplier/2021-05-21/api-docs.php b/data/en_us/computenestsupplier/2021-05-21/api-docs.php new file mode 100644 index 0000000..995e182 --- /dev/null +++ b/data/en_us/computenestsupplier/2021-05-21/api-docs.php @@ -0,0 +1,16519 @@ +<?php return [ + 'version' => '1.0', + 'info' => [ + 'style' => 'RPC', + 'product' => 'ComputeNestSupplier', + 'version' => '2021-05-21', + ], + 'directories' => [ + [ + 'id' => 305644, + 'title' => null, + 'type' => 'directory', + 'children' => [ + 'CreateService', + 'DeleteService', + 'UpdateService', + 'GetService', + 'ListServices', + 'PreLaunchService', + 'RegisterService', + 'LaunchService', + 'GetServiceProvisions', + 'GetServiceTemplateParameterConstraints', + 'GetServiceEstimateCost', + 'WithdrawService', + 'GenerateServicePolicy', + 'CancelServiceRegistration', + 'ListServiceRegistrations', + ], + ], + [ + 'id' => 305660, + 'title' => null, + 'type' => 'directory', + 'children' => [ + 'ListServiceInstanceUpgradeHistory', + 'RollbackServiceInstance', + 'CreateServiceInstance', + 'DeleteServiceInstances', + 'UpdateServiceInstanceSpec', + 'UpdateServiceInstanceAttribute', + 'ModifyServiceInstanceResources', + 'UpgradeServiceInstance', + 'GetServiceInstance', + 'ListServiceInstances', + 'DeployServiceInstance', + 'ContinueDeployServiceInstance', + 'StartServiceInstance', + 'StopServiceInstance', + 'RestartServiceInstance', + 'ListServiceInstanceDeployDetails', + 'ListServiceInstanceResources', + 'ListServiceInstanceBill', + 'ListServiceInstanceLogs', + ], + ], + [ + 'id' => 305680, + 'title' => null, + 'type' => 'directory', + 'children' => [ + 'DeleteAcrImageRepositories', + 'ListArtifactRisks', + 'CreateArtifact', + 'DeleteArtifact', + 'UpdateArtifact', + 'DeleteAcrImageTags', + 'GetArtifact', + 'ListArtifacts', + 'ListArtifactVersions', + 'ReleaseArtifact', + 'GetUploadCredentials', + 'GetArtifactRepositoryCredentials', + 'ListAcrImageTags', + 'ListAcrImageRepositories', + ], + ], + [ + 'id' => 305695, + 'title' => null, + 'type' => 'directory', + 'children' => [ + 'CreateServiceUsage', + 'RejectServiceUsage', + 'ApproveServiceUsage', + 'ListServiceUsages', + ], + ], + [ + 'id' => 305700, + 'title' => null, + 'type' => 'directory', + 'children' => [ + 'AddServiceSharedAccounts', + 'RemoveServiceSharedAccounts', + 'ListServiceSharedAccounts', + 'UpdateSharedAccountPermission', + ], + ], + [ + 'id' => 305705, + 'title' => null, + 'type' => 'directory', + 'children' => [ + 'ListTagResources', + 'TagResources', + 'UnTagResources', + 'ListTagValues', + 'ListTagKeys', + ], + ], + [ + 'id' => 305711, + 'title' => null, + 'type' => 'directory', + 'children' => [ + 'GetSupplierInformation', + 'CreateSupplierRegistration', + 'ListSupplierRegistrations', + 'UpdateSupplierInformation', + ], + ], + [ + 'id' => 305716, + 'title' => null, + 'type' => 'directory', + 'children' => [ + 'PushMeteringData', + 'CreateOpsNotice', + 'CreateServiceTestTask', + 'ListServiceTestTasks', + 'ListServiceTestTaskLogs', + 'GetServiceTestTask', + 'GenerateDefaultServiceTestConfig', + 'GetServiceRegistration', + 'ListResellers', + 'DeleteServiceTestCase', + 'GetOpsNotice', + 'UpdateServiceTestCase', + 'GetNetworkAvailableZones', + 'ListServiceTestCases', + 'CreateServiceTestCase', + 'GetServiceTemplateCriterionIssues', + 'ListArtifactBuildLogs', + 'ListServiceBuildLogs', + 'ListOpsNotices', + ], + ], + ], + 'components' => [ + 'schemas' => [], + ], + 'apis' => [ + 'CreateService' => [ + 'summary' => 'Creates a service.', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '36949', + 'abilityTreeNodes' => [ + 'FEATUREcomputenest2G0818', + 'FEATUREcomputenest1Z49ZW', + 'FEATUREcomputenest21Y74A', + ], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'RegionId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The region ID.'."\n", + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + '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.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => '10CM943JP0EN9D51H', + ], + ], + [ + 'name' => 'ServiceId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The service ID.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'service-0e6fca6a51a544xxxxxx', + ], + ], + [ + 'name' => 'DeployType', + 'in' => 'query', + 'schema' => [ + 'description' => 'The deployment type of the service. Valid values:'."\n" + ."\n" + .'* ros: The service is deployed by using Resource Orchestration Service (ROS).'."\n" + .'* terraform: The service is deployed by using Terraform.'."\n" + .'* ack: The service is deployed by using Container Service for Kubernetes (ACK).'."\n" + .'* spi: The service is deployed by calling a service provider interface (SPI).'."\n" + .'* operation: The service is deployed by using a hosted O\\&M service.'."\n", + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'ros', + ], + ], + [ + 'name' => 'DeployMetadata', + 'in' => 'query', + 'schema' => [ + 'description' => 'The storage configurations of the service. The format in which the deployment information of a service is stored varies based on the deployment type of the service. In this case, the deployment information is stored in the JSON string format.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => '{\\"TemplateConfigs\\":[{\\"Name\\":\\"模板1\\",\\"Url\\":\\"oss://computenest-test/template" '."\n" + .' + ".json?RegionId=cn-beijing\\",\\"PredefinedParameters\\":[{\\"Name\\":\\"低配版\\"," '."\n" + .' + "\\"Parameters\\":{\\"InstanceType\\":\\"ecs.g5.large\\",\\"DataDiskSize\\":40}},{\\"Name\\":\\"高配版\\"," '."\n" + .' + "\\"Parameters\\":{\\"InstanceType\\":\\"ecs.g5.large\\",\\"DataDiskSize\\":200}}]}]}', + ], + ], + [ + 'name' => 'ServiceType', + 'in' => 'query', + 'schema' => [ + 'description' => 'The service type. Valid values:'."\n" + ."\n" + .'* private: The service is a private service and is deployed within the account of a customer.'."\n" + .'* managed: The service is a fully managed service and is deployed within the account of a service provider.'."\n" + .'* operation: The service is a hosted O\\&M service.'."\n" + .'* poc: The service is a trial service.'."\n", + 'type' => 'string', + 'required' => false, + 'docRequired' => true, + 'example' => 'private', + 'default' => 'private', + ], + ], + [ + 'name' => 'ServiceInfo', + 'in' => 'query', + 'style' => 'repeatList', + 'schema' => [ + 'description' => 'The service details.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Locale' => [ + 'description' => 'The language of the service. Valid values:'."\n" + ."\n" + .'* zh-CN: Chinese'."\n" + .'* en-US: English'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'zh-CN', + ], + 'ShortDescription' => [ + 'description' => 'The description of the service.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'TiDB是A公司自主设计、研发的开源分布式关系型数据库。', + ], + 'Image' => [ + 'description' => 'The URL of the service icon.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'http://img.tidb.oss.url', + ], + 'Name' => [ + 'description' => 'The service name.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'TiDB Database', + ], + 'LongDescriptionUrl' => [ + 'description' => 'The URL of the detailed description of the service.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'http://description.tidb.oss.url'."\n", + ], + 'Agreements' => [ + 'description' => 'Protocol document information about the service.', + 'type' => 'array', + 'items' => [ + 'description' => 'Protocol document information about the service.', + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'Protocol name.', + 'type' => 'string', + 'required' => false, + 'example' => 'Name', + ], + 'Url' => [ + 'description' => 'Protocol url.', + 'type' => 'string', + 'required' => false, + 'example' => 'https://aliyun.com/xxxxxxxx.html', + ], + ], + 'required' => false, + ], + 'required' => false, + 'maxItems' => 10, + ], + 'Softwares' => [ + 'description' => 'The list of the software in the service.', + 'type' => 'array', + 'items' => [ + 'description' => 'The list of the software in the service.', + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the software.', + 'type' => 'string', + 'required' => false, + 'example' => 'MySQL', + ], + 'Version' => [ + 'description' => 'The version of the software.', + 'type' => 'string', + 'required' => false, + 'example' => '5.7', + ], + ], + 'required' => false, + ], + 'required' => false, + 'maxItems' => 10, + ], + ], + 'required' => false, + ], + 'required' => false, + 'maxItems' => 5, + ], + ], + [ + 'name' => 'IsSupportOperated', + 'in' => 'query', + 'schema' => [ + 'description' => 'Specifies whether to enable the hosted O\\&M feature for the service. Default value: false. Valid values:'."\n" + ."\n" + .'* true'."\n" + .'* false'."\n" + ."\n" + .'> This parameter is required if you set **ServiceType** to **private**.'."\n", + 'type' => 'boolean', + 'required' => false, + 'example' => 'false', + ], + ], + [ + 'name' => 'PolicyNames', + 'in' => 'query', + 'schema' => [ + 'description' => 'The policy name. The name can be up to 128 characters in length. Separate multiple names with commas (,). Only hosted O\\&M policies are supported.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'policyName1, policyName2', + ], + ], + [ + 'name' => 'Duration', + 'in' => 'query', + 'schema' => [ + 'description' => 'The duration for which hosted O\\&M is implemented. Unit: seconds.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'example' => '0', + ], + ], + [ + 'name' => 'AlarmMetadata', + 'in' => 'query', + 'schema' => [ + 'description' => 'The alert configurations of the service.'."\n" + ."\n" + .'> This parameter takes effect only when you specify an alert policy for **PolicyNames**.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => '{'."\n" + .' "TemplateUrl": "http://template.file.url",'."\n" + .' // 应用分组级别告警元数据'."\n" + .' "ApplicationGroups": ['."\n" + .' {'."\n" + .' "Name": "applicationGroup1",'."\n" + .' "TemplateUrl": "url1"'."\n" + .' },'."\n" + .' {'."\n" + .' "Name": "applicationGroup2",'."\n" + .' "TemplateUrl": "url2"'."\n" + .' }'."\n" + .' ]'."\n" + .'}', + ], + ], + [ + 'name' => 'ShareType', + 'in' => 'query', + 'schema' => [ + 'description' => 'The permission type of the deployment URL. Valid values:'."\n" + ."\n" + .'* Public: All users can go to the URL to create a service instance or a trial service instance.'."\n" + .'* Restricted: Only users in the whitelist can go to the URL to create a service instance or a trial service instance.'."\n" + .'* OnlyFormalRestricted: Only users in the whitelist can go to the URL to create a service instance.'."\n" + .'* OnlyTrailRestricted: Only users in the whitelist can go to the URL to create a trial service instance.'."\n" + .'* Hidden: Users not in the whitelist cannot see the service details page when they go to the URL and cannot request deployment permissions.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'Public', + ], + ], + [ + 'name' => 'ApprovalType', + 'in' => 'query', + 'schema' => [ + 'description' => 'The approval type of the service usage application. Valid values:'."\n" + ."\n" + .'* Manual: The application is manually approved.'."\n" + .'* AutoPass: The application is automatically approved.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'Manual', + ], + ], + [ + 'name' => 'VersionName', + 'in' => 'query', + 'schema' => [ + 'description' => 'The version name.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'Draft', + ], + ], + [ + 'name' => 'UpgradeMetadata', + 'in' => 'query', + 'schema' => [ + 'description' => 'The metadata about the upgrade.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => '{\\"Description\\":\\"xxx\\",\\"SupportRollback\\":true,\\"SupportUpgradeFromVersions\\":[],\\"UpgradeComponents\\":[\\"Configuration\\"]}', + ], + ], + [ + 'name' => 'TrialDuration', + 'in' => 'query', + 'schema' => [ + 'description' => 'The trial duration. Unit: day. The maximum trial duration cannot exceed 30 days.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'example' => '7', + ], + ], + [ + 'name' => 'Tag', + 'in' => 'query', + 'style' => 'repeatList', + 'schema' => [ + 'description' => 'The custom tags.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The custom tags.'."\n", + 'type' => 'object', + 'properties' => [ + 'Key' => [ + 'description' => 'The tag key.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'Usage', + ], + 'Value' => [ + 'description' => 'The tag value.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'Web', + ], + ], + 'required' => false, + ], + 'required' => false, + 'maxItems' => 20, + ], + ], + [ + 'name' => 'TenantType', + 'in' => 'query', + 'schema' => [ + 'description' => 'The type of the tenant. Valid values:'."\n" + ."\n" + .'* SingleTenant'."\n" + .'* MultiTenant'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'SingleTenant', + ], + ], + [ + 'name' => 'LicenseMetadata', + 'in' => 'query', + 'schema' => [ + 'description' => 'The license metadata.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => '{\\"RetentionDays\\":3}', + ], + ], + [ + 'name' => 'OperationMetadata', + 'in' => 'query', + 'schema' => [ + 'description' => 'The hosted O\\&M configurations.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => '{\\"PrometheusConfigMap\\":{\\"New_Vpc_Ack_And_Jumpserver\\":{}}}', + ], + ], + [ + 'name' => 'ResourceGroupId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The ID of the resource group.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'rg-aek25refu7r3opq', + ], + ], + [ + 'name' => 'LogMetadata', + 'in' => 'query', + 'schema' => [ + 'description' => 'The logging configurations.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => '{ "Logstores": \\[ { "LogstoreName": "access-log", "LogPath": "/home/admin/app/logs", # This parameter is not required for containers. Configure the parameter in the YAML file. "FilePattern": "access.log\\*" # This parameter is not required for containers. Configure the parameter in the YAML file. } ] }'."\n", + ], + ], + [ + 'name' => 'SourceServiceId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The source service ID for resell。', + 'type' => 'string', + 'required' => false, + 'example' => 'service-70a3b15bb62643xxxxxx', + ], + ], + [ + 'name' => 'SourceServiceVersion', + 'in' => 'query', + 'schema' => [ + 'description' => 'The source service version for resell。', + 'type' => 'string', + 'required' => false, + 'example' => '1', + ], + ], + [ + 'name' => 'Resellable', + 'in' => 'query', + 'schema' => [ + 'description' => 'Whether resell is supported.', + 'type' => 'boolean', + 'required' => false, + 'example' => 'false', + ], + ], + [ + 'name' => 'BuildParameters', + 'in' => 'query', + 'schema' => [ + 'description' => 'The parameters for building the service', + 'type' => 'string', + 'required' => false, + 'example' => '{ "ServiceTemplateId": "st-xxxxx"}', + ], + ], + [ + 'name' => 'DryRun', + 'in' => 'query', + 'schema' => [ + 'description' => 'Specifies whether to perform only a dry run for the request to check information. Valid values:'."\n" + ."\n" + .'* true: performs a dry run for the request, but does not create a service.'."\n" + .'* false: performs a dry run for the request, and create a service if the request passes the dry run.', + 'type' => 'boolean', + 'required' => false, + 'example' => 'true', + ], + ], + [ + 'name' => 'ComplianceMetadata', + 'in' => 'query', + 'style' => 'json', + 'schema' => [ + 'description' => 'Compliance check metadata.', + 'type' => 'object', + 'properties' => [ + 'CompliancePacks' => [ + 'description' => 'The compliance package selected.', + 'type' => 'array', + 'items' => [ + 'description' => 'The compliance package selected.', + 'type' => 'string', + 'required' => false, + 'example' => 'VpcDataRisk', + ], + 'required' => false, + 'maxItems' => 10, + ], + ], + 'required' => false, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Status' => [ + 'description' => 'The status of the service.'."\n", + 'type' => 'string', + 'example' => 'Created', + ], + 'RequestId' => [ + 'description' => 'The request ID.'."\n", + 'type' => 'string', + 'example' => '4DB0F536-B3BE-4F0D-BD29-E83FB56D550C', + ], + 'Version' => [ + 'description' => 'The service version.'."\n", + 'type' => 'string', + 'example' => 'draft', + ], + 'ServiceId' => [ + 'description' => 'The service ID.'."\n", + 'type' => 'string', + 'example' => 'service-0e6fca6a51a544xxxxxx', + ], + 'DryRunResult' => [ + 'description' => 'The dry run result.'."\n", + 'type' => 'object', + 'properties' => [ + 'RolePolicy' => [ + 'description' => 'The required ram policy for deploying role.', + 'type' => 'object', + 'properties' => [ + 'Policy' => [ + 'description' => 'The required ram policy for deploying role.', + 'type' => 'string', + 'example' => '{'."\n" + .' "Statement": [{'."\n" + .' "Action": ["oos:CancelExecutions", "oos:DeleteExecutions", "oos:GetTemplate", "oos:ListExecutions", "oos:ListTemplates", "oos:NotifyExecution", "oos:StartExecution"],'."\n" + .' "Effect": "Allow",'."\n" + .' "Resource": "*"'."\n" + .' }, {'."\n" + .' "Action": ["ram:PassRole"],'."\n" + .' "Effect": "Allow",'."\n" + .' "Resource": "*"'."\n" + .' }, {'."\n" + .' "Action": ["ros:CreateStack", "ros:GetStack", "ros:UpdateStack", "ros:ListStackEvents", "ros:ListStackResources", "ros:ListStackResources", "ros:DeleteStack", "ram:GetRole"],'."\n" + .' "Effect": "Allow",'."\n" + .' "Resource": "*"'."\n" + .' }],'."\n" + .' "Version": "1"'."\n" + .'}', + ], + 'MissingPolicy' => [ + 'description' => 'The missing ram policy for deploying role.', + 'type' => 'array', + 'items' => [ + 'description' => 'The missing ram policy for deploying role.', + 'type' => 'object', + 'properties' => [ + 'ServiceName' => [ + 'description' => 'The service name in ram policy.', + 'type' => 'string', + 'example' => 'ecs', + ], + 'Resource' => [ + 'description' => 'Resource in ram policy.', + 'type' => 'string', + 'example' => '*', + ], + 'Action' => [ + 'description' => 'The Actions.', + 'type' => 'array', + 'items' => [ + 'description' => 'The action in ram policy.', + 'type' => 'string', + 'example' => 'CreateStack', + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + 'description' => '', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Status\\": \\"Created\\",\\n \\"RequestId\\": \\"4DB0F536-B3BE-4F0D-BD29-E83FB56D550C\\",\\n \\"Version\\": \\"draft\\",\\n \\"ServiceId\\": \\"service-0e6fca6a51a544xxxxxx\\",\\n \\"DryRunResult\\": {\\n \\"RolePolicy\\": {\\n \\"Policy\\": \\"{\\\\n\\\\t\\\\\\"Statement\\\\\\": [{\\\\n\\\\t\\\\t\\\\\\"Action\\\\\\": [\\\\\\"oos:CancelExecutions\\\\\\", \\\\\\"oos:DeleteExecutions\\\\\\", \\\\\\"oos:GetTemplate\\\\\\", \\\\\\"oos:ListExecutions\\\\\\", \\\\\\"oos:ListTemplates\\\\\\", \\\\\\"oos:NotifyExecution\\\\\\", \\\\\\"oos:StartExecution\\\\\\"],\\\\n\\\\t\\\\t\\\\\\"Effect\\\\\\": \\\\\\"Allow\\\\\\",\\\\n\\\\t\\\\t\\\\\\"Resource\\\\\\": \\\\\\"*\\\\\\"\\\\n\\\\t}, {\\\\n\\\\t\\\\t\\\\\\"Action\\\\\\": [\\\\\\"ram:PassRole\\\\\\"],\\\\n\\\\t\\\\t\\\\\\"Effect\\\\\\": \\\\\\"Allow\\\\\\",\\\\n\\\\t\\\\t\\\\\\"Resource\\\\\\": \\\\\\"*\\\\\\"\\\\n\\\\t}, {\\\\n\\\\t\\\\t\\\\\\"Action\\\\\\": [\\\\\\"ros:CreateStack\\\\\\", \\\\\\"ros:GetStack\\\\\\", \\\\\\"ros:UpdateStack\\\\\\", \\\\\\"ros:ListStackEvents\\\\\\", \\\\\\"ros:ListStackResources\\\\\\", \\\\\\"ros:ListStackResources\\\\\\", \\\\\\"ros:DeleteStack\\\\\\", \\\\\\"ram:GetRole\\\\\\"],\\\\n\\\\t\\\\t\\\\\\"Effect\\\\\\": \\\\\\"Allow\\\\\\",\\\\n\\\\t\\\\t\\\\\\"Resource\\\\\\": \\\\\\"*\\\\\\"\\\\n\\\\t}],\\\\n\\\\t\\\\\\"Version\\\\\\": \\\\\\"1\\\\\\"\\\\n}\\",\\n \\"MissingPolicy\\": [\\n {\\n \\"ServiceName\\": \\"ecs\\",\\n \\"Resource\\": \\"*\\",\\n \\"Action\\": [\\n \\"CreateStack\\"\\n ]\\n }\\n ]\\n }\\n }\\n}","type":"json"}]', + 'title' => 'CreateService', + ], + 'DeleteService' => [ + 'summary' => 'Deletes a service.', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'delete', + 'riskType' => 'high', + 'chargeType' => 'free', + 'abilityTreeCode' => '36943', + 'abilityTreeNodes' => [ + 'FEATUREcomputenest2G0818', + 'FEATUREcomputenest1Z49ZW', + 'FEATUREcomputenest21Y74A', + ], + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'RegionId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The region ID.'."\n", + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'cn-hangzhou', + ], + ], + [ + 'name' => 'ServiceId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The service ID.'."\n", + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'service-0e6fca6a51a54420****', + ], + ], + [ + 'name' => 'ServiceVersion', + 'in' => 'query', + 'schema' => [ + 'description' => 'The service version.'."\n", + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => '2', + ], + ], + [ + 'name' => 'ClientToken', + 'in' => 'query', + 'schema' => [ + 'description' => 'The client token that is used to ensure the idempotence of the request. You can use the client to generate the token, but you must make sure that the token is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => '10CM943JP0EN9D51H', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => 'The request ID.'."\n", + 'type' => 'string', + 'example' => '4DB0F536-B3BE-4F0D-BD29-E83FB56D****', + ], + ], + 'description' => '', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"4DB0F536-B3BE-4F0D-BD29-E83FB56D****\\"\\n}","type":"json"}]', + 'title' => 'DeleteService', + ], + 'UpdateService' => [ + 'summary' => 'Update a service.', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '36950', + 'abilityTreeNodes' => [ + 'FEATUREcomputenest18JMDW', + ], + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'RegionId', + 'in' => 'query', + 'schema' => [ + 'description' => 'Region ID.', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'cn-hangzhou', + ], + ], + [ + 'name' => 'DeployType', + 'in' => 'query', + 'schema' => [ + 'description' => 'The deployment type of the service. Valid values:'."\n" + ."\n" + .'ros: The service is deployed by using Resource Orchestration Service (ROS).'."\n" + .'terraform: The service is deployed by using Terraform.'."\n" + .'ack: The service is deployed by using Container Service for Kubernetes (ACK).'."\n" + .'spi: The service is deployed by calling a service provider interface (SPI).'."\n" + .'operation: The service is deployed by using a hosted O&M service.', + 'type' => 'string', + 'required' => false, + 'example' => 'ros', + ], + ], + [ + 'name' => 'DeployMetadata', + 'in' => 'query', + 'schema' => [ + 'description' => 'The deployment configurations of the service. The format in which the deployment information of a service is stored varies based on the deployment type of the service. In this case, the deployment information is stored in the JSON string format.', + 'type' => 'string', + 'required' => false, + 'example' => '{\\"EstimateTime\\":null,\\"SupplierDeployMetadata\\":{\\"DeployTimeout\\":7200},\\"EnableVnc\\":false}', + ], + ], + [ + 'name' => 'AlarmMetadata', + 'in' => 'query', + 'schema' => [ + 'description' => 'The alert configurations of the service.'."\n" + ."\n" + .'> This parameter takes effect only when you specify an alert policy for **PolicyNames**.', + 'type' => 'string', + 'required' => false, + 'example' => '{\\"CmsTemplateId\\":1162921,\\"TemplateUrl\\":\\"https://service-info-private.oss-cn-hangzhou.aliyuncs.com/1760465342xxxxxx/template/c072ef50-6c03-4d9c-8f0e-d1c440xxxxxx.json\\"}', + ], + ], + [ + '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' => '788E7CP0EN9D51P', + ], + ], + [ + 'name' => 'ServiceId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The service ID.', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'service-1dda29c3eca648xxxxxx', + ], + ], + [ + 'name' => 'ServiceType', + 'in' => 'query', + 'schema' => [ + 'description' => 'The service type. Valid values:'."\n" + ."\n" + .'* private: The service is a private service and is deployed within the account of a customer.'."\n" + .'* managed: The service is a fully managed service and is deployed within the account of a service provider.'."\n" + .'* operation: The service is a hosted O\\&M service.', + 'type' => 'string', + 'required' => false, + 'example' => 'private', + ], + ], + [ + 'name' => 'ServiceInfo', + 'in' => 'query', + 'style' => 'repeatList', + 'schema' => [ + 'description' => 'The service details.', + 'type' => 'array', + 'items' => [ + 'description' => 'The service details.', + 'type' => 'object', + 'properties' => [ + 'Locale' => [ + 'description' => 'The language of the service. Valid values:'."\n" + ."\n" + .'* zh-CN: Chinese'."\n" + .'* en-US: English', + 'type' => 'string', + 'required' => false, + 'example' => 'zh-CN', + ], + 'ShortDescription' => [ + 'description' => 'The description of the service.', + 'type' => 'string', + 'required' => false, + 'example' => 'The URL of the detailed description of the service.'."\n", + ], + 'Image' => [ + 'description' => 'The URL of the service icon.', + 'type' => 'string', + 'required' => false, + 'example' => 'http://img.tidb.oss.url', + ], + 'Name' => [ + 'description' => 'The service name.', + 'type' => 'string', + 'required' => false, + 'example' => 'Metric Name, filled in when Type is ComputeNestBill or ComputeNestPrometheus', + ], + 'LongDescriptionUrl' => [ + 'description' => 'The URL of the detailed description of the service.', + 'type' => 'string', + 'required' => false, + 'example' => 'http://description.tidb.oss.url'."\n", + ], + 'Agreements' => [ + 'description' => 'Protocol document information about the service.', + 'type' => 'array', + 'items' => [ + 'description' => 'Protocol document information about the service.', + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'Protocol name.', + 'type' => 'string', + 'required' => false, + 'example' => 'Name', + ], + 'Url' => [ + 'description' => 'Protocol url.', + 'type' => 'string', + 'required' => false, + 'example' => 'https://aliyun.com/xxxxxxxx.html', + ], + ], + 'required' => false, + ], + 'required' => false, + 'maxItems' => 10, + ], + 'Softwares' => [ + 'description' => 'The list of the software in the service.', + 'type' => 'array', + 'items' => [ + 'description' => 'The list of the software in the service.', + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the software.', + 'type' => 'string', + 'required' => false, + 'example' => 'MySQL', + ], + 'Version' => [ + 'description' => 'The version of the software.', + 'type' => 'string', + 'required' => false, + 'example' => '5.7', + ], + ], + 'required' => false, + ], + 'required' => false, + 'maxItems' => 10, + ], + ], + 'required' => false, + ], + 'required' => false, + 'maxItems' => 5, + ], + ], + [ + 'name' => 'IsSupportOperated', + 'in' => 'query', + 'schema' => [ + 'description' => 'Specifies whether to enable the hosted O\\&M feature for the service. Default value: false. Valid values:'."\n" + ."\n" + .'* true'."\n" + .'* false'."\n" + ."\n" + .'> This parameter is required if you set **ServiceType** to **private**.', + 'type' => 'boolean', + 'required' => false, + 'example' => 'false', + ], + ], + [ + 'name' => 'PolicyNames', + 'in' => 'query', + 'schema' => [ + 'description' => 'The policy name. The name can be up to 128 characters in length. Separate multiple names with commas (,). Only hosted O\\&M policies are supported.', + 'type' => 'string', + 'required' => false, + 'example' => 'policyName1, policyName2', + ], + ], + [ + 'name' => 'Duration', + 'in' => 'query', + 'schema' => [ + 'description' => 'The duration for which hosted O\\&M is implemented. Unit: seconds.', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'example' => '259200', + ], + ], + [ + 'name' => 'VersionName', + 'in' => 'query', + 'schema' => [ + 'description' => 'The version name.', + 'type' => 'string', + 'required' => false, + 'example' => 'Draft', + ], + ], + [ + 'name' => 'UpgradeMetadata', + 'in' => 'query', + 'schema' => [ + 'description' => 'The metadata about the upgrade.', + 'type' => 'string', + 'required' => false, + 'example' => '{\\"Description\\":\\"xxx\\",\\"SupportRollback\\":true,\\"SupportUpgradeFromVersions\\":[],\\"UpgradeComponents\\":[\\"Configuration\\"]}', + ], + ], + [ + 'name' => 'TrialDuration', + 'in' => 'query', + 'schema' => [ + 'description' => 'The trial duration. Unit: day. The maximum trial duration cannot exceed 30 days.', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '7', + ], + ], + [ + 'name' => 'ServiceVersion', + 'in' => 'query', + 'schema' => [ + 'description' => 'The service version.', + 'type' => 'string', + 'required' => false, + 'example' => '1', + ], + ], + [ + 'name' => 'TenantType', + 'in' => 'query', + 'schema' => [ + 'description' => 'The type of the tenant. Valid values:'."\n" + ."\n" + .'* SingleTenant'."\n" + .'* MultiTenant', + 'type' => 'string', + 'required' => false, + 'example' => 'SingleTenant', + ], + ], + [ + 'name' => 'LicenseMetadata', + 'in' => 'query', + 'schema' => [ + 'description' => 'The license metadata.', + 'type' => 'string', + 'required' => false, + 'example' => 'Metering Item Configuration Information (Cloud Marketplace - Pay-As-You-Go Use)', + ], + ], + [ + 'name' => 'OperationMetadata', + 'in' => 'query', + 'schema' => [ + 'description' => 'The hosted O\\&M configurations.', + 'type' => 'string', + 'required' => false, + 'example' => '{\\"PrometheusConfigMap\\":{\\"Custom_Image_Ecs\\":{\\"EnablePrometheus\\":false}}}', + ], + ], + [ + 'name' => 'LogMetadata', + 'in' => 'query', + 'schema' => [ + 'description' => 'The logging configurations.', + 'type' => 'string', + 'required' => false, + 'example' => 'Specifies whether to support distribution. Valid values:'."\n" + ."\n" + .'* false'."\n" + .'* true'."\n", + ], + ], + [ + 'name' => 'Resellable', + 'in' => 'query', + 'schema' => [ + 'description' => 'Whether resell is supported.', + 'type' => 'boolean', + 'required' => false, + 'example' => 'false', + ], + ], + [ + 'name' => 'UpdateOption', + 'in' => 'query', + 'style' => 'json', + 'schema' => [ + 'description' => 'The update option.', + 'type' => 'object', + 'properties' => [ + 'UpdateFrom' => [ + 'description' => 'Update from. Valid values:'."\n" + ."\n" + .'- CODE'."\n" + .'- PARAMETERS', + 'type' => 'string', + 'required' => false, + 'example' => 'PARAMETERS', + ], + 'UpdateArtifact' => [ + 'description' => 'Whether to update artifact.', + 'type' => 'boolean', + 'required' => false, + 'example' => 'true', + ], + ], + 'required' => false, + ], + ], + [ + 'name' => 'Commodity', + 'in' => 'query', + 'style' => 'json', + 'schema' => [ + 'description' => 'The commodity details.', + 'type' => 'object', + 'properties' => [ + 'SpecificationMappings' => [ + 'description' => 'Product specifications and template/package mappings (Used in marketplace - subscription scenario)', + 'type' => 'array', + 'items' => [ + 'description' => 'Product specifications and template/package mappings (Used in marketplace - subscription scenario)', + 'type' => 'object', + 'properties' => [ + 'TemplateName' => [ + 'description' => 'The template name.', + 'type' => 'string', + 'required' => false, + 'example' => 'Product Specifications and Template/specification mapping Relationships (Cloud Marketplace - Subscription/Permanent Use)', + ], + 'SpecificationName' => [ + 'description' => 'The name of the package specification.', + 'type' => 'string', + 'required' => false, + 'example' => 'Type, value:'."\n" + ."\n" + .'* **Custom**'."\n" + .'* **ComputeNestBill**'."\n" + .'* **ComputeNestPrometheus**'."\n" + .'* **ComputeNestTime**', + ], + 'SpecificationCode' => [ + 'description' => 'Specification code.', + 'type' => 'string', + 'required' => false, + 'example' => 'yuncode5767800001', + ], + ], + 'required' => false, + ], + 'required' => false, + ], + 'MeteringEntityMappings' => [ + 'description' => 'Binding relationship between templates/specifications and metering dimensions (marketplace - PayAsYouGo)', + 'type' => 'array', + 'items' => [ + 'description' => 'Binding relationship between templates/packages and metering dimensions (marketplace - PayAsYouGo)', + 'type' => 'object', + 'properties' => [ + 'TemplateName' => [ + 'description' => 'The template name.', + 'type' => 'string', + 'required' => false, + 'example' => 'The service ID.'."\n", + ], + 'SpecificationName' => [ + 'description' => 'The specification name.', + 'type' => 'string', + 'required' => false, + 'example' => 'This parameter is not publicly accessible.', + ], + 'EntityIds' => [ + 'description' => 'Metering entity IDs.', + 'type' => 'array', + 'items' => [ + 'description' => 'Metering entity ID.', + 'type' => 'string', + 'required' => false, + 'example' => 'cmgj0006xxxx-Memory-1', + ], + 'required' => false, + ], + ], + 'required' => false, + ], + 'required' => false, + ], + 'MeteringEntityExtraInfos' => [ + 'description' => 'Metering entity extra information.', + 'type' => 'array', + 'items' => [ + 'description' => 'Metering entity extra information.', + 'type' => 'object', + 'properties' => [ + 'EntityId' => [ + 'description' => 'Metering entity ID.', + 'type' => 'string', + 'required' => false, + 'example' => 'cmgj0006xxxx-Memory-1', + ], + 'Type' => [ + 'description' => 'Type. Valid values:'."\n" + ."\n" + .'- Custom'."\n" + .'- ComputeNestBill'."\n" + .'- ComputeNestPrometheus'."\n" + .'- ComputeNestTime', + 'type' => 'string', + 'required' => false, + 'example' => 'Custom', + ], + 'MetricName' => [ + 'description' => 'Metric name, required when type is ComputeNestBill or ComputeNestPrometheus.', + 'type' => 'string', + 'required' => false, + 'example' => 'VirtualCpu/ecs.InstanceType', + ], + 'Promql' => [ + 'description' => 'Promql statement.', + 'type' => 'string', + 'required' => false, + 'example' => 'avg_over_time(sum(rate(container_cpu_usage_seconds_total{namespace=~"ALIYUN::StackName"}[2m]))[1h:10s])', + ], + ], + 'required' => false, + ], + 'required' => false, + ], + 'ComponentsMappings' => [ + 'description' => 'This parameter is not available to the public.', + 'type' => 'array', + 'items' => [ + 'description' => 'This parameter is not available to the public.', + 'type' => 'object', + 'properties' => [ + 'TemplateName' => [ + 'description' => 'This parameter is not available to the public.', + 'type' => 'string', + 'required' => false, + 'example' => 'This parameter is not available to the public.', + ], + 'Mappings' => [ + 'description' => 'This parameter is not available to the public.', + 'type' => 'object', + 'required' => false, + 'additionalProperties' => [ + 'type' => 'string', + 'example' => 'The service name.'."\n", + 'description' => 'This parameter is not available to the public.', + ], + 'example' => '', + ], + ], + 'required' => false, + ], + 'required' => false, + ], + 'SaasBoostConfig' => [ + 'description' => 'SaaS Boost configuration.', + 'type' => 'string', + 'required' => false, + 'example' => '{}', + ], + ], + 'required' => false, + ], + ], + [ + 'name' => 'ShareType', + 'in' => 'query', + 'schema' => [ + 'description' => 'The permission type of the deployment URL. Valid values:'."\n" + ."\n" + .'* Public: All users can go to the URL to create a service instance or a trial service instance.'."\n" + .'* Restricted: Only users in the whitelist can go to the URL to create a service instance or a trial service instance.'."\n" + .'* OnlyFormalRestricted: Only users in the whitelist can go to the URL to create a service instance.'."\n" + .'* OnlyTrailRestricted: Only users in the whitelist can go to the URL to create a trial service instance.'."\n" + .'* Hidden: Users not in the whitelist cannot see the service details page when they go to the URL and cannot request deployment permissions.', + 'type' => 'string', + 'required' => false, + 'example' => 'Public', + ], + ], + [ + 'name' => 'ApprovalType', + 'in' => 'query', + 'schema' => [ + 'description' => 'The approval type of the service usage application. Valid values:'."\n" + ."\n" + .'* Manual: The application is manually approved.'."\n" + .'* AutoPass: The application is automatically approved.', + 'type' => 'string', + 'required' => false, + 'example' => 'Manual', + ], + ], + [ + 'name' => 'DryRun', + 'in' => 'query', + 'schema' => [ + 'description' => 'Specifies whether to perform only a dry run for the request to check information such as the permissions and instance status. Valid values:'."\n" + ."\n" + .'* true: performs a dry run for the request, but does not update a service.'."\n" + .'* false: performs a dry run for the request, and update a service if the request passes the dry run.', + 'type' => 'boolean', + 'required' => false, + 'example' => 'false', + ], + ], + [ + 'name' => 'ComplianceMetadata', + 'in' => 'query', + 'style' => 'json', + 'schema' => [ + 'description' => 'Compliance check metadata.', + 'type' => 'object', + 'properties' => [ + 'CompliancePacks' => [ + 'description' => 'The compliance pack.', + 'type' => 'array', + 'items' => [ + 'description' => 'The compliance pack.', + 'type' => 'string', + 'required' => false, + 'example' => 'VpcDataRisk', + ], + 'required' => false, + 'maxItems' => 10, + ], + ], + 'required' => false, + ], + ], + [ + 'name' => 'BuildParameters', + 'in' => 'query', + 'schema' => [ + 'description' => 'The Parameters to build service parameters.', + 'type' => 'string', + 'required' => false, + 'example' => '{ "ServiceTemplateId": "st-xxxxx"}', + ], + ], + [ + 'name' => 'ServiceLocaleConfigs', + 'in' => 'query', + 'style' => 'repeatList', + 'schema' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'OriginalValue' => [ + 'type' => 'string', + ], + 'ZhValue' => [ + 'type' => 'string', + ], + 'EnValue' => [ + 'type' => 'string', + ], + ], + ], + 'maxItems' => 100, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => 'The hosted O\\&M configurations.'."\n", + 'type' => 'string', + 'example' => 'DF0F666F-FBBC-55C3-A368-C955DE7B4839', + ], + 'DryRunResult' => [ + 'description' => 'The dry run result.'."\n", + 'type' => 'object', + 'properties' => [ + 'RolePolicy' => [ + 'description' => 'The required ram policy for deploying role.', + 'type' => 'object', + 'properties' => [ + 'Policy' => [ + 'description' => 'The required ram policy for deploying role.', + 'type' => 'string', + 'example' => '{'."\n" + .' "Statement": [{'."\n" + .' "Action": ["oos:CancelExecutions", "oos:DeleteExecutions", "oos:GetTemplate", "oos:ListExecutions", "oos:ListTemplates", "oos:NotifyExecution", "oos:StartExecution"],'."\n" + .' "Effect": "Allow",'."\n" + .' "Resource": "*"'."\n" + .' }, {'."\n" + .' "Action": ["ram:PassRole"],'."\n" + .' "Effect": "Allow",'."\n" + .' "Resource": "*"'."\n" + .' }, {'."\n" + .' "Action": ["ros:CreateStack", "ros:GetStack", "ros:UpdateStack", "ros:ListStackEvents", "ros:ListStackResources", "ros:ListStackResources", "ros:DeleteStack", "ram:GetRole"],'."\n" + .' "Effect": "Allow",'."\n" + .' "Resource": "*"'."\n" + .' }],'."\n" + .' "Version": "1"'."\n" + .'}', + ], + 'MissingPolicy' => [ + 'description' => 'The missing ram policy for deploying role.', + 'type' => 'array', + 'items' => [ + 'description' => 'The missing ram policy for deploying role.', + 'type' => 'object', + 'properties' => [ + 'ServiceName' => [ + 'description' => 'The service name.'."\n", + 'type' => 'string', + 'example' => 'ecs', + ], + 'Resource' => [ + 'description' => 'The responses.', + 'type' => 'string', + 'example' => '*', + ], + 'Action' => [ + 'description' => 'The Actions.', + 'type' => 'array', + 'items' => [ + 'description' => 'The Actions.', + 'type' => 'string', + 'example' => 'CreateStack', + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + 'description' => 'cmgj0006xxxx-Memory-1'."\n", + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"DF0F666F-FBBC-55C3-A368-C955DE7B4839\\",\\n \\"DryRunResult\\": {\\n \\"RolePolicy\\": {\\n \\"Policy\\": \\"{\\\\n\\\\t\\\\\\"Statement\\\\\\": [{\\\\n\\\\t\\\\t\\\\\\"Action\\\\\\": [\\\\\\"oos:CancelExecutions\\\\\\", \\\\\\"oos:DeleteExecutions\\\\\\", \\\\\\"oos:GetTemplate\\\\\\", \\\\\\"oos:ListExecutions\\\\\\", \\\\\\"oos:ListTemplates\\\\\\", \\\\\\"oos:NotifyExecution\\\\\\", \\\\\\"oos:StartExecution\\\\\\"],\\\\n\\\\t\\\\t\\\\\\"Effect\\\\\\": \\\\\\"Allow\\\\\\",\\\\n\\\\t\\\\t\\\\\\"Resource\\\\\\": \\\\\\"*\\\\\\"\\\\n\\\\t}, {\\\\n\\\\t\\\\t\\\\\\"Action\\\\\\": [\\\\\\"ram:PassRole\\\\\\"],\\\\n\\\\t\\\\t\\\\\\"Effect\\\\\\": \\\\\\"Allow\\\\\\",\\\\n\\\\t\\\\t\\\\\\"Resource\\\\\\": \\\\\\"*\\\\\\"\\\\n\\\\t}, {\\\\n\\\\t\\\\t\\\\\\"Action\\\\\\": [\\\\\\"ros:CreateStack\\\\\\", \\\\\\"ros:GetStack\\\\\\", \\\\\\"ros:UpdateStack\\\\\\", \\\\\\"ros:ListStackEvents\\\\\\", \\\\\\"ros:ListStackResources\\\\\\", \\\\\\"ros:ListStackResources\\\\\\", \\\\\\"ros:DeleteStack\\\\\\", \\\\\\"ram:GetRole\\\\\\"],\\\\n\\\\t\\\\t\\\\\\"Effect\\\\\\": \\\\\\"Allow\\\\\\",\\\\n\\\\t\\\\t\\\\\\"Resource\\\\\\": \\\\\\"*\\\\\\"\\\\n\\\\t}],\\\\n\\\\t\\\\\\"Version\\\\\\": \\\\\\"1\\\\\\"\\\\n}\\",\\n \\"MissingPolicy\\": [\\n {\\n \\"ServiceName\\": \\"ecs\\",\\n \\"Resource\\": \\"*\\",\\n \\"Action\\": [\\n \\"CreateStack\\"\\n ]\\n }\\n ]\\n }\\n }\\n}","type":"json"}]', + 'title' => 'UpdateService', + ], + 'GetService' => [ + 'summary' => 'Queries the information about a service.', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '36954', + 'abilityTreeNodes' => [ + 'FEATUREcomputenest18JMDW', + ], + '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' => false, + 'docRequired' => true, + 'example' => 'service-4ee86df83fd948******', + ], + ], + [ + 'name' => 'ServiceVersion', + 'in' => 'query', + 'schema' => [ + 'description' => 'The service version.'."\n", + 'type' => 'string', + 'required' => false, + 'docRequired' => false, + 'example' => '1', + ], + ], + [ + 'name' => 'ShowDetail', + 'in' => 'query', + 'style' => 'repeatList', + 'schema' => [ + 'description' => 'The information that you want to query.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The information that you want to query. Valid values:'."\n" + ."\n" + .'ServiceStatistic: The service statistics.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'ServiceStatistic', + ], + 'required' => false, + 'maxItems' => 100, + ], + ], + [ + 'name' => 'FilterAliUid', + 'in' => 'query', + 'schema' => [ + 'description' => 'Specifies whether to filter information based on Alibaba Cloud account IDs.'."\n", + 'type' => 'boolean', + 'required' => false, + 'example' => 'false', + ], + ], + [ + 'name' => 'SharedAccountType', + 'in' => 'query', + 'schema' => [ + 'description' => 'The share type of the service. Default value: SharedAccount. Valid values:'."\n" + ."\n" + .'* SharedAccount: The service is shared by multiple accounts.'."\n" + .'* Resell: The service is distributed.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'SharedAccount', + ], + ], + [ + 'name' => 'ServiceInstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The Service Instance Id.', + 'type' => 'string', + 'required' => false, + 'example' => 'si-85b1exxx', + ], + ], + [ + 'name' => 'ServiceName', + 'in' => 'query', + 'schema' => [ + 'description' => 'The Service Name.', + 'type' => 'string', + 'required' => false, + 'example' => 'Wordpress社区版', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Status' => [ + 'description' => 'The status of the service. Valid values:'."\n" + ."\n" + .'* Draft: The service is a draft.'."\n" + .'* Submitted: The service is submitted for review. You cannot modify services in this state.'."\n" + .'* Approved: The service is approved. You cannot modify services in this state. You can publish services in this state.'."\n" + .'* Launching: The service is being published.'."\n" + .'* Online: The service is published.'."\n" + .'* Offline: The service is unpublished.'."\n", + 'type' => 'string', + 'example' => 'Online', + ], + 'DeployMetadata' => [ + 'description' => 'The storage configurations of the service. The format in which the deployment information of a service is stored varies based on the deployment type of the service. In this case, the deployment information is stored in the JSON string format.'."\n", + 'type' => 'string', + 'example' => '{\\"TemplateConfigs\\":[{\\"Name\\":\\"模板1\\",\\"Url\\":\\"oss://computenest-test/template" '."\n" + .' + ".json?RegionId=cn-beijing\\",\\"PredefinedParameters\\":[{\\"Name\\":\\"低配版\\"," '."\n" + .' + "\\"Parameters\\":{\\"InstanceType\\":\\"ecs.g5.large\\",\\"DataDiskSize\\":40}},{\\"Name\\":\\"高配版\\"," '."\n" + .' + "\\"Parameters\\":{\\"InstanceType\\":\\"ecs.g5.large\\",\\"DataDiskSize\\":200}}]}]}', + ], + 'PublishTime' => [ + 'description' => 'The time when the service was published.'."\n", + 'type' => 'string', + 'example' => '2021-05-21T00:00:00Z', + ], + 'RequestId' => [ + 'description' => 'The request ID.'."\n", + 'type' => 'string', + 'example' => 'B1A0198B-F316-1B72-B8DD-28B6F6D6XXXX', + ], + 'Version' => [ + 'description' => 'The service version.'."\n", + 'type' => 'string', + 'example' => '1.0', + ], + 'DeployType' => [ + 'description' => 'The deployment type of the service. Valid values:'."\n" + ."\n" + .'* ros: The service is deployed by using Resource Orchestration Service (ROS).'."\n" + .'* terraform: The service is deployed by using Terraform.'."\n" + .'* spi: The service is deployed by calling a service provider interface (SPI).'."\n" + .'* operation: The service is deployed by using a hosted O\\&M service.'."\n" + .'* container: The service is deployed by using a container.'."\n" + .'* pkg: The service is deployed by using a package.'."\n", + 'type' => 'string', + 'example' => 'ros', + ], + 'ServiceId' => [ + 'description' => 'The service ID.'."\n", + 'type' => 'string', + 'example' => 'service-70a3b15bb62643xxxxxx', + ], + 'SupplierUrl' => [ + 'description' => 'The URL of the service provider.'."\n", + 'type' => 'string', + 'example' => 'http://example.com', + ], + 'ServiceProductUrl' => [ + 'description' => 'The URL of the service page.'."\n", + 'type' => 'string', + 'example' => 'http://example2.com', + ], + 'ServiceType' => [ + 'description' => 'The type of the service. Valid values:'."\n" + ."\n" + .'* private: The service is a private service and is deployed within the account of a customer.'."\n" + .'* managed: The service is a fully managed service and is deployed within the account of a service provider.'."\n" + .'* operation: The service is a hosted O\\&M service.'."\n", + 'type' => 'string', + 'example' => 'private', + ], + 'SupplierName' => [ + 'description' => 'The name of the service provider.'."\n", + 'type' => 'string', + 'example' => 'Alibaba Cloud', + ], + 'ServiceInfos' => [ + 'description' => 'The information about the service.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Locale' => [ + 'description' => 'The language of the service. Valid values:'."\n" + ."\n" + .'* zh-CN: Chinese'."\n" + .'* en-US: English'."\n", + 'type' => 'string', + 'example' => 'zh-CN', + ], + 'Image' => [ + 'description' => 'The URL of the service icon.'."\n", + 'type' => 'string', + 'example' => 'https://example.com/service-image/c1c4a559-cc60-4af1-b976-98f356602462.png', + ], + 'Name' => [ + 'description' => 'The service name.'."\n", + 'type' => 'string', + 'example' => 'WordPress', + ], + 'ShortDescription' => [ + 'description' => 'The description of the service.'."\n", + 'type' => 'string', + 'example' => 'B是A公司自主设计并研发的开源分布式的关系型数据库', + ], + 'LongDescriptionUrl' => [ + 'description' => 'The URL of the detailed description of the service.'."\n", + 'type' => 'string', + 'example' => 'https://example.com', + ], + 'Agreements' => [ + 'description' => 'The agreement information about the service.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The agreement name.'."\n", + 'type' => 'string', + 'example' => 'Name', + ], + 'Url' => [ + 'description' => 'The agreement URL.'."\n", + 'type' => 'string', + 'example' => 'https://aliyun.com/xxxxxxxx.html', + ], + ], + ], + ], + 'Softwares' => [ + 'description' => 'The list of the information about the software in the service.', + 'type' => 'array', + 'items' => [ + 'description' => 'The list of the information about the software in the service.', + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the software', + 'type' => 'string', + 'example' => 'MySQL', + ], + 'Version' => [ + 'description' => 'The version of the software.', + 'type' => 'string', + 'example' => '5.7', + ], + ], + ], + ], + ], + ], + ], + 'IsSupportOperated' => [ + 'description' => 'Indicates whether the hosted O\\&M feature is enabled for the service. Default value: false. Valid values:'."\n" + ."\n" + .'* true'."\n" + .'* false'."\n" + ."\n" + .'> This parameter is returned if you set **ServiceType** to **private**.'."\n", + 'type' => 'boolean', + 'example' => 'false', + ], + 'PolicyNames' => [ + 'description' => 'The policy name. The name can be up to 128 characters in length. Separate multiple names with commas (,). Only hosted O\\&M policies are supported.'."\n", + 'type' => 'string', + 'example' => 'policyName1, policyName2', + ], + 'Duration' => [ + 'description' => 'The duration for which hosted O\\&M is implemented. Unit: seconds.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '259200', + ], + 'Progress' => [ + 'description' => 'The deployment progress of the service instance. Unit: percentage.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '90', + ], + 'StatusDetail' => [ + 'description' => 'The description of the service status.'."\n", + 'type' => 'string', + 'example' => 'deploy successfully', + ], + 'CreateTime' => [ + 'description' => 'The time when the service was created.'."\n", + 'type' => 'string', + 'example' => '2021-05-20T00:00:00Z', + ], + 'UpdateTime' => [ + 'description' => 'The time when the service was updated.'."\n", + 'type' => 'string', + 'example' => '2021-05-22T00:00:00Z', + ], + 'ShareType' => [ + 'description' => 'The permission type of the deployment URL. Valid values:'."\n" + ."\n" + .'* Public: All users can go to the URL to create a service instance or a trial service instance.'."\n" + .'* Restricted: Only users in the whitelist can go to the URL to create a service instance or a trial service instance.'."\n" + .'* OnlyFormalRestricted: Only users in the whitelist can go to the URL to create a service instance.'."\n" + .'* OnlyTrailRestricted: Only users in the whitelist can go to the URL to create a trial service instance.'."\n" + .'* Hidden: Users not in the whitelist cannot see the service details page when they go to the URL and cannot request deployment permissions.'."\n", + 'type' => 'string', + 'example' => 'Public', + ], + 'AlarmMetadata' => [ + 'description' => 'The alert configurations of the service.'."\n" + ."\n" + .'> This parameter takes effect only when you specify an alert policy for **PolicyNames**.'."\n", + 'type' => 'string', + 'example' => '{'."\n" + .' "TemplateUrl": "http://template.file.url",'."\n" + .' // 应用分组级别告警元数据'."\n" + .' "ApplicationGroups": ['."\n" + .' {'."\n" + .' "Name": "applicationGroup1",'."\n" + .' "TemplateUrl": "url1"'."\n" + .' },'."\n" + .' {'."\n" + .' "Name": "applicationGroup2",'."\n" + .' "TemplateUrl": "url2"'."\n" + .' }'."\n" + .' ]'."\n" + .'}', + ], + 'UpgradeMetadata' => [ + 'description' => 'The metadata about the upgrade.'."\n", + 'type' => 'string', + 'example' => '{\\"Description\\":\\"xxx\\",\\"SupportRollback\\":true,\\"SupportUpgradeFromVersions\\":[],\\"UpgradeComponents\\":[\\"Configuration\\"]}', + ], + 'VersionName' => [ + 'description' => 'The version name.'."\n", + 'type' => 'string', + 'example' => 'v1', + ], + 'PayFromType' => [ + 'description' => 'The source for which fees are generated. Valid values:'."\n" + ."\n" + .'* None: No fees are generated.'."\n" + .'* Marketplace: Fees are generated for Alibaba Cloud Marketplace.'."\n" + .'* Custom: The custom fees.'."\n", + 'type' => 'string', + 'example' => 'None', + ], + 'Tags' => [ + 'description' => 'The service tags.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Key' => [ + 'description' => 'The tag key.'."\n", + 'type' => 'string', + 'example' => 'key1', + ], + 'Value' => [ + 'description' => 'The tag value.'."\n", + 'type' => 'string', + 'example' => 'value1', + ], + ], + ], + ], + 'TrialDuration' => [ + 'description' => 'The trial duration. Unit: day. The maximum trial duration cannot exceed 30 days.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '7', + ], + 'TrialType' => [ + 'description' => 'The trial policy. Valid values:'."\n" + ."\n" + .'* Trial: Trials are supported.'."\n" + .'* NotTrial: Trials are not supported.'."\n", + 'type' => 'string', + 'example' => 'Trial', + ], + 'TenantType' => [ + 'description' => 'The type of the tenant. Valid values:'."\n" + ."\n" + .'* SingleTenant'."\n" + .'* MultiTenant'."\n", + 'type' => 'string', + 'example' => 'SingleTenant', + ], + 'LicenseMetadata' => [ + 'description' => 'The license metadata.'."\n", + 'type' => 'string', + 'example' => '{"renewType":"MONTHLY"}', + ], + 'OperationMetadata' => [ + 'description' => 'The hosted O\\&M configurations.'."\n", + 'type' => 'string', + 'example' => '{\\"PrometheusConfigMap\\":{\\"New_Vpc_Ack_And_Jumpserver\\":{}}}', + ], + 'TestStatus' => [ + 'description' => 'The status of the test. Valid values:'."\n" + ."\n" + .'* `CONFIG_IS_NULL`: No test configurations exist.'."\n" + .'* `SERVICE_TEST_SUCCEED`: The service passed the test.'."\n" + .'* `SERVICE_TSET_DOING`: The service does not pass the test.'."\n", + 'type' => 'string', + 'example' => 'SERVICE_TEST_SUCCEED', + ], + 'ApprovalType' => [ + 'description' => 'The approval type of the service usage application. Valid values:'."\n" + ."\n" + .'* Manual: The application is manually approved.'."\n" + .'* AutoPass: The application is automatically approved.'."\n", + 'type' => 'string', + 'example' => 'Manual', + ], + 'RegistrationId' => [ + 'description' => 'The registration ID.'."\n", + 'type' => 'string', + 'example' => 'sr-04056c2ab4b94bxxxxxx', + ], + 'ResourceGroupId' => [ + 'description' => 'The ID of the resource group.'."\n", + 'type' => 'string', + 'example' => 'rg-aekzuqyxxxxxx', + ], + 'Permission' => [ + 'description' => 'The permissions on the service. Valid values:'."\n" + ."\n" + .'* Deployable: Permissions to deploy the service.'."\n" + .'* Accessible: Permissions to access the service.'."\n", + 'type' => 'string', + 'example' => 'Deployable', + ], + 'Statistic' => [ + 'description' => 'The statistics.'."\n", + 'type' => 'object', + 'properties' => [ + 'AccumulativeInstanceCount' => [ + 'description' => 'The total number of service instances that belong to the service. The service instances that are deleted are counted.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '75', + ], + 'AccumulativeUserCount' => [ + 'description' => 'The total number of users who use the service. The historical users are counted.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '60', + ], + 'DeployedServiceInstanceCount' => [ + 'description' => 'The number of online service instances. It means the number of service instances that are successfully deployed.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '20', + ], + 'DeployedUserCount' => [ + 'description' => 'The number of online users. It means the number of users who successfully deployed the service instances.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '10', + ], + 'SubmittedUsageCount' => [ + 'description' => 'The number of service applications that are in the Submitted state.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '10', + ], + 'AccumulativePocAmount' => [ + 'description' => 'The total amount consumed for trial service instances. Unit: CNY.'."\n", + 'type' => 'number', + 'format' => 'double', + 'example' => '80.35', + ], + 'AveragePocAmount' => [ + 'description' => 'The average amount consumed for trial service instances per instance. Unit: CNY.'."\n", + 'type' => 'number', + 'format' => 'double', + 'example' => '40.17', + ], + 'AveragePocUnitAmount' => [ + 'description' => 'The average amount consumed for trial service instances per a period of time. Unit: CNY.'."\n", + 'type' => 'number', + 'format' => 'double', + 'example' => '167.9', + ], + 'AveragePocDuration' => [ + 'description' => 'The average duration for which trial service instances are in use. Unit: Hour.'."\n", + 'type' => 'number', + 'format' => 'double', + 'example' => '1', + ], + ], + ], + 'SourceServiceId' => [ + 'description' => 'The ID of the distribution source service.'."\n", + 'type' => 'string', + 'example' => 'service-70a3b15bb62643xxxxxx', + ], + 'SourceServiceVersion' => [ + 'description' => 'The version of the distribution source service.'."\n", + 'type' => 'string', + 'example' => '1', + ], + 'SourceSupplierName' => [ + 'description' => 'The name of the distribution source service provider.'."\n", + 'type' => 'string', + 'example' => 'SourceSupplier', + ], + 'LogMetadata' => [ + 'description' => 'The logging configurations.'."\n", + 'type' => 'string', + 'example' => '{ "Logstores": \\[ { "LogstoreName": "access-log", "LogPath": "/home/admin/app/logs", # This parameter is not required for containers. Configure the parameter in the YAML file. "FilePattern": "access.log\\*" # This parameter is not required for containers. Configure the parameter in the YAML file. } ] }'."\n", + ], + 'Resellable' => [ + 'description' => 'Indicates whether the distribution is supported. Valid values:'."\n" + ."\n" + .'* false'."\n" + .'* true'."\n", + 'type' => 'boolean', + 'example' => 'false', + ], + 'VirtualInternetService' => [ + 'description' => 'Indicates whether the service is a virtual Internet service. Valid values:'."\n" + ."\n" + .'* false'."\n" + .'* true'."\n", + 'type' => 'string', + 'example' => 'false', + ], + 'ServiceDiscoverable' => [ + 'description' => 'Indicates whether the service is visible. Valid values:'."\n" + ."\n" + .'* INVISIBLE'."\n" + .'* DISCOVERABLE'."\n", + 'type' => 'string', + 'example' => 'DISCOVERABLE', + ], + 'Categories' => [ + 'description' => 'The category of the service.'."\n", + 'type' => 'string', + 'example' => 'DevOps', + ], + 'ShareTypeStatus' => [ + 'description' => 'The share status of the instance.'."\n" + ."\n" + .'> This parameter is discontinued.'."\n", + 'type' => 'string', + 'example' => 'This parameter is discontinued.'."\n", + ], + 'ServiceAuditDocumentUrl' => [ + 'description' => 'The URL of the service audit file.'."\n", + 'type' => 'string', + 'example' => 'https://service-info-public.oss-cn-hangzhou.aliyuncs.com/1690707531xxxxxx/service-document/be3382cd-xxxx-xxxx-xxxx-f8707ec12879.docx', + ], + 'EntitySource' => [ + 'description' => 'The report source.'."\n", + 'type' => 'object', + 'additionalProperties' => [ + 'type' => 'string', + 'example' => 'ComputNest', + 'description' => 'The report source. Valid values:'."\n" + ."\n" + .'* ComputNest: Compute Nest.'."\n" + .'* Custom: service provider.'."\n", + ], + ], + 'CrossRegionConnectionStatus' => [ + 'description' => 'The binding configurations of the commodity module.'."\n", + 'type' => 'string', + 'example' => 'componesConfigs', + ], + 'VirtualInternetServiceId' => [ + 'description' => 'The ID of the virtual Internet service.'."\n", + 'type' => 'string', + 'example' => 'service-70a3b15bb62643xxxxxx', + ], + 'Commodity' => [ + 'description' => 'The commodity details.'."\n", + 'type' => 'object', + 'properties' => [ + 'Type' => [ + 'description' => 'The service type. Valid values:'."\n" + ."\n" + .'* marketplace: Alibaba Cloud Marketplace.'."\n" + .'* Css: Lingxiao.'."\n", + 'type' => 'string', + 'example' => 'Marketplace', + ], + 'ChargeType' => [ + 'description' => 'The billing method of the service. Valid values:'."\n" + ."\n" + .'* **PREPAY** (default): subscription.'."\n" + .'* **POSTPAY**: pay-as-you-go.'."\n", + 'type' => 'string', + 'example' => 'PREPAY', + ], + 'Components' => [ + 'description' => 'The commodity modules.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The commodity module.'."\n", + 'type' => 'string', + 'example' => 'YARN', + ], + ], + 'Specifications' => [ + 'description' => 'The specification details of the service in Alibaba Cloud Marketplace.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'description' => 'The commodity code.'."\n", + 'type' => 'string', + 'example' => 'cmjj00xxxx', + ], + 'Name' => [ + 'description' => 'The specification name.'."\n", + 'type' => 'string', + 'example' => 'specifications1', + ], + 'Times' => [ + 'description' => 'The subscription duration. Unit: week or year.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The subscription duration. Unit: week or year.'."\n", + 'type' => 'string', + 'example' => '3', + ], + ], + ], + ], + ], + 'MeteringEntities' => [ + 'description' => 'The information about the billable item.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'EntityId' => [ + 'description' => 'The ID of the billable item.'."\n", + 'type' => 'string', + 'example' => 'cmgjxxxxxxxx-NetworkOut', + ], + 'Name' => [ + 'description' => 'The name of the billable item.'."\n", + 'type' => 'string', + 'example' => 'spring-boot-demo', + ], + ], + ], + ], + 'MarketplaceMetadata' => [ + 'description' => 'The metadata of Alibaba Cloud Marketplace.'."\n", + 'type' => 'object', + 'properties' => [ + 'SpecificationMappings' => [ + 'description' => 'The mappings between the service specifications and the template or package.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'SpecificationCode' => [ + 'description' => 'The specification code of the service in Alibaba Cloud Marketplace.'."\n", + 'type' => 'string', + 'example' => 'cmjj00xxxx', + ], + 'TemplateName' => [ + 'description' => 'The template name.'."\n", + 'type' => 'string', + 'example' => 'Template 1'."\n", + ], + 'SpecificationName' => [ + 'description' => 'The name of the specification package.'."\n", + 'type' => 'string', + 'example' => 'Pay-as-you-go'."\n", + ], + 'TrialType' => [ + 'description' => 'The trial policy. Valid values:'."\n" + ."\n" + .'* Trial: Trials are supported.'."\n" + .'* NotTrial: Trials are not supported.'."\n", + 'type' => 'string', + 'example' => 'NotTrial', + ], + ], + ], + ], + 'MeteringEntityMappings' => [ + 'description' => 'The billable items that are associated with the package.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'EntityIds' => [ + 'description' => 'The ID of the billable item.'."\n", + 'type' => 'string', + 'example' => 'cmgjxxxxxxxx-NetworkOut-2', + ], + 'TemplateName' => [ + 'description' => 'The template name.'."\n", + 'type' => 'string', + 'example' => 'Template 1'."\n", + ], + 'SpecificationName' => [ + 'description' => 'The name of the specification package.'."\n", + 'type' => 'string', + 'example' => 'Pay-as-you-go Package'."\n", + ], + ], + ], + ], + 'MeteringEntityExtraInfos' => [ + 'description' => 'The configurations of the billable items.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'EntityId' => [ + 'description' => 'The ID of the billable item.'."\n", + 'type' => 'string', + 'example' => 'cmgjxxxxxxxx-NetworkOut-2', + ], + 'Type' => [ + 'description' => 'The metric.'."\n", + 'type' => 'string', + 'example' => 'AvgPod', + ], + 'MetricName' => [ + 'description' => 'The metric name.'."\n", + 'type' => 'string', + 'example' => 'NetworkLantency', + ], + 'Promql' => [ + 'description' => 'The custom prometheus statement.'."\n", + 'type' => 'string', + 'example' => 'avg_over_time(count(kube_pod_info{namespace=\\"default\\"})[1h:1m])', + ], + ], + ], + ], + ], + ], + 'CssMetadata' => [ + 'description' => 'The configuration metadata related to Lingxiao.'."\n", + 'type' => 'object', + 'properties' => [ + 'ComponentsMappings' => [ + 'description' => 'The mapping information about the billing items.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Mappings' => [ + 'description' => 'The mappings.'."\n", + 'type' => 'object', + 'additionalProperties' => [ + 'type' => 'string', + 'example' => '{{DBInstanceStorage}}', + 'description' => 'The mappings.'."\n", + ], + ], + 'TemplateName' => [ + 'description' => 'The template name.'."\n", + 'type' => 'string', + 'example' => 'Template 1'."\n", + ], + ], + ], + ], + 'MeteringEntityMappings' => [ + 'description' => 'The binding relationship between package and measurement dimension.', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'EntityIds' => [ + 'description' => 'The ID of the entity.', + 'type' => 'string', + 'example' => 'cmgj0015****-Frequency-1', + ], + 'TemplateName' => [ + 'description' => 'The template name.'."\n", + 'type' => 'string', + 'example' => '模板1', + ], + 'SpecificationName' => [ + 'description' => 'The package name.'."\n", + 'type' => 'string', + 'example' => 'Pay-as-you-go package'."\n", + ], + ], + ], + ], + 'MeteringEntityExtraInfos' => [ + 'description' => 'Metering item configuration information.', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'EntityId' => [ + 'description' => 'The ID of the entity.'."\n", + 'type' => 'string', + 'example' => 'cmgj0048****-Frequency-1', + ], + 'Type' => [ + 'description' => 'Measurement indicators.', + 'type' => 'string', + 'example' => 'ComputeNestPrometheus', + ], + 'MetricName' => [ + 'description' => 'Name of a measurement indicator.', + 'type' => 'string', + 'example' => 'AvgMemory', + ], + 'Promql' => [ + 'description' => 'Custom PromQL.', + 'type' => 'string', + 'example' => 'avg_over_time(count(kube_pod_info{namespace=\\"default\\"})[1h:1m])', + ], + ], + ], + ], + ], + ], + 'CommodityCode' => [ + 'description' => 'The commodity code of the service in Alibaba Cloud Marketplace.'."\n", + 'type' => 'string', + 'example' => 'cmjj00xxxx', + ], + 'SaasBoostMetadata' => [ + 'description' => 'The configuration metadata related to Saas Boost.'."\n", + 'type' => 'string', + 'example' => '{ "Enabled":false // The public endpoint of the SaaS Boost instance. "PublicAccessUrl":"https://example.com" }'."\n", + ], + ], + ], + 'BuildInfo' => [ + 'description' => 'The information of build service information.', + 'type' => 'string', + 'example' => '{ "RepoUrl": "https://github.com/user/repo.git", "Brancn": "main"}', + ], + 'BuildParameters' => [ + 'description' => 'The parameters for building the service', + 'type' => 'string', + 'example' => '{ "ServiceTemplateId": "st-xxxxx"}', + ], + 'ComplianceMetadata' => [ + 'description' => 'Compliance check metadata.', + 'type' => 'object', + 'properties' => [ + 'CompliancePacks' => [ + 'description' => 'The compliance package is selected.', + 'type' => 'array', + 'items' => [ + 'description' => 'The compliance package is selected.', + 'type' => 'string', + 'example' => 'VpcDataRisk', + ], + ], + ], + ], + 'ServiceDocumentInfos' => [ + 'description' => 'Service document information.', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Locale' => [ + 'description' => 'The language of the return data. Valid values: zh-CN and en-US.', + 'type' => 'string', + 'example' => 'zh-CN', + ], + 'TemplateName' => [ + 'description' => 'The template name.'."\n", + 'type' => 'string', + 'example' => ' Default Template.', + ], + 'DocumentUrl' => [ + 'description' => 'The URL that is used to access the document.'."\n", + 'type' => 'string', + 'example' => 'http://docurl', + ], + ], + ], + ], + 'SupportContacts' => [ + 'description' => 'Contact information of the service provider.', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Type' => [ + 'description' => 'The type of Contact information.', + 'type' => 'string', + 'example' => 'Email', + ], + 'Value' => [ + 'description' => 'The value of Contact information.', + 'type' => 'string', + 'example' => '[email protected]', + ], + ], + ], + ], + 'SecretKey' => [ + 'type' => 'string', + ], + 'ServiceLocaleConfigs' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'OriginalValue' => [ + 'type' => 'string', + ], + 'ZhValue' => [ + 'type' => 'string', + ], + 'EnValue' => [ + 'type' => 'string', + ], + ], + ], + ], + ], + 'description' => '', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Status\\": \\"Online\\",\\n \\"DeployMetadata\\": \\"{\\\\\\\\\\\\\\"TemplateConfigs\\\\\\\\\\\\\\":[{\\\\\\\\\\\\\\"Name\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"模板1\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"Url\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"oss://computenest-test/template\\\\\\" \\\\n + \\\\\\".json?RegionId=cn-beijing\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"PredefinedParameters\\\\\\\\\\\\\\":[{\\\\\\\\\\\\\\"Name\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"低配版\\\\\\\\\\\\\\",\\\\\\" \\\\n + \\\\\\"\\\\\\\\\\\\\\"Parameters\\\\\\\\\\\\\\":{\\\\\\\\\\\\\\"InstanceType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"ecs.g5.large\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"DataDiskSize\\\\\\\\\\\\\\":40}},{\\\\\\\\\\\\\\"Name\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"高配版\\\\\\\\\\\\\\",\\\\\\" \\\\n + \\\\\\"\\\\\\\\\\\\\\"Parameters\\\\\\\\\\\\\\":{\\\\\\\\\\\\\\"InstanceType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"ecs.g5.large\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"DataDiskSize\\\\\\\\\\\\\\":200}}]}]}\\",\\n \\"PublishTime\\": \\"2021-05-21T00:00:00Z\\",\\n \\"RequestId\\": \\"9AC8E73E-88DE-52C2-A29B-531FC13A5604\\",\\n \\"Version\\": \\"1.0\\",\\n \\"DeployType\\": \\"ros\\",\\n \\"ServiceId\\": \\"service-ca83ff3cb6b14dbc****\\",\\n \\"SupplierUrl\\": \\"http://example.com\\",\\n \\"ServiceProductUrl\\": \\"http://example2.com\\",\\n \\"ServiceType\\": \\"private\\",\\n \\"SupplierName\\": \\"A公司\\",\\n \\"ServiceInfos\\": [\\n {\\n \\"Locale\\": \\"zh-CN\\",\\n \\"Image\\": \\"https://example.com/service-image/c1c4a559-cc60-4af1-b976-98f35660****.png\\",\\n \\"Name\\": \\"B数据库\\",\\n \\"ShortDescription\\": \\"B是A公司自主设计并研发的开源分布式的关系型数据库\\",\\n \\"LongDescriptionUrl\\": \\"https://example.com\\",\\n \\"Agreements\\": [\\n {\\n \\"Name\\": \\"Name\\",\\n \\"Url\\": \\"https://aliyun.com/xxxxxxxx.html\\"\\n }\\n ],\\n \\"Softwares\\": [\\n {\\n \\"Name\\": \\"MySQL\\",\\n \\"Version\\": \\"5.7\\"\\n }\\n ]\\n }\\n ],\\n \\"IsSupportOperated\\": false,\\n \\"PolicyNames\\": \\"policyName1, policyName2\\",\\n \\"Duration\\": 259200,\\n \\"Progress\\": 90,\\n \\"StatusDetail\\": \\"deploy successfully\\",\\n \\"CreateTime\\": \\"2021-05-20T00:00:00Z\\",\\n \\"UpdateTime\\": \\"2021-05-22T00:00:00Z\\",\\n \\"ShareType\\": \\"Public\\",\\n \\"AlarmMetadata\\": \\"{\\\\n \\\\\\"TemplateUrl\\\\\\": \\\\\\"http://template.file.url\\\\\\",\\\\n // 应用分组级别告警元数据\\\\n \\\\\\"ApplicationGroups\\\\\\": [\\\\n {\\\\n \\\\\\"Name\\\\\\": \\\\\\"applicationGroup1\\\\\\",\\\\n \\\\\\"TemplateUrl\\\\\\": \\\\\\"url1\\\\\\"\\\\n },\\\\n {\\\\n \\\\\\"Name\\\\\\": \\\\\\"applicationGroup2\\\\\\",\\\\n \\\\\\"TemplateUrl\\\\\\": \\\\\\"url2\\\\\\"\\\\n }\\\\n ]\\\\n}\\",\\n \\"UpgradeMetadata\\": \\"{\\\\\\\\\\\\\\"SupportRollback\\\\\\\\\\\\\\":true,\\\\\\\\\\\\\\"SupportUpgradeFromVersions\\\\\\\\\\\\\\":[],\\\\\\\\\\\\\\"UpgradeComponents\\\\\\\\\\\\\\":[\\\\\\\\\\\\\\"Configuration\\\\\\\\\\\\\\"]}\\",\\n \\"VersionName\\": \\"v1\\",\\n \\"PayFromType\\": \\"None\\",\\n \\"Tags\\": [\\n {\\n \\"Key\\": \\"key1\\",\\n \\"Value\\": \\"value1\\"\\n }\\n ],\\n \\"TrialDuration\\": 7,\\n \\"TrialType\\": \\"Trial\\",\\n \\"TenantType\\": \\"SingleTenant\\",\\n \\"LicenseMetadata\\": \\"{\\\\\\\\\\\\\\"PayType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"CustomFixTime\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"DefaultLicenseDays\\\\\\\\\\\\\\":7,\\\\\\\\\\\\\\"CustomMetadata\\\\\\\\\\\\\\":[{\\\\\\\\\\\\\\"TemplateName\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"模板1\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"SpecificationName\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"bandwith-0\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"CustomData\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"1\\\\\\\\\\\\\\"}]}\\",\\n \\"OperationMetadata\\": \\"{\\\\\\\\\\\\\\"PrometheusConfigMap\\\\\\\\\\\\\\":{\\\\\\\\\\\\\\"New_Vpc_Ack_And_Jumpserver\\\\\\\\\\\\\\":{}}}\\",\\n \\"TestStatus\\": \\"SERVICE_TEST_SUCCEED\\",\\n \\"ApprovalType\\": \\"Manual\\",\\n \\"RegistrationId\\": \\"sr-1b4aabc1c9eb4109****\\",\\n \\"ResourceGroupId\\": \\"rg-acfm2jfvb7b****\\",\\n \\"Permission\\": \\"Deployable\\",\\n \\"Statistic\\": {\\n \\"AccumulativeInstanceCount\\": 75,\\n \\"AccumulativeUserCount\\": 60,\\n \\"DeployedServiceInstanceCount\\": 20,\\n \\"DeployedUserCount\\": 10,\\n \\"SubmittedUsageCount\\": 10,\\n \\"AccumulativePocAmount\\": 80.35,\\n \\"AveragePocAmount\\": 40.17,\\n \\"AveragePocUnitAmount\\": 167.9,\\n \\"AveragePocDuration\\": 1\\n },\\n \\"SourceServiceId\\": \\"service-70a3b15bb6264315****\\",\\n \\"SourceServiceVersion\\": \\"1\\",\\n \\"SourceSupplierName\\": \\"SourceSupplier\\",\\n \\"LogMetadata\\": \\"{\\\\n \\\\\\"Logstores\\\\\\": [\\\\n {\\\\n \\\\t\\\\\\"LogstoreName\\\\\\": \\\\\\"access-log\\\\\\",\\\\n \\\\t\\\\t\\\\\\"LogPath\\\\\\": \\\\\\"/home/admin/app/logs\\\\\\", # 对容器不需要,在YAML中配置\\\\n \\\\t\\\\t\\\\\\"FilePattern\\\\\\": \\\\\\"access.log*\\\\\\" # 对容器不需要,在YAML中配置\\\\n }\\\\n ]\\\\n}\\",\\n \\"Resellable\\": false,\\n \\"VirtualInternetService\\": \\"false\\",\\n \\"ServiceDiscoverable\\": \\"DISCOVERABLE\\",\\n \\"Categories\\": \\"DevOps\\",\\n \\"ShareTypeStatus\\": \\"该参数已弃用。\\",\\n \\"ServiceAuditDocumentUrl\\": \\"https://service-info-public.oss-cn-hangzhou.aliyuncs.com/169070753192****/service-document/be3382cd-e198-41a4-a697-f8707ec1****.docx\\",\\n \\"EntitySource\\": {\\n \\"key\\": \\"ComputNest\\"\\n },\\n \\"CrossRegionConnectionStatus\\": \\"componesConfigs\\",\\n \\"VirtualInternetServiceId\\": \\"service-70a3b15bb6264345****\\",\\n \\"Commodity\\": {\\n \\"Type\\": \\"Marketplace\\",\\n \\"ChargeType\\": \\"PREPAY\\",\\n \\"Components\\": [\\n \\"YARN\\"\\n ],\\n \\"Specifications\\": [\\n {\\n \\"Code\\": \\"cmjj00****\\",\\n \\"Name\\": \\"specifications1\\",\\n \\"Times\\": [\\n \\"3\\"\\n ]\\n }\\n ],\\n \\"MeteringEntities\\": [\\n {\\n \\"EntityId\\": \\"cmgj5682****-NetworkOut\\",\\n \\"Name\\": \\"spring-boot-demo\\"\\n }\\n ],\\n \\"MarketplaceMetadata\\": {\\n \\"SpecificationMappings\\": [\\n {\\n \\"SpecificationCode\\": \\"cmjj00****\\",\\n \\"TemplateName\\": \\"模板1\\",\\n \\"SpecificationName\\": \\"按量付费\\",\\n \\"TrialType\\": \\"NotTrial\\"\\n }\\n ],\\n \\"MeteringEntityMappings\\": [\\n {\\n \\"EntityIds\\": \\"cmgj1596****-NetworkOut-2\\",\\n \\"TemplateName\\": \\"模板1\\",\\n \\"SpecificationName\\": \\"按量付费套餐\\"\\n }\\n ],\\n \\"MeteringEntityExtraInfos\\": [\\n {\\n \\"EntityId\\": \\"cmgj1596****-NetworkOut-2\\",\\n \\"Type\\": \\"AvgPod\\",\\n \\"MetricName\\": \\"NetworkLantency\\",\\n \\"Promql\\": \\"avg_over_time(count(kube_pod_info{namespace=\\\\\\\\\\\\\\"default\\\\\\\\\\\\\\"})[1h:1m])\\"\\n }\\n ]\\n },\\n \\"CssMetadata\\": {\\n \\"ComponentsMappings\\": [\\n {\\n \\"Mappings\\": {\\n \\"key\\": \\"{{DBInstanceStorage}}\\"\\n },\\n \\"TemplateName\\": \\"模板1\\"\\n }\\n ],\\n \\"MeteringEntityMappings\\": [\\n {\\n \\"EntityIds\\": \\"cmgj0015****-Frequency-1\\",\\n \\"TemplateName\\": \\"模板1\\",\\n \\"SpecificationName\\": \\"按量付费套餐\\"\\n }\\n ],\\n \\"MeteringEntityExtraInfos\\": [\\n {\\n \\"EntityId\\": \\"cmgj0048****-Frequency-1\\",\\n \\"Type\\": \\"ComputeNestPrometheus\\",\\n \\"MetricName\\": \\"AvgMemory\\",\\n \\"Promql\\": \\"avg_over_time(count(kube_pod_info{namespace=\\\\\\\\\\\\\\"default\\\\\\\\\\\\\\"})[1h:1m])\\"\\n }\\n ]\\n },\\n \\"CommodityCode\\": \\"cmjj00xxxx\\",\\n \\"SaasBoostMetadata\\": \\"{\\\\n \\\\\\"Enabled\\\\\\":false\\\\n //公网交互地址\\\\n \\\\\\"PublicAccessUrl\\\\\\":\\\\\\"https://example.com\\\\\\"\\\\n}\\"\\n },\\n \\"BuildInfo\\": \\"{ \\\\\\"RepoUrl\\\\\\": \\\\\\"https://github.com/user/repo.git\\\\\\", \\\\\\"Brancn\\\\\\": \\\\\\"main\\\\\\"}\\",\\n \\"BuildParameters\\": \\"{ \\\\\\"ServiceTemplateId\\\\\\": \\\\\\"st-xxxxx\\\\\\"}\\",\\n \\"ComplianceMetadata\\": {\\n \\"CompliancePacks\\": [\\n \\"VpcDataRisk: VPC内数据安全风险合规包。\\"\\n ]\\n },\\n \\"ServiceDocumentInfos\\": [\\n {\\n \\"Locale\\": \\"zh-CN\\",\\n \\"TemplateName\\": \\"模板1\\",\\n \\"DocumentUrl\\": \\"http://doc.com\\"\\n }\\n ],\\n \\"SupportContacts\\": [\\n {\\n \\"Type\\": \\"Email\\",\\n \\"Value\\": \\"[email protected]\\"\\n }\\n ],\\n \\"SecretKey\\": \\"6cfc5d4649c54216****\\",\\n \\"ServiceLocaleConfigs\\": [\\n {\\n \\"OriginalValue\\": \\"Service Name\\\\n\\",\\n \\"ZhValue\\": \\"服务名称\\",\\n \\"EnValue\\": \\"Service Name\\\\n\\"\\n }\\n ]\\n}","type":"json"}]', + 'title' => 'GetService', + ], + 'ListServices' => [ + 'summary' => 'Queries a list of services.', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '36944', + 'abilityTreeNodes' => [ + 'FEATUREcomputenest2G0818', + ], + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'RegionId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The region ID.'."\n", + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'cn-hangzhou', + ], + ], + [ + 'name' => 'MaxResults', + 'in' => 'query', + 'schema' => [ + 'description' => 'The number of entries per page. Valid values: 1 to 100. Default value: 20.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '10', + ], + ], + [ + 'name' => 'NextToken', + '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=', + ], + ], + [ + 'name' => 'AllVersions', + 'in' => 'query', + 'schema' => [ + 'description' => 'Specifies whether to return all versions of a service. Default value: false, which specifies that only the default version of a service is returned.'."\n", + 'type' => 'boolean', + 'required' => false, + 'example' => 'false', + ], + ], + [ + 'name' => 'ResourceGroupId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The resource group ID.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'rg-aekzkt5buxxxxxx', + ], + ], + [ + 'name' => 'Filter', + 'in' => 'query', + 'style' => 'repeatList', + 'schema' => [ + 'description' => 'The filters.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => 'The parameter values of the filter.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The parameter value N of the filter. Valid values of N: 1 to 10.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => '1', + ], + 'required' => false, + 'maxItems' => 20, + ], + 'Name' => [ + 'description' => 'The parameter name of the filter. You can specify one or more parameter names to query services. Valid values:'."\n" + ."\n" + .'* ServiceId: the ID of the service.'."\n" + .'* Name: the name of the service.'."\n" + .'* Status: the state of the service.'."\n" + .'* SupplierName: the name of the service provider.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'Status', + ], + ], + 'required' => false, + ], + 'required' => false, + 'maxItems' => 100, + ], + ], + [ + 'name' => 'Tag', + 'in' => 'query', + 'style' => 'repeatList', + 'schema' => [ + 'description' => 'The custom tags.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Key' => [ + 'description' => 'The tag key.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'key1', + ], + 'Value' => [ + 'description' => 'The tag value.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'value1', + ], + ], + 'required' => false, + ], + 'required' => false, + 'maxItems' => 20, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'NextToken' => [ + 'description' => 'A pagination token.'."\n", + 'type' => 'string', + 'example' => 'AAAAAfu+XtuBE55iRLHEYYuojI4=', + ], + 'RequestId' => [ + 'description' => 'The request ID.'."\n", + 'type' => 'string', + 'example' => '51945B04-6AA6-410D-93BA-236E0248B104', + ], + 'TotalCount' => [ + 'description' => 'The total number of entries returned.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '100', + ], + 'MaxResults' => [ + 'description' => 'The number of entries per page. Valid values: 1 to 100. Default value: 20.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + 'Services' => [ + 'description' => 'The services.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Status' => [ + 'description' => 'The state of the service. Valid values:'."\n" + ."\n" + .'* Draft: The service is a draft.'."\n" + .'* Submitted: The service is submitted for review. You cannot modify services in this state.'."\n" + .'* Approved: The service is approved. You cannot modify services in this state. You can publish services in this state.'."\n" + .'* Launching: The service is being published.'."\n" + .'* Online: The service is published.'."\n" + .'* Offline: The service is unpublished.'."\n", + 'type' => 'string', + 'example' => 'Online', + ], + 'DefaultVersion' => [ + 'description' => 'Indicates whether the version is the default version. Valid values:'."\n" + ."\n" + .'* false'."\n" + .'* true'."\n", + 'type' => 'boolean', + 'example' => 'true', + ], + 'PublishTime' => [ + 'description' => 'The time when the service was published.'."\n", + 'type' => 'string', + 'example' => '2021-05-21T00:00:00Z', + ], + 'Version' => [ + 'description' => 'The version of the service.'."\n", + 'type' => 'string', + 'example' => '1.0', + ], + 'DeployType' => [ + 'description' => 'The deployment type of the service. Valid values:'."\n" + ."\n" + .'* ros: The service is deployed by using Resource Orchestration Service (ROS).'."\n" + .'* terraform: The service is deployed by using Terraform.'."\n" + .'* spi: The service is deployed by calling the Service Provider Interface (SPI).'."\n" + .'* operation: The service is deployed by using a hosted O\\&M service.'."\n" + .'* container: The service is deployed by using a container.'."\n" + .'*'."\n", + 'type' => 'string', + 'example' => 'ros', + ], + 'ServiceId' => [ + 'description' => 'The service ID.'."\n", + 'type' => 'string', + 'example' => 'service-70a3b15bb62643xxxxxx', + ], + 'SupplierUrl' => [ + 'description' => 'The URL of the service provider.'."\n", + 'type' => 'string', + 'example' => 'http://example.com', + ], + 'ServiceType' => [ + 'description' => 'The type of the service. Valid values:'."\n" + ."\n" + .'* private: The service is a private service and is deployed within the account of a customer.'."\n" + .'* managed: The service is a fully managed service and is deployed within the account of a service provider.'."\n" + .'* operation: The service is a hosted O\\&M service.'."\n", + 'type' => 'string', + 'example' => 'private', + ], + 'SupplierName' => [ + 'description' => 'The name of the service provider.'."\n", + 'type' => 'string', + 'example' => 'Alibaba Cloud', + ], + 'ServiceInfos' => [ + 'description' => 'The information about the service.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Locale' => [ + 'description' => 'The language of the service. Valid values:'."\n" + ."\n" + .'* zh-CN: Chinese.'."\n" + .'* en-US: English.'."\n", + 'type' => 'string', + 'example' => 'zh-CN', + ], + 'Image' => [ + 'description' => 'The URL of the service icon.'."\n", + 'type' => 'string', + 'example' => 'http://img.tidb.oss.url', + ], + 'Name' => [ + 'description' => 'The name of the service.'."\n", + 'type' => 'string', + 'example' => 'SpringBoot-ECS容器版', + ], + 'ShortDescription' => [ + 'description' => 'The description of the service.'."\n", + 'type' => 'string', + 'example' => 'B是A公司自主设计并研发的开源分布式的关系型数据库', + ], + ], + ], + ], + 'CommodityCode' => [ + 'description' => 'The commodity code of the service in Alibaba Cloud Marketplace.'."\n", + 'type' => 'string', + 'example' => 'cmjj00xxxx', + ], + 'CreateTime' => [ + 'description' => 'The time when the service was created.'."\n", + 'type' => 'string', + 'example' => '2021-05-20T00:00:00Z', + ], + 'UpdateTime' => [ + 'description' => 'The time when the service was modified.'."\n", + 'type' => 'string', + 'example' => '2021-05-21T00:00:00Z', + ], + 'ShareType' => [ + 'description' => 'The permission type of the deployment URL. Valid values:'."\n" + ."\n" + .'* Public: All users can go to the URL to create a formal service instance or a trial service instance.'."\n" + .'* Restricted: Only users in the whitelist can go to the URL to create a formal service instance or a trial service instance.'."\n" + .'* OnlyFormalRestricted: Only users in the whitelist can go to the URL to create a formal service instance.'."\n" + .'* OnlyTrailRestricted: Only users in the whitelist can go to the URL to create a trial service instance.'."\n" + .'* Hidden: Users not in the whitelist cannot see the service details page when they go to the URL and cannot request deployment permissions.'."\n", + 'type' => 'string', + 'example' => 'Public', + ], + 'ApprovalType' => [ + 'description' => 'The approval type for applications for using the service. Valid values:'."\n" + ."\n" + .'* Manual: The applications are manual reviewed.'."\n" + .'* AutoPass: The applications are automatically approved.'."\n", + 'type' => 'string', + 'example' => 'AutoPass', + ], + 'VersionName' => [ + 'description' => 'The custom version name defined by the service provider.'."\n", + 'type' => 'string', + 'example' => 'v2.0.0', + ], + 'Tags' => [ + 'description' => 'The service tags.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Key' => [ + 'description' => 'The tag key.'."\n", + 'type' => 'string', + 'example' => 'key1', + ], + 'Value' => [ + 'description' => 'The tag value.'."\n", + 'type' => 'string', + 'example' => 'value1', + ], + ], + ], + ], + 'ArtifactId' => [ + 'description' => 'The ID of the artifact.'."\n", + 'type' => 'string', + 'example' => 'artifact-21ca53ac16a643xxxxxx', + ], + 'ArtifactVersion' => [ + 'description' => 'The version of the artifact.'."\n", + 'type' => 'string', + 'example' => 'draft', + ], + 'SourceImage' => [ + 'description' => 'The source image.'."\n", + 'type' => 'string', + 'example' => 'centos_7', + ], + 'RelationType' => [ + 'description' => 'The purpose of the artifact. Valid values:'."\n" + ."\n" + .'* ServiceDeployment: The artifact is used to create service instances.'."\n" + .'* ServiceUpgrade: The artifact is used to upgrade service instances.'."\n", + 'type' => 'string', + 'example' => 'ServiceDeployment', + ], + 'TrialType' => [ + 'description' => 'The trial policy. Valid values:'."\n" + ."\n" + .'* Trial: Trials are supported.'."\n" + .'* NotTrial: Trials are not supported.'."\n", + 'type' => 'string', + 'example' => 'Trial', + ], + 'TenantType' => [ + 'description' => 'The tenant type of the managed service. Valid values:'."\n" + ."\n" + .'* SingleTenant'."\n" + .'* MultiTenant'."\n", + 'type' => 'string', + 'example' => 'SingleTenant', + ], + 'ResourceGroupId' => [ + 'description' => 'The resource group ID.'."\n", + 'type' => 'string', + 'example' => 'rg-aekz5b555xxxxxx', + ], + 'SourceServiceId' => [ + 'description' => 'The ID of the distribution source service.'."\n", + 'type' => 'string', + 'example' => 'service-70a3b15bb62643xxxxxx', + ], + 'SourceServiceVersion' => [ + 'description' => 'The version of the distribution source service.'."\n", + 'type' => 'string', + 'example' => '1', + ], + 'SourceSupplierName' => [ + 'description' => 'The name of the distribution source service provider.'."\n", + 'type' => 'string', + 'example' => 'SourceSupplier', + ], + 'ResellServiceId' => [ + 'description' => 'The ID of the distribution service.'."\n", + 'type' => 'string', + 'example' => 'service-70a3b15bb62643xxxxxx', + ], + 'LatestResellSourceServiceVersion' => [ + 'description' => 'The latest version of the distribution source service.'."\n", + 'type' => 'string', + 'example' => '1', + ], + 'ResellApplyStatus' => [ + 'description' => 'The state of distribution authorization of the service. Valid values:'."\n" + ."\n" + .'* CanApply: Distributors can apply for distribution permissions.'."\n" + .'* Applied: The application for distribution permissions is submitted.'."\n" + .'* Approved: The application for distribution permissions is approved.'."\n", + 'type' => 'string', + 'example' => 'CanApply', + ], + 'VirtualInternetService' => [ + 'description' => 'Indicates whether the service is a virtual Internet service. Valid values:'."\n" + ."\n" + .'* false'."\n" + .'* true'."\n", + 'type' => 'string', + 'example' => 'false', + ], + 'Categories' => [ + 'description' => 'The category of the service.'."\n", + 'type' => 'string', + 'example' => 'OpenSource', + ], + 'ServiceDiscoverable' => [ + 'description' => 'Indicates whether the service is visible. Valid values:'."\n" + ."\n" + .'* INVISIBLE'."\n" + .'* DISCOVERABLE'."\n", + 'type' => 'string', + 'example' => 'INVISIBLE', + ], + 'HasDraft' => [ + 'description' => 'Indicates whether the service has a draft version. Valid values:'."\n" + ."\n" + .'* true'."\n" + .'* false'."\n", + 'type' => 'boolean', + 'example' => 'true', + ], + 'HasBeta' => [ + 'description' => 'Indicates whether the service has a beta version. Valid values:'."\n" + ."\n" + .'* true'."\n" + .'* false'."\n", + 'type' => 'boolean', + 'example' => 'true', + ], + 'BuildInfo' => [ + 'description' => 'The informathon for build service.', + 'type' => 'string', + 'example' => '{ "RepoUrl": "https://github.com/user/repo.git", "Brancn": "main"}', + ], + 'Commodity' => [ + 'description' => 'The commodity details.'."\n", + 'type' => 'object', + 'properties' => [ + 'CommodityCode' => [ + 'description' => 'The commodity code.'."\n", + 'type' => 'string', + 'example' => 'cmjj00xxxx', + ], + 'Type' => [ + 'description' => 'The platform type. Valid values:'."\n" + ."\n" + .'* marketplace: Alibaba Cloud Marketplace.'."\n" + .'* Css: Lingxiao.'."\n" + .'* SaasBoost: Saas Boost.'."\n", + 'type' => 'string', + 'example' => 'Marketplace', + ], + 'SaasBoostMetadata' => [ + 'description' => 'The configuration metadata related to Saas Boost.'."\n", + 'type' => 'string', + 'example' => '{ // Specifies whether to associate the service with the SaaS Boost commodity. Default value: false. "Enabled":true/false // The public endpoint of the SaaS Boost instance. "PublicAccessUrl":"https://example.com" }'."\n", + ], + ], + ], + 'ServiceLocaleConfigs' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'OriginalValue' => [ + 'type' => 'string', + ], + 'ZhValue' => [ + 'type' => 'string', + ], + 'EnValue' => [ + 'type' => 'string', + ], + ], + ], + ], + ], + ], + ], + ], + 'description' => '', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"NextToken\\": \\"AAAAAfu+XtuBE55iRLHEYYuojI4=\\",\\n \\"RequestId\\": \\"51945B04-6AA6-410D-93BA-236E0248B104\\",\\n \\"TotalCount\\": 100,\\n \\"MaxResults\\": 1,\\n \\"Services\\": [\\n {\\n \\"Status\\": \\"Online\\",\\n \\"DefaultVersion\\": true,\\n \\"PublishTime\\": \\"2021-05-21T00:00:00Z\\",\\n \\"Version\\": \\"1.0\\",\\n \\"DeployType\\": \\"ros\\",\\n \\"ServiceId\\": \\"service-70a3b15bb62643****\\",\\n \\"SupplierUrl\\": \\"http://example.com\\",\\n \\"ServiceType\\": \\"private\\",\\n \\"SupplierName\\": \\"A有限公司\\",\\n \\"ServiceInfos\\": [\\n {\\n \\"Locale\\": \\"zh-CN\\",\\n \\"Image\\": \\"http://img.example.oss.url\\",\\n \\"Name\\": \\"B数据库\\",\\n \\"ShortDescription\\": \\"B是A公司自主设计并研发的开源分布式的关系型数据库\\"\\n }\\n ],\\n \\"CommodityCode\\": \\"cmjj00****\\",\\n \\"CreateTime\\": \\"2021-05-20T00:00:00Z\\",\\n \\"UpdateTime\\": \\"2021-05-21T00:00:00Z\\",\\n \\"ShareType\\": \\"Public\\",\\n \\"ApprovalType\\": \\"AutoPass\\",\\n \\"VersionName\\": \\"v2.0.0\\",\\n \\"Tags\\": [\\n {\\n \\"Key\\": \\"key1\\",\\n \\"Value\\": \\"value1\\"\\n }\\n ],\\n \\"ArtifactId\\": \\"artifact-21ca53ac16a643****\\",\\n \\"ArtifactVersion\\": \\"draft\\",\\n \\"SourceImage\\": \\"centos_7\\",\\n \\"RelationType\\": \\"ServiceDeployment\\",\\n \\"TrialType\\": \\"Trial\\",\\n \\"TenantType\\": \\"SingleTenant\\",\\n \\"ResourceGroupId\\": \\"rg-aekz5b555****\\",\\n \\"SourceServiceId\\": \\"service-70a3b15bb62643****\\",\\n \\"SourceServiceVersion\\": \\"1\\",\\n \\"SourceSupplierName\\": \\"SourceSupplier\\",\\n \\"ResellServiceId\\": \\"service-70a3b15bb62643****\\",\\n \\"LatestResellSourceServiceVersion\\": \\"1\\",\\n \\"ResellApplyStatus\\": \\"CanApply\\",\\n \\"VirtualInternetService\\": \\"false\\",\\n \\"Categories\\": \\"OpenSource\\",\\n \\"ServiceDiscoverable\\": \\"INVISIBLE\\",\\n \\"HasDraft\\": true,\\n \\"HasBeta\\": true,\\n \\"BuildInfo\\": \\"{ \\\\\\"RepoUrl\\\\\\": \\\\\\"https://github.com/user/example.git\\\\\\", \\\\\\"Brancn\\\\\\": \\\\\\"main\\\\\\"}\\",\\n \\"Commodity\\": {\\n \\"CommodityCode\\": \\"cmjj00****\\",\\n \\"Type\\": \\"Marketplace\\",\\n \\"SaasBoostMetadata\\": \\"{\\\\n //开启/关闭SaaS Boost绑定\\\\n \\\\\\"Enabled\\\\\\":true/false,默认为false\\\\n //公网交互地址\\\\n \\\\\\"PublicAccessUrl\\\\\\":\\\\\\"https://example.com\\\\\\"\\\\n}\\"\\n },\\n \\"ServiceLocaleConfigs\\": [\\n {\\n \\"OriginalValue\\": \\"Service Name\\\\n\\",\\n \\"ZhValue\\": \\"服务名称\\",\\n \\"EnValue\\": \\"Service Name\\\\n\\"\\n }\\n ]\\n }\\n ]\\n}","type":"json"}]', + 'title' => 'ListServices', + ], + 'PreLaunchService' => [ + 'summary' => 'Pre-release service', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '201480', + 'abilityTreeNodes' => [ + 'FEATUREcomputenestB2MIVU', + ], + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'RegionId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The region ID.', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'cn-hangzhou', + ], + ], + [ + 'name' => 'ServiceId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The service ID.'."\n", + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'service-f7024a22ea5149xxxxxx', + ], + ], + [ + 'name' => 'ClientToken', + 'in' => 'query', + 'schema' => [ + 'description' => 'The client token that is used to ensure the idempotence of the request.'."\n" + ."\n" + .'You can use the client to generate the token, but you must make sure that the token is unique among different requests. The token can contain only ASCII characters.', + 'type' => 'string', + 'required' => false, + 'example' => '10CM943JP0EN9D51H', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => 'The request ID.'."\n", + 'type' => 'string', + 'example' => '4DB0F536-B3BE-4F0D-BD29-E83FB56D550C', + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"4DB0F536-B3BE-4F0D-BD29-E83FB56D550C\\"\\n}","type":"json"}]', + 'title' => 'Pre-Launch Service', + 'translator' => 'machine', + ], + 'RegisterService' => [ + 'summary' => 'Registers an artifact.', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '36948', + 'abilityTreeNodes' => [ + 'FEATUREcomputenestB2MIVU', + ], + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'RegionId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The region ID.'."\n", + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'cn-hangzhou', + ], + ], + [ + 'name' => 'ServiceId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The service ID.'."\n", + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'service-f7024a22ea5149xxxxxx', + ], + ], + [ + 'name' => 'ClientToken', + 'in' => 'query', + 'schema' => [ + 'description' => 'The client token that is used to ensure the idempotence of the request. You can use the client to generate the token, but you must make sure that the token is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => '10CM943JP0EN9D51H', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RegistrationId' => [ + 'description' => 'The registration ID.'."\n", + 'type' => 'string', + 'example' => 'sr-72dd5071e90c40xxxxxx', + ], + 'RequestId' => [ + 'description' => 'The request ID.'."\n", + 'type' => 'string', + 'example' => 'A361BA9E-2713-52C8-AFFC-C26E5180456E', + ], + ], + 'description' => '', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RegistrationId\\": \\"sr-72dd5071e90c40xxxxxx\\",\\n \\"RequestId\\": \\"A361BA9E-2713-52C8-AFFC-C26E5180456E\\"\\n}","type":"json"}]', + 'title' => 'RegisterService', + ], + 'LaunchService' => [ + 'summary' => 'Launch service', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '36951', + 'abilityTreeNodes' => [ + 'FEATUREcomputenestB2MIVU', + ], + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'RegionId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The region ID.'."\n", + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'cn-hangzhou', + ], + ], + [ + 'name' => 'ServiceId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The service ID.'."\n", + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'service-0e6fca6a51a544xxxxxx', + ], + ], + [ + 'name' => 'ServiceVersion', + 'in' => 'query', + 'schema' => [ + 'description' => 'The service version.'."\n", + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => '1.0', + ], + ], + [ + 'name' => 'Categories', + 'in' => 'query', + 'style' => 'repeatList', + 'schema' => [ + 'description' => 'The categories of the service.', + 'type' => 'array', + 'items' => [ + 'description' => 'The category of the service.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'DevOps', + ], + 'required' => false, + 'docRequired' => 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' => '10CM943JP0EN9D51H', + ], + ], + [ + 'name' => 'Recommend', + 'in' => 'query', + 'schema' => [ + 'description' => 'Whether to set the recommended service publishing to the service directory.', + 'type' => 'boolean', + 'required' => false, + 'example' => 'false', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => 'The request ID.'."\n", + 'type' => 'string', + 'example' => '4DB0F536-B3BE-4F0D-BD29-E83FB56D550C', + ], + 'Version' => [ + 'description' => 'The service version.'."\n", + 'type' => 'string', + 'example' => '1.0', + ], + 'ServiceLaunchResultType' => [ + 'description' => 'The mode of the service online. Valid Type'."\n" + ."\n" + .'- PublishNewVersion: Launch new version'."\n" + .'- PublishOfflineVersion: The offline version is online again.'."\n" + .'- UpdateLatestVersion: Update the latest version online', + 'type' => 'string', + 'example' => 'PublishNewVersion', + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"4DB0F536-B3BE-4F0D-BD29-E83FB56D550C\\",\\n \\"Version\\": \\"1.0\\",\\n \\"ServiceLaunchResultType\\": \\"PublishNewVersion\\"\\n}","type":"json"}]', + 'title' => 'Launch Service', + 'description' => '需要上线的服务必须为已通过审核的服务。', + 'translator' => 'machine', + ], + 'GetServiceProvisions' => [ + 'summary' => 'Queries the information about the activation status and Resource Access Management (RAM) roles of the cloud services required by a service.', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREcomputenest18JMDW', + ], + '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-20b8a396048346xxxxxx', + ], + ], + [ + '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' => false, + 'example' => '模板1', + ], + ], + [ + '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\\"}', + ], + ], + ], + 'responses' => [ + 200 => [ + 'headers' => [], + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => 'The request ID.'."\n", + 'type' => 'string', + 'example' => 'DB1FA13E-1087-5654-84D5-58A0ACAD1B18', + ], + 'ServiceProvisions' => [ + 'description' => 'The information about the cloud services.', + 'type' => 'array', + 'items' => [ + 'description' => 'The information about the cloud services.', + 'type' => 'object', + 'properties' => [ + 'ServiceName' => [ + 'description' => 'The name of the cloud service.', + 'type' => 'string', + 'example' => 'db', + ], + 'Status' => [ + 'description' => 'The activation status of the cloud service. Valid values:'."\n" + ."\n" + .'- Enabled: The cloud service is activated.'."\n" + .'- EnabledByDefault: The cloud service is activated by default.'."\n" + .'- Disabled: The cloud service is not activated.'."\n" + .'- Unknown: The activation status of the cloud service is unknown.', + 'type' => 'string', + 'example' => 'Enabled', + ], + 'AutoEnableService' => [ + 'description' => 'Indicates whether automatic activation for the service is defined in the template. Valid values:'."\n" + ."\n" + .'* true: Automatic activation for the service is defined in the template.'."\n" + .'* false: Manual activation for the service is defined in the template.'."\n", + 'type' => 'boolean', + 'example' => 'true', + ], + 'RoleProvision' => [ + 'description' => 'The information about the RAM roles of the cloud service. If this parameter is empty, no RAM roles is associated with the service.', + 'type' => 'object', + 'properties' => [ + 'Roles' => [ + 'description' => 'The RAM roles.', + 'type' => 'array', + 'items' => [ + 'description' => 'The RAM role.', + 'type' => 'object', + 'properties' => [ + 'RoleName' => [ + 'description' => 'The name of the role.'."\n", + 'type' => 'string', + 'example' => 'AliyunServiceRole', + ], + 'Created' => [ + 'description' => 'Indicates whether the RAM role is created. Valid values:'."\n" + ."\n" + .'* true'."\n" + .'* false'."\n", + 'type' => 'boolean', + 'example' => 'true', + ], + 'Function' => [ + 'description' => 'The purpose for which the RAM role is used. Default value: Default. A value of Default indicates that the RAM role is the default role of the service.'."\n", + 'type' => 'string', + 'example' => 'Default', + ], + 'ApiForCreation' => [ + 'description' => 'The information about the API operation that is used to create the RAM role.'."\n", + 'type' => 'object', + 'properties' => [ + 'ApiName' => [ + 'description' => 'The name of the API operation.'."\n", + 'type' => 'string', + 'example' => 'GetServiceProvisions', + ], + 'ApiProductId' => [ + 'description' => 'The ID of the Alibaba Cloud service to which the API operation belongs.'."\n", + 'type' => 'string', + 'example' => 'ComputeNest', + ], + 'ApiType' => [ + 'description' => 'The type of the API operation. Valid values:'."\n" + ."\n" + .'* Open: public'."\n" + .'* Inner: private'."\n", + 'type' => 'string', + 'example' => 'Open', + ], + 'Parameters' => [ + 'description' => 'The parameters of the API operation. ${Variable name} indicates a dynamic parameter.', + 'type' => 'object', + 'example' => '{ "ServiceLinkedRole": "AliyunServiceRoleForRdsPgsqlOnEcs", "RegionId": "${RegionId}" }', + ], + ], + ], + ], + ], + ], + 'AuthorizationURL' => [ + 'description' => 'The authorization URL of the RAM role.'."\n" + ."\n" + .'> This parameter is returned if Created is set to false.'."\n", + 'type' => 'string', + 'example' => 'https://ram.console.aliyun.com/role/authorization?request={"Services":[{"Service":"CS","Roles":[{"RoleName":"AliyunCSManagedVKRole","TemplateId":"AliyunCSManagedVKRole"},{"RoleName":"AliyunCSDefaultRole","TemplateId":"Default"}]}],"ReturnUrl":"https://cs.console.aliyun.com/"}', + ], + ], + ], + 'StatusReason' => [ + 'description' => 'The reason why the service is in the Disabled or Unknown state.'."\n" + ."\n" + .'> This parameter is returned if Status is set to Disabled or Unknown.'."\n", + 'type' => 'string', + 'example' => 'resource(Eip) import info missing', + ], + 'EnableURL' => [ + 'description' => 'The URL that points to the activation page of the service.'."\n" + ."\n" + .'> This parameter is returned if Status is set to Disabled.'."\n", + 'type' => 'string', + 'example' => 'https://common-buy.aliyun.com/?commodityCode=sls', + ], + 'CommodityProvisions' => [ + 'description' => 'Product details. Some services (such as ACS) involve the activation of multiple products', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'CommodityCode' => [ + 'description' => 'Commodity Code', + 'type' => 'string', + 'example' => 'acs_postpaid_public_cn', + ], + 'Status' => [ + 'description' => 'Cloud service activation status.', + 'type' => 'string', + 'example' => 'Disabled', + ], + 'EnableURL' => [ + 'description' => 'Product activation link.', + 'type' => 'string', + 'example' => 'https://common-buy.aliyun.com/?commodityCode=acs_postpaid_public_cn'."\n", + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"DB1FA13E-1087-5654-84D5-58A0ACAD1B18\\",\\n \\"ServiceProvisions\\": [\\n {\\n \\"ServiceName\\": \\"db\\",\\n \\"Status\\": \\"Enabled\\",\\n \\"AutoEnableService\\": true,\\n \\"RoleProvision\\": {\\n \\"Roles\\": [\\n {\\n \\"RoleName\\": \\"AliyunServiceRole\\",\\n \\"Created\\": true,\\n \\"Function\\": \\"Default\\",\\n \\"ApiForCreation\\": {\\n \\"ApiName\\": \\"GetServiceProvisions\\",\\n \\"ApiProductId\\": \\"ComputeNest\\",\\n \\"ApiType\\": \\"Open\\",\\n \\"Parameters\\": {\\n \\"ServiceLinkedRole\\": \\"AliyunServiceRoleForRdsPgsqlOnEcs\\",\\n \\"RegionId\\": \\"${RegionId}\\"\\n }\\n }\\n }\\n ],\\n \\"AuthorizationURL\\": \\"https://ram.console.aliyun.com/role/authorization?request={\\\\\\"Services\\\\\\":[{\\\\\\"Service\\\\\\":\\\\\\"CS\\\\\\",\\\\\\"Roles\\\\\\":[{\\\\\\"RoleName\\\\\\":\\\\\\"AliyunCSManagedVKRole\\\\\\",\\\\\\"TemplateId\\\\\\":\\\\\\"AliyunCSManagedVKRole\\\\\\"},{\\\\\\"RoleName\\\\\\":\\\\\\"AliyunCSDefaultRole\\\\\\",\\\\\\"TemplateId\\\\\\":\\\\\\"Default\\\\\\"}]}],\\\\\\"ReturnUrl\\\\\\":\\\\\\"https://cs.console.aliyun.com/\\\\\\"}\\"\\n },\\n \\"StatusReason\\": \\"resource(Eip) import info missing\\",\\n \\"EnableURL\\": \\"https://common-buy.aliyun.com/?commodityCode=sls\\",\\n \\"CommodityProvisions\\": [\\n {\\n \\"CommodityCode\\": \\"acs_postpaid_public_cn\\",\\n \\"Status\\": \\"Disabled\\",\\n \\"EnableURL\\": \\"https://common-buy.aliyun.com/?commodityCode=acs_postpaid_public_cn\\\\n\\"\\n }\\n ]\\n }\\n ]\\n}","type":"json"}]', + 'title' => 'GetServiceProvisions', + ], + 'GetServiceTemplateParameterConstraints' => [ + 'summary' => 'Queries the valid values of parameters in a Resource Orchestration Service (ROS) template.', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '136396', + 'abilityTreeNodes' => [ + 'FEATUREcomputenest18JMDW', + ], + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'RegionId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The region ID.'."\n", + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'cn-hangzhou', + ], + ], + [ + 'name' => 'ServiceId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The service ID.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'service-1c11f365190c44xxxxxx', + ], + ], + [ + 'name' => 'ServiceVersion', + 'in' => 'query', + 'schema' => [ + 'description' => 'The service version.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'draft', + ], + ], + [ + '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 parameters in the template.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'ParameterKey' => [ + 'description' => 'The parameter name.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'PayType', + ], + 'ParameterValue' => [ + 'description' => 'The parameter value.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'PostPaid', + ], + ], + 'required' => false, + ], + 'required' => false, + 'maxItems' => 100, + ], + ], + [ + 'name' => 'ClientToken', + 'in' => 'query', + 'schema' => [ + 'description' => 'The client token that is used to ensure the idempotence of the request. You can use the client to generate the token, but you must make sure that the token is unique among different requests. The token can contain only ASCII characters.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => '10CM943JP0EN9D51H', + ], + ], + [ + 'name' => 'DeployRegionId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The ID of the region in which the service instance is deployed.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'cn-huhehaote', + ], + ], + [ + 'name' => 'ServiceInstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The ID of the service instance.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'si-d6ab3a63ccbb4b17****', + ], + ], + [ + 'name' => 'EnablePrivateVpcConnection', + 'in' => 'query', + 'schema' => [ + 'description' => 'Specifies whether to enable the private connection feature. Valid values:'."\n" + ."\n" + .'* true'."\n" + .'* false'."\n", + 'type' => 'boolean', + 'required' => false, + 'example' => 'true', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => 'The request ID.'."\n", + 'type' => 'string', + 'example' => 'C81C0732-DEBC-559C-B563-7EB2BEB21088', + ], + 'ParameterConstraints' => [ + 'description' => 'The parameters in the template.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Type' => [ + 'description' => 'The type of the parameter.'."\n", + 'type' => 'string', + 'example' => 'String', + ], + 'AllowedValues' => [ + 'description' => 'The valid values of the parameter.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The value of the parameter.'."\n", + 'type' => 'string', + 'example' => '"ecs.hfr6.16xlarge"', + ], + ], + 'AssociationParameterNames' => [ + 'description' => 'The names of the associated parameters.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The names of the associated parameters.'."\n", + 'type' => 'string', + 'example' => '"ZoneId1",'."\n" + .' "VSwitchId1"', + ], + ], + 'ParameterKey' => [ + 'description' => 'The name of the parameter.'."\n", + 'type' => 'string', + 'example' => 'PayType', + ], + 'Behavior' => [ + 'description' => 'The behavior of the parameter. Valid values:'."\n" + ."\n" + .'* NoLimit: The value of this parameter is not limited.'."\n" + .'* NotSupport: The value of this parameter cannot be queried.'."\n" + .'* QueryError: The query failed.'."\n" + ."\n" + .'> If AllowedValues is not returned, Behavior and BehaviorReason are returned.'."\n", + 'type' => 'string', + 'example' => 'NoLimit', + ], + 'BehaviorReason' => [ + 'description' => 'The reason why the behavior of the parameter is returned.'."\n", + 'type' => 'string', + 'example' => 'none', + ], + 'OriginalConstraints' => [ + 'description' => 'The original constraint information.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'AllowedValues' => [ + 'description' => 'The valid values of the parameter.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The value of the parameter.'."\n", + 'type' => 'string', + 'example' => '"ecs.hfr6.16xlarge"', + ], + ], + 'PropertyName' => [ + 'description' => 'The property name.'."\n", + 'type' => 'string', + 'example' => 'lnch_Source', + ], + 'ResourceName' => [ + 'description' => 'The resource name.'."\n", + 'type' => 'string', + 'example' => 'i-8vb0smn1lf6g77md****', + ], + 'ResourceType' => [ + 'description' => 'The resource type.'."\n", + 'type' => 'string', + 'example' => 'serviceinstance', + ], + ], + ], + ], + ], + ], + ], + 'FamilyConstraints' => [ + 'description' => 'The constraint families.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The constraint family.'."\n", + 'type' => 'string', + 'example' => '[]', + ], + ], + ], + 'description' => '', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"C81C0732-DEBC-559C-B563-7EB2BEB21088\\",\\n \\"ParameterConstraints\\": [\\n {\\n \\"Type\\": \\"String\\",\\n \\"AllowedValues\\": [\\n \\"\\\\\\"ecs.hfr6.16xlarge\\\\\\"\\"\\n ],\\n \\"AssociationParameterNames\\": [\\n \\"\\\\\\"ZoneId1\\\\\\",\\\\n \\\\\\"VSwitchId1\\\\\\"\\"\\n ],\\n \\"ParameterKey\\": \\"PayType\\",\\n \\"Behavior\\": \\"NoLimit\\",\\n \\"BehaviorReason\\": \\"none\\",\\n \\"OriginalConstraints\\": [\\n {\\n \\"AllowedValues\\": [\\n \\"\\\\\\"ecs.hfr6.16xlarge\\\\\\"\\"\\n ],\\n \\"PropertyName\\": \\"lnch_Source\\",\\n \\"ResourceName\\": \\"i-8vb0smn1lf6g77md****\\",\\n \\"ResourceType\\": \\"serviceinstance\\"\\n }\\n ]\\n }\\n ],\\n \\"FamilyConstraints\\": [\\n \\"[]\\"\\n ]\\n}","type":"json"}]', + 'title' => 'GetServiceTemplateParameterConstraints', + ], + 'GetServiceEstimateCost' => [ + 'summary' => 'Queries the estimated price for creating a service instance.', + 'methods' => [ + 'get', + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'none', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '137755', + 'abilityTreeNodes' => [ + 'FEATUREcomputenest18JMDW', + ], + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'RegionId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The region ID.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'cn-wulanchabu', + ], + ], + [ + 'name' => 'ServiceId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The service ID.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'service-16fbd358d75e49xxxxxx', + ], + ], + [ + 'name' => 'ServiceVersion', + 'in' => 'query', + 'schema' => [ + 'description' => 'The service version.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'draft', + ], + ], + [ + 'name' => 'TemplateName', + 'in' => 'query', + 'schema' => [ + 'description' => 'The template name.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'Custom_Image_Ecs', + ], + ], + [ + 'name' => 'Parameters', + 'in' => 'query', + 'style' => 'json', + 'schema' => [ + 'description' => 'The parameters that are specified to deploy the service instance.'."\n", + 'type' => 'object', + 'required' => false, + 'example' => '{\\"PayType\\":\\"PostPaid\\",\\"InstancePassword\\":\\"xxxxxxxxxx\\",\\"EcsInstanceType\\":\\"ecs.g6.large\\",\\"VSwitchId\\":\\"vsw-0jlueyydpuekoxxxxxxxx\\",\\"VpcId\\":\\"vpc-0jlps6mjbgvpqxxxxxxxx\\",\\"ZoneId\\":\\"cn-wulanchabu-a\\",\\"Enable\\":false,\\"RegionId\\":\\"cn-wulanchabu\\"}', + ], + ], + [ + 'name' => 'ClientToken', + 'in' => 'query', + 'schema' => [ + 'description' => 'The client token that is used to ensure the idempotence of the request. You can use the client to generate the token, but you must make sure that the token is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'mRdxWuW2ts', + ], + ], + [ + 'name' => 'ServiceInstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The ID of the service instance.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'si-d6ab3a63ccbb4b17****', + ], + ], + [ + 'name' => 'SpecificationName', + 'in' => 'query', + 'schema' => [ + 'description' => 'The package name.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'Package 1'."\n", + ], + ], + [ + 'name' => 'Commodity', + 'in' => 'query', + 'style' => 'json', + 'schema' => [ + 'description' => 'The subscription duration information about the purchase order of Alibaba Cloud Marketplace.'."\n", + 'type' => 'object', + 'properties' => [ + 'PayPeriodUnit' => [ + 'description' => 'The unit of the subscription duration. Valid values:'."\n" + ."\n" + .'* Year'."\n" + .'* Month'."\n" + .'* Day'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'Month', + ], + 'PayPeriod' => [ + 'description' => 'The subscription duration.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '1', + ], + ], + 'required' => false, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'The schema of the response.'."\n", + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => 'The request ID.'."\n", + 'type' => 'string', + 'example' => 'E73F09DC-6C13-5CB1-A10F-7A4E125ABD2C', + ], + 'Resources' => [ + 'description' => 'The list of resources.'."\n", + 'type' => 'object', + 'example' => '{'."\n" + .' "ECSInstances":{'."\n" + .' "Type":"ALIYUN::ECS::InstanceGroup",'."\n" + .' "Success":true,'."\n" + .' "Result":{'."\n" + .' "Order":{'."\n" + .' "Currency":"CNY",'."\n" + .' "RuleIds":['."\n" + .' 1752723'."\n" + .' ],'."\n" + .' "DetailInfos":{'."\n" + .' "ResourcePriceModel":['."\n" + .' {'."\n" + .' "Resource":"bandwidth",'."\n" + .' "TradeAmount":0.0,'."\n" + .' "SubRuleIds":[],'."\n" + .' "OriginalAmount":0.0,'."\n" + .' "DiscountAmount":0.0'."\n" + .' },'."\n" + .' {'."\n" + .' "Resource":"image",'."\n" + .' "TradeAmount":0.0,'."\n" + .' "SubRuleIds":[],'."\n" + .' "OriginalAmount":0.0,'."\n" + .' "DiscountAmount":0.0'."\n" + .' },'."\n" + .' {'."\n" + .' "Resource":"instanceType",'."\n" + .' "TradeAmount":0.006966,'."\n" + .' "SubRuleIds":[],'."\n" + .' "OriginalAmount":0.45,'."\n" + .' "DiscountAmount":0.443034'."\n" + .' },'."\n" + .' {'."\n" + .' "Resource":"systemDisk",'."\n" + .' "TradeAmount":0.000867,'."\n" + .' "SubRuleIds":[],'."\n" + .' "OriginalAmount":0.056,'."\n" + .' "DiscountAmount":0.055133'."\n" + .' },'."\n" + .' {'."\n" + .' "Resource":"dataDisk",'."\n" + .' "TradeAmount":0.002167,'."\n" + .' "SubRuleIds":[],'."\n" + .' "OriginalAmount":0.14,'."\n" + .' "DiscountAmount":0.137833'."\n" + .' }'."\n" + .' ]'."\n" + .' }', + ], + 'Commodity' => [ + 'description' => 'The subscription duration information about the purchase order of Alibaba Cloud Marketplace.'."\n", + 'type' => 'object', + 'example' => '{\\"PayPeriodUnit\\":Month,\\"PayPeriod\\":1}', + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"E73F09DC-6C13-5CB1-A10F-7A4E125ABD2C\\",\\n \\"Resources\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"Commodity\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n }\\n}","type":"json"}]', + 'title' => 'GetServiceEstimateCost', + ], + 'WithdrawService' => [ + 'summary' => 'Withdraw service version.', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'high', + 'chargeType' => 'free', + 'abilityTreeCode' => '36953', + 'abilityTreeNodes' => [ + 'FEATUREcomputenestB2MIVU', + ], + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'RegionId', + 'in' => 'query', + 'schema' => [ + 'description' => 'Region ID.', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'cn-hangzhou', + ], + ], + [ + 'name' => 'ServiceId', + 'in' => 'query', + 'schema' => [ + 'description' => 'Service ID.', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'service-0e6fca6a51a544xxxxxx', + ], + ], + [ + 'name' => 'ServiceVersion', + 'in' => 'query', + 'schema' => [ + 'description' => 'Service version.', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => '1.0', + ], + ], + [ + 'name' => 'ClientToken', + 'in' => 'query', + 'schema' => [ + 'description' => 'Client token, used to ensure the idempotence of requests. Generate a unique value for this parameter from your client to ensure it is unique across different requests. ClientToken supports only ASCII characters.', + 'type' => 'string', + 'required' => false, + 'example' => '788E7CP0EN9D51P', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => 'Request ID.', + 'type' => 'string', + 'example' => '4DB0F536-B3BE-4F0D-BD29-E83FB56D550C', + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"4DB0F536-B3BE-4F0D-BD29-E83FB56D550C\\"\\n}","type":"json"}]', + 'title' => 'WithdrawService', + 'translator' => 'machine', + ], + 'GenerateServicePolicy' => [ + 'summary' => 'Generate and validate the stack required for service creation', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREcomputenest2G0818', + ], + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'ServiceId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The service ID.'."\n", + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'service-6c20f0f8085645xxxxxx', + ], + ], + [ + 'name' => 'RegionId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The region ID.'."\n", + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'cn-hangzhou', + ], + ], + [ + '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' => false, + 'example' => '模板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' => 'NotTrial', + ], + ], + [ + 'name' => 'OperationTypes', + 'in' => 'query', + 'style' => 'repeatList', + 'schema' => [ + 'description' => 'The type of operation N for which you want to generate the policy information.', + 'type' => 'array', + 'items' => [ + 'description' => 'The type of operation N for which you want to generate the policy information.'."\n" + ."\n" + .'Valid values:'."\n" + ."\n" + .'* CreateServiceInstance: creates a serviceInstance by calling the CreateServiceInstance operation.'."\n" + .'* UpdateServiceInstance: updates a serviceInstance by calling the UpdateServiceInstance operation.'."\n" + .'* DeleteServiceInstance: deletes a serviceInstance by calling the DeleteServiceInstance operation.'."\n" + ."\n" + .'> The default value is the combination of all valid values.', + 'type' => 'string', + 'required' => false, + 'example' => 'CreateServiceInstance', + ], + 'required' => false, + 'maxItems' => 30, + ], + ], + ], + 'responses' => [ + 200 => [ + 'headers' => [], + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Policy' => [ + 'description' => 'The RAM policy.', + 'type' => 'string', + 'example' => '{Statement": [{ "Action": ["oos:*"], "Effect": "Allow", "Resource": "*"},{ "Action": ["ecs:DescribeInstances"], "Effect": "Allow", "Resource": "*"},{ "Action": ["ecs:RunInstance"], "Effect": "Allow", "Resource": "*"}], "Version": "1"}', + ], + 'RequestId' => [ + 'description' => 'The request ID.'."\n", + 'type' => 'string', + 'example' => '5040BE9E-8DA2-5C9D-9B70-0EE6027A14BC', + ], + 'MissingPolicy' => [ + 'description' => 'The policies that are missing.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The policies that are missing.'."\n", + 'type' => 'object', + 'properties' => [ + 'ServiceName' => [ + 'description' => 'The name of the service.'."\n", + 'type' => 'string', + 'example' => 'ecs', + ], + 'Resource' => [ + 'description' => 'The specific objects authorized. An asterisk (*) denotes all resources.', + 'type' => 'string', + 'example' => '*', + ], + 'Action' => [ + 'description' => 'Operations on specific resources.', + 'type' => 'array', + 'items' => [ + 'description' => 'Operations on specific resources.', + 'type' => 'string', + 'example' => '['."\n" + .' "ecs:DescribeInstances",'."\n" + .' "ecs:RunInstance"'."\n" + .' ]', + ], + ], + ], + ], + ], + ], + ], + ], + [], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Policy\\": \\"{Statement\\\\\\": [{ \\\\\\"Action\\\\\\": [\\\\\\"oos:*\\\\\\"], \\\\\\"Effect\\\\\\": \\\\\\"Allow\\\\\\", \\\\\\"Resource\\\\\\": \\\\\\"*\\\\\\"},{ \\\\\\"Action\\\\\\": [\\\\\\"ecs:DescribeInstances\\\\\\"], \\\\\\"Effect\\\\\\": \\\\\\"Allow\\\\\\", \\\\\\"Resource\\\\\\": \\\\\\"*\\\\\\"},{ \\\\\\"Action\\\\\\": [\\\\\\"ecs:RunInstance\\\\\\"], \\\\\\"Effect\\\\\\": \\\\\\"Allow\\\\\\", \\\\\\"Resource\\\\\\": \\\\\\"*\\\\\\"}], \\\\\\"Version\\\\\\": \\\\\\"1\\\\\\"}\\",\\n \\"RequestId\\": \\"5040BE9E-8DA2-5C9D-9B70-0EE6027A14BC\\",\\n \\"MissingPolicy\\": [\\n {\\n \\"ServiceName\\": \\"ecs\\",\\n \\"Resource\\": \\"*\\",\\n \\"Action\\": [\\n \\"[\\\\n \\\\\\"ecs:DescribeInstances\\\\\\",\\\\n \\\\\\"ecs:RunInstance\\\\\\"\\\\n ]\\"\\n ]\\n }\\n ]\\n}","type":"json"}]', + 'title' => 'GenerateServicePolicy', + 'translator' => 'machine', + ], + 'CancelServiceRegistration' => [ + 'summary' => 'Cancel service registration.', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'delete', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '36945', + 'abilityTreeNodes' => [ + 'FEATUREcomputenest2G0818', + ], + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'RegionId', + 'in' => 'query', + 'schema' => [ + 'description' => 'Region ID.', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'cn-hangzhou', + ], + ], + [ + 'name' => 'RegistrationId', + 'in' => 'query', + 'schema' => [ + 'description' => 'Service registration ID.', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'sr-540930183f93xxxxxx', + ], + ], + [ + 'name' => 'ClientToken', + 'in' => 'query', + 'schema' => [ + 'description' => 'Client token, used to ensure the idempotence of requests. Generate a unique value for this parameter from your client to ensure it is unique across different requests. ClientToken supports only ASCII characters.', + 'type' => 'string', + 'required' => false, + 'example' => 'AAAAAWns8w4MmhzeptXVRG0PUEU=', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => 'Request ID.', + 'type' => 'string', + 'example' => 'C4A145D8-6F6C-532A-9001-9730CDA27578', + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"C4A145D8-6F6C-532A-9001-9730CDA27578\\"\\n}","type":"json"}]', + 'title' => 'CancelServiceRegistration', + 'description' => 'Only service registration in the Submitted status can be canceled.', + 'translator' => 'machine', + ], + 'ListServiceRegistrations' => [ + 'summary' => 'Query service registrations.', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '36946', + 'abilityTreeNodes' => [ + 'FEATUREcomputenestB2MIVU', + ], + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'RegionId', + 'in' => 'query', + 'schema' => [ + 'description' => 'Region ID.', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'cn-hangzhou', + ], + ], + [ + 'name' => 'MaxResults', + 'in' => 'query', + 'schema' => [ + 'description' => 'The number of items to return per page during a paginated query. The maximum is 100, and the default is 20.', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '10', + ], + ], + [ + 'name' => 'NextToken', + 'in' => 'query', + 'schema' => [ + 'description' => 'The pagination token that is used in the next request to retrieve a new page of results. You do not need to specify this parameter for the first request. You must specify the token that is obtained from the previous query as the value of NextToken.', + 'type' => 'string', + 'required' => false, + 'example' => 'BBBAAfu+XtuBE55iRLHEYYuojI4=', + ], + ], + [ + 'name' => 'Filter', + 'in' => 'query', + 'style' => 'repeatList', + 'schema' => [ + 'description' => 'Filter.', + 'type' => 'array', + 'items' => [ + 'description' => 'Filter.', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => 'List of filter values.', + 'type' => 'array', + 'items' => [ + 'description' => 'Filter value.', + 'type' => 'string', + 'required' => false, + 'example' => 'Rejected', + ], + 'required' => false, + 'maxItems' => 20, + ], + 'Name' => [ + 'description' => 'Name of the filter field. Allowed values:'."\n" + ."\n" + .'- ServiceId: Service ID.'."\n" + ."\n" + .'- RegistrationId: Registration ID.'."\n" + ."\n" + .'- Status: Registration status. Allowed values: Submitted, Approved, Rejected, Canceled, and Executed.', + 'type' => 'string', + 'required' => false, + 'example' => 'Canceled', + ], + ], + 'required' => false, + ], + 'required' => false, + 'maxItems' => 100, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'NextToken' => [ + 'description' => 'The pagination token that is used in the next request to retrieve a new page of results. You do not need to specify this parameter for the first request. You must specify the token that is obtained from the previous query as the value of NextToken.', + 'type' => 'string', + 'example' => 'AAAAAfu+XtuBE55iRLHEYYuojI4=', + ], + 'RequestId' => [ + 'description' => 'Request ID.', + 'type' => 'string', + 'example' => '51945B04-6AA6-410D-93BA-236E0248B104', + ], + 'TotalCount' => [ + 'description' => 'Total number of records that meet the criteria.', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '100', + ], + 'MaxResults' => [ + 'description' => 'Number of items per page in a paginated query. The maximum is 100, and the default is 20.', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '20', + ], + 'ServiceRegistrations' => [ + 'description' => 'Service registration information.', + 'type' => 'array', + 'items' => [ + 'description' => 'Service registration information.', + 'type' => 'object', + 'properties' => [ + 'Status' => [ + 'description' => 'Registration status. Allowed values:'."\n" + ."\n" + .'- Submitted'."\n" + ."\n" + .'- Approved'."\n" + ."\n" + .'- Rejected'."\n" + ."\n" + .'- Canceled'."\n" + ."\n" + .'- Executed'."\n" + ."\n" + .'- Executed: Executed.', + 'type' => 'string', + 'example' => 'Rejected', + ], + 'RegistrationId' => [ + 'description' => 'Registration ID.', + 'type' => 'string', + 'example' => 'sr-001', + ], + 'FinishTime' => [ + 'description' => 'Finish time.', + 'type' => 'string', + 'example' => '2021-05-23T00:00:00Z', + ], + 'Comment' => [ + 'description' => 'Comment.', + 'type' => 'string', + 'example' => 'some info is missing', + ], + 'ServiceId' => [ + 'description' => 'Service ID.', + 'type' => 'string', + 'example' => 'service-f4c0026a254bxxxxxxxx', + ], + 'SubmitTime' => [ + 'description' => 'Submit time.', + 'type' => 'string', + 'example' => '2021-05-22T00:00:00Z', + ], + ], + ], + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"NextToken\\": \\"AAAAAfu+XtuBE55iRLHEYYuojI4=\\",\\n \\"RequestId\\": \\"51945B04-6AA6-410D-93BA-236E0248B104\\",\\n \\"TotalCount\\": 100,\\n \\"MaxResults\\": 20,\\n \\"ServiceRegistrations\\": [\\n {\\n \\"Status\\": \\"Rejected\\",\\n \\"RegistrationId\\": \\"sr-001\\",\\n \\"FinishTime\\": \\"2021-05-23T00:00:00Z\\",\\n \\"Comment\\": \\"some info is missing\\",\\n \\"ServiceId\\": \\"service-f4c0026a254bxxxxxxxx\\",\\n \\"SubmitTime\\": \\"2021-05-22T00:00:00Z\\"\\n }\\n ]\\n}","type":"json"}]', + 'title' => 'ListServiceRegistrations', + 'translator' => 'machine', + ], + 'ListServiceInstanceUpgradeHistory' => [ + 'summary' => 'View the upgrade history of a service instance', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREcomputenest18JMDW', + ], + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'RegionId', + 'in' => 'query', + 'schema' => [ + 'description' => 'Region ID.', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'cn-hangzhou', + ], + ], + [ + 'name' => 'MaxResults', + 'in' => 'query', + 'schema' => [ + 'description' => 'The number of items to return per page when paginating results. The maximum is 100, and the default is 20.', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '20', + ], + ], + [ + 'name' => 'NextToken', + 'in' => 'query', + 'schema' => [ + 'description' => 'The token for the next query, which should be the value of the NextToken parameter from the previous API call.', + 'type' => 'string', + 'required' => false, + 'example' => 'AAAAAc3HCuYhJi/wvpk4xOr0VLbAx7BkQzyYC+ONO+WudHGKEdB0uWSY7AGnM3qCgm/Ynge7zU6NWdbj0Tegyajyqyc=', + ], + ], + [ + 'name' => 'ServiceInstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => 'Service instance ID.', + 'type' => 'string', + 'required' => true, + 'example' => 'si-0e6fca6a51a54420****', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'NextToken' => [ + 'description' => 'The token to use for the next query.', + 'type' => 'string', + 'example' => 'AAAAAc3HCuYhJi/wvpk4xOr0VLbAx7BkQzyYC+ONO+WudHGKEdB0uWSY7AGnM3qCgm/Ynge7zU6NWdbj0Tegyajyqyc=', + ], + 'RequestId' => [ + 'description' => 'Request ID.', + 'type' => 'string', + 'example' => '86CAC31E-3527-562C-869F-347E931C9B25', + ], + 'MaxResults' => [ + 'description' => 'The number of items to return per page when paginating results. The maximum is 100, and the default is 20.', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '20', + ], + 'UpgradeHistory' => [ + 'description' => 'List of upgrade histories.', + 'type' => 'array', + 'items' => [ + 'description' => 'List of upgrade histories.', + 'type' => 'object', + 'properties' => [ + 'UpgradeHistoryId' => [ + 'description' => 'Upgrade history ID.', + 'type' => 'string', + 'example' => 'uh-1b21d65f75e94fa09745', + ], + 'Type' => [ + 'description' => 'Upgrade type.'."\n" + .'- Upgrade'."\n" + .'- Rollback', + 'type' => 'string', + 'example' => 'Upgrade'."\n", + ], + 'FromVersion' => [ + 'description' => 'Version before the upgrade.', + 'type' => 'string', + 'example' => '1', + ], + 'ToVersion' => [ + 'description' => 'Version after the upgrade.', + 'type' => 'string', + 'example' => '3', + ], + 'Status' => [ + 'description' => 'Upgrade status. Possible values:'."\n" + ."\n" + .'- upgrading: In progress.'."\n" + ."\n" + .'- UpgradeSuccessful: Upgrade successful.'."\n" + ."\n" + .'- UpgradeFailed: Upgrade failed.', + 'type' => 'string', + 'example' => 'UpgradeFailed'."\n" + ."\n", + ], + 'Results' => [ + 'description' => 'Upgrade result.', + 'type' => 'string', + 'example' => '{\\"PreUpgradeExecutionId\\":\\"exec-123\\"}'."\n", + ], + 'StartTime' => [ + 'description' => 'Start time of the upgrade.', + 'type' => 'string', + 'example' => '2022-04-26T08:09:51Z'."\n", + ], + 'EndTime' => [ + 'description' => 'End time of the upgrade.', + 'type' => 'string', + 'example' => '2022-04-26T09:09:51Z'."\n", + ], + ], + ], + ], + 'TotalCount' => [ + 'description' => 'The total count of upgrade history', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '2'."\n", + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"NextToken\\": \\"AAAAAc3HCuYhJi/wvpk4xOr0VLbAx7BkQzyYC+ONO+WudHGKEdB0uWSY7AGnM3qCgm/Ynge7zU6NWdbj0Tegyajyqyc=\\",\\n \\"RequestId\\": \\"86CAC31E-3527-562C-869F-347E931C9B25\\",\\n \\"MaxResults\\": 20,\\n \\"UpgradeHistory\\": [\\n {\\n \\"UpgradeHistoryId\\": \\"exec-123\\\\n\\",\\n \\"Type\\": \\"Upgrade\\\\n\\",\\n \\"FromVersion\\": \\"1\\",\\n \\"ToVersion\\": \\"3\\",\\n \\"Status\\": \\"UpgradeFailed\\\\n\\\\n\\",\\n \\"Results\\": \\"{\\\\\\\\\\\\\\"PreUpgradeExecutionId\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"exec-123\\\\\\\\\\\\\\"}\\\\n\\",\\n \\"StartTime\\": \\"2022-04-26T08:09:51Z\\\\n\\",\\n \\"EndTime\\": \\"2022-04-26T09:09:51Z\\\\n\\"\\n }\\n ],\\n \\"TotalCount\\": 2\\n}","type":"json"}]', + 'title' => 'Query Service Instance Upgrade History', + 'translator' => 'machine', + ], + 'RollbackServiceInstance' => [ + 'summary' => 'Rollback Service Instance', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '162314', + 'abilityTreeNodes' => [ + 'FEATUREcomputenestYPH9R9', + ], + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'RegionId', + 'in' => 'query', + 'schema' => [ + 'description' => 'Region ID.', + 'type' => 'string', + 'required' => false, + 'docRequired' => true, + 'example' => 'cn-hangzhou', + ], + ], + [ + 'name' => 'ServiceInstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => 'Service instance ID.'."\n" + ."\n" + .'You can obtain the service instance ID by calling [ListServiceInstances - Query Service Instance List](~~396200~~).', + 'type' => 'string', + 'required' => false, + 'docRequired' => true, + 'example' => 'si-3a8f9a75da074f52b969', + ], + ], + [ + 'name' => 'ClientToken', + 'in' => 'query', + 'schema' => [ + 'description' => 'Ensures idempotence of the request. Generate a value from your client to ensure it is unique across different requests. **ClientToken** supports only ASCII characters and cannot exceed 64 characters.', + 'type' => 'string', + 'required' => false, + 'example' => '10CM943JP0EN9D51H', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Status' => [ + 'description' => 'The deployment status of the service instance. Possible values:'."\n" + ."\n" + .'- Created: Created'."\n" + ."\n" + .'- Deploying: Deploying'."\n" + ."\n" + .'- DeployedFailed: Deployment Failed'."\n" + ."\n" + .'- Deployed: Deployed'."\n" + ."\n" + .'- Upgrading: Upgrading'."\n" + ."\n" + .'- UpgradeRollbacking: Rolling Back'."\n" + ."\n" + .'- Deleting: Deleting'."\n" + ."\n" + .'- Deleted: Deleted'."\n" + ."\n" + .'- DeletedFailed: Deletion Failed', + 'type' => 'string', + 'example' => 'UpgradeRollbacking', + ], + 'RequestId' => [ + 'description' => 'Request ID.', + 'type' => 'string', + 'example' => 'EE9EF87D-46F8-5AF6-9A65-6B034E204136', + ], + 'ServiceInstanceId' => [ + 'description' => 'Service instance ID.', + 'type' => 'string', + 'example' => 'si-5289e1d6d0c14397881d', + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Status\\": \\"UpgradeRollbacking\\",\\n \\"RequestId\\": \\"EE9EF87D-46F8-5AF6-9A65-6B034E204136\\",\\n \\"ServiceInstanceId\\": \\"si-5289e1d6d0c14397881d\\"\\n}","type":"json"}]', + 'title' => 'Rollback Service Instance', + 'translator' => 'machine', + ], + 'CreateServiceInstance' => [ + 'summary' => 'Creates and deploys a service instance.', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREcomputenestVIKWP9', + 'FEATUREcomputenestVUFVAC', + ], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'RegionId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The region ID. Valid values:'."\n" + ."\n" + .'* cn-hangzhou: China (Hangzhou)'."\n" + .'* ap-southeast-1: Singapore'."\n", + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'cn-hangzhou', + ], + ], + [ + 'name' => 'Name', + 'in' => 'query', + 'schema' => [ + 'description' => 'The name of the service instance. The value must meet the following requirements:'."\n" + ."\n" + .'* The name cannot exceed 64 characters in length.'."\n" + .'* It can contain digits, letters, hyphens (-), and underscores (\\_). It must start with a digit or a letter.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'TestName', + ], + ], + [ + 'name' => 'ServiceId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The service ID.'."\n", + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'service-0e6fca6a51a54420****', + ], + ], + [ + 'name' => 'ServiceVersion', + 'in' => 'query', + 'schema' => [ + 'description' => 'The service version.'."\n", + 'type' => 'string', + 'required' => false, + 'docRequired' => true, + 'example' => '1', + ], + ], + [ + 'name' => 'Parameters', + 'in' => 'query', + 'style' => 'json', + 'schema' => [ + 'description' => 'The parameters that are specified for service instance deployment.'."\n" + ."\n" + .'> If you want to specify the region in which the service instance is deployed, you must specify the information in Parameters.'."\n", + 'type' => 'object', + 'required' => false, + 'example' => '{"NodeCount": 3, "SystemDiskSize": 40, "InstancePassword": "******"}', + ], + ], + [ + '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' => 'TemplateName', + 'in' => 'query', + 'schema' => [ + 'description' => 'The template name. You must specify a template name if the service supports multiple templates.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => '模板1', + ], + ], + [ + 'name' => 'ResourceGroupId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The ID of the resource group.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'rg-aekzuqyxxxxxx', + ], + ], + [ + 'name' => 'UserId', + 'in' => 'query', + 'schema' => [ + 'title' => '用户ID', + 'description' => 'The user ID.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => '1563457855xxxxxx', + ], + ], + [ + 'name' => 'Tag', + 'in' => 'query', + 'style' => 'repeatList', + 'schema' => [ + 'description' => 'The custom tags.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Key' => [ + 'description' => 'The tag key.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'key1', + ], + 'Value' => [ + 'description' => 'The tag value.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'value1', + ], + ], + 'required' => false, + ], + 'required' => false, + 'maxItems' => 20, + ], + ], + [ + 'name' => 'SpecificationName', + 'in' => 'query', + 'schema' => [ + 'description' => 'The name of the package specification.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => '套餐一', + ], + ], + [ + 'name' => 'DryRun', + 'in' => 'query', + 'schema' => [ + 'description' => 'Specifies whether to perform only a dry run for the request to check information such as the permissions and instance status. Valid values:'."\n" + ."\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', + ], + ], + [ + 'name' => 'EndTime', + 'in' => 'query', + 'schema' => [ + 'description' => 'The time when the service instance was released.'."\n" + ."\n" + .'> This parameter is available only for the service instances that are managed by service providers.'."\n", + 'type' => 'string', + 'format' => 'iso8601', + 'required' => false, + 'example' => '2023-12-12T03:13:05Z', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Status' => [ + 'description' => 'The status of the service instance. Valid values:'."\n" + ."\n" + .'* Created'."\n" + .'* Deploying'."\n" + .'* DeployedFailed'."\n" + .'* Deployed'."\n" + .'* Upgrading'."\n" + .'* Deleting'."\n" + .'* Deleted'."\n" + .'* DeletedFailed'."\n", + 'type' => 'string', + 'example' => 'Created', + ], + 'RequestId' => [ + 'description' => 'The request ID.'."\n", + 'type' => 'string', + 'example' => '4DB0F536-B3BE-4F0D-BD29-E83FB56D****', + ], + 'ServiceInstanceId' => [ + 'description' => 'The ID of the service instance.'."\n", + 'type' => 'string', + 'example' => 'si-d6ab3a63ccbb4b17****', + ], + ], + 'description' => '', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Status\\": \\"Created\\",\\n \\"RequestId\\": \\"4DB0F536-B3BE-4F0D-BD29-E83FB56D****\\",\\n \\"ServiceInstanceId\\": \\"si-d6ab3a63ccbb4b17****\\"\\n}","type":"json"}]', + 'title' => 'CreateServiceInstance', + ], + 'DeleteServiceInstances' => [ + 'summary' => 'Deletes a service instance.', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'delete', + 'riskType' => 'high', + 'chargeType' => 'paid', + 'abilityTreeCode' => '136232', + 'abilityTreeNodes' => [ + 'FEATUREcomputenest18JMDW', + ], + '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' => 'RegionId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The region ID.'."\n", + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'cn-hangzhou', + ], + ], + [ + 'name' => 'ServiceInstanceId', + 'in' => 'query', + 'style' => 'repeatList', + 'schema' => [ + 'description' => 'The IDs of the service instances.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The ID of the service instance N. Valid values of N: 1 to 100.'."\n" + ."\n" + .'> If you want to specify multiple service instances at a time, separate multiple names with &&. Example: ServiceInstanceId.1=xxx&\\&ServiceInstanceId.2=yyy.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'si-d6ab3a63ccbb4b17****', + ], + 'required' => true, + 'maxItems' => 100, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => 'The request ID.'."\n", + 'type' => 'string', + 'example' => 'DB140E67-D75F-5585-946E-41D8DC8F4E00', + ], + ], + 'description' => '', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'asynchronous', + 'callback' => 'ComputeNestSupplier::2021-05-21::GetServiceInstance', + 'callbackInterval' => 2000, + 'maxCallbackTimes' => 500, + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"DB140E67-D75F-5585-946E-41D8DC8F4E00\\"\\n}","type":"json"}]', + 'title' => 'DeleteServiceInstances', + ], + 'UpdateServiceInstanceSpec' => [ + 'summary' => 'Updates the configurations of a service instance.', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '163731', + 'abilityTreeNodes' => [ + 'FEATUREcomputenest7EAOIM', + ], + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'ServiceInstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The service instance ID.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'si-0e6fca6a51a54420****', + ], + ], + [ + 'name' => 'PredefinedParametersName', + 'in' => 'query', + 'schema' => [ + 'description' => 'The name of the specification package.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'package one', + ], + ], + [ + 'name' => 'Parameters', + 'in' => 'query', + 'style' => 'json', + 'schema' => [ + 'description' => 'The configuration parameters of the service instance.'."\n", + 'type' => 'object', + 'required' => false, + 'example' => '{\\"EcsInstanceParameter\\":\\"4vCPU 8GiB\\",\\"ZoneId\\":\\"cn-heyuan-a\\",\\"SystemDiskSize\\":50,\\"DataDiskSize\\":150,\\"InternetMaxBandwidthOut\\":2,\\"RegionId\\":\\"cn-heyuan\\"}', + ], + ], + [ + 'name' => 'OperationName', + 'in' => 'query', + 'schema' => [ + 'description' => 'The name of the configuration update operation.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'package modify', + ], + ], + [ + 'name' => 'EnableUserPrometheus', + 'in' => 'query', + 'schema' => [ + 'description' => 'Specifies whether to enable Prometheus on the customer side. Valid values:'."\n" + ."\n" + .'* true'."\n" + .'* false'."\n", + 'type' => 'boolean', + 'required' => false, + 'example' => 'true', + ], + ], + [ + 'name' => 'ClientToken', + 'in' => 'query', + 'schema' => [ + 'description' => 'The client token that is used to ensure the idempotence of the request. You can use the client to generate the token, but you must make sure that the token is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => '10CM943JP0EN9D51H', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => 'The request ID.'."\n", + 'type' => 'string', + 'example' => 'DF0F666F-FBBC-55C3-A368-C955DE7B4839', + ], + 'OrderId' => [ + 'description' => 'The order ID.'."\n", + 'type' => 'string', + 'example' => '2306175xxxxxxxx', + ], + ], + 'description' => '', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"DF0F666F-FBBC-55C3-A368-C955DE7B4839\\",\\n \\"OrderId\\": \\"2306175xxxxxxxx\\"\\n}","type":"json"}]', + 'title' => 'UpdateServiceInstanceSpec', + ], + 'UpdateServiceInstanceAttribute' => [ + 'summary' => 'Updates the properties of a service instance.', + 'methods' => [ + 'get', + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '142602', + 'abilityTreeNodes' => [ + 'FEATUREcomputenest18JMDW', + ], + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'RegionId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The region ID.'."\n", + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'cn-hangzhou', + ], + ], + [ + 'name' => 'ServiceInstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The service instance ID.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'si-3df88e962cdexxxxxxxx', + ], + ], + [ + 'name' => 'EndTime', + 'in' => 'query', + 'schema' => [ + 'description' => 'The time when the service instance expires.'."\n", + 'type' => 'string', + 'format' => 'iso8601', + 'required' => false, + 'example' => '2023-12-25T02:28:40Z', + ], + ], + [ + 'name' => 'LicenseData', + 'in' => 'query', + 'style' => 'json', + 'schema' => [ + 'description' => 'The License Data', + 'type' => 'object', + 'properties' => [ + 'CustomData' => [ + 'description' => 'The Custom Data', + 'type' => 'string', + 'required' => false, + 'example' => '{"Test"}', + ], + 'ResponseInfo' => [ + 'type' => 'object', + 'properties' => [ + 'UpdateResponse' => [ + 'type' => 'boolean', + 'required' => false, + 'description' => 'if you want mock response, please open this option.', + 'example' => 'true', + ], + 'ErrorCode' => [ + 'type' => 'string', + 'required' => false, + 'example' => 'EntityNotExist.Service', + 'description' => 'Mock error code.', + ], + 'ErrorMessage' => [ + 'type' => 'string', + 'required' => false, + 'example' => 'The provided parameter "ServiceId" is invalid.', + 'description' => 'Mock error message.', + ], + ], + 'required' => false, + 'description' => 'Mock response info.', + ], + ], + 'required' => false, + ], + ], + [ + 'name' => 'Reason', + 'in' => 'query', + 'schema' => [ + 'description' => 'Application reason, currently used for trial application extension.', + 'type' => 'string', + 'required' => false, + 'example' => '\'\'', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'The response parameters.'."\n", + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => 'The request ID.'."\n", + 'type' => 'string', + 'example' => '0CB2E0A9-B4DF-5C16-86AD-C511C483144B', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'NeedManualApproval', + 'errorMessage' => 'Manual approval is required for the extension request.', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0CB2E0A9-B4DF-5C16-86AD-C511C483144B\\"\\n}","type":"json"}]', + 'title' => 'UpdateServiceInstanceAttribute', + ], + 'ModifyServiceInstanceResources' => [ + 'summary' => 'Modifies the resource information about a service instance.', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREcomputenest18JMDW', + ], + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'ServiceInstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The ID of the service instance.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'si-d8a0cc2a1ee04dce****', + ], + ], + [ + 'name' => 'ServiceInstanceResourcesAction', + 'in' => 'query', + 'schema' => [ + 'description' => 'The type of operation performed on the service instance resource. Valid values:'."\n" + ."\n" + .'* Import: The resource is imported.'."\n" + .'* UnImport: The resource import is canceled.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'Import', + ], + ], + [ + 'name' => 'Resources', + 'in' => 'query', + 'schema' => [ + 'description' => 'The imported resources.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => '{'."\n" + .' "RegionId": "cn-hangzhou",'."\n" + .' "Type": "ResourceIds",'."\n" + .' "ResourceIds": {'."\n" + .' "ALIYUN::ECS::INSTANCE": ["i-xxx", "i-yyy"],'."\n" + .' "ALIYUN::RDS::INSTANCE": ["rm-xxx", "rm-yyy"],'."\n" + .' "ALIYUN::VPC::VPC": ["vpc-xxx", "vpc-yyy"],'."\n" + .' "ALIYUN::SLB::INSTANCE": ["lb-xxx", "lb-yyy"]'."\n" + .' }'."\n" + .'}', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => 'The request ID.'."\n", + 'type' => 'string', + 'example' => '46577928-3162-15A6-9084-69820EB9xxxx', + ], + ], + 'description' => '', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"46577928-3162-15A6-9084-69820EB9xxxx\\"\\n}","type":"json"}]', + 'title' => 'ModifyServiceInstanceResources', + ], + 'UpgradeServiceInstance' => [ + 'summary' => 'Upgrades a service instance.', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '162313', + 'abilityTreeNodes' => [ + 'FEATUREcomputenestQE1OA6', + ], + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'RegionId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The region ID.'."\n", + 'type' => 'string', + 'required' => false, + 'docRequired' => true, + 'example' => 'cn-hangzhou', + ], + ], + [ + 'name' => 'ServiceInstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The ID of the service instance.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'si-5cbae874da0e47xxxxxx', + 'docRequired' => true, + ], + ], + [ + 'name' => 'ServiceVersion', + 'in' => 'query', + 'schema' => [ + 'description' => 'The service version.'."\n", + 'type' => 'string', + 'required' => false, + 'docRequired' => true, + 'example' => '2', + ], + ], + [ + 'name' => 'ClientToken', + 'in' => 'query', + 'schema' => [ + 'description' => 'The client token that is used to ensure the idempotence of the request. You can use the client to generate the token, but you must make sure that the token is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => '10CM943JP0EN9D51H', + ], + ], + [ + '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 create a service instance.'."\n" + .'* false: performs a dry run for the request, and creates a service instance if the request passes the dry run.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'false', + ], + ], + [ + 'name' => 'Parameters', + 'in' => 'query', + 'style' => 'json', + 'schema' => [ + 'description' => 'The configuration parameters of the service instance.'."\n", + 'type' => 'object', + 'required' => false, + 'example' => '{'."\n" + .' "param": "value"'."\n" + .'}', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Status' => [ + 'description' => 'The deployment state of the service instance. Valid values:'."\n" + ."\n" + .'* Created'."\n" + .'* Deploying'."\n" + .'* DeployedFailed'."\n" + .'* Deployed'."\n" + .'* Upgrading'."\n" + .'* Deleting'."\n" + .'* Deleted'."\n" + .'* DeletedFailed'."\n", + 'type' => 'string', + 'example' => 'Created', + ], + 'RequestId' => [ + 'description' => 'The request ID.'."\n", + 'type' => 'string', + 'example' => 'F224E002-AB0E-5FD9-A87E-54AEE56F6CAE', + ], + 'ServiceInstanceId' => [ + 'description' => 'The ID of the service instance.'."\n", + 'type' => 'string', + 'example' => 'si-5cbae874da0e47xxxxxx', + ], + 'UpgradeRequiredParameters' => [ + 'description' => 'The parameters required for the upgrade.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The parameter required for the upgrade.'."\n", + 'type' => 'string', + 'example' => '[\'EcsInstanceType\', \'InstancePassword\']', + ], + ], + ], + 'description' => '', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Status\\": \\"Created\\",\\n \\"RequestId\\": \\"F224E002-AB0E-5FD9-A87E-54AEE56F6CAE\\",\\n \\"ServiceInstanceId\\": \\"si-5cbae874da0e47xxxxxx\\",\\n \\"UpgradeRequiredParameters\\": [\\n \\"[\'EcsInstanceType\', \'InstancePassword\']\\"\\n ]\\n}","type":"json"}]', + 'title' => 'UpgradeServiceInstance', + ], + 'GetServiceInstance' => [ + 'summary' => 'Queries the information about a service instance.', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '36942', + 'abilityTreeNodes' => [ + 'FEATUREcomputenestVIKWP9', + ], + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'ServiceInstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The ID of the service instance.'."\n", + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'si-d6ab3a63ccbb4b17****', + ], + ], + [ + 'name' => 'RegionId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The region ID.'."\n", + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'cn-hangzhou', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Status' => [ + 'description' => 'The deployment state of the service instance. Valid values:'."\n" + ."\n" + .'* Created'."\n" + .'* Deploying'."\n" + .'* DeployedFailed'."\n" + .'* Deployed'."\n" + .'* Upgrading'."\n" + .'* Deleting'."\n" + .'* Deleted'."\n" + .'* DeletedFailed'."\n", + 'type' => 'string', + 'example' => 'Deployed', + ], + 'TemplateName' => [ + 'description' => 'The template name.'."\n", + 'type' => 'string', + 'example' => '模板1', + ], + 'UpdateTime' => [ + 'description' => 'The time when the service instance was updated.'."\n", + 'type' => 'string', + 'example' => '2021-05-20T00:00:00Z', + ], + 'RequestId' => [ + 'description' => 'The request ID.'."\n", + 'type' => 'string', + 'example' => ' '."\n" + .'4DB0F536-B3BE-4F0D-BD29-E83FB56D550C', + ], + 'ServiceInstanceId' => [ + 'description' => 'The ID of the service instance.'."\n", + 'type' => 'string', + 'example' => 'si-d6ab3a63ccbb4b17****', + ], + 'CreateTime' => [ + 'description' => 'The time when the service instance was created.'."\n", + 'type' => 'string', + 'example' => '2021-05-20T00:00:00Z', + ], + 'UserId' => [ + 'description' => 'The Alibaba Cloud account ID of the user.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1234567', + ], + 'SupplierUid' => [ + 'description' => 'The Alibaba Cloud account ID of the service provider.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1964460391538545', + ], + 'Service' => [ + 'description' => 'The information about the service to which the service instance belongs.'."\n", + 'type' => 'object', + 'properties' => [ + 'Status' => [ + 'description' => 'The status of the service. Valid values:'."\n" + ."\n" + .'Draft: The registration request of the service is pending to be submitted.'."\n" + ."\n" + .'Submitted: The registration request of the service is submitted.'."\n" + ."\n" + .'Approved: The registration request of the service is approved.'."\n" + ."\n" + .'Online: The service is published.'."\n" + ."\n" + .'Offline: The service is unpublished.'."\n" + ."\n" + .'Deleted: The service is deleted.'."\n" + ."\n" + .'Launching: The service is being published.'."\n", + 'type' => 'string', + 'example' => 'Online', + ], + 'PublishTime' => [ + 'description' => 'The time when the service was published.'."\n", + 'type' => 'string', + 'example' => '2021-05-21T00:00:00Z', + ], + 'Version' => [ + 'description' => 'The service version.'."\n", + 'type' => 'string', + 'example' => '1', + ], + 'DeployMetadata' => [ + 'description' => 'The storage configurations of the service. The format in which the deployment information of a service is stored varies based on the deployment type of the service. In this case, the deployment information is stored in the JSON string format.'."\n", + 'type' => 'string', + 'example' => '{'."\n" + .' "EstimateTime": null,'."\n" + .' "SupplierDeployMetadata": {'."\n" + .' "DeployTimeout": null'."\n" + .' },'."\n" + .' "TemplateConfigs": ['."\n" + .' {'."\n" + .' "Name": "模板1",'."\n" + .' "Url": "https://service-info-private.oss-cn-hangzhou.aliyuncs.com/130920852836****/template/af11ec5a-09a0-4aa7-970c-09b51e2a****.json",'."\n" + .' "PredefinedParameters": [],'."\n" + .' "AllowedRegions": ['."\n" + .' "cn-hangzhou"'."\n" + .' ]'."\n" + .' }'."\n" + .' ]'."\n" + .'}', + ], + 'DeployType' => [ + 'description' => 'The deployment type of the service. Valid values:'."\n" + ."\n" + .'* ros: The service is deployed by using Resource Orchestration Service (ROS).'."\n" + .'* terraform: The service is deployed by using Terraform.'."\n" + .'* ack: The service is deployed by using Container Service for Kubernetes (ACK).'."\n" + .'* spi: The service is deployed by calling a service provider interface (SPI).'."\n" + .'* operation: The service is deployed by using a hosted O\\&M service.'."\n", + 'type' => 'string', + 'example' => 'ros', + ], + 'ServiceId' => [ + 'description' => 'The service ID.'."\n", + 'type' => 'string', + 'example' => 'service-9c8a3522528b4fe8****', + ], + 'SupplierUrl' => [ + 'description' => 'The URL of the service provider.'."\n", + 'type' => 'string', + 'example' => 'http://example.com', + ], + 'ServiceProductUrl' => [ + 'description' => 'The URL of the service page.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'https://service-info-private.oss-cn-hangzhou.aliyuncs.com', + ], + 'ServiceDocUrl' => [ + 'description' => 'The URL of the service documentation.'."\n", + 'type' => 'string', + 'example' => 'http://example.com', + ], + 'ServiceType' => [ + 'description' => 'The type of the service. Valid values:'."\n" + ."\n" + .'* private: The service is a private service and is deployed within the account of a customer.'."\n" + .'* managed: The service is a fully managed service and is deployed within the account of a service provider.'."\n" + .'* operation: The service is a hosted O\\&M service.'."\n", + 'type' => 'string', + 'example' => 'private', + ], + 'SupplierName' => [ + 'description' => 'The name of the service provider.'."\n", + 'type' => 'string', + 'example' => 'Alibaba Cloud', + ], + 'ServiceInfos' => [ + 'description' => 'The information about the service.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Locale' => [ + 'description' => 'The language of the service instance.'."\n", + 'type' => 'string', + 'example' => 'zh-CN', + ], + 'Image' => [ + 'description' => 'The URL of the service icon.'."\n", + 'type' => 'string', + 'example' => 'https://example.com/service-image/c1c4a559-cc60-4af1-b976-98f356602462.png', + ], + 'Name' => [ + 'description' => 'The service name.'."\n", + 'type' => 'string', + 'example' => 'WordPress', + ], + 'ShortDescription' => [ + 'description' => 'The description of the service.'."\n", + 'type' => 'string', + 'example' => 'B是A公司自主设计并研发的开源分布式的关系型数据库', + ], + ], + ], + ], + 'VersionName' => [ + 'description' => 'The custom version name defined by the service provider.'."\n", + 'type' => 'string', + 'example' => '20231127020225', + ], + 'UpgradableServiceVersions' => [ + 'description' => 'The service versions that can be updated.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The service version that can be updated.'."\n", + 'type' => 'string', + 'example' => '1', + ], + ], + 'UpgradableServiceInfos' => [ + 'description' => 'The upgradable service Info.', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Version' => [ + 'description' => 'The upgradable service version.', + 'type' => 'string', + 'example' => '4', + ], + 'VersionName' => [ + 'description' => 'The version name of an upgradable service version.', + 'type' => 'string', + 'example' => 'Init version', + ], + ], + ], + ], + ], + ], + 'Parameters' => [ + 'description' => 'The parameters that are specified to deploy the service instance.'."\n", + 'type' => 'string', + 'example' => '{'."\n" + .' "param": "value"'."\n" + .'}', + ], + 'Progress' => [ + 'description' => 'The deployment progress of the service instance. Unit: percentage.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '90', + ], + 'StatusDetail' => [ + 'description' => 'The description of the deployment state of the service instance.'."\n", + 'type' => 'string', + 'example' => 'deploy successfully', + ], + 'OperationStartTime' => [ + 'description' => 'The beginning of the time range during which hosted O\\&M is implemented.'."\n", + 'type' => 'string', + 'example' => '2021-12-29T06:48:56Z', + ], + 'OperationEndTime' => [ + 'description' => 'The end of the time range during which hosted O\\&M is implemented.'."\n", + 'type' => 'string', + 'example' => '2022-01-28T06:48:56Z', + ], + 'OperatedServiceInstanceId' => [ + 'description' => 'The ID of the service instance that is used to implement hosted O\\&M.'."\n", + 'type' => 'string', + 'example' => 'si-d6ab3a63ccbb4b17****', + ], + 'IsOperated' => [ + 'description' => 'Indicates whether the hosted O\\&M feature is enabled for the service instance. Valid values:'."\n" + ."\n" + .'* true'."\n" + .'* false'."\n", + 'type' => 'boolean', + 'example' => 'true', + ], + 'EnableInstanceOps' => [ + 'description' => 'Indicates whether the service instance supports the hosted O\\&M feature. Valid values:'."\n" + ."\n" + .'* true'."\n" + .'* false'."\n", + 'type' => 'boolean', + 'example' => 'true', + ], + 'Resources' => [ + 'description' => 'The list of resources.'."\n", + 'type' => 'string', + 'example' => '['."\n" + .' {'."\n" + .' "StackId": "stack-xxx"'."\n" + .' }'."\n" + .']', + ], + 'NetworkConfig' => [ + 'description' => 'The network configurations.'."\n" + ."\n" + .'> This parameter is discontinued.'."\n", + 'type' => 'object', + 'properties' => [ + 'EndpointServiceId' => [ + 'description' => 'The ID of the endpoint service for the private connection.'."\n" + ."\n" + .'> This parameter is discontinued.'."\n", + 'type' => 'string', + 'example' => 'epsrv-5ei07324541816bxxxx', + ], + 'EndpointId' => [ + 'description' => 'The ID of the endpoint for the private connection.'."\n" + ."\n" + .'> This parameter is discontinued.'."\n", + 'type' => 'string', + 'example' => 'ep-m5ei37240541816b****', + ], + 'PrivateVpcConnections' => [ + 'description' => 'The information about private connections.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'EndpointId' => [ + 'description' => 'The ID of the endpoint for the private connection.'."\n", + 'type' => 'string', + 'example' => 'ep-m5ei37240541816b****', + ], + 'EndpointServiceId' => [ + 'description' => 'The ID of the endpoint service for the private connection.'."\n", + 'type' => 'string', + 'example' => 'epsrv-5ei07324541816bxxxx', + ], + 'PrivateZoneName' => [ + 'description' => 'The custom domain name.'."\n", + 'type' => 'string', + 'example' => 'test.computenest.aliyuncs.com', + ], + 'ConnectionConfigs' => [ + 'description' => 'The network configurations, which are mainly used for the private connection.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'VpcId' => [ + 'description' => 'The virtual private cloud (VPC) ID.'."\n", + 'type' => 'string', + 'example' => 'vpc-bp1vwnn14rqpyiczj****', + ], + 'SecurityGroups' => [ + 'description' => 'The names of the security groups.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The name of the security group.'."\n", + 'type' => 'string', + 'example' => 'sg-m5ec4mvoq9egn7xxxxxx', + ], + ], + 'VSwitches' => [ + 'description' => 'The names of the vSwitches.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The name of the vSwitch.'."\n", + 'type' => 'string', + 'example' => 'vsw-uf6iqwohr05dw4mxxxxxx', + ], + ], + 'IngressEndpointStatus' => [ + 'description' => 'The status of the Ingress endpoint. Valid values:'."\n" + ."\n" + .'* Ready: The Ingress endpoint is connected.'."\n" + .'* Pending: The Ingress endpoint is being connected.'."\n" + .'* Failed: The Ingress endpoint fails to be connected.'."\n" + .'* Deleted: The Ingress endpoint is deleted.'."\n" + .'* Deleting: The Ingress endpoint is being deleted.'."\n", + 'type' => 'string', + 'example' => 'Ready', + ], + 'NetworkServiceStatus' => [ + 'description' => 'The status of the network service. Valid values:'."\n" + ."\n" + .'* Ready: The network service is connected.'."\n" + .'* Pending: The network service is being connected.'."\n" + .'* Failed: The network service fails to be connected.'."\n" + .'* Deleted: The network service is deleted.'."\n" + .'* Deleting: The network service is being deleted.'."\n", + 'type' => 'string', + 'example' => 'Ready', + ], + 'EndpointIps' => [ + 'description' => 'The IP addresses of the endpoints for private connections.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The IP address of the endpoint for the private connection.'."\n", + 'type' => 'string', + 'example' => '192.xxx.xxx.xxx', + ], + ], + 'DomainName' => [ + 'description' => 'The domain name.'."\n", + 'type' => 'string', + 'example' => 'example.com', + ], + 'ConnectBandwidth' => [ + 'description' => 'The bandwidth limit for the private connection established based on the private network interconnection mode of Compute Nest.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1536Mbps', + ], + ], + ], + ], + ], + ], + ], + 'ReversePrivateVpcConnections' => [ + 'description' => 'The information about the reverse private connection.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'EndpointId' => [ + 'description' => 'The ID of the endpoint for the reverse private connection.'."\n", + 'type' => 'string', + 'example' => 'ep-m5ei42370541816b****', + ], + 'EndpointServiceId' => [ + 'description' => 'The ID of the endpoint service for the reverse private connection.'."\n", + 'type' => 'string', + 'example' => 'epsrv-5ei07324541816bxxxx', + ], + ], + ], + ], + ], + ], + 'Tags' => [ + 'description' => 'The custom tags.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Key' => [ + 'description' => 'The tag key.'."\n", + 'type' => 'string', + 'example' => 'key1', + ], + 'Value' => [ + 'description' => 'The tag value.'."\n", + 'type' => 'string', + 'example' => 'value1', + ], + ], + ], + ], + 'Outputs' => [ + 'description' => 'The outputs returned from creating the service instance.'."\n" + ."\n" + .'* If the service is deployed by using a ROS template, all output fields of the template are returned.'."\n" + .'* If the service is deployed by calling an SPI operation, the output fields of the service provider and for the Compute Nest additional features are returned.'."\n", + 'type' => 'string', + 'example' => '{'."\n" + .' "InstanceIds": ['."\n" + .' "i-hp38ofxl0dsyfi7z****"'."\n" + .' ]'."\n" + .'}', + ], + 'EndTime' => [ + 'description' => 'The time when the service instance expires.'."\n", + 'type' => 'string', + 'example' => '2022-01-01T12:00:00', + ], + 'Source' => [ + 'description' => 'The source of the service instance. Valid values:'."\n" + ."\n" + .'* User: Compute Nest customer'."\n" + .'* Market: Alibaba Cloud Marketplace'."\n" + .'* Supplier: Compute Nest service provider'."\n", + 'type' => 'string', + 'example' => 'User', + ], + 'ServiceType' => [ + 'description' => 'The type of the service. Valid values:'."\n" + ."\n" + .'* private: The service is a private service and is deployed within the account of a customer.'."\n" + .'* managed: The service is a fully managed service and is deployed within the account of a service provider.'."\n" + .'* operation: The service is a hosted O\\&M service.'."\n" + .'* poc: The service is a trial service.'."\n", + 'type' => 'string', + 'example' => 'private', + ], + 'PayType' => [ + 'description' => 'The billing method of the service. Valid values:'."\n" + ."\n" + .'* Permanent: Once you purchase the service, you can use it permanently.'."\n" + .'* Subscription: You purchase the service from Alibaba Cloud Marketplace and are charged for the service on a subscription basis.'."\n" + .'* PayAsYouGo: You purchase the service from Alibaba Cloud Marketplace and are charged for the service on a pay-as-you-go basis.'."\n" + .'* CustomFixTime: You are charged for the service based on a custom duration fixed by the service provider.'."\n", + 'type' => 'string', + 'example' => 'Subscription', + ], + 'LicenseMetadata' => [ + 'description' => 'The license metadata.'."\n", + 'type' => 'string', + 'example' => '{"renewType":"MONTHLY"}', + ], + 'Name' => [ + 'description' => 'The name of the service instance.'."\n", + 'type' => 'string', + 'example' => 'TestName', + ], + 'EnableUserPrometheus' => [ + 'description' => 'Indicates whether the Prometheus monitoring feature is enabled on the user side.'."\n", + 'type' => 'boolean', + 'example' => 'true', + ], + 'RdAccountLoginUrl' => [ + 'description' => 'The logon URL for the accounts in the resource directory corresponding to the service instance.'."\n", + 'type' => 'string', + 'example' => 'https://signin.aliyun.com/switchRole.htm?parentAlias=1307782318217247.onaliyun.com&roleName=ResourceDirectoryAccountAccessRole', + ], + 'PredefinedParameterName' => [ + 'description' => 'The package name.'."\n", + 'type' => 'string', + 'example' => 'Package 1'."\n", + ], + 'ResourceGroupId' => [ + 'description' => 'The ID of the resource group.'."\n", + 'type' => 'string', + 'example' => 'rg-aekzkt5buxxxxxx', + ], + 'BizStatus' => [ + 'description' => 'The business status of the service instance. Valid values:'."\n" + ."\n" + .'* Normal: The service instance is normal.'."\n" + .'* Renewing: The service instance is being renewed.'."\n" + .'* RenewFailed: The service instance failed to be renewed.'."\n" + .'* Expired: The service instance expired.'."\n", + 'type' => 'string', + 'example' => 'Normal', + ], + 'GrafanaDashBoardUrl' => [ + 'description' => 'The URL of the Grafana dashboard.'."\n", + 'type' => 'string', + 'example' => 'https://g.xxxxxx.aliyun.com/d/xxxxxxxx-cn-mariadb/mysql-xxxxxxxx-quickstart-and-dashboard?orgId=355401&refresh=10s', + ], + 'OperationExtraInfo' => [ + 'description' => 'Operate extra info', + 'type' => 'string', + 'example' => '6cc5ce3590ed7f5529e85fec', + ], + 'PolicyNames' => [ + 'type' => 'string', + ], + 'GrantedPermission' => [ + 'type' => 'object', + 'properties' => [ + 'OperationEndTime' => [ + 'type' => 'string', + ], + 'PolicyNames' => [ + 'type' => 'string', + ], + ], + ], + ], + 'description' => '', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Status\\": \\"Deployed\\",\\n \\"TemplateName\\": \\"模板1\\",\\n \\"UpdateTime\\": \\"2021-05-20T00:00:00Z\\",\\n \\"RequestId\\": \\"\\\\t\\\\n4DB0F536-B3BE-4F0D-BD29-E83FB56D550C\\",\\n \\"ServiceInstanceId\\": \\"si-d6ab3a63ccbb4b17****\\",\\n \\"CreateTime\\": \\"2021-05-20T00:00:00Z\\",\\n \\"UserId\\": 1234567,\\n \\"SupplierUid\\": 1964460391538545,\\n \\"Service\\": {\\n \\"Status\\": \\"Online\\",\\n \\"PublishTime\\": \\"2021-05-21T00:00:00Z\\",\\n \\"Version\\": \\"1\\",\\n \\"DeployMetadata\\": \\"{\\\\n \\\\\\"EstimateTime\\\\\\": null,\\\\n \\\\\\"SupplierDeployMetadata\\\\\\": {\\\\n \\\\\\"DeployTimeout\\\\\\": null\\\\n },\\\\n \\\\\\"TemplateConfigs\\\\\\": [\\\\n {\\\\n \\\\\\"Name\\\\\\": \\\\\\"模板1\\\\\\",\\\\n \\\\\\"Url\\\\\\": \\\\\\"https://service-info-private.oss-cn-hangzhou.aliyuncs.com/130920852836****/template/af11ec5a-09a0-4aa7-970c-09b51e2a****.json\\\\\\",\\\\n \\\\\\"PredefinedParameters\\\\\\": [],\\\\n \\\\\\"AllowedRegions\\\\\\": [\\\\n \\\\\\"cn-hangzhou\\\\\\"\\\\n ]\\\\n }\\\\n ]\\\\n}\\",\\n \\"DeployType\\": \\"ros\\",\\n \\"ServiceId\\": \\"service-9c8a3522528b4fe8****\\",\\n \\"SupplierUrl\\": \\"http://example.com\\",\\n \\"ServiceProductUrl\\": \\"https://service-info-private.oss-cn-hangzhou.aliyuncs.com\\",\\n \\"ServiceDocUrl\\": \\"http://example.com\\",\\n \\"ServiceType\\": \\"private\\",\\n \\"SupplierName\\": \\"A公司\\",\\n \\"ServiceInfos\\": [\\n {\\n \\"Locale\\": \\"zh-CN\\",\\n \\"Image\\": \\"https://example.com/service-image/c1c4a559-cc60-4af1-b976-98f356602462.png\\",\\n \\"Name\\": \\"B数据库\\",\\n \\"ShortDescription\\": \\"B是A公司自主设计并研发的开源分布式的关系型数据库\\"\\n }\\n ],\\n \\"VersionName\\": \\"版本A\\",\\n \\"UpgradableServiceVersions\\": [\\n \\"1\\"\\n ],\\n \\"UpgradableServiceInfos\\": [\\n {\\n \\"Version\\": \\"4\\",\\n \\"VersionName\\": \\"新增参数管理功能\\"\\n }\\n ]\\n },\\n \\"Parameters\\": \\"{\\\\n \\\\\\"param\\\\\\": \\\\\\"value\\\\\\"\\\\n}\\",\\n \\"Progress\\": 90,\\n \\"StatusDetail\\": \\"deploy successfully\\",\\n \\"OperationStartTime\\": \\"2021-12-29T06:48:56Z\\",\\n \\"OperationEndTime\\": \\"2022-01-28T06:48:56Z\\",\\n \\"OperatedServiceInstanceId\\": \\"si-d6ab3a63ccbb4b17****\\",\\n \\"IsOperated\\": true,\\n \\"EnableInstanceOps\\": true,\\n \\"Resources\\": \\"[\\\\n {\\\\n \\\\\\"StackId\\\\\\": \\\\\\"stack-xxx\\\\\\"\\\\n }\\\\n]\\",\\n \\"NetworkConfig\\": {\\n \\"EndpointServiceId\\": \\"epsrv-5ei07324541816bxxxx\\",\\n \\"EndpointId\\": \\"ep-m5ei37240541816b****\\",\\n \\"PrivateVpcConnections\\": [\\n {\\n \\"EndpointId\\": \\"ep-m5ei37240541816b****\\",\\n \\"EndpointServiceId\\": \\"epsrv-5ei07324541816bxxxx\\",\\n \\"PrivateZoneName\\": \\"test.computenest.aliyuncs.com\\",\\n \\"ConnectionConfigs\\": [\\n {\\n \\"VpcId\\": \\"vpc-bp1vwnn14rqpyiczj****\\",\\n \\"SecurityGroups\\": [\\n \\"sg-m5ec4mvoq9egn7xxxxxx\\"\\n ],\\n \\"VSwitches\\": [\\n \\"vsw-uf6iqwohr05dw4mxxxxxx\\"\\n ],\\n \\"IngressEndpointStatus\\": \\"Ready\\",\\n \\"NetworkServiceStatus\\": \\"Ready\\",\\n \\"EndpointIps\\": [\\n \\"192.xxx.xxx.xxx\\"\\n ],\\n \\"DomainName\\": \\"example.com\\",\\n \\"ConnectBandwidth\\": 0\\n }\\n ]\\n }\\n ],\\n \\"ReversePrivateVpcConnections\\": [\\n {\\n \\"EndpointId\\": \\"ep-m5ei42370541816b****\\",\\n \\"EndpointServiceId\\": \\"epsrv-5ei07324541816bxxxx\\"\\n }\\n ]\\n },\\n \\"Tags\\": [\\n {\\n \\"Key\\": \\"key1\\",\\n \\"Value\\": \\"value1\\"\\n }\\n ],\\n \\"Outputs\\": \\"{\\\\n \\\\\\"InstanceIds\\\\\\": [\\\\n \\\\\\"i-hp38ofxl0dsyfi7z****\\\\\\"\\\\n ]\\\\n}\\",\\n \\"EndTime\\": \\"2022-01-01T12:00:00\\",\\n \\"Source\\": \\"User\\",\\n \\"ServiceType\\": \\"private\\",\\n \\"PayType\\": \\"Subscription\\",\\n \\"LicenseMetadata\\": \\"{\\\\\\"renewType\\\\\\":\\\\\\"MONTHLY\\\\\\"}\\",\\n \\"Name\\": \\"TestName\\",\\n \\"EnableUserPrometheus\\": true,\\n \\"RdAccountLoginUrl\\": \\"https://signin.aliyun.com/switchRole.htm?parentAlias=1307782318217247.onaliyun.com&roleName=ResourceDirectoryAccountAccessRole\\",\\n \\"PredefinedParameterName\\": \\"套餐一\\",\\n \\"ResourceGroupId\\": \\"rg-aekzkt5buxxxxxx\\",\\n \\"BizStatus\\": \\"Normal\\",\\n \\"GrafanaDashBoardUrl\\": \\"https://g.xxxxxx.aliyun.com/d/xxxxxxxx-cn-mariadb/mysql-xxxxxxxx-quickstart-and-dashboard?orgId=355401&refresh=10s\\",\\n \\"OperationExtraInfo\\": \\"6cc5ce3590ed7f5529e85fec\\",\\n \\"PolicyNames\\": \\"\\",\\n \\"GrantedPermission\\": {\\n \\"OperationEndTime\\": \\"\\",\\n \\"PolicyNames\\": \\"\\"\\n }\\n}","type":"json"}]', + 'title' => 'GetServiceInstance', + ], + 'ListServiceInstances' => [ + 'summary' => 'Queries a list of service instances.', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '36947', + 'abilityTreeNodes' => [ + 'FEATUREcomputenest18JMDW', + ], + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'RegionId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The region ID.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'cn-hangzhou', + ], + ], + [ + 'name' => 'MaxResults', + 'in' => 'query', + 'schema' => [ + 'description' => 'The number of entries per page. Valid values: 1 to 100. Default value: 20.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '10', + ], + ], + [ + '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=', + ], + ], + [ + 'name' => 'Filter', + 'in' => 'query', + 'style' => 'repeatList', + 'schema' => [ + 'description' => 'The filter.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => 'The parameter values of the filter.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The parameter value N of the filter. Valid values of N: 1 to 10.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'value1', + ], + 'required' => false, + 'maxItems' => 20, + ], + 'Name' => [ + 'description' => 'The parameter name of the filter. You can specify one or more filters. Valid values:'."\n" + ."\n" + .'* Name: The service name. If you want to perform a fuzzy match, specify the service name in the *xxx* format. For example, if the service name is My Service, you can set the filter value to *My* or *Service*.'."\n" + .'* ServiceInstanceId: The ID of the service instance.'."\n" + .'* ServiceId: The service ID.'."\n" + .'* UserId: The user ID.'."\n" + .'* Version: The service version.'."\n" + .'* Status: The status of the service instance.'."\n" + .'* DeployType: The deployment type of the service.'."\n" + .'* ServiceType: The service type.'."\n" + .'* OperationStartTimeBefore: The time before the hosted O\\&M starts.'."\n" + .'* OperationStartTimeAfter: The time after the hosted O\\&M starts.'."\n" + .'* OperationEndTimeBefore: The time before the hosted O\\&M ends.'."\n" + .'* OperationEndTimeAfter: The time after the hosted O\\&M ends.'."\n" + .'* OperatedServiceInstanceId: The ID of the hosted O\\&M instance that belongs to a private service.'."\n" + .'* OperationServiceInstanceId: The ID of the hosted O\\&M service instance that belongs to a hosted O\\&M service.'."\n" + .'* EnableInstanceOps: Whether the hosted O\\&M feature is enabled for service instances.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'ServiceInstanceId', + ], + ], + 'required' => false, + ], + 'required' => false, + 'maxItems' => 10, + ], + ], + [ + 'name' => 'ShowDeleted', + 'in' => 'query', + 'schema' => [ + 'description' => 'Specifies whether to display the information that the service instance is deleted. Valid values:'."\n" + ."\n" + .'* true'."\n" + .'* false'."\n", + 'type' => 'boolean', + 'required' => false, + 'example' => 'false', + ], + ], + [ + 'name' => 'Tag', + 'in' => 'query', + 'style' => 'repeatList', + 'schema' => [ + 'description' => 'The custom tags.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Key' => [ + 'description' => 'The tag key.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'key1', + ], + 'Value' => [ + 'description' => 'The tag value.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'value1', + ], + ], + 'required' => false, + ], + 'required' => false, + 'maxItems' => 50, + ], + ], + [ + 'name' => 'ResourceGroupId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The ID of the resource group.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'rg-aekzkt5buxxxxxx', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'NextToken' => [ + 'description' => 'The returned value of NextToken is a pagination token, which can be used in the next request to retrieve a new page of results.'."\n", + 'type' => 'string', + 'example' => 'AAAAAfu+XtuBE55iRLHEYYuojI4=', + ], + 'RequestId' => [ + 'description' => 'The request ID.'."\n", + 'type' => 'string', + 'example' => 'E50287CB-AABF-4877-92C0-289B339A1546', + ], + 'TotalCount' => [ + 'description' => 'The total number of entries returned.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '100', + ], + 'MaxResults' => [ + 'description' => 'The number of entries per page. Valid values: 1 to 100. Default value: 20.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '20', + ], + 'ServiceInstances' => [ + 'description' => 'The information about service instances.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Status' => [ + 'description' => 'The status of the service instance. Valid values:'."\n" + ."\n" + .'* Created'."\n" + .'* Deploying'."\n" + .'* DeployedFailed'."\n" + .'* Deployed'."\n" + .'* Upgrading'."\n" + .'* Deleting'."\n" + .'* Deleted'."\n", + 'type' => 'string', + 'example' => 'Deployed', + ], + 'UpdateTime' => [ + 'description' => 'The time when the service instance was updated.'."\n", + 'type' => 'string', + 'example' => '2021-05-20T00:00:00Z', + ], + 'Name' => [ + 'description' => 'The name of the service instance.'."\n", + 'type' => 'string', + 'example' => 'TestName', + ], + 'ServiceInstanceId' => [ + 'description' => 'The ID of the service instance.'."\n", + 'type' => 'string', + 'example' => 'si-d6ab3a63ccbb4b17****', + ], + 'CreateTime' => [ + 'description' => 'The time when the service instance was created.'."\n", + 'type' => 'string', + 'example' => '2021-05-20T00:00:00Z', + ], + 'UserId' => [ + 'description' => 'The Alibaba Cloud account ID of the user.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1234567', + ], + 'Service' => [ + 'description' => 'The information about the service.'."\n", + 'type' => 'object', + 'properties' => [ + 'Status' => [ + 'description' => 'The status of the service.'."\n", + 'type' => 'string', + 'example' => 'Online', + ], + 'PublishTime' => [ + 'description' => 'The time when the service was published.'."\n", + 'type' => 'string', + 'example' => '2021-05-21T00:00:00Z', + ], + 'Version' => [ + 'description' => 'The service version.'."\n", + 'type' => 'string', + 'example' => '1.0', + ], + 'DeployType' => [ + 'description' => 'The deployment type of the service. Valid values:'."\n" + ."\n" + .'* ros: The service is deployed by using Resource Orchestration Service (ROS).'."\n" + .'* terraform: The service is deployed by using Terraform.'."\n" + .'* ack: The service is deployed by using Container Service for Kubernetes (ACK).'."\n" + .'* spi: The service is deployed by calling a service provider interface (SPI).'."\n" + .'* operation: The service is deployed by using a hosted O\\&M service.'."\n", + 'type' => 'string', + 'example' => 'ros', + ], + 'ServiceId' => [ + 'description' => 'The service ID.'."\n", + 'type' => 'string', + 'example' => 'service-0e6fca6a51a54420****', + ], + 'SupplierUrl' => [ + 'description' => 'The URL of the service provider.'."\n", + 'type' => 'string', + 'example' => 'http://example.com', + ], + 'ServiceType' => [ + 'description' => 'The type of the service. Valid values:'."\n" + ."\n" + .'* private: The service is a private service and is deployed within the account of a customer.'."\n" + .'* managed: The service is a fully managed service and is deployed within the account of a service provider.'."\n" + .'* operation: The service is a hosted O\\&M service.'."\n" + .'* poc: The service is a trial service.'."\n", + 'type' => 'string', + 'example' => 'private', + ], + 'SupplierName' => [ + 'description' => 'The name of the service provider.'."\n", + 'type' => 'string', + 'example' => 'Alibaba Cloud', + ], + 'ServiceInfos' => [ + 'description' => 'The information about the service.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Locale' => [ + 'description' => 'The language of the service instance.'."\n", + 'type' => 'string', + 'example' => 'zh-CN', + ], + 'Image' => [ + 'description' => 'The URL of the service icon.'."\n", + 'type' => 'string', + 'example' => 'https://example.com/service-image/c1c4a559-cc60-4af1-b976-98f356602462.png', + ], + 'Name' => [ + 'description' => 'The service name.'."\n", + 'type' => 'string', + 'example' => 'WordPress', + ], + 'ShortDescription' => [ + 'description' => 'The description of the service.'."\n", + 'type' => 'string', + 'example' => 'B是A公司自主设计并研发的开源分布式的关系型数据库', + ], + ], + ], + ], + 'VersionName' => [ + 'description' => 'The custom version name defined by the service provider.'."\n", + 'type' => 'string', + 'example' => '版本A', + ], + 'DeployMetadata' => [ + 'description' => 'The storage configurations of the service. The format in which the deployment information of a service is stored varies based on the deployment type of the service. In this case, the deployment information is stored in the JSON string format.'."\n", + 'type' => 'string', + 'example' => '{'."\n" + .' "EstimateTime": null,'."\n" + .' "SupplierDeployMetadata": {'."\n" + .' "DeployTimeout": null'."\n" + .' },'."\n" + .' "TemplateConfigs": ['."\n" + .' {'."\n" + .' "Name": "模板1",'."\n" + .' "Url": "https://service-info-private.oss-cn-hangzhou.aliyuncs.com/130920852836****/template/af11ec5a-09a0-4aa7-970c-09b51e2a****.json",'."\n" + .' "PredefinedParameters": [],'."\n" + .' "AllowedRegions": ['."\n" + .' "cn-hangzhou"'."\n" + .' ]'."\n" + .' }'."\n" + .' ]'."\n" + .'}', + ], + 'EnablePrivateVpcConnection' => [ + 'description' => 'Indicates whether the private connection feature is enabled. Valid values:'."\n" + ."\n" + .'* true'."\n" + .'* false'."\n", + 'type' => 'boolean', + 'example' => 'false', + ], + 'SourceSupplierName' => [ + 'description' => 'The name of the distribution source service provider.'."\n", + 'type' => 'string', + 'example' => 'Company A'."\n", + ], + ], + ], + 'Parameters' => [ + 'description' => 'The parameters of the service instance.'."\n", + 'type' => 'string', + 'example' => '{"param":"value"}', + ], + 'Progress' => [ + 'description' => 'The deployment progress of the service instance. Unit: percentage.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '90', + ], + 'StatusDetail' => [ + 'description' => 'The description of the deployment of the service instance.'."\n", + 'type' => 'string', + 'example' => 'deploy successfully', + ], + 'TemplateName' => [ + 'description' => 'The template name.'."\n", + 'type' => 'string', + 'example' => '模板1', + ], + 'OperatedServiceInstanceId' => [ + 'description' => 'The ID of the service instance that is used to implement hosted O\\&M.'."\n", + 'type' => 'string', + 'example' => 'si-d6ab3a63ccbb4b17****', + ], + 'OperationStartTime' => [ + 'description' => 'The beginning of the time range during which hosted O\\&M is implemented.'."\n", + 'type' => 'string', + 'example' => '2021-12-29T06:48:56Z', + ], + 'OperationEndTime' => [ + 'description' => 'The end of the time range during which hosted O\\&M is implemented.'."\n", + 'type' => 'string', + 'example' => '2021-12-29T06:48:56Z', + ], + 'EnableInstanceOps' => [ + 'description' => 'Indicates whether the service instance supports the hosted O\\&M feature. Valid values:'."\n" + ."\n" + .'* true'."\n" + .'* false'."\n", + 'type' => 'boolean', + 'example' => 'true', + ], + 'Tags' => [ + 'description' => 'The custom tags.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Key' => [ + 'description' => 'The tag key.'."\n", + 'type' => 'string', + 'example' => 'key1', + ], + 'Value' => [ + 'description' => 'The tag value.'."\n", + 'type' => 'string', + 'example' => 'value1', + ], + ], + ], + ], + 'Source' => [ + 'description' => 'The source from which the service instance is created.'."\n", + 'type' => 'string', + 'example' => 'Supplier', + ], + 'EndTime' => [ + 'description' => 'The time when the service instance expires.'."\n", + 'type' => 'string', + 'example' => '2022-01-01T12:00:00', + ], + 'ServiceType' => [ + 'description' => 'The type of the service. Valid values:'."\n" + ."\n" + .'* private: The service is a private service and is deployed within the account of a customer.'."\n" + .'* managed: The service is a fully managed service and is deployed within the account of a service provider.'."\n" + .'* operation: The service is a hosted O\\&M service.'."\n" + .'* poc: The service is a trial service.'."\n", + 'type' => 'string', + 'example' => 'private', + ], + 'PayType' => [ + 'description' => 'The billing method of the service. Valid values:'."\n" + ."\n" + .'* Permanent: Once you purchase the service, you can use it permanently.'."\n" + .'* Subscription: You purchase the service from Alibaba Cloud Marketplace and are charged for the service on a subscription basis.'."\n" + .'* PayAsYouGo: You purchase the service from Alibaba Cloud Marketplace and are charged for the service on a pay-as-you-go basis.'."\n" + .'* CustomFixTime: You are charged for the service based on a custom duration fixed by the service provider.'."\n", + 'type' => 'string', + 'example' => 'Subscription', + ], + 'IsOperated' => [ + 'description' => 'Indicates whether the hosted O\\&M feature is enabled for the service instance. Valid values:'."\n" + ."\n" + .'* true'."\n" + .'* false'."\n", + 'type' => 'boolean', + 'example' => 'true', + ], + 'ResourceGroupId' => [ + 'description' => 'The ID of the resource group.'."\n", + 'type' => 'string', + 'example' => 'si-d6ab3a63ccxxxxxx', + ], + 'BizStatus' => [ + 'description' => 'The business status of the service instance. Valid values:'."\n" + ."\n" + .'* Normal: The service instance is normal.'."\n" + .'* Renewing: The service instance is being renewed.'."\n" + .'* RenewFailed: The service instance failed to be renewed.'."\n" + .'* Expired: The service instance expired.'."\n", + 'type' => 'string', + 'example' => 'Normal', + ], + 'GrantedPermission' => [ + 'type' => 'object', + 'properties' => [ + 'OperationEndTime' => [ + 'type' => 'string', + ], + 'PolicyNames' => [ + 'type' => 'string', + ], + ], + ], + 'PolicyNames' => [ + 'type' => 'string', + ], + ], + ], + ], + ], + 'description' => '', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"NextToken\\": \\"AAAAAfu+XtuBE55iRLHEYYuojI4=\\",\\n \\"RequestId\\": \\"E50287CB-AABF-4877-92C0-289B339A1546\\",\\n \\"TotalCount\\": 100,\\n \\"MaxResults\\": 20,\\n \\"ServiceInstances\\": [\\n {\\n \\"Status\\": \\"Deployed\\",\\n \\"UpdateTime\\": \\"2021-05-20T00:00:00Z\\",\\n \\"Name\\": \\"TestName\\",\\n \\"ServiceInstanceId\\": \\"si-d6ab3a63ccbb4b17****\\",\\n \\"CreateTime\\": \\"2021-05-20T00:00:00Z\\",\\n \\"UserId\\": 1234567,\\n \\"Service\\": {\\n \\"Status\\": \\"Online\\",\\n \\"PublishTime\\": \\"2021-05-21T00:00:00Z\\",\\n \\"Version\\": \\"1.0\\",\\n \\"DeployType\\": \\"ros\\",\\n \\"ServiceId\\": \\"service-0e6fca6a51a54420****\\",\\n \\"SupplierUrl\\": \\"http://example.com\\",\\n \\"ServiceType\\": \\"private\\",\\n \\"SupplierName\\": \\"A有限公司\\",\\n \\"ServiceInfos\\": [\\n {\\n \\"Locale\\": \\"zh-CN\\",\\n \\"Image\\": \\"https://example.com/service-image/c1c4a559-cc60-4af1-b976-98f356602462.png\\",\\n \\"Name\\": \\"B数据库\\",\\n \\"ShortDescription\\": \\"B是A公司自主设计并研发的开源分布式的关系型数据库\\"\\n }\\n ],\\n \\"VersionName\\": \\"版本A\\",\\n \\"DeployMetadata\\": \\"{\\\\n \\\\\\"EstimateTime\\\\\\": null,\\\\n \\\\\\"SupplierDeployMetadata\\\\\\": {\\\\n \\\\\\"DeployTimeout\\\\\\": null\\\\n },\\\\n \\\\\\"TemplateConfigs\\\\\\": [\\\\n {\\\\n \\\\\\"Name\\\\\\": \\\\\\"模板1\\\\\\",\\\\n \\\\\\"Url\\\\\\": \\\\\\"https://service-info-private.oss-cn-hangzhou.aliyuncs.com/130920852836****/template/af11ec5a-09a0-4aa7-970c-09b51e2a****.json\\\\\\",\\\\n \\\\\\"PredefinedParameters\\\\\\": [],\\\\n \\\\\\"AllowedRegions\\\\\\": [\\\\n \\\\\\"cn-hangzhou\\\\\\"\\\\n ]\\\\n }\\\\n ]\\\\n}\\",\\n \\"EnablePrivateVpcConnection\\": false,\\n \\"SourceSupplierName\\": \\"A有限公司\\"\\n },\\n \\"Parameters\\": \\"{\\\\\\"param\\\\\\":\\\\\\"value\\\\\\"}\\",\\n \\"Progress\\": 90,\\n \\"StatusDetail\\": \\"deploy successfully\\",\\n \\"TemplateName\\": \\"模板1\\",\\n \\"OperatedServiceInstanceId\\": \\"si-d6ab3a63ccbb4b17****\\",\\n \\"OperationStartTime\\": \\"2021-12-29T06:48:56Z\\",\\n \\"OperationEndTime\\": \\"2021-12-29T06:48:56Z\\",\\n \\"EnableInstanceOps\\": true,\\n \\"Tags\\": [\\n {\\n \\"Key\\": \\"key1\\",\\n \\"Value\\": \\"value1\\"\\n }\\n ],\\n \\"Source\\": \\"Supplier\\",\\n \\"EndTime\\": \\"2022-01-01T12:00:00\\",\\n \\"ServiceType\\": \\"private\\",\\n \\"PayType\\": \\"Subscription\\",\\n \\"IsOperated\\": true,\\n \\"ResourceGroupId\\": \\"si-d6ab3a63ccxxxxxx\\",\\n \\"BizStatus\\": \\"Normal\\",\\n \\"GrantedPermission\\": {\\n \\"OperationEndTime\\": \\"\\",\\n \\"PolicyNames\\": \\"\\"\\n },\\n \\"PolicyNames\\": \\"\\"\\n }\\n ]\\n}","type":"json"}]', + 'title' => 'ListServiceInstances', + ], + 'DeployServiceInstance' => [ + 'summary' => 'Deploys a service instance.', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'paid', + 'abilityTreeCode' => '175901', + 'abilityTreeNodes' => [ + 'FEATUREcomputenestVUFVAC', + ], + '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', + 'in' => 'query', + 'schema' => [ + 'description' => 'The region ID.', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'cn-hangzhou', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'The schema of the response.'."\n", + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => 'The request ID.'."\n", + 'type' => 'string', + 'example' => 'B8A6AEA6-0D8F-589A-A7FF-B44FD842456E', + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"B8A6AEA6-0D8F-589A-A7FF-B44FD842456E\\"\\n}","type":"json"}]', + 'title' => 'DeployServiceInstance', + ], + 'ContinueDeployServiceInstance' => [ + 'summary' => 'Redeploys a service instance after the service instance failed to be deployed.', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '136363', + 'abilityTreeNodes' => [ + 'FEATUREcomputenestVUFVAC', + ], + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'ClientToken', + 'in' => 'query', + 'schema' => [ + 'description' => 'The 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', + 'in' => 'query', + 'schema' => [ + 'description' => 'The region ID.'."\n", + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'cn-hangzhou', + ], + ], + [ + 'name' => 'Parameters', + 'in' => 'query', + 'schema' => [ + 'description' => 'The configuration parameters of the service instance.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => '{"NodeCount": 3, "SystemDiskSize": 40, "InstancePassword": "******"}', + ], + ], + [ + '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 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', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => 'The request ID.'."\n", + 'type' => 'string', + 'example' => '82DF27ED-E538-5AC0-A11C-39334A873189', + ], + 'DryRunResult' => [ + 'description' => 'The dry run result.'."\n", + 'type' => 'object', + 'properties' => [ + 'ParametersNotAllowedToBeModified' => [ + 'description' => 'The parameters that cannot be modified. The operation that is performed to modify the parameters causes a validation error.'."\n" + ."\n" + .'> This parameter is returned only if DryRun is set to true.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The parameter that cannot be modified. The operation that is performed to modify the parameters causes a validation error.'."\n" + ."\n" + .'> This parameter is returned only if DryRun is set to true.'."\n", + 'type' => 'string', + 'example' => 'cidr', + ], + ], + 'ParametersConditionallyAllowedToBeModified' => [ + 'description' => 'The parameters that can be modified under specific conditions. The new values of the parameters determine whether the operation that is performed to modify the parameters causes a validation error.'."\n" + ."\n" + .'> This parameter is returned only if DryRun is set to true.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The parameter that can be modified under specific conditions. The new values of the parameters determine whether the operation that is performed to modify the parameters causes a validation error.'."\n" + ."\n" + .'> This parameter is returned only if DryRun is set to true.'."\n", + 'type' => 'string', + 'example' => 'name', + ], + ], + 'ParametersAllowedToBeModified' => [ + 'description' => 'The parameters 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' => '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', + ], + ], + ], + ], + 'ServiceInstanceId' => [ + 'description' => 'The ID of the service instance.'."\n", + 'type' => 'string', + 'example' => 'si-d6ab3a63ccbb4b17****', + ], + ], + 'description' => '', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"82DF27ED-E538-5AC0-A11C-39334A873189\\",\\n \\"DryRunResult\\": {\\n \\"ParametersNotAllowedToBeModified\\": [\\n \\"cidr\\"\\n ],\\n \\"ParametersConditionallyAllowedToBeModified\\": [\\n \\"name\\"\\n ],\\n \\"ParametersAllowedToBeModified\\": [\\n \\"description\\"\\n ]\\n },\\n \\"ServiceInstanceId\\": \\"si-d6ab3a63ccbb4b17****\\"\\n}","type":"json"}]', + 'title' => 'ContinueDeployServiceInstance', + ], + 'StartServiceInstance' => [ + 'summary' => 'When the service instance status is Stopped (Stopped) or StartFailed (Startup failed), the StartServiceInstance interface is invoked to start the service instance.', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '220935', + 'abilityTreeNodes' => [ + 'FEATUREcomputenest18JMDW', + ], + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'ClientToken', + 'in' => 'query', + 'schema' => [ + 'description' => 'The client token that is used to ensure the idempotence of the request.'."\n" + ."\n" + .'You can use the client to generate the token, but you must make sure that the token is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length.', + 'type' => 'string', + 'required' => false, + 'example' => '10CM943JP0EN9****', + ], + ], + [ + 'name' => 'RegionId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The region ID where the service instance resides.', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'cn-hangzhou', + ], + ], + [ + 'name' => 'ServiceInstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The ID of the service instance.', + 'type' => 'string', + 'required' => true, + 'example' => 'si-d6ab3a63ccbb4b17****', + ], + ], + ], + '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' => '2E91D771-0183-52CE-86CB-882D99B2CB77', + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"2E91D771-0183-52CE-86CB-882D99B2CB77\\"\\n}","type":"json"}]', + 'title' => 'StartServiceInstance', + ], + 'StopServiceInstance' => [ + 'summary' => 'Stops a service instance that is in the Deployed or StopFailed state.', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '220569', + 'abilityTreeNodes' => [ + 'FEATUREcomputenest18JMDW', + ], + '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.', + 'type' => 'string', + 'required' => false, + 'example' => '10CM943JP0EN9****', + ], + ], + [ + 'name' => 'RegionId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The region id where the service instance resides.', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'cn-hangzhou', + ], + ], + [ + 'name' => 'ServiceInstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The ID of the service instance.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'si-c39ed4779cec449f****', + ], + ], + ], + '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' => '49A369EF-A302-5006-B0CE-94CED47C38CF', + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"49A369EF-A302-5006-B0CE-94CED47C38CF\\"\\n}","type":"json"}]', + 'title' => 'StopServiceInstance', + ], + 'RestartServiceInstance' => [ + 'summary' => 'When the service instance is Deployed, call the RestartServiceInstance interface to restart the service instance.', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '220936', + 'abilityTreeNodes' => [ + 'FEATUREcomputenest18JMDW', + ], + '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' => '10CM943JP0EN9****', + ], + ], + [ + 'name' => 'RegionId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The region ID where the service instance resides.', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'cn-hangzhou', + ], + ], + [ + 'name' => 'ServiceInstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The ID of the service instance.', + '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.', + 'type' => 'string', + 'example' => 'B1A0198B-F316-1B72-B8DD-28B6F6D6XXXX', + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"B1A0198B-F316-1B72-B8DD-28B6F6D6XXXX\\"\\n}","type":"json"}]', + 'title' => 'RestartServiceInstance', + ], + 'ListServiceInstanceDeployDetails' => [ + 'summary' => 'Query service instance deployment details', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '189761', + 'abilityTreeNodes' => [ + 'FEATUREcomputenest18JMDW', + ], + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'RegionId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The region ID.', + 'type' => 'string', + 'required' => true, + 'example' => 'cn-hangzhou', + ], + ], + [ + 'name' => 'MaxResults', + 'in' => 'query', + 'schema' => [ + 'description' => 'The number of entries per page. Valid values: 1 to 100. Default value: 20.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '20', + ], + ], + [ + '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' => 'AAAAAZbOYA+x9UgM6xrgcMqFUjk=', + ], + ], + [ + 'name' => 'Filter', + 'in' => 'query', + 'style' => 'repeatList', + 'schema' => [ + 'description' => 'The filter.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The filter.'."\n", + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => 'A value of the filter condition.', + 'type' => 'array', + 'items' => [ + 'description' => 'A value of the filter condition.', + 'type' => 'string', + 'required' => false, + 'example' => 'service-c751ed91f2074af39779', + ], + 'required' => false, + 'maxItems' => 20, + ], + 'Name' => [ + 'description' => 'Filter Value Names (Equivalent to SQL\'s WHERE Clause)'."\n" + ."\n" + .'Available Options:'."\n" + ."\n" + .'- UserId'."\n" + .'- ServiceId'."\n" + .'- ServiceVersion'."\n" + .'- ServiceInstanceId'."\n" + .'- DeploySucceeded (Accepts True or False and case-insensitive)'."\n" + .'- ErrorType'."\n" + .'- ErrorCode', + 'type' => 'string', + 'required' => false, + 'example' => 'ServiceId', + ], + ], + 'required' => false, + ], + 'required' => false, + 'maxItems' => 10, + ], + ], + [ + 'name' => 'StartTime', + 'in' => 'query', + 'schema' => [ + 'description' => 'The beginning of the time range to query. Specify the time in the ISO 8601 standard in the *yyyy-MM-dd*T*HH:mm*Z format. The time must be in UTC.', + 'type' => 'string', + 'required' => false, + 'example' => '2024-08-25T02:23:00Z', + ], + ], + [ + 'name' => 'EndTime', + 'in' => 'query', + 'schema' => [ + 'description' => 'The end of the time range to query. The end time must be later than the start time. Specify the time in the ISO 8601 standard in the YYYY-MM-DDThh:mm:ssZ format. The time must be in UTC.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => '2024-12-31T16:00:00Z', + ], + ], + [ + 'name' => 'CycleTimeZone', + 'in' => 'query', + 'schema' => [ + 'description' => 'The time zone.'."\n" + ."\n" + .'Reference Format: "+08:00"'."\n" + ."\n" + .'Valid Range: "-12:59" to "+13:00"', + 'type' => 'string', + 'required' => false, + 'example' => '+08:00', + ], + ], + [ + 'name' => 'Dimension', + 'in' => 'query', + 'style' => 'repeatList', + 'schema' => [ + 'description' => 'The dimension names. (Equivalent to SQL\'s GROUP BY Clause)'."\n" + .'Optional Values:'."\n" + ."\n" + .'- UserId'."\n" + .'- ServiceId'."\n" + .'- ServiceVersion'."\n" + .'- ServiceInstanceId'."\n" + .'- DeploySucceeded'."\n" + .'- ErrorType'."\n" + .'- ErrorCode', + 'type' => 'array', + 'items' => [ + 'description' => 'The aggregation dimension.', + 'type' => 'string', + 'required' => false, + 'example' => 'ErrorType', + ], + 'required' => false, + 'maxItems' => 10, + ], + ], + [ + 'name' => 'CycleType', + 'in' => 'query', + 'schema' => [ + 'description' => 'Determines the time period over which data is aggregated. If no aggregation dimension is specified, the query defaults to providing detailed, unaggregated results.'."\n" + ."\n" + .'Optional Values:'."\n" + ."\n" + .'- Year'."\n" + .'- Month'."\n" + .'- Day'."\n" + .'- All', + 'type' => 'string', + 'required' => false, + 'example' => 'Month', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'NextToken' => [ + 'description' => 'A pagination token. It can be used in the next request to retrieve a new page of results. If NextToken is empty, no next page exists.'."\n", + 'type' => 'string', + 'example' => 'AAAAAW8kZY+u1sYOaYf5JmgmDQQ=', + ], + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => 'The request ID.'."\n", + 'type' => 'string', + 'example' => '0036D82E-0624-5B37-B797-C460F4B02026', + ], + 'TotalCount' => [ + 'description' => 'The total number of entries returned.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '7', + ], + 'MaxResults' => [ + 'description' => 'The number of entries per page. Valid values: 1 to 100. Default value: 20.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '20', + ], + 'DeployDetails' => [ + 'description' => 'The details of the service instance deployment.', + 'type' => 'array', + 'items' => [ + 'description' => 'The details of the service instance deployment.', + 'type' => 'object', + 'properties' => [ + 'Cycle' => [ + 'description' => 'The period over which data is aggregated.', + 'type' => 'string', + 'example' => 'Month', + ], + 'Timestamp' => [ + 'description' => 'The timestamp when the response is returned.', + 'type' => 'string', + 'example' => '1723946641994', + ], + 'Count' => [ + 'description' => 'The total number of entries that meet the specified conditions.'."\n", + 'type' => 'string', + 'example' => '4', + ], + 'CreateTime' => [ + 'description' => 'The time when the service instance was created.'."\n", + 'type' => 'string', + 'example' => '2024-04-10T01:58:20Z', + ], + 'UserId' => [ + 'description' => 'The aliuid of user.', + 'type' => 'string', + 'example' => '1591457835436382', + ], + 'ServiceId' => [ + 'description' => 'The service ID.'."\n", + 'type' => 'string', + 'example' => 'service-c751ed91f2074af39779', + ], + 'ServiceVersion' => [ + 'description' => 'The service version.'."\n", + 'type' => 'string', + 'example' => '42', + ], + 'ServiceNameChn' => [ + 'description' => 'The name of the service in Chinese.', + 'type' => 'string', + 'example' => '测试服务(Test Service)', + ], + 'ServiceNameEng' => [ + 'description' => 'The name of the service in English.', + 'type' => 'string', + 'example' => 'Test Service', + ], + 'ServiceInstanceId' => [ + 'description' => 'The service instance ID.'."\n", + 'type' => 'string', + 'example' => 'si-273e8cee11d349e1803c', + ], + 'DeploySucceeded' => [ + 'description' => 'The indicates whether the deployment was successful.', + 'type' => 'string', + 'example' => 'False', + ], + 'ErrorType' => [ + 'description' => 'The type of error that caused the deployment to fail.', + 'type' => 'string', + 'example' => 'ValidationError', + ], + 'ErrorCode' => [ + 'description' => 'The error code.'."\n", + 'type' => 'string', + 'example' => 'StackValidationFailed', + ], + 'ErrorDetail' => [ + 'description' => 'The error description.', + 'type' => 'string', + 'example' => '{code: StackValidationFailed, message: \\"Failed to continue create ROS stack 89e724e2-84e6-4517-a372-30a545ab4145: Resource [LinuxInstanceRunCommand]: i-wz91nfbh1fxtmfb0try4 are not running. Command invocation only support running instances. ErrorCode: StackValidationFailed\\", requestId: null}', + ], + 'ServiceType' => [ + 'description' => 'The type of service. '."\n" + ."\n" + .'Possible values:'."\n" + ."\n" + .'- private: Deployed under the user\'s account.'."\n" + .'- managed: Hosted under the service provider\'s account.'."\n" + .'- operation: Managed operation service.', + 'type' => 'string', + 'example' => 'private', + ], + ], + ], + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"NextToken\\": \\"AAAAAW8kZY+u1sYOaYf5JmgmDQQ=\\",\\n \\"RequestId\\": \\"0036D82E-0624-5B37-B797-C460F4B02026\\",\\n \\"TotalCount\\": 7,\\n \\"MaxResults\\": 20,\\n \\"DeployDetails\\": [\\n {\\n \\"Cycle\\": \\"Month\\",\\n \\"Timestamp\\": \\"1723946641994\\",\\n \\"Count\\": \\"4\\",\\n \\"CreateTime\\": \\"2024-04-10T01:58:20Z\\",\\n \\"UserId\\": \\"1591457835436382\\",\\n \\"ServiceId\\": \\"service-c751ed91f2074af39779\\",\\n \\"ServiceVersion\\": \\"42\\",\\n \\"ServiceNameChn\\": \\"测试服务\\",\\n \\"ServiceNameEng\\": \\"Test Service\\",\\n \\"ServiceInstanceId\\": \\"si-273e8cee11d349e1803c\\",\\n \\"DeploySucceeded\\": \\"False\\",\\n \\"ErrorType\\": \\"ValidationError\\",\\n \\"ErrorCode\\": \\"StackValidationFailed\\",\\n \\"ErrorDetail\\": \\"{code: StackValidationFailed, message: \\\\\\\\\\\\\\"Failed to continue create ROS stack 89e724e2-84e6-4517-a372-30a545ab4145: Resource [LinuxInstanceRunCommand]: i-wz91nfbh1fxtmfb0try4 are not running. Command invocation only support running instances. ErrorCode: StackValidationFailed\\\\\\\\\\\\\\", requestId: null}\\",\\n \\"ServiceType\\": \\"private\\"\\n }\\n ]\\n}","type":"json"}]', + 'title' => 'ListServiceInstanceDeployDetails', + 'translator' => 'machine', + ], + 'ListServiceInstanceResources' => [ + 'summary' => 'Query service instance resources', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '103268', + 'abilityTreeNodes' => [ + 'FEATUREcomputenestL64NT4', + ], + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'NextToken', + 'in' => 'query', + 'schema' => [ + 'description' => 'A pagination token.', + 'type' => 'string', + 'required' => false, + 'docRequired' => false, + 'example' => 'AAAAAc3HCuYhJi/wvpk4xOr0VLbAx7BkQzyYC+ONO+WudHGKEdB0uWSY7AGnM3qCgm/Ynge7zU6NWdbj0Tegyajyqyc=', + ], + ], + [ + 'name' => 'MaxResults', + 'in' => 'query', + 'schema' => [ + 'description' => 'The maximum number of entries per page.'."\n" + ."\n" + .'Valid values: 1 to 100.'."\n" + ."\n" + .'Default value: 20.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '20', + ], + ], + [ + 'name' => 'ServiceInstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The ID of the service instance.', + 'type' => 'string', + 'required' => true, + 'example' => 'si-d8a0cc2a1ee04dce****', + ], + ], + [ + 'name' => 'Tag', + 'in' => 'query', + 'style' => 'repeatList', + 'schema' => [ + 'description' => 'The tags.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The tags.'."\n", + 'type' => 'object', + 'properties' => [ + 'Key' => [ + 'description' => 'The tag key.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'key1', + ], + 'Value' => [ + 'description' => 'The tag value.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'value1', + ], + ], + 'required' => false, + ], + 'required' => false, + 'maxItems' => 20, + ], + ], + [ + 'name' => 'RegionId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The region ID where the service instance resides.', + 'type' => 'string', + 'required' => false, + 'example' => 'cn-hangzhou', + ], + ], + [ + 'name' => 'ServiceInstanceResourceType', + 'in' => 'query', + 'schema' => [ + 'description' => 'Service Instance resource type,include AliyunResource and ContainerResource.', + 'type' => 'string', + 'required' => false, + 'example' => 'AliyunResource', + ], + ], + [ + 'name' => 'Filters', + 'in' => 'query', + 'style' => 'repeatList', + 'schema' => [ + 'description' => 'The filter.', + 'type' => 'array', + 'items' => [ + 'description' => 'The filter.', + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'Vaild values:'."\n" + .'- ExpireTimeStart'."\n" + .'- ExpireTimeEnd'."\n" + .'- PayType'."\n" + .'- ResourceARN', + 'type' => 'string', + 'required' => false, + 'example' => 'ResourceARN', + ], + 'Values' => [ + 'description' => 'A value of the filter condition.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'A value of the filter condition.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'arn:acs:ecs:*:*:instance/*', + ], + 'required' => false, + 'maxItems' => 100, + ], + ], + 'required' => false, + ], + 'required' => false, + 'maxItems' => 100, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'NextToken' => [ + 'description' => 'A pagination token.'."\n", + 'type' => 'string', + 'example' => 'AAAAAc3HCuYhJi/wvpk4xOr0VLbAx7BkQzyYC+ONO+WudHGKEdB0uWSY7AGnM3qCgm/Ynge7zU6NWdbj0Tegyajyqyc=', + ], + 'RequestId' => [ + 'description' => 'The request ID.'."\n", + 'type' => 'string', + 'example' => 'B288A0BE-D927-4888-B0F7-B35EF84B6E6F', + ], + 'MaxResults' => [ + 'description' => 'The number of entries per page. Valid values: 1 to 100. Default value: 20.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '20', + ], + 'Resources' => [ + 'description' => 'The list of resources.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The list of resources.'."\n", + 'type' => 'object', + 'properties' => [ + 'ResourceARN' => [ + 'description' => 'The ARN of the resource.'."\n", + 'type' => 'string', + 'example' => 'arn:acs:sag:cn-hangzhou:130920852836****:ccn/ccn-b3qf0q439sq2de****', + ], + 'PayType' => [ + 'description' => 'The billing method. Valid values:'."\n" + ."\n" + .'* Subscription'."\n" + .'* PayAsYouGo'."\n", + 'type' => 'string', + 'example' => 'Subscription', + ], + 'RenewStatus' => [ + 'description' => 'The renewal state. Valid values:'."\n" + ."\n" + .'* AutoRenewal'."\n" + .'* ManualRenewal'."\n" + .'* NotRenewal'."\n", + 'type' => 'string', + 'example' => 'AutoRenewal', + ], + 'CreateTime' => [ + 'description' => 'The time when the service instance was created.'."\n", + 'type' => 'string', + 'example' => '2022-01-01T12:00:00', + ], + 'ExpireTime' => [ + 'description' => 'The time when the resource expires.'."\n", + 'type' => 'string', + 'example' => '2022-03-01T12:00:00', + ], + 'RenewalPeriod' => [ + 'description' => 'The renewal period.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + 'RenewalPeriodUnit' => [ + 'description' => 'The unit of the renewal period. Valid values:'."\n" + ."\n" + .'* Month'."\n" + .'* Year'."\n", + 'type' => 'string', + 'example' => 'Month', + ], + 'ProductType' => [ + 'description' => 'The type of the cloud service.'."\n", + 'type' => 'string', + 'example' => 'RDS', + ], + 'ProductCode' => [ + 'description' => 'The code of the cloud service.'."\n", + 'type' => 'string', + 'example' => 'rds', + ], + 'Status' => [ + 'description' => 'The status of the service instance. Valid values:'."\n" + ."\n" + .'* Created'."\n" + .'* Deploying'."\n" + .'* DeployedFailed'."\n" + .'* Deployed'."\n" + .'* Upgrading'."\n" + .'* Deleting'."\n" + .'* Deleted'."\n" + .'* DeletedFailed', + 'type' => 'string', + 'example' => 'CREATE_COMPLETE', + ], + ], + ], + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"NextToken\\": \\"AAAAAc3HCuYhJi/wvpk4xOr0VLbAx7BkQzyYC+ONO+WudHGKEdB0uWSY7AGnM3qCgm/Ynge7zU6NWdbj0Tegyajyqyc=\\",\\n \\"RequestId\\": \\"B288A0BE-D927-4888-B0F7-B35EF84B6E6F\\",\\n \\"MaxResults\\": 20,\\n \\"Resources\\": [\\n {\\n \\"ResourceARN\\": \\"arn:acs:sag:cn-hangzhou:130920852836****:ccn/ccn-b3qf0q439sq2de****\\",\\n \\"PayType\\": \\"Subscription\\",\\n \\"RenewStatus\\": \\"AutoRenewal\\",\\n \\"CreateTime\\": \\"2022-01-01T12:00:00\\",\\n \\"ExpireTime\\": \\"2022-03-01T12:00:00\\",\\n \\"RenewalPeriod\\": 1,\\n \\"RenewalPeriodUnit\\": \\"Month\\",\\n \\"ProductType\\": \\"RDS\\",\\n \\"ProductCode\\": \\"rds\\",\\n \\"Status\\": \\"CREATE_COMPLETE\\"\\n }\\n ]\\n}","type":"json"}]', + 'title' => 'ListServiceInstanceResources', + 'translator' => 'machine', + ], + 'ListServiceInstanceBill' => [ + 'summary' => 'Display service instance bill', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '177378', + 'abilityTreeNodes' => [ + 'FEATUREcomputenest18JMDW', + ], + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'MaxResults', + 'in' => 'query', + 'schema' => [ + 'description' => 'The maximum number of entries per page.'."\n" + ."\n" + .'Valid values: 1 to 100.'."\n" + ."\n" + .'Default value: 20.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '20', + ], + ], + [ + '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=', + ], + ], + [ + 'name' => 'ServiceInstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The ID of the service instance.', + 'type' => 'string', + 'required' => false, + 'example' => 'si-0d0d7bc9accc4e2e8a8f', + ], + ], + [ + 'name' => 'BillingCycle', + 'in' => 'query', + 'schema' => [ + 'description' => 'The billing cycle. Format: YYYY-MM.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => '2025-03', + ], + ], + [ + 'name' => 'Granularity', + 'in' => 'query', + 'schema' => [ + 'description' => 'The granularity at which bills are queried. Valid values:'."\n" + ."\n" + .'* MONTHLY: queries bills by month. The data queried is consistent with the data that is displayed for the specified billing cycle on the Billing Details tab of the Bill Details page in User Center.'."\n" + .'* DAILY: queries bills by day. The data queried is consistent with the data that is displayed for the specified day on the Billing Details tab of the Bill Details page in User Center.'."\n" + ."\n" + .'You must set the **BillingDate** parameter before you can set the Granularity parameter to DAILY.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'MONTHLY', + ], + ], + [ + 'name' => 'BillingDate', + 'in' => 'query', + 'schema' => [ + 'description' => 'The billing date. This parameter is required only if the **Granularity** parameter is set to DAILY. Format: YYYY-MM-DD.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => '2024-12-05', + ], + ], + [ + 'name' => 'ServiceId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The service ID.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'service-6121296da4f44e469519', + ], + ], + [ + 'name' => 'ServiceVersion', + 'in' => 'query', + 'schema' => [ + 'description' => 'The service version.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => '1', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'NextToken' => [ + 'description' => 'The pagination token that is used in the next request to retrieve a new page of results. You do not need to specify this parameter for the first request. You must specify the token that is obtained from the previous query as the value of NextToken.'."\n", + 'type' => 'string', + 'example' => 'AAAAAfu+XtuBE55iRLHEYYuojI4=', + ], + 'RequestId' => [ + 'description' => 'The request ID.'."\n", + 'type' => 'string', + 'example' => '7B68C6D1-0C22-53F7-997C-F95D109C31AA', + ], + 'TotalCount' => [ + 'description' => 'The total number of entries returned.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '65', + ], + 'MaxResults' => [ + 'description' => 'The number of entries per page. Valid values: 1 to 100. Default value: 20.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '20', + ], + 'Item' => [ + 'description' => 'The billing information of the backup schedule.'."\n", + '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-06'."\n", + ], + 'BillingDate' => [ + 'description' => 'The billing date. This parameter is required only if the **Granularity** parameter is set to DAILY. Format: YYYY-MM-DD.'."\n", + 'type' => 'string', + 'example' => '2024-12-05', + ], + 'SubscriptionType' => [ + 'description' => 'The billing method. Valid values:'."\n" + ."\n" + .'* Subscription: the subscription billing method.'."\n" + .'* PayAsYouGo: the pay-as-you-go billing method.'."\n", + 'type' => 'string', + 'example' => 'Subscription', + ], + 'ProductName' => [ + 'description' => 'The name of the cloud service or the name of the service-linked role with which the cloud service is associated.'."\n", + 'type' => 'string', + 'example' => 'oss', + ], + 'BillingItemCode' => [ + 'description' => 'The code of the billable item.', + 'type' => 'string', + 'example' => 'disk', + ], + 'ProductCode' => [ + 'description' => 'The code of the service.'."\n", + 'type' => 'string', + 'example' => 'oss', + ], + 'ProductDetail' => [ + 'description' => 'The details of the service.', + 'type' => 'string', + 'example' => 'sls', + ], + 'InstanceID' => [ + 'description' => 'The ID of the instance.', + 'type' => 'string', + 'example' => 'rm-wz9k051l23j3o3xa9', + ], + 'DeductedByResourcePackage' => [ + 'description' => 'The amount deducted with resource plans.', + 'type' => 'string', + 'example' => '0', + ], + 'ListPriceUnit' => [ + 'description' => 'The unit of the unit price.', + 'type' => 'string', + 'example' => 'CNY/GB'."\n", + ], + 'Usage' => [ + 'description' => 'The amount of resource usage.', + 'type' => 'string', + 'example' => '1', + ], + 'ListPrice' => [ + 'description' => 'The unit price.', + 'type' => 'string', + 'example' => '0.12', + ], + 'UsageUnit' => [ + 'description' => 'The unit of usage.', + 'type' => 'string', + 'example' => 'GB', + ], + 'PretaxGrossAmount' => [ + 'description' => 'The pretax gross amount.', + 'type' => 'string', + 'example' => '0', + ], + 'InvoiceDiscount' => [ + 'description' => 'The discount amount.', + 'type' => 'string', + 'example' => '0', + ], + 'PretaxAmount' => [ + 'description' => 'The pretax amount.', + 'type' => 'string', + 'example' => '0', + ], + 'ServiceInstanceId' => [ + 'description' => 'Service instance ID.', + 'type' => 'string', + 'example' => 'si-bc5d6ac7022647d3a3bd', + ], + 'BillingCycle' => [ + 'description' => 'The billing cycle. Format: YYYY-MM.'."\n", + 'type' => 'string', + 'example' => '2024-12', + ], + 'BillingItem' => [ + 'description' => 'The billable item.', + 'type' => 'string', + 'example' => 'Bandwidth'."\n", + ], + 'Currency' => [ + 'description' => 'The currency unit.'."\n" + ."\n" + .'* China site: **CNY**.'."\n" + .'* International site: **USD**.'."\n", + 'type' => 'string', + 'example' => 'CNY', + ], + ], + ], + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"NextToken\\": \\"AAAAAfu+XtuBE55iRLHEYYuojI4=\\",\\n \\"RequestId\\": \\"7B68C6D1-0C22-53F7-997C-F95D109C31AA\\",\\n \\"TotalCount\\": 65,\\n \\"MaxResults\\": 20,\\n \\"Item\\": [\\n {\\n \\"SplitBillingCycle\\": \\"2021-06\\\\n\\",\\n \\"BillingDate\\": \\"2024-12-05\\",\\n \\"SubscriptionType\\": \\"Subscription\\",\\n \\"ProductName\\": \\"oss\\",\\n \\"BillingItemCode\\": \\"disk\\",\\n \\"ProductCode\\": \\"oss\\",\\n \\"ProductDetail\\": \\"sls\\",\\n \\"InstanceID\\": \\"rm-wz9k051l23j3o3xa9\\",\\n \\"DeductedByResourcePackage\\": \\"0\\",\\n \\"ListPriceUnit\\": \\"元/GB\\\\n\\",\\n \\"Usage\\": \\"1\\",\\n \\"ListPrice\\": \\"0.12\\",\\n \\"UsageUnit\\": \\"GB\\",\\n \\"PretaxGrossAmount\\": \\"0\\",\\n \\"InvoiceDiscount\\": \\"0\\",\\n \\"PretaxAmount\\": \\"0\\",\\n \\"ServiceInstanceId\\": \\"si-bc5d6ac7022647d3a3bd\\",\\n \\"BillingCycle\\": \\"2024-12\\",\\n \\"BillingItem\\": \\"带宽\\\\n\\",\\n \\"Currency\\": \\"CNY\\"\\n }\\n ]\\n}","type":"json"}]', + 'title' => 'Query the bill for the service instance', + 'translator' => 'machine', + ], + 'ListServiceInstanceLogs' => [ + 'summary' => '“Query logs at various levels, including service instance application, instance, and resource.”', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '136360', + 'abilityTreeNodes' => [ + 'FEATUREcomputenest18JMDW', + ], + 'autoTest' => true, + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'RegionId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The region ID.'."\n", + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'cn-hangzhou', + ], + ], + [ + 'name' => 'MaxResults', + 'in' => 'query', + 'schema' => [ + 'description' => 'The maximum number of entries per page.'."\n" + ."\n" + .'Valid values: 1 to 100.'."\n" + ."\n" + .'Default value: 20.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '20', + ], + ], + [ + 'name' => 'NextToken', + 'in' => 'query', + 'schema' => [ + 'description' => 'A pagination token.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'BBBAAfu+XtuBE55iRLHEYYuojI4=', + ], + ], + [ + 'name' => 'ServiceInstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The ID of the service instance.', + 'type' => 'string', + 'required' => true, + 'example' => 'si-70a3b15bb626435b****', + ], + ], + [ + 'name' => 'LogSource', + 'in' => 'query', + 'schema' => [ + 'description' => 'The log source. When this field is empty, query logs with the source set to computeNest and ros.'."\n" + .'Valid values:'."\n" + ."\n" + .'* computeNest : logs of the deployment and upgrade of the service instance.'."\n" + .'* application: logs generated by the application.'."\n" + .'* actionTrail: logs generated by ActionTrail.'."\n" + .'* compliancePack: Logs originating from the compliance package.'."\n" + .'* ros: Logs originating from ROS.'."\n" + .'* meteringData:Logs originating from the pay-as-you-go model.', + 'type' => 'string', + 'required' => false, + 'example' => 'computeNest', + ], + ], + [ + 'name' => 'Logstore', + 'in' => 'query', + 'schema' => [ + 'description' => 'The name of the Logstore to which log entries are delivered.'."\n" + .'It needs to be provided only when LogSource is set to Application.', + 'type' => 'string', + 'required' => false, + 'example' => 'livelog', + ], + ], + [ + 'name' => 'Filter', + 'in' => 'query', + 'style' => 'repeatList', + 'schema' => [ + 'description' => 'The filters.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The filter.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The parameter name of the filter. You can specify one or more filters. Valid values:'."\n" + ."\n" + .'* StartTime: the start time of the log event.'."\n" + .'* EndTime: the end time of the ActionTrail event.'."\n" + .'* EventName: the name of the ActionTrail event.'."\n" + .'* ResourceName: the name of the ActionTrail resource.'."\n" + .'* ApplicationGroupName: the name of the application group.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'StartTime', + ], + 'Value' => [ + 'description' => 'A value of the filter condition.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'Filter value.', + 'type' => 'string', + 'required' => false, + 'example' => '2022-01-01T22:22:22Z', + ], + 'required' => false, + 'maxItems' => 20, + ], + ], + 'required' => false, + ], + 'required' => false, + 'maxItems' => 100, + ], + ], + [ + 'name' => 'SortOrder', + 'in' => 'query', + 'schema' => [ + 'description' => 'Sort Order. Possible values:'."\n" + ."\n" + .'+ Ascending: Ascending order'."\n" + ."\n" + .'+ Descending (default value): Descending order', + 'type' => 'string', + 'required' => false, + 'example' => 'Ascending', + 'default' => 'Descending', + 'enum' => [ + 'Descending', + 'Ascending', + ], + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'NextToken' => [ + 'description' => 'A pagination token.'."\n", + 'type' => 'string', + 'example' => 'AAAAAfu+XtuBE55iRLHEYYuojI4=', + ], + 'RequestId' => [ + 'description' => 'The request ID.'."\n", + 'type' => 'string', + 'example' => '51945B04-6AA6-410D-93BA-236E0248B104', + ], + 'MaxResults' => [ + 'description' => 'The number of items to return per page when paginating results. The maximum is 100, and the default is 20.', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '20', + ], + 'ServiceInstancesLogs' => [ + 'description' => 'The logs of the service instance.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The logs of the service instance.'."\n", + 'type' => 'object', + 'properties' => [ + 'Timestamp' => [ + 'description' => 'The timestamp of the service instance log.'."\n", + 'type' => 'string', + 'example' => '2022-05-21T00:00:00Z', + ], + 'Source' => [ + 'description' => 'The log source. '."\n" + .'Valid values:'."\n" + ."\n" + .'* computeNest : logs of the deployment and upgrade of the service instance.'."\n" + .'* application: logs generated by the application.'."\n" + .'* actionTrail: logs generated by ActionTrail.'."\n" + .'* compliancePack: Logs originating from the compliance package.'."\n" + .'* ros: Logs originating from ROS.'."\n" + .'* meteringData:Logs originating from the pay-as-you-go model.', + 'type' => 'string', + 'example' => 'computeNest', + ], + 'Content' => [ + 'description' => 'The log content.'."\n", + 'type' => 'string', + 'example' => 'Start creating service instance', + ], + 'LogType' => [ + 'description' => 'The log type. Valid values:'."\n" + ."\n" + .'* serviceInstance: log generated by the service instance.'."\n" + .'* resource: log generated by ROS resources.'."\n", + 'type' => 'string', + 'example' => 'serviceInstance', + ], + 'ResourceType' => [ + 'description' => 'The Resouce Type.', + 'type' => 'string', + 'example' => 'ROS.Stack', + ], + 'ResourceId' => [ + 'description' => 'The resource ID.'."\n", + 'type' => 'string', + 'example' => 'si-5c6525c0589545c3****', + ], + 'Status' => [ + 'description' => 'The deployment state of the service instance. Valid values:'."\n" + ."\n" + .'* Created'."\n" + .'* Deploying'."\n" + .'* DeployedFailed'."\n" + .'* Deployed'."\n" + .'* Upgrading'."\n" + .'* Deleting'."\n" + .'* Deleted'."\n" + .'* DeletedFailed'."\n", + 'type' => 'string', + 'example' => 'Deployed', + ], + 'CompliancePackType' => [ + 'description' => 'Compliance package risk types. This only applies when the source is CompliancePack. . For example, data security checks within a VPC, such as VpcDataRisk', + 'type' => 'string', + 'example' => 'VpcDataRisk', + ], + 'ComplianceRuleName' => [ + 'description' => 'Specific risk rule names for the compliance package. This only applies when the source is CompliancePack. . For example, ECS instance migration out of VPC - ecs-move-out-vpc.', + 'type' => 'string', + 'example' => 'vpc-ecs-move-out-vpc', + ], + ], + ], + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"NextToken\\": \\"AAAAAfu+XtuBE55iRLHEYYuojI4=\\",\\n \\"RequestId\\": \\"51945B04-6AA6-410D-93BA-236E0248B104\\",\\n \\"MaxResults\\": 20,\\n \\"ServiceInstancesLogs\\": [\\n {\\n \\"Timestamp\\": \\"2022-05-21T00:00:00Z\\",\\n \\"Source\\": \\"computeNest\\",\\n \\"Content\\": \\"Start creating service instance\\",\\n \\"LogType\\": \\"serviceInstance\\",\\n \\"ResourceType\\": \\"ROS.Stack\\",\\n \\"ResourceId\\": \\"si-5c6525c0589545c3****\\",\\n \\"Status\\": \\"Deployed\\",\\n \\"CompliancePackType\\": \\"VpcDataRisk\\",\\n \\"ComplianceRuleName\\": \\"vpc-ecs-move-out-vpc\\"\\n }\\n ]\\n}","type":"json"}]', + 'title' => 'ListServiceInstanceLogs', + ], + 'DeleteAcrImageRepositories' => [ + 'summary' => '删除Acr镜像仓库', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'delete', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '160456', + 'abilityTreeNodes' => [ + 'FEATUREcomputenest4Y9BYP', + ], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'RegionId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'cn-hangzhou', + ], + ], + [ + 'name' => 'RepoId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'crr-7x9rf32mkqoqulrn', + ], + ], + [ + 'name' => 'ClientToken', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '10CM943JP0EN9D51H', + ], + ], + [ + 'name' => 'ArtifactType', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'docRequired' => true, + 'example' => 'AcrImage', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '9B55A3FD-B562-5BFE-A91A-DB1790717236', + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"9B55A3FD-B562-5BFE-A91A-DB1790717236\\"\\n}","type":"json"}]', + ], + 'ListArtifactRisks' => [ + 'summary' => 'Get the list of artifact security risks', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '201838', + 'abilityTreeNodes' => [ + 'FEATUREcomputenestB2MIVU', + ], + ], + 'parameters' => [ + [ + 'name' => 'ArtifactId', + 'in' => 'query', + 'schema' => [ + 'description' => 'Artifact ID.', + 'type' => 'string', + 'required' => false, + 'example' => 'artifact-3fd95cdfdf0d4b1fa00c', + ], + ], + [ + 'name' => 'ArtifactVersion', + 'in' => 'query', + 'schema' => [ + 'description' => 'Artifact version.', + 'type' => 'string', + 'required' => false, + 'example' => '1', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => 'Request ID.', + 'type' => 'string', + 'example' => '52919DB1-03A0-55F5-BDD4-DB6DEBB8267A', + ], + 'ArtifactRiskList' => [ + 'description' => 'List of artifact risks', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Level' => [ + 'description' => 'Risk level:'."\n" + ."\n" + .'- high represents high', + 'type' => 'string', + 'example' => 'high', + ], + 'RiskType' => [ + 'description' => 'Risk type. Values:'."\n" + .'- AcrCve Container image system vulnerability'."\n" + .'- AcrSca Container image application vulnerability'."\n" + .'- EcsVulnerability ECS image vulnerability information'."\n" + .'- EcsAlarm ECS image security alarm'."\n" + .'- EcsBaseline ECS image baseline check', + 'type' => 'string', + 'example' => 'AcrCve', + ], + 'RiskTypeName' => [ + 'description' => 'Risk Type name', + 'type' => 'string', + 'example' => 'Container System Vulner', + ], + 'RiskName' => [ + 'description' => 'Risk name.', + 'type' => 'string', + 'example' => 'USN-3686-1: file vulnerabilities', + ], + 'Solution' => [ + 'description' => 'Solution for the risk item.', + 'type' => 'string', + 'example' => 'apt-get update && apt-get install ntpdate --only-upgrade', + ], + 'CveNos' => [ + 'description' => 'CVE numbers', + 'type' => 'string', + 'example' => 'CVE-2023-4911', + ], + 'ExtendInfo' => [ + 'description' => 'Extended information, in JSON format, to be parsed according to the risk category', + 'type' => 'string', + 'example' => '{'."\n" + .' "feature": "ntpdate", '."\n" + .' "version": "4.2.6", '."\n" + .' "cveLocation": "/usr/lib" '."\n" + .'}', + ], + ], + ], + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"52919DB1-03A0-55F5-BDD4-DB6DEBB8267A\\",\\n \\"ArtifactRiskList\\": [\\n {\\n \\"Level\\": \\"high\\",\\n \\"RiskType\\": \\"AcrCve\\",\\n \\"RiskTypeName\\": \\"容器镜像系统漏洞\\",\\n \\"RiskName\\": \\"USN-3686-1: file vulnerabilities\\",\\n \\"Solution\\": \\"apt-get update && apt-get install ntpdate --only-upgrade\\",\\n \\"CveNos\\": \\"CVE-2023-4911\\",\\n \\"ExtendInfo\\": \\"{\\\\n \\\\\\"feature\\\\\\": \\\\\\"ntpdate\\\\\\", \\\\n \\\\\\"version\\\\\\": \\\\\\"4.2.6\\\\\\", \\\\n \\\\\\"cveLocation\\\\\\": \\\\\\"/usr/lib\\\\\\" \\\\n}\\"\\n }\\n ]\\n}","type":"json"}]', + 'title' => 'Query Artifact Risk List', + 'translator' => 'machine', + ], + 'CreateArtifact' => [ + 'summary' => 'Creates a deployment package.', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '131218', + 'abilityTreeNodes' => [ + 'FEATUREcomputenest4Y9BYP', + ], + ], + 'parameters' => [ + [ + 'name' => 'ArtifactId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The ID of the deployment package.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'artifact-eea08d1e2d3a43aexxxx', + ], + ], + [ + 'name' => 'ArtifactType', + 'in' => 'query', + 'schema' => [ + 'description' => 'The type of the deployment package. Valid values:'."\n" + ."\n" + .'* EcsImage: Elastic Compute Service (ECS) image.'."\n" + .'* AcrImage: container image.'."\n" + .'* File: Object Storage Service (OSS) object.'."\n" + .'* Script: script.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'EcsImage', + ], + ], + [ + 'name' => 'ArtifactBuildType', + 'in' => 'query', + 'schema' => [ + 'description' => 'The type of the artifact build task. Valid values:'."\n" + ."\n" + .'- EcsImage: Build ECS (Elastic Container Service) image.'."\n" + ."\n" + .'- Dockerfile: Build container image based on Dockerfile.'."\n" + ."\n" + .'- Buildpacks: Build container image based on Buildpacks.'."\n" + ."\n" + .'- ContainerImage: Rebuild container image by renaming an existing container image.', + 'type' => 'string', + 'required' => false, + 'example' => 'Dockerfile', + ], + ], + [ + 'name' => 'Name', + 'in' => 'query', + 'schema' => [ + 'description' => 'The name of the deployment package.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'Name', + ], + ], + [ + 'name' => 'VersionName', + 'in' => 'query', + 'schema' => [ + 'description' => 'The version name of the deployment package.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'v1', + ], + ], + [ + 'name' => 'Description', + 'in' => 'query', + 'schema' => [ + 'description' => 'The description of the deployment package.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'Test artifact', + ], + ], + [ + 'name' => 'ArtifactProperty', + 'in' => 'query', + 'style' => 'json', + 'schema' => [ + 'description' => 'The properties of the deployment object.'."\n", + 'type' => 'object', + 'properties' => [ + 'Url' => [ + 'description' => 'The object URL of the deployment package.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'https://service-info-private.oss-cn-hangzhou.aliyuncs.com/1309208528xxxxxx/template/2e1ce8fc-xxxx-481c-9e8e-789ba9db487d.json', + ], + 'RegionId' => [ + 'description' => 'The region ID.'."\n" + ."\n" + .'> This parameter is available only if the deployment package is an image.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'cn-hangzhou', + ], + 'ImageId' => [ + 'description' => 'The image ID.'."\n" + ."\n" + .'> This parameter is available only if the deployment package is an image.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'm-0xij191j9cuev6xxxxxx', + ], + 'CommodityCode' => [ + 'description' => 'The commodity code of the service in Alibaba Cloud Marketplace.'."\n" + ."\n" + .'> This parameter is available only if the deployment package is an image.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'cmjj00xxxx', + ], + 'CommodityVersion' => [ + 'description' => 'The commodity version of the service in Alibaba Cloud Marketplace.'."\n" + ."\n" + .'> This parameter is available only if the deployment package is an image.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'V1.0', + ], + 'RepoName' => [ + 'description' => 'The name of the image repository.'."\n" + ."\n" + .'> This parameter is available only if the deployment package is a container image or of the Helm chart type.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'wordpress', + ], + 'RepoId' => [ + 'description' => 'The ID of the image repository.'."\n" + ."\n" + .'> This parameter is available only if the deployment package is a container image or of the Helm chart type.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'crr-d8o1nponyc2t1gcg', + ], + 'Tag' => [ + 'description' => 'The version tag of the image repository.'."\n" + ."\n" + .'> This parameter is available only if the deployment package is a container image or of the Helm chart type.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'v1', + ], + 'RepoType' => [ + 'description' => 'The default repository type. Valid values:'."\n" + ."\n" + .'* `Public`: a public repository.'."\n" + .'* `Private`: a private repository.'."\n" + ."\n" + .'You can specify the RepoType or Summary parameter. The RepoType parameter is optional.', + 'type' => 'string', + 'required' => false, + 'example' => 'Public', + ], + ], + 'required' => false, + ], + ], + [ + 'name' => 'SupportRegionIds', + 'in' => 'query', + 'style' => 'repeatList', + 'schema' => [ + 'description' => 'The supported regions.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The supported region.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'cn-hangzhou', + ], + 'required' => false, + 'maxItems' => 30, + ], + ], + [ + 'name' => 'ResourceGroupId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The ID of the resource group.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'rg-aekzkt5buxxxxxx', + ], + ], + [ + 'name' => 'Tag', + 'in' => 'query', + 'style' => 'repeatList', + 'schema' => [ + 'description' => 'The custom tags.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The custom tags.'."\n", + 'type' => 'object', + 'properties' => [ + 'Key' => [ + 'description' => 'The tag key.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'key1', + ], + 'Value' => [ + 'description' => 'The tag value.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'value1', + ], + ], + 'required' => false, + ], + 'required' => false, + 'maxItems' => 100, + ], + ], + [ + 'name' => 'ArtifactBuildProperty', + 'in' => 'query', + 'style' => 'json', + 'schema' => [ + 'description' => 'The build properties of the artifact, utilized for hosting and building the deployment package.', + 'type' => 'object', + 'properties' => [ + 'CommandType' => [ + 'description' => 'The command type. Valid values:'."\n" + ."\n" + .'* RunBatScript: batch command, applicable to Windows instances.'."\n" + .'* RunPowerShellScript: PowerShell command, applicable to Windows instances.'."\n" + .'* RunShellScript: shell command, applicable to Linux instances.'."\n" + ."\n" + .'> This parameter is available only if the deployment package is a ecs image type.', + 'type' => 'string', + 'required' => false, + 'example' => 'RunShellScript', + ], + 'CommandContent' => [ + 'description' => 'The command content.'."\n" + ."\n" + .'> This parameter is available only if the deployment package is a ecs image type.', + 'type' => 'string', + 'required' => false, + 'example' => 'echo "start run command"', + ], + 'SourceImageId' => [ + 'description' => 'The source image id. Supported Types:'."\n" + ."\n" + .'- Image ID: Pass the Image ID of the Ecs image directly.'."\n" + ."\n" + .'- OOS Common Parameter Name: Obtain the corresponding Image ID automatically by using the OOS common parameter name.'."\n" + ."\n" + .'> This parameter is available only if the deployment package is a ecs image type.', + 'type' => 'string', + 'required' => false, + 'example' => 'Image ID:m-t4nhenrdc38pe4*****'."\n" + .'ubuntu_22_04_x64_20G_alibase_20240926.vhd'."\n" + .'OOS Common Parameter Name:aliyun/services/computenest/images/aliyun_3_2104_python_3_11', + ], + 'RegionId' => [ + 'description' => 'The region ID where the source mirror image is located.'."\n" + ."\n" + .'> This parameter is available only if the deployment package is a ecs image type.', + 'type' => 'string', + 'required' => false, + 'example' => 'cn-hangzhou', + ], + 'CodeRepo' => [ + 'description' => 'The address of the code repository.'."\n" + ."\n" + .'> This parameter is available only if the ArtifactBuildType is Dockerfile or Buildpacks type.', + 'type' => 'object', + 'properties' => [ + 'Platform' => [ + 'description' => 'The platform type. Valid values: '."\n" + ."\n" + .'- github'."\n" + ."\n" + .'- gitee'."\n" + .'- gitlab'."\n" + .'- codeup', + 'type' => 'string', + 'required' => false, + 'example' => 'github', + ], + 'RepoName' => [ + 'description' => 'The name of the repository.', + 'type' => 'string', + 'required' => false, + 'example' => 'aliyun-computenest/quickstart-Lobexxx', + ], + 'Owner' => [ + 'description' => 'The owner of the code repository.'."\n" + ."\n" + .'> This parameter is available only if the git repository is private.', + 'type' => 'string', + 'required' => false, + 'example' => 'aliyun-computenest', + ], + 'Branch' => [ + 'description' => 'The name of the branch in the code repository.', + 'type' => 'string', + 'required' => false, + 'example' => 'main', + ], + 'Endpoint' => [ + 'description' => 'The endpoint. '."\n" + .'The URL address used to access the privately deployed GitLab instance.', + 'type' => 'string', + 'required' => false, + 'example' => 'http://121.40.25.0', + ], + 'OrgId' => [ + 'description' => 'The organization ID.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => '455231'."\n", + ], + 'RepoId' => [ + 'description' => 'The repository ID.', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'example' => '103'."\n", + ], + ], + 'required' => false, + ], + 'DockerfilePath' => [ + 'description' => 'The relative path to the Dockerfile within the code repository.'."\n" + ."\n" + .'> This parameter is available only if the ArtifactBuildType is Dockerfile type.', + 'type' => 'string', + 'required' => false, + 'example' => './file/Dockerfile', + ], + 'BuildArgs' => [ + 'description' => 'The build arguments used during the image build process.'."\n" + ."\n" + .'> This parameter is available only if the ArtifactBuildType is Dockerfile type.', + 'type' => 'array', + 'items' => [ + 'description' => 'This is used for the command docker build --build-arg', + 'type' => 'object', + 'properties' => [ + 'ArgumentName' => [ + 'description' => 'The name of a specific build argument.', + 'type' => 'string', + 'required' => false, + 'example' => 'ENV', + ], + 'ArgumentValue' => [ + 'description' => 'The value of a specific build argument.', + 'type' => 'string', + 'required' => false, + 'example' => 'nginx:latest', + ], + ], + 'required' => false, + ], + 'required' => false, + ], + 'SourceContainerImage' => [ + 'description' => 'The pull location of the source container image. This is used for the command docker pull ${SourceContainerImage}.'."\n" + ."\n" + .'> This parameter is available only if the ArtifactBuildType is ContainerImage type.', + 'type' => 'string', + 'required' => false, + 'example' => 'pytorch/pytorch:2.5.1-cuda12.4-cudnn9-devel', + ], + 'SystemDiskSize' => [ + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'description' => 'The size of the system disk. Unit: GiB.'."\n" + ."\n" + .'> The system disk must be at least as large as the image.'."\n", + 'example' => '40', + ], + 'EnableGpu' => [ + 'type' => 'boolean', + 'required' => false, + 'description' => 'Whether GPU is required. CPU instance is used by default.', + 'example' => 'false', + ], + ], + 'required' => false, + ], + ], + [ + 'name' => 'ClientToken', + 'in' => 'query', + 'schema' => [ + 'description' => 'The client token that is used to ensure the idempotence of the request. You can use the client to generate the token, but you must make sure that the token is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => '10CM943JP0EN9D51H', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => 'The request ID.'."\n", + 'type' => 'string', + 'example' => 'B1A0198B-F316-1B72-B8DD-28B6F6D6XXXX', + ], + 'ArtifactId' => [ + 'description' => 'The ID of the deployment package.'."\n", + 'type' => 'string', + 'example' => 'artifact-eea08d1e2d3a43aexxxx', + ], + 'ArtifactType' => [ + 'description' => 'The type of the deployment package.'."\n", + 'type' => 'string', + 'example' => 'EcsImage', + ], + 'Name' => [ + 'description' => 'The name of the deployment package.'."\n", + 'type' => 'string', + 'example' => 'Name', + ], + 'VersionName' => [ + 'description' => 'The name of the deployment package.'."\n", + 'type' => 'string', + 'example' => 'v1', + ], + 'ArtifactVersion' => [ + 'description' => 'The version of the deployment package.'."\n", + 'type' => 'string', + 'example' => '2', + ], + 'Description' => [ + 'description' => 'The description of the deployment package.'."\n", + 'type' => 'string', + 'example' => 'Test artifact', + ], + 'GmtModified' => [ + 'description' => 'The time when the deployment package was modified.'."\n", + 'type' => 'string', + 'example' => '2022-11-11T12:00:00Z', + ], + 'Status' => [ + 'description' => 'The status of the deployment package. Valid values:'."\n", + 'type' => 'string', + 'example' => 'Created', + ], + 'MaxVersion' => [ + 'description' => 'The latest version of the deployment package.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1', + ], + 'ArtifactProperty' => [ + 'description' => 'The properties of the deployment object.'."\n", + 'type' => 'string', + 'example' => '{\\"CommodityCode\\":\\"cmjj0005xxxx\\",\\"CommodityVersion\\":\\"V2022xxxx\\"}', + ], + 'SupportRegionIds' => [ + 'description' => 'The ID of the region that supports the deployment package.'."\n", + 'type' => 'string', + 'example' => '['."\n" + .' "cn-beijing",'."\n" + .' "cn-hangzhou",'."\n" + .' "cn-shanghai"'."\n" + .' ]', + ], + 'StatusDetail' => [ + 'description' => 'The status of the deployment package.', + 'type' => 'string', + 'example' => '"/usr/local/share/aliyun-assist/work/script/t-hz04zm90y6og0sg.sh: line 1: pip: command not found"', + ], + 'ArtifactBuildProperty' => [ + 'description' => 'The build properties of the artifact, utilized for hosting and building the deployment package.', + 'type' => 'string', + 'example' => '"{\\"RegionId\\":\\"xxx\\", \\"SourceImageId\\":\\"xxx\\", \\"\\":\\"xxx\\", \\"CommandType\\":\\"xxx\\", \\"CommandContent\\":\\"xxx\\"}"', + ], + 'ArtifactBuildType' => [ + 'description' => 'The type of the deployment package to be built.', + 'type' => 'string', + 'example' => 'Dockerfile', + ], + ], + 'description' => '', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"E73F09DC-6C13-5CB1-A10F-7A4E125ABD2C\\",\\n \\"ArtifactId\\": \\"artifact-eea08d1e2d3a43ae****\\",\\n \\"ArtifactType\\": \\"EcsImage\\",\\n \\"Name\\": \\"Redhat8_5镜像\\",\\n \\"VersionName\\": \\"v1\\",\\n \\"ArtifactVersion\\": \\"2\\",\\n \\"Description\\": \\"Redhat8_0镜像\\",\\n \\"GmtModified\\": \\"2022-11-11T12:00:00Z\\",\\n \\"Status\\": \\"Created\\",\\n \\"MaxVersion\\": 1,\\n \\"ArtifactProperty\\": \\"{\\\\\\\\\\\\\\"CommodityCode\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"cmjj0005****\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"CommodityVersion\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"V2022****\\\\\\\\\\\\\\"}\\",\\n \\"SupportRegionIds\\": \\"[\\\\n\\\\t\\\\t\\\\t\\\\\\"cn-beijing\\\\\\",\\\\n\\\\t\\\\t\\\\t\\\\\\"cn-hangzhou\\\\\\",\\\\n\\\\t\\\\t\\\\t\\\\\\"cn-shanghai\\\\\\"\\\\n\\\\t\\\\t]\\",\\n \\"StatusDetail\\": \\"\\\\\\"/usr/local/share/aliyun-assist/work/script/t-hz04zm90y6og0sg.sh: line 1: pip: command not found\\\\\\"\\",\\n \\"ArtifactBuildProperty\\": \\"\\\\\\"{\\\\\\\\\\\\\\"RegionId\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"xxx\\\\\\\\\\\\\\", \\\\\\\\\\\\\\"SourceImageId\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"xxx\\\\\\\\\\\\\\", \\\\\\\\\\\\\\"\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"xxx\\\\\\\\\\\\\\", \\\\\\\\\\\\\\"CommandType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"xxx\\\\\\\\\\\\\\", \\\\\\\\\\\\\\"CommandContent\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"xxx\\\\\\\\\\\\\\"}\\\\\\"\\",\\n \\"ArtifactBuildType\\": \\"Dockerfile\\"\\n}","type":"json"}]', + 'title' => 'CreateArtifact', + ], + 'DeleteArtifact' => [ + 'summary' => 'Deletes an artifact.', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'delete', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '132198', + 'abilityTreeNodes' => [ + 'FEATUREcomputenest4Y9BYP', + ], + ], + 'parameters' => [ + [ + 'name' => 'ArtifactId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The ID of the artifact.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'artifact-eea08d1e2d3a43aexxxx', + ], + ], + [ + 'name' => 'ArtifactVersion', + 'in' => 'query', + 'schema' => [ + 'description' => 'The version of the artifact.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => '2', + ], + ], + [ + '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' => '788E7CP0EN9D51P', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => 'The request ID.'."\n", + 'type' => 'string', + 'example' => 'B1A0198B-F316-1B72-B8DD-28B6F6D6XXXX', + ], + ], + 'description' => 'The response parameters.'."\n", + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"1B3AD3CC-E938-5042-A771-7FD9A2FE03F3\\"\\n}","type":"json"}]', + 'title' => 'DeleteArtifact', + ], + 'UpdateArtifact' => [ + 'summary' => 'Updates a deployment package.', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '132193', + 'abilityTreeNodes' => [ + 'FEATUREcomputenest4Y9BYP', + ], + ], + 'parameters' => [ + [ + 'name' => 'ArtifactId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The ID of the deployment package.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'artifact-eea08d1e2d3a43aexxxx', + ], + ], + [ + 'name' => 'VersionName', + 'in' => 'query', + 'schema' => [ + 'description' => 'The version name of the deployment package.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'v1', + ], + ], + [ + 'name' => 'Description', + 'in' => 'query', + 'schema' => [ + 'description' => 'The description of the deployment package.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'Description', + ], + ], + [ + 'name' => 'ArtifactProperty', + 'in' => 'query', + 'style' => 'json', + 'schema' => [ + 'description' => 'The properties of the deployment package.'."\n", + 'type' => 'object', + 'properties' => [ + 'Url' => [ + 'description' => 'The URL of the deployment package object.'."\n" + ."\n\n" + .'> Note This parameter is available only if the deployment package is an file.', + 'type' => 'string', + 'required' => false, + 'example' => 'https://service-info-private.oss-cn-hangzhou.aliyuncs.com/1309208528xxxxxx/template/2e1ce8fc-xxxx-481c-9e8e-789ba9db487d.json', + ], + 'RegionId' => [ + 'description' => 'The region ID.'."\n" + ."\n" + .'> This parameter is available only if the deployment package is an image.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'cn-hangzhou', + ], + 'ImageId' => [ + 'description' => 'The image ID.'."\n" + ."\n" + .'> This parameter is available only if the deployment package is an image.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'm-0xij191j9cuev6ucxxxx', + ], + 'CommodityCode' => [ + 'description' => 'The commodity code of the service in Alibaba Cloud Marketplace.'."\n" + ."\n" + .'> This parameter is available only if the deployment package is an image.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'cmjj00xxxx', + ], + 'CommodityVersion' => [ + 'description' => 'The commodity version of the service in Alibaba Cloud Marketplace.'."\n" + ."\n" + .'> This parameter is available only if the deployment package is an image.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'V1.0', + ], + 'RepoName' => [ + 'description' => 'The name of the Container Registry repository.'."\n" + .'> This parameter is available only if the deployment package is a container image or of the Helm chart type.', + 'type' => 'string', + 'required' => false, + 'example' => 'volcanosh/vc-webhook-manager', + ], + 'RepoId' => [ + 'description' => 'The ID of the Container Registry repository.'."\n" + .'> This parameter is available only if the deployment package is a container image or of the Helm chart type.', + 'type' => 'string', + 'required' => false, + 'example' => 'crr-yy4g68uhi39ttkm8', + ], + 'Tag' => [ + 'description' => 'The version tag of the image repository.'."\n" + ."\n" + .'> This parameter is available only if the deployment package is a container image or of the Helm chart type.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'v1', + ], + 'RepoType' => [ + 'description' => 'The type of the repository.Valid values:'."\n" + ."\n" + .'* `Public`: a public repository.'."\n" + .'* `Private`: a private repository.'."\n" + .'> This parameter is available only if the deployment package is a container image or of the Helm chart type.', + 'type' => 'string', + 'required' => false, + 'example' => 'Public', + ], + ], + 'required' => false, + ], + ], + [ + 'name' => 'SupportRegionIds', + 'in' => 'query', + 'style' => 'repeatList', + 'schema' => [ + 'description' => 'The IDs of the regions that support the deployment package.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The ID of the region that supports the deployment package.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => '["cn-hangzhou","cn-beijing"]', + ], + 'required' => false, + 'maxItems' => 30, + ], + ], + [ + 'name' => 'ArtifactBuildProperty', + 'in' => 'query', + 'style' => 'json', + 'schema' => [ + 'description' => 'The build properties of the artifact, utilized for hosting and building the deployment package.', + 'type' => 'object', + 'properties' => [ + 'CommandType' => [ + 'description' => 'The command type. Valid values:'."\n" + ."\n" + .'* RunBatScript: batch command, applicable to Windows instances.'."\n" + .'* RunPowerShellScript: PowerShell command, applicable to Windows instances.'."\n" + .'* RunShellScript: shell command, applicable to Linux instances.'."\n" + ."\n" + .'> This parameter is available only if the deployment package is a ecs image type.', + 'type' => 'string', + 'required' => false, + 'example' => 'RunShellScript', + ], + 'CommandContent' => [ + 'description' => 'The command content.'."\n" + ."\n" + .'> This parameter is available only if the deployment package is a ecs image type.', + 'type' => 'string', + 'required' => false, + 'example' => 'echo "start run command"', + ], + 'SourceImageId' => [ + 'description' => 'The source image id. Supported Types:'."\n" + ."\n" + .'- Image ID: Pass the Image ID of the Ecs image directly.'."\n" + ."\n" + .'- OOS Common Parameter Name: Obtain the corresponding Image ID automatically by using the OOS common parameter name.'."\n" + ."\n" + .'> This parameter is available only if the deployment package is a ecs image type.', + 'type' => 'string', + 'required' => false, + 'example' => 'Image ID:m-t4nhenrdc38pe4*****'."\n" + .'ubuntu_22_04_x64_20G_alibase_20240926.vhd'."\n" + .'OOS Common Parameter Name:aliyun/services/computenest/images/aliyun_3_2104_python_3_11', + ], + 'RegionId' => [ + 'description' => 'The region ID where the source mirror image is located.'."\n" + ."\n" + .'> This parameter is available only if the deployment package is a ecs image type.', + 'type' => 'string', + 'required' => false, + 'example' => 'cn-hangzhou', + ], + 'CodeRepo' => [ + 'description' => 'The address of the code repository.'."\n" + ."\n" + .'> This parameter is available only if the ArtifactBuildType is Dockerfile or Buildpacks type.', + 'type' => 'object', + 'properties' => [ + 'Platform' => [ + 'description' => 'The platform type. Valid values:'."\n" + ."\n" + .'- github'."\n" + ."\n" + .'- gitee'."\n" + ."\n" + .'- gitlab'."\n" + ."\n" + .'- codeup', + 'type' => 'string', + 'required' => false, + 'example' => 'github', + ], + 'RepoName' => [ + 'description' => 'The name of the repository.', + 'type' => 'string', + 'required' => false, + 'example' => 'aliyun-computenest/quickstart-Lobexxx', + ], + 'Owner' => [ + 'description' => 'The owner of the code repository.'."\n" + ."\n" + .'> This parameter is available only if the git repository is private.', + 'type' => 'string', + 'required' => false, + 'example' => 'aliyun-computenest', + ], + 'Branch' => [ + 'description' => 'The name of the branch in the code repository.', + 'type' => 'string', + 'required' => false, + 'example' => 'main', + ], + 'Endpoint' => [ + 'description' => 'The endpoint. '."\n" + .'The URL address used to access the privately deployed GitLab instance.', + 'type' => 'string', + 'required' => false, + 'example' => 'http://121.40.25.0', + ], + 'OrgId' => [ + 'description' => 'The organization ID.', + 'type' => 'string', + 'required' => false, + 'example' => '455231', + ], + 'RepoId' => [ + 'description' => 'The repository ID.', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'example' => '103', + ], + ], + 'required' => false, + ], + 'DockerfilePath' => [ + 'description' => 'The relative path to the Dockerfile within the code repository.'."\n" + ."\n" + .'> This parameter is available only if the ArtifactBuildType is Dockerfile type.', + 'type' => 'string', + 'required' => false, + 'example' => './file/Dockerfile'."\n", + ], + 'BuildArgs' => [ + 'description' => 'The build arguments used during the image build process.'."\n" + ."\n" + .'> This parameter is available only if the ArtifactBuildType is Dockerfile type.', + 'type' => 'array', + 'items' => [ + 'description' => 'This is used for the command docker build --build-arg', + 'type' => 'object', + 'properties' => [ + 'ArgumentName' => [ + 'description' => 'The name of a specific build argument.', + 'type' => 'string', + 'required' => false, + 'example' => 'ENV', + ], + 'ArgumentValue' => [ + 'description' => 'The value of a specific build argument.', + 'type' => 'string', + 'required' => false, + 'example' => 'nginx:latest', + ], + ], + 'required' => false, + ], + 'required' => false, + ], + 'SourceContainerImage' => [ + 'description' => 'The pull location of the source container image. This is used for the command docker pull ${SourceContainerImage}.'."\n" + ."\n" + .'> This parameter is available only if the ArtifactBuildType is ContainerImage type.', + 'type' => 'string', + 'required' => false, + 'example' => 'pytorch/pytorch:2.5.1-cuda12.4-cudnn9-devel', + ], + 'SystemDiskSize' => [ + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'description' => 'The size of the system disk. Unit: GiB.'."\n" + ."\n" + .'> The system disk must be at least as large as the image.'."\n", + 'example' => '40', + ], + 'EnableGpu' => [ + 'type' => 'boolean', + 'required' => false, + 'description' => 'Whether GPU is required. CPU instance is used by default.', + 'example' => 'false', + ], + ], + 'required' => false, + ], + ], + [ + 'name' => 'ClientToken', + 'in' => 'query', + 'schema' => [ + 'description' => 'The client token that is used to ensure the idempotence of the request. You can use the client to generate the token, but you must make sure that the token is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => '10CM943JP0EN9D51H', + ], + ], + [ + 'name' => 'PermissionType', + 'in' => 'query', + 'schema' => [ + 'description' => 'Permission fields are applicable to container image artifact and Helm Chart artifact. They can only change from Automatic to Public. Options:'."\n" + ."\n" + .'Public'."\n" + ."\n" + .'Automatic', + 'type' => 'string', + 'required' => false, + 'example' => 'Public', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => 'The request ID.'."\n", + 'type' => 'string', + 'example' => 'B1A0198B-F316-1B72-B8DD-28B6F6D6XXXX', + ], + 'ArtifactId' => [ + 'description' => 'The ID of the deployment package.'."\n", + 'type' => 'string', + 'example' => 'artifact-eea08d1e2d3a43aexxxx', + ], + 'ArtifactType' => [ + 'description' => 'The type of the deployment package.'."\n", + 'type' => 'string', + 'example' => 'EcsImage', + ], + 'VersionName' => [ + 'description' => 'The name of the deployment package.'."\n", + 'type' => 'string', + 'example' => 'v1', + ], + 'ArtifactVersion' => [ + 'description' => 'The version of the deployment package.'."\n", + 'type' => 'string', + 'example' => '2', + ], + 'Description' => [ + 'description' => 'The description of the deployment package.'."\n", + 'type' => 'string', + 'example' => 'Description', + ], + 'GmtModified' => [ + 'description' => 'The time when the deployment package was modified.'."\n", + 'type' => 'string', + 'example' => '2022-10-20T02:19:55Z', + ], + 'Status' => [ + 'description' => 'The status of the deployment package. Valid values:'."\n" + ."\n" + .'* Created: The deployment package is created.'."\n" + .'* Scanning: The deployment package is being scanned.'."\n" + .'* ScanFailed: The deployment package failed to be scanned.'."\n" + .'* Delivering: The deployment package is being distributed.'."\n" + .'* Available: The deployment package is available.'."\n" + .'* Deleted: The deployment package is deleted.'."\n", + 'type' => 'string', + 'example' => 'Available', + ], + 'ArtifactProperty' => [ + 'description' => 'The properties of the deployment package.'."\n", + 'type' => 'string', + 'example' => '{\\"CommodityCode\\":\\"cmjj0005xxxx\\",\\"CommodityVersion\\":\\"V2022xxxx\\"}', + ], + 'SupportRegionIds' => [ + 'description' => 'The ID of the region that supports the deployment package.'."\n", + 'type' => 'string', + 'example' => '['."\n" + .' "cn-beijing",'."\n" + .' "cn-hangzhou",'."\n" + .' "cn-shanghai"'."\n" + .' ]', + ], + 'ArtifactBuildProperty' => [ + 'description' => 'The build properties of the artifact, utilized for hosting and building the deployment package.', + 'type' => 'string', + 'example' => '"{\\"RegionId\\":\\"xxx\\", \\"SourceImageId\\":\\"xxx\\", \\"\\":\\"xxx\\", \\"CommandType\\":\\"xxx\\", \\"CommandContent\\":\\"xxx\\"}"', + ], + 'StatusDetail' => [ + 'description' => 'The status of the deployment package.', + 'type' => 'string', + 'example' => '"/usr/local/share/aliyun-assist/work/script/t-hz04zm90y6og0sg.sh: line 1: pip: command not found"', + ], + 'ArtifactBuildType' => [ + 'description' => 'The type of the deployment package to be built.', + 'type' => 'string', + 'example' => 'Dockerfile', + ], + ], + 'description' => '', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"9F350409-2ACC-5B61-ACD9-3C8995792F8F\\",\\n \\"ArtifactId\\": \\"artifact-eea08d1e2d3a43ae****\\",\\n \\"ArtifactType\\": \\"EcsImage\\",\\n \\"VersionName\\": \\"v1\\",\\n \\"ArtifactVersion\\": \\"2\\",\\n \\"Description\\": \\"Redhat8_0镜像\\",\\n \\"GmtModified\\": \\"2022-10-20T02:19:55Z\\",\\n \\"Status\\": \\"Available\\",\\n \\"ArtifactProperty\\": \\"{\\\\\\\\\\\\\\"CommodityCode\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"cmjj0005****\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"CommodityVersion\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"V2022****\\\\\\\\\\\\\\"}\\",\\n \\"SupportRegionIds\\": \\"[\\\\n\\\\t\\\\t\\\\t\\\\\\"cn-beijing\\\\\\",\\\\n\\\\t\\\\t\\\\t\\\\\\"cn-hangzhou\\\\\\",\\\\n\\\\t\\\\t\\\\t\\\\\\"cn-shanghai\\\\\\"\\\\n\\\\t\\\\t]\\",\\n \\"ArtifactBuildProperty\\": \\"\\\\\\"{\\\\\\\\\\\\\\"RegionId\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"xxx\\\\\\\\\\\\\\", \\\\\\\\\\\\\\"SourceImageId\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"xxx\\\\\\\\\\\\\\", \\\\\\\\\\\\\\"\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"xxx\\\\\\\\\\\\\\", \\\\\\\\\\\\\\"CommandType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"xxx\\\\\\\\\\\\\\", \\\\\\\\\\\\\\"CommandContent\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"xxx\\\\\\\\\\\\\\"}\\\\\\"\\",\\n \\"StatusDetail\\": \\"\\\\\\"/usr/local/share/aliyun-assist/work/script/t-hz04zm90y6og0sg.sh: line 1: pip: command not found\\\\\\"\\\\n\\",\\n \\"ArtifactBuildType\\": \\"\\\\\\"{\\\\\\\\\\\\\\"RegionId\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"xxx\\\\\\\\\\\\\\", \\\\\\\\\\\\\\"SourceImageId\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"xxx\\\\\\\\\\\\\\", \\\\\\\\\\\\\\"\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"xxx\\\\\\\\\\\\\\", \\\\\\\\\\\\\\"CommandType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"xxx\\\\\\\\\\\\\\", \\\\\\\\\\\\\\"CommandContent\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"xxx\\\\\\\\\\\\\\"}\\\\\\"\\\\n\\"\\n}","type":"json"}]', + 'title' => 'UpdateArtifact', + ], + 'DeleteAcrImageTags' => [ + 'summary' => '删除Acr容器镜像版本', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'delete', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '160457', + 'abilityTreeNodes' => [ + 'FEATUREcomputenest2G0818', + ], + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'RegionId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'cn-hangzhou', + ], + ], + [ + 'name' => 'RepoId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'crr-3gqhkza0wbxxxxxx', + ], + ], + [ + 'name' => 'Tag', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => '1.0', + ], + ], + [ + 'name' => 'ClientToken', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '788E7CP0EN9D51P', + ], + ], + [ + 'name' => 'ArtifactType', + 'in' => 'query', + 'allowEmptyValue' => true, + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'docRequired' => true, + 'example' => 'AcrImage', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'E73F09DC-6C13-5CB1-A10F-7A4E125ABD2C', + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"E73F09DC-6C13-5CB1-A10F-7A4E125ABD2C\\"\\n}","type":"json"}]', + ], + 'GetArtifact' => [ + 'summary' => 'Queries the information about a deployment package.', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '132197', + 'abilityTreeNodes' => [ + 'FEATUREcomputenest4Y9BYP', + ], + ], + 'parameters' => [ + [ + 'name' => 'ArtifactId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The ID of the deployment package.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'artifact-eea08d1e2d3a43aexxxx', + ], + ], + [ + 'name' => 'ArtifactVersion', + 'in' => 'query', + 'schema' => [ + 'description' => 'The version of the deployment package.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => '1', + ], + ], + [ + 'name' => 'ArtifactName', + 'in' => 'query', + 'schema' => [ + 'description' => 'The name of the deployment package.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'gpu-test', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => 'The request ID.'."\n", + 'type' => 'string', + 'example' => 'B1A0198B-F316-1B72-B8DD-28B6F6D6XXXX', + ], + 'ArtifactId' => [ + 'description' => 'The ID of the deployment package.'."\n", + 'type' => 'string', + 'example' => 'artifact-eea08d1e2d3a43aexxxx', + ], + 'ArtifactType' => [ + 'description' => 'The type of the deployment package.'."\n", + 'type' => 'string', + 'example' => 'EcsImage', + ], + 'Name' => [ + 'description' => 'The name of the deployment package.'."\n", + 'type' => 'string', + 'example' => 'Name', + ], + 'VersionName' => [ + 'description' => 'The version name of the deployment package.'."\n", + 'type' => 'string', + 'example' => 'v1', + ], + 'ArtifactVersion' => [ + 'description' => 'The version of the deployment package.'."\n", + 'type' => 'string', + 'example' => '2', + ], + 'Description' => [ + 'description' => 'The description of the deployment package.'."\n", + 'type' => 'string', + 'example' => 'Description', + ], + 'GmtModified' => [ + 'description' => 'The time when the deployment package was modified.'."\n", + 'type' => 'string', + 'example' => '2022-10-20T02:19:55Z', + ], + 'Status' => [ + 'description' => 'The status of the deployment package. Valid values:'."\n", + 'type' => 'string', + 'example' => 'Available', + ], + 'MaxVersion' => [ + 'description' => 'The latest version of the deployment package.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '2', + ], + 'ArtifactProperty' => [ + 'description' => 'The properties of the deployment package.'."\n", + 'type' => 'string', + 'example' => '{\\"CommodityCode\\":\\"cmjj0005xxxx\\",\\"CommodityVersion\\":\\"V2022xxxx\\"}', + ], + 'SupportRegionIds' => [ + 'description' => 'The ID of the region that supports the deployment package.'."\n", + 'type' => 'string', + 'example' => '["cn-hangzhou","cn-beijing"]', + ], + 'Progress' => [ + 'description' => 'The distribution progress of the deployment package.'."\n", + 'type' => 'string', + 'example' => '100', + ], + 'ResourceGroupId' => [ + 'description' => 'The ID of the resource group.'."\n", + 'type' => 'string', + 'example' => 'rg-aekzkt5buxxxxxx', + ], + 'Tags' => [ + 'description' => 'The tags of the deployment package.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Key' => [ + 'description' => 'The tag key of the deployment package.'."\n", + 'type' => 'string', + 'example' => 'key1', + ], + 'Value' => [ + 'description' => 'The tag value of the deployment package.'."\n", + 'type' => 'string', + 'example' => 'value1', + ], + ], + ], + ], + 'ArtifactBuildProperty' => [ + 'description' => 'The build properties of the artifact, utilized for hosting and building the deployment package.', + 'type' => 'string', + 'example' => '"{\\"RegionId\\":\\"xxx\\", \\"SourceImageId\\":\\"xxx\\", \\"\\":\\"xxx\\", \\"CommandType\\":\\"xxx\\", \\"CommandContent\\":\\"xxx\\"}"', + ], + 'StatusDetail' => [ + 'description' => 'The description of the deployment package.', + 'type' => 'string', + 'example' => '"/usr/local/share/aliyun-assist/work/script/t-hz04zm90y6og0sg.sh: line 1: pip: command not found"', + ], + 'ArtifactBuildType' => [ + 'description' => 'The type of the deployment package to be built.', + 'type' => 'string', + 'example' => 'Dockerfile', + ], + 'PermissionType' => [ + 'type' => 'string', + 'description' => 'Permission fields are applicable to container image artifact and Helm Chart artifact They can only change from Automatic to Public. Options:'."\n" + .'- Public'."\n" + .'- Automatic', + 'example' => 'Public', + ], + ], + 'description' => 'The response parameters.'."\n", + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"E73F09DC-6C13-5CB1-A10F-7A4E125ABD2C\\",\\n \\"ArtifactId\\": \\"artifact-eea08d1e2d3a43ae****\\",\\n \\"ArtifactType\\": \\"EcsImage\\",\\n \\"Name\\": \\"Redhat8_5镜像\\",\\n \\"VersionName\\": \\"v1\\",\\n \\"ArtifactVersion\\": \\"2\\",\\n \\"Description\\": \\"Redhat8_0镜像\\",\\n \\"GmtModified\\": \\"2022-10-20T02:19:55Z\\",\\n \\"Status\\": \\"Available\\",\\n \\"MaxVersion\\": 2,\\n \\"ArtifactProperty\\": \\"{\\\\\\\\\\\\\\"CommodityCode\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"cmjj0005****\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"CommodityVersion\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"V2022****\\\\\\\\\\\\\\"}\\",\\n \\"SupportRegionIds\\": \\"[\\\\\\"cn-hangzhou\\\\\\",\\\\\\"cn-beijing\\\\\\"]\\",\\n \\"Progress\\": \\"100\\",\\n \\"ResourceGroupId\\": \\"rg-acfmzmhzoaa****\\",\\n \\"Tags\\": [\\n {\\n \\"Key\\": \\"key1\\",\\n \\"Value\\": \\"value1\\"\\n }\\n ],\\n \\"ArtifactBuildProperty\\": \\"\\\\\\"{\\\\\\\\\\\\\\"RegionId\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"xxx\\\\\\\\\\\\\\", \\\\\\\\\\\\\\"SourceImageId\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"xxx\\\\\\\\\\\\\\", \\\\\\\\\\\\\\"\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"xxx\\\\\\\\\\\\\\", \\\\\\\\\\\\\\"CommandType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"xxx\\\\\\\\\\\\\\", \\\\\\\\\\\\\\"CommandContent\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"xxx\\\\\\\\\\\\\\"}\\\\\\"\\",\\n \\"StatusDetail\\": \\"\\\\\\"/usr/local/share/aliyun-assist/work/script/t-hz04zm90y6og0sg.sh: line 1: pip: command not found\\\\\\"\\",\\n \\"ArtifactBuildType\\": \\"Dockerfile\\\\n\\",\\n \\"PermissionType\\": \\"Public\\"\\n}","type":"json"}]', + 'title' => 'GetArtifact', + ], + 'ListArtifacts' => [ + 'summary' => 'Queries a list of deployment packages.', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '132194', + 'abilityTreeNodes' => [ + 'FEATUREcomputenest4Y9BYP', + ], + ], + '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', + ], + ], + [ + 'name' => 'NextToken', + 'in' => 'query', + 'schema' => [ + 'description' => 'The pagination token that is used in the next request to retrieve a new page of results. You do not need to specify this parameter for the first request. You must specify the token that is obtained from the previous query as the value of NextToken.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'AAAAAc3HCuYhJi/wvpk4xOr0VLbfVwapgMwCN1wYzPVzLbItEdB0uWSY7AGnM3qCgm/YnjuEfwSnMwiMkcUoI0hRQzE=', + ], + ], + [ + 'name' => 'Filter', + 'in' => 'query', + 'style' => 'repeatList', + 'schema' => [ + 'description' => 'The filter.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The parameter name of the filter. You can specify one or more filters. Valid values:'."\n" + ."\n" + .'* *Name*: The name of the deployment package. Fuzzy match is used.'."\n" + .'* ArtifactId: The ID of the deployment package.'."\n" + .'* ArtifactType: The type of the deployment package.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'ArtifactType', + ], + 'Values' => [ + 'description' => 'The parameter values of the filter.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The parameter value N of the filter. Valid values of N: 1 to 100.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'value1', + ], + 'required' => false, + 'maxItems' => 20, + ], + ], + 'required' => false, + ], + 'required' => false, + 'maxItems' => 100, + ], + ], + [ + 'name' => 'ResourceGroupId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The ID of the resource group.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'rg-aek25yfxxxxxxxx', + ], + ], + [ + 'name' => 'Tag', + 'in' => 'query', + 'style' => 'repeatList', + 'schema' => [ + 'description' => 'The tags.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Key' => [ + 'description' => 'The tag key.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'key1', + ], + 'Value' => [ + 'description' => 'The tag value.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'value1', + ], + ], + 'required' => false, + ], + 'required' => false, + 'maxItems' => 100, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => 'The request ID.'."\n", + 'type' => 'string', + 'example' => '46577928-3162-15A6-9084-69820EB9xxxx', + ], + 'NextToken' => [ + 'description' => 'The returned value of NextToken is a pagination token, which can be used in the next request to retrieve a new page of results.'."\n", + 'type' => 'string', + 'example' => 'AAAAAc3HCuYhJi/wvpk4xOr0VLbfVwapgMwCN1wYzPVzLbItEdB0uWSY7AGnM3qCgm/YnjuEfwSnMwiMkcUoI0hRQzE=', + ], + 'MaxResults' => [ + 'description' => 'The number of entries per page. Valid values: 1 to 100. Default value: 20.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '20', + ], + 'TotalCount' => [ + 'description' => 'The total number of entries returned.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '2', + ], + 'Artifacts' => [ + 'description' => 'The information about deployment packages.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'ArtifactId' => [ + 'description' => 'The ID of the deployment package.'."\n", + 'type' => 'string', + 'example' => 'artifact-eea08d1e2d3a43aexxxx', + ], + 'ArtifactType' => [ + 'description' => 'The type of the deployment package.'."\n", + 'type' => 'string', + 'example' => 'EcsImage', + ], + 'Name' => [ + 'description' => 'The name of the deployment package.'."\n", + 'type' => 'string', + 'example' => 'Name', + ], + 'MaxVersion' => [ + 'description' => 'The latest version of the deployment package.'."\n", + 'type' => 'string', + 'example' => '2', + ], + 'Description' => [ + 'description' => 'The description of the deployment package.'."\n", + 'type' => 'string', + 'example' => 'Description', + ], + 'GmtModified' => [ + 'description' => 'The time when the deployment package was modified.'."\n", + 'type' => 'string', + 'example' => '2022-10-20T02:19:55Z', + ], + 'Status' => [ + 'description' => 'The status of the deployment package. Valid values:'."\n" + ."\n" + .'* Created: The deployment package is created.'."\n" + .'* Scanning: The deployment package is being scanned.'."\n" + .'* ScanFailed: The deployment package failed to be scanned.'."\n" + .'* Delivering: The deployment package is being distributed.'."\n" + .'* Available: The deployment package is available.'."\n" + .'* Deleted: The deployment package is deleted.'."\n", + 'type' => 'string', + 'example' => 'Created', + ], + 'ResourceGroupId' => [ + 'description' => 'The ID of the resource group.'."\n", + 'type' => 'string', + 'example' => 'rg-aek25rexxxxxxxx', + ], + 'Tags' => [ + 'description' => 'The tags.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Key' => [ + 'description' => 'The tag key.'."\n", + 'type' => 'string', + 'example' => 'key1', + ], + 'Value' => [ + 'description' => 'The tag value.'."\n", + 'type' => 'string', + 'example' => 'value1', + ], + ], + ], + ], + 'ArtifactBuildProperty' => [ + 'description' => 'The build properties of the artifact, utilized for hosting and building the deployment package.', + 'type' => 'string', + 'example' => '{\\"CodeRepo\\":{\\"Owner\\":\\"wenle\\",\\"Platform\\":\\"github\\",\\"Branch\\":\\"main\\",\\"RepoName\\":\\"aliyun-computenest/java-springboot-demo\\"}}', + ], + 'PermissionType' => [ + 'type' => 'string', + 'description' => 'Permission fields are applicable to container image artifact and Helm Chart artifact They can only change from Automatic to Public. Options:'."\n" + .'- Public'."\n" + .'- Automatic', + 'example' => 'Public', + ], + ], + ], + ], + ], + 'description' => 'The response parameters'."\n", + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"7B7AE429-B53E-5E73-A5EC-DC91F614F2D9\\",\\n \\"NextToken\\": \\"AAAAAc3HCuYhJi/wvpk4xOr0VLbfVwapgMwCN1wYzPVzLbItEdB0uWSY7AGnM3qCgm/YnjuEfwSnMwiMkcUoI0hR****\\",\\n \\"MaxResults\\": 20,\\n \\"TotalCount\\": 2,\\n \\"Artifacts\\": [\\n {\\n \\"ArtifactId\\": \\"artifact-eea08d1e2d3a43aexxxx\\",\\n \\"ArtifactType\\": \\"EcsImage\\",\\n \\"Name\\": \\"Redhat8_5镜像\\",\\n \\"MaxVersion\\": \\"2\\",\\n \\"Description\\": \\"Redhat8_0镜像\\",\\n \\"GmtModified\\": \\"2022-10-20T02:19:55Z\\",\\n \\"Status\\": \\"Created\\",\\n \\"ResourceGroupId\\": \\"rg-acfmzmhzoaa****\\",\\n \\"Tags\\": [\\n {\\n \\"Key\\": \\"key1\\",\\n \\"Value\\": \\"value1\\"\\n }\\n ],\\n \\"ArtifactBuildProperty\\": \\"{\\\\\\\\\\\\\\"CodeRepo\\\\\\\\\\\\\\":{\\\\\\\\\\\\\\"Owner\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"wenle\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"Platform\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"github\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"Branch\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"main\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"RepoName\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"heroku/node-js-getting-started\\\\\\\\\\\\\\"}}\\",\\n \\"PermissionType\\": \\"Public\\"\\n }\\n ]\\n}","type":"json"}]', + 'title' => 'ListArtifacts', + ], + 'ListArtifactVersions' => [ + 'summary' => 'Queries the version information about a deployment package.', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '132195', + 'abilityTreeNodes' => [ + 'FEATUREcomputenest4Y9BYP', + ], + ], + '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', + ], + ], + [ + 'name' => 'NextToken', + 'in' => 'query', + 'schema' => [ + 'description' => 'The pagination token that is used in the next request to retrieve a new page of results. You do not need to specify this parameter for the first request. You must specify the token that is obtained from the previous query as the value of NextToken.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'AAAAAc3HCuYhJi/wvpk4xOr0VLbfVwapgMwCN1wYzPVzLbItEdB0uWSY7AGnM3qCgm/YnjuEfwSnMwiMkcUoI0hRQzE=', + ], + ], + [ + 'name' => 'ArtifactId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The ID of the deployment package.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'artifact-eea08d1e2d3a43aexxxx', + ], + ], + [ + 'name' => 'Filters', + 'in' => 'query', + 'style' => 'json', + 'schema' => [ + 'description' => 'The filter.', + 'type' => 'array', + 'items' => [ + 'description' => 'The filter.', + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The parameter name of the filter. You can specify one or more filters. Valid values:'."\n" + ."\n" + .'**Status**:The artifact status', + 'type' => 'string', + 'required' => false, + 'example' => 'Status', + ], + 'Values' => [ + 'description' => 'The parameter values of the filter.', + 'type' => 'array', + 'items' => [ + 'description' => 'The parameter value N of the filter. Valid values of N: 1 to 10.', + 'type' => 'string', + 'required' => false, + 'example' => 'Created', + ], + 'required' => false, + ], + ], + 'required' => false, + ], + 'required' => false, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => 'The request ID.'."\n", + 'type' => 'string', + 'example' => '46577928-3162-15A6-9084-69820EB9xxxx', + ], + 'NextToken' => [ + 'description' => 'The returned value of NextToken is a pagination token, which can be used in the next request to retrieve a new page of results.'."\n", + 'type' => 'string', + 'example' => 'AAAAAc3HCuYhJi/wvpk4xOr0VLbfVwapgMwCN1wYzPVzLbItEdB0uWSY7AGnM3qCgm/YnjuEfwSnMwiMkcUoI0hRQzE=', + ], + 'MaxResults' => [ + 'description' => 'The number of entries per page. Valid values: 1 to 100. Default value: 20.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '20', + ], + 'TotalCount' => [ + 'description' => 'The total number of entries returned.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '2', + ], + 'Artifacts' => [ + 'description' => 'The version information about the deployment package.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'ArtifactId' => [ + 'description' => 'The ID of the deployment package.'."\n", + 'type' => 'string', + 'example' => 'artifact-eea08d1e2d3a43aexxxx', + ], + 'ArtifactType' => [ + 'description' => 'The type of the deployment package.'."\n", + 'type' => 'string', + 'example' => 'EcsImage', + ], + 'VersionName' => [ + 'description' => 'The version name of the deployment package.'."\n", + 'type' => 'string', + 'example' => 'v1', + ], + 'ArtifactVersion' => [ + 'description' => 'The version of the deployment package.'."\n", + 'type' => 'string', + 'example' => '2', + ], + 'Status' => [ + 'description' => 'The status of the deployment package. Valid values:'."\n" + ."\n" + .'* Created: The deployment package is created.'."\n" + .'* Scanning: The deployment package is being scanned.'."\n" + .'* ScanFailed: The deployment package failed to be scanned.'."\n" + .'* Delivering: The deployment package is being distributed.'."\n" + .'* Available: The deployment package is available.'."\n" + .'* Deleted: The deployment package is deleted.'."\n", + 'type' => 'string', + 'example' => 'Available', + ], + 'ArtifactProperty' => [ + 'description' => 'The properties of the deployment package.'."\n", + 'type' => 'string', + 'example' => '{\\"CommodityCode\\":\\"cmjj0005xxxx\\",\\"CommodityVersion\\":\\"V2022xxxx\\"}', + ], + 'SupportRegionIds' => [ + 'description' => 'The ID of the region that supports the deployment package.'."\n", + 'type' => 'string', + 'example' => '['."\n" + .' "cn-beijing",'."\n" + .' "cn-hangzhou",'."\n" + .' "cn-shanghai"'."\n" + .' ]', + ], + 'GmtModified' => [ + 'description' => 'The time when the deployment package was modified.'."\n", + 'type' => 'string', + 'example' => '2022-10-20T02:19:55Z', + ], + 'Progress' => [ + 'description' => 'The distribution progress of the deployment package.'."\n", + 'type' => 'string', + 'example' => '100', + ], + 'GmtCreate' => [ + 'description' => 'The time when the certificate was created.'."\n", + 'type' => 'string', + 'example' => '2022-10-20T02:19:53Z', + ], + 'ImageDelivery' => [ + 'description' => 'The distribution result of the image.'."\n", + 'type' => 'object', + 'additionalProperties' => [ + 'type' => 'string', + 'example' => '{'."\n" + .' "cn-beijing":"m-2ze9swf380tsad9wxxxx",'."\n" + .' "cn-shanghai":"m-uf6d2kp5yb3fuq6ixxxx",'."\n" + .' "cn-hangzhou":"m-bp1co0b2dkon58moxxxx"'."\n" + .' }', + 'description' => 'The distribution result of the image.'."\n", + ], + ], + 'SecurityAuditResult' => [ + 'description' => 'The result of the security scan. Valid values:'."\n" + ."\n" + .'* Normal: No risks exist on the deployment package.'."\n" + .'* AtRisk: Risks exist on the deployment package.'."\n" + .'* Processing: The deployment package is being scanned.'."\n", + 'type' => 'string', + 'example' => 'Normal', + ], + 'ResultFile' => [ + 'description' => 'The result file of the security scan.'."\n", + 'type' => 'string', + 'example' => 'https://compute-nest-security-audit-bucket-ap-southeast-1.oss-ap-southeast-1.aliyuncs.com/51416747xxxx/xxxx', + ], + 'StatusDetail' => [ + 'description' => 'The description of the deployment package.', + 'type' => 'string', + 'example' => '"/usr/local/share/aliyun-assist/work/script/t-hz04zm90y6og0sg.sh: line 1: pip: command not found"', + ], + 'ArtifactBuildProperty' => [ + 'description' => 'The build properties of the artifact, utilized for hosting and building the deployment package.', + 'type' => 'string', + 'example' => '"{\\"RegionId\\":\\"xxx\\", \\"SourceImageId\\":\\"xxx\\", \\"\\":\\"xxx\\", \\"CommandType\\":\\"xxx\\", \\"CommandContent\\":\\"xxx\\"}"'."\n", + ], + 'ArtifactBuildType' => [ + 'type' => 'string', + 'description' => 'The type of the deployment package to be built.', + 'example' => 'Dockerfile', + ], + ], + ], + ], + ], + 'description' => '', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"4DB0F536-B3BE-4F0D-BD29-E83FB56D550C\\",\\n \\"NextToken\\": \\"AAAAAc3HCuYhJi/wvpk4xOr0VLbfVwapgMwCN1wYzPVzLbItEdB0uWSY7AGnM3qCgm/YnjuEfwSnMwiMkcUoI0hR****\\",\\n \\"MaxResults\\": 20,\\n \\"TotalCount\\": 2,\\n \\"Artifacts\\": [\\n {\\n \\"ArtifactId\\": \\"artifact-eea08d1e2d3a43ae****\\",\\n \\"ArtifactType\\": \\"EcsImage\\",\\n \\"VersionName\\": \\"v1\\",\\n \\"ArtifactVersion\\": \\"2\\",\\n \\"Status\\": \\"Available\\",\\n \\"ArtifactProperty\\": \\"{\\\\\\\\\\\\\\"CommodityCode\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"cmjj0005****\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"CommodityVersion\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"V2022****\\\\\\\\\\\\\\"}\\",\\n \\"SupportRegionIds\\": \\"[\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\\\\"cn-beijing\\\\\\",\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\\\\"cn-hangzhou\\\\\\",\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\\\\"cn-shanghai\\\\\\"\\\\n\\\\t\\\\t\\\\t\\\\t]\\",\\n \\"GmtModified\\": \\"2022-10-20T02:19:55Z\\",\\n \\"Progress\\": \\"100\\",\\n \\"GmtCreate\\": \\"2022-10-20T02:19:53Z\\",\\n \\"ImageDelivery\\": {\\n \\"key\\": \\"{\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\\\\"cn-beijing\\\\\\":\\\\\\"m-2ze9swf380tsad9w****\\\\\\",\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\\\\"cn-shanghai\\\\\\":\\\\\\"m-uf6d2kp5yb3fuq6i****\\\\\\",\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\\\\"cn-hangzhou\\\\\\":\\\\\\"m-bp1co0b2dkon58mo****\\\\\\"\\\\n\\\\t\\\\t\\\\t\\\\t}\\"\\n },\\n \\"SecurityAuditResult\\": \\"Normal\\",\\n \\"ResultFile\\": \\"仅当安全扫描结果的返回值为AtRisk时才会展示。\\",\\n \\"StatusDetail\\": \\"\\\\\\"/usr/local/share/aliyun-assist/work/script/t-hz04zm90y6og0sg.sh: line 1: pip: command not found\\\\\\"\\",\\n \\"ArtifactBuildProperty\\": \\"\\\\\\"{\\\\\\\\\\\\\\"RegionId\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"xxx\\\\\\\\\\\\\\", \\\\\\\\\\\\\\"SourceImageId\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"xxx\\\\\\\\\\\\\\", \\\\\\\\\\\\\\"\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"xxx\\\\\\\\\\\\\\", \\\\\\\\\\\\\\"CommandType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"xxx\\\\\\\\\\\\\\", \\\\\\\\\\\\\\"CommandContent\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"xxx\\\\\\\\\\\\\\"}\\\\\\"\\",\\n \\"ArtifactBuildType\\": \\"Dockerfile\\"\\n }\\n ]\\n}","type":"json"}]', + 'title' => 'ListArtifactVersions', + ], + 'ReleaseArtifact' => [ + 'summary' => 'Publishes an artifact.', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '132191', + 'abilityTreeNodes' => [ + 'FEATUREcomputenest4Y9BYP', + ], + ], + 'parameters' => [ + [ + 'name' => 'ArtifactId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The ID of the artifact.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'artifact-9feded91880e4c78xxxx', + ], + ], + [ + '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.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => '788E7CP0EN9D51P', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => 'The request ID.'."\n", + 'type' => 'string', + 'example' => '3818BA7D-3F50-1A44-9FF3-04A52A59XXXX', + ], + 'ArtifactId' => [ + 'description' => 'The ID of the artifact.'."\n", + 'type' => 'string', + 'example' => 'artifact-9feded91880e4c78xxxx', + ], + 'ArtifactType' => [ + 'description' => 'The type of the artifact.'."\n", + 'type' => 'string', + 'example' => 'File', + ], + 'VersionName' => [ + 'description' => 'The version name of the artifact.'."\n", + 'type' => 'string', + 'example' => 'V1.0', + ], + 'ArtifactVersion' => [ + 'description' => 'The version of the artifact.'."\n", + 'type' => 'string', + 'example' => 'draft', + ], + 'Description' => [ + 'description' => 'The description of the artifact.'."\n", + 'type' => 'string', + 'example' => 'Description', + ], + 'GmtModified' => [ + 'description' => 'The time when the artifact was modified.'."\n", + 'type' => 'string', + 'example' => '1650954178000', + ], + 'Status' => [ + 'description' => 'The state of the artifact. Valid values:'."\n" + ."\n" + .'* Created: The artifact is created.'."\n" + .'* Scanning: The artifact is being scanned.'."\n" + .'* ScanFailed: The artifact failed to be scanned.'."\n" + .'* Delivering: The artifact is being distributed.'."\n" + .'* Available: The artifact is available.'."\n" + .'* Deleted: The artifact is deleted.'."\n", + 'type' => 'string', + 'example' => 'Created', + ], + 'ArtifactProperty' => [ + 'description' => 'The content of the artifact.'."\n", + 'type' => 'string', + 'example' => '"{\\"Url\\":\\"https://computenest-artifacts-draft-cn-hangzhou.oss-cn-hangzhou.aliyuncs.com/130920852836xxxx/cn-hangzhou/service-8072a04e5a134382xxxx/165095355xxxx/changes.txt\\",\\"ConfigurationMetadata\\":\\"{\\\\\\"WorkDir\\\\\\":\\\\\\"/root\\\\\\",\\\\\\"Platform\\\\\\":\\\\\\"Linux\\\\\\",\\\\\\"CommandType\\\\\\":\\\\\\"RunShellScript\\\\\\",\\\\\\"UpgradeScript\\\\\\":\\\\\\"cd /root\\\\\\\\ncp changes.txt cpchanges.txt\\\\\\\\nmv changes.txt mvchangge.txt\\\\\\"}\\"}"', + ], + ], + 'description' => 'The response parameters.'."\n", + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"86CAC31E-3527-562C-869F-347E931C9B25\\",\\n \\"ArtifactId\\": \\"artifact-9feded91880e4c78****\\",\\n \\"ArtifactType\\": \\"File\\",\\n \\"VersionName\\": \\"Oss关联升级测试\\",\\n \\"ArtifactVersion\\": \\"draft\\",\\n \\"Description\\": \\"Redhat8_0镜像\\",\\n \\"GmtModified\\": \\"1650954178000\\",\\n \\"Status\\": \\"Created\\",\\n \\"ArtifactProperty\\": \\"\\\\\\"{\\\\\\\\\\\\\\"Url\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"https://computenest-artifacts-draft-cn-hangzhou.oss-cn-hangzhou.aliyuncs.com/130920852836xxxx/cn-hangzhou/service-8072a04e5a134382xxxx/165095355xxxx/changes.txt\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"ConfigurationMetadata\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"{\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"WorkDir\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"/root\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"Platform\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"Linux\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"CommandType\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"RunShellScript\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"UpgradeScript\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"cd /root\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ncp changes.txt cpchanges.txt\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nmv changes.txt mvchangge.txt\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"}\\\\\\\\\\\\\\"}\\\\\\"\\"\\n}","type":"json"}]', + 'title' => 'ReleaseArtifact', + ], + 'GetUploadCredentials' => [ + 'summary' => 'Obtain the AccessKey pair of uploaded files.', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'none', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '178074', + 'abilityTreeNodes' => [ + 'FEATUREcomputenest2G0818', + ], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'FileName', + 'in' => 'query', + 'schema' => [ + 'description' => 'The file name to upload.', + 'type' => 'string', + 'required' => true, + 'example' => 'template.yaml', + ], + ], + [ + 'name' => 'Visibility', + 'in' => 'query', + 'schema' => [ + 'description' => 'Specifies whether the file is publicly accessible. Valid values: **public** or **private**. The default value is **private**.', + 'type' => 'string', + 'required' => false, + 'enumValueTitles' => [ + 'private' => 'private', + 'public' => 'public', + ], + 'example' => 'public', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'PlainResult<SupplierUploadCredentialModel>', + 'description' => 'PlainResult'."\n", + 'type' => 'object', + 'properties' => [ + 'Data' => [ + 'description' => 'The response parameters.'."\n", + 'type' => 'object', + 'properties' => [ + 'AccessKeyId' => [ + 'title' => 'ak', + 'description' => 'The AccessKey ID.'."\n", + 'type' => 'string', + 'example' => 'STS.NUCe19W1FKaHAYAhe********', + ], + 'AccessKeySecret' => [ + 'title' => 'sk', + 'description' => 'The AccessKey secret.'."\n", + 'type' => 'string', + 'example' => '8LQGp59mY23pcXeTdcvSA1cUQZBeD92sFrXi********', + ], + 'SecurityToken' => [ + 'title' => '安全token', + 'description' => 'The security token.'."\n", + 'type' => 'string', + 'example' => 'CAISzQN1q6Ft5B2yfSjIr5b2LouNuu5n/KOjQ3/wjGUHYdlagYGdmzz2IH1Le3NrBO8esfgymGFU6v8dlo1dYLQeHhadQI5cs80HtFqLSNaE65LswPlZ2M2ISETPJzfV9pCK', + ], + 'ExpireDate' => [ + 'title' => '过期时间', + 'description' => 'The time when the AccessKey pair expires.'."\n", + 'type' => 'string', + 'example' => '2023-05-18T12:27:59Z', + ], + 'RegionId' => [ + 'title' => '地域', + 'description' => 'The region ID.'."\n", + 'type' => 'string', + 'example' => 'cn-hangzhou', + ], + 'BucketName' => [ + 'title' => '仓库名称', + 'description' => 'The bucket name.'."\n", + 'type' => 'string', + 'example' => 'service-info-private', + ], + 'Key' => [ + 'title' => '文件key', + 'description' => 'The name of the key.'."\n", + 'type' => 'string', + 'example' => '221514575922756034/cn-hangzhou/d57c62fbd508xxxxxxxx.json', + ], + ], + ], + 'Success' => [ + 'description' => 'Indicates whether the request was successful. A value of true indicates the request was successful. A value of false indicates the request failed.'."\n", + 'type' => 'boolean', + 'example' => 'true', + ], + 'Code' => [ + 'description' => 'The response code.'."\n", + 'type' => 'string', + 'example' => '200', + ], + 'Message' => [ + 'description' => 'The message returned.'."\n", + 'type' => 'string', + 'example' => 'Success.', + ], + 'HttpStatusCode' => [ + 'description' => 'The HTTP status code.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'RequestId' => [ + 'description' => 'The request ID.'."\n", + 'type' => 'string', + 'example' => 'FCC3321E-D518-1BC4-861E-588E9D4DAFB7', + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": {\\n \\"AccessKeyId\\": \\"STS.NUCe19W1FKaHAYAhe********\\",\\n \\"AccessKeySecret\\": \\"8LQGp59mY23pcXeTdcvSA1cUQZBeD92sFrXi********\\",\\n \\"SecurityToken\\": \\"CAISzQN1q6Ft5B2yfSjIr5b2LouNuu5n/KOjQ3/wjGUHYdlagYGdmzz2IH1Le3NrBO8esfgymGFU6v8dlo1dYLQeHhadQI5cs80HtFqLSNaE65LswPlZ2M2ISETPJzfV9pCK\\",\\n \\"ExpireDate\\": \\"2023-05-18T12:27:59Z\\",\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"BucketName\\": \\"service-info-private\\",\\n \\"Key\\": \\"221514575922756034/cn-hangzhou/d57c62fbd508xxxxxxxx.json\\"\\n },\\n \\"Success\\": true,\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"Success.\\",\\n \\"HttpStatusCode\\": 200,\\n \\"RequestId\\": \\"FCC3321E-D518-1BC4-861E-588E9D4DAFB7\\"\\n}","type":"json"}]', + 'title' => 'GetUploadCredentials', + ], + 'GetArtifactRepositoryCredentials' => [ + 'summary' => 'Queries the credentials that are required to upload a deployment package.', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'none', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREcomputenest4Y9BYP', + ], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'ArtifactType', + 'in' => 'query', + 'schema' => [ + 'description' => 'The type of the deployment package. Valid values:'."\n" + ."\n" + .'* File: Object Storage Service (OSS) object.'."\n" + .'* AcrImage: container image.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'File', + ], + ], + [ + 'name' => 'DeployRegionId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The region ID.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'cn-hangzhou', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'description' => 'The response parameters.'."\n", + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => 'The request ID.'."\n", + 'type' => 'string', + 'example' => '94E89857-B994-44B6-9C4F-DBD200E9XXXX', + ], + 'ExpireDate' => [ + 'description' => 'The time when the credentials expired.'."\n", + 'type' => 'string', + 'example' => '1526549792000', + ], + 'Credentials' => [ + 'description' => 'The credentials.'."\n", + 'type' => 'object', + 'properties' => [ + 'Username' => [ + 'description' => 'The username.'."\n", + 'type' => 'string', + 'example' => 'xxx', + ], + 'Password' => [ + 'description' => 'The password.'."\n", + 'type' => 'string', + 'example' => 'eyJ0aW1lIjoiMTUyNjU0OTc5:0705733****', + ], + 'AccessKeyId' => [ + 'description' => 'The AccessKey ID.'."\n", + 'type' => 'string', + 'example' => 'STS.xxx', + ], + 'AccessKeySecret' => [ + 'description' => 'The AccessKey secret.'."\n", + 'type' => 'string', + 'example' => 'xxx', + ], + 'SecurityToken' => [ + 'description' => 'The Security Token Service (STS) token.'."\n", + 'type' => 'string', + 'example' => 'xxx', + ], + ], + ], + 'AvailableResources' => [ + 'description' => 'The information about the resources that can be uploaded.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'RegionId' => [ + 'description' => 'The region ID.'."\n", + 'type' => 'string', + 'example' => 'oss-cn-hangzhou', + ], + 'RepositoryName' => [ + 'description' => 'The repository name.'."\n", + 'type' => 'string', + 'example' => 'computenest-artifacts-draft-cn-hangzhou', + ], + 'Path' => [ + 'description' => 'The path.'."\n", + 'type' => 'string', + 'example' => '"/xxx/"', + ], + ], + ], + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"94E89857-B994-44B6-9C4F-DBD200E9XXXX\\",\\n \\"ExpireDate\\": \\"1526549792000\\",\\n \\"Credentials\\": {\\n \\"Username\\": \\"xxx\\",\\n \\"Password\\": \\"eyJ0aW1lIjoiMTUyNjU0OTc5:0705733****\\",\\n \\"AccessKeyId\\": \\"STS.xxx\\",\\n \\"AccessKeySecret\\": \\"xxx\\",\\n \\"SecurityToken\\": \\"xxx\\"\\n },\\n \\"AvailableResources\\": [\\n {\\n \\"RegionId\\": \\"oss-cn-hangzhou\\",\\n \\"RepositoryName\\": \\"computenest-artifacts-draft-cn-hangzhou\\",\\n \\"Path\\": \\"\\\\\\"/xxx/\\\\\\"\\"\\n }\\n ]\\n}","type":"json"}]', + 'title' => 'GetArtifactRepositoryCredentials', + ], + 'ListAcrImageTags' => [ + 'summary' => 'Queries the versions of images that are uploaded to the image repository.', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREcomputenest4Y9BYP', + ], + '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', + ], + ], + [ + 'name' => 'NextToken', + 'in' => 'query', + 'schema' => [ + 'description' => 'The pagination token that is used in the next request to retrieve a new page of results.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'AAAAAW8kZY+u1sYOaYf5JmgmDQQ=', + ], + ], + [ + 'name' => 'RepoId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The image ID.'."\n", + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'crr-3gqhkza0wbxxxxxx', + ], + ], + [ + 'name' => 'ArtifactType', + 'in' => 'query', + 'schema' => [ + 'description' => 'The type of the deployment package. Default value: AcrImage. Valid values:'."\n" + ."\n" + .'* HelmChart: Helm chart image.'."\n" + .'* AcrImage: container image.'."\n", + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'AcrImage', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => 'The request ID.'."\n", + 'type' => 'string', + 'example' => 'FEF343B9-1A15-5789-BE88-7B36190F5BF6', + ], + 'NextToken' => [ + 'description' => 'The pagination token that is used in the next request to retrieve a new page of results.'."\n", + 'type' => 'string', + 'example' => 'ey14..', + ], + 'MaxResults' => [ + 'description' => 'The number of entries per page. Valid values: 1 to 100. Default value: 20.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '20', + ], + 'TotalCount' => [ + 'description' => 'The total number of entries returned.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + 'Images' => [ + 'description' => 'The list of images.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Tag' => [ + 'description' => 'The image version.'."\n", + 'type' => 'string', + 'example' => '5.7.2', + ], + 'ImageSize' => [ + 'description' => 'The image size. Unit: bytes.'."\n", + 'type' => 'string', + 'example' => '188394616', + ], + 'CreateTime' => [ + 'description' => 'The time when the image was created.'."\n", + 'type' => 'string', + 'example' => '2021-05-20T00:00:00Z', + ], + 'ModifiedTime' => [ + 'description' => 'The time when the image was modified.'."\n", + 'type' => 'string', + 'example' => '2021-05-20T00:00:00Z', + ], + ], + ], + ], + ], + 'description' => '', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"FEF343B9-1A15-5789-BE88-7B36190F5BF6\\",\\n \\"NextToken\\": \\"ey14..\\",\\n \\"MaxResults\\": 20,\\n \\"TotalCount\\": 1,\\n \\"Images\\": [\\n {\\n \\"Tag\\": \\"5.7.2\\",\\n \\"ImageSize\\": \\"188394616\\",\\n \\"CreateTime\\": \\"2021-05-20T00:00:00Z\\",\\n \\"ModifiedTime\\": \\"2021-05-20T00:00:00Z\\"\\n }\\n ]\\n}","type":"json"}]', + 'title' => 'ListAcrImageTags', + ], + 'ListAcrImageRepositories' => [ + 'summary' => 'Queries a list of images uploaded to Container Registry.', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '159574', + 'abilityTreeNodes' => [ + 'FEATUREcomputenest4Y9BYP', + ], + 'tenantRelevance' => 'publicInformation', + ], + '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', + ], + ], + [ + 'name' => 'NextToken', + 'in' => 'query', + 'schema' => [ + 'description' => 'The pagination token that is used in the next request to retrieve a new page of results.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'AAAAAWns8w4MmhzeptXVRG0PUEU=', + ], + ], + [ + 'name' => 'RepoName', + 'in' => 'query', + 'schema' => [ + 'description' => 'The name of the image repository.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'wordpress', + ], + ], + [ + 'name' => 'ArtifactType', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '部署物类型,用于区分docker和chart', + 'description' => 'The type of the artifact. Default value: AcrImage. Valid values:'."\n" + ."\n" + .'* HelmChart: Helm chart image.'."\n" + .'* AcrImage: container image.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'AcrImage', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => 'The request ID.'."\n", + 'type' => 'string', + 'example' => 'C4A145D8-6F6C-532A-9001-9730CDA27578', + ], + 'NextToken' => [ + 'description' => 'A pagination token.'."\n", + 'type' => 'string', + 'example' => 'AAAAAfu+XtuBE55iRLHEYYuojI4=', + ], + 'MaxResults' => [ + 'description' => 'The number of entries per page. Valid values: 1 to 100. Default value: 20.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '20', + ], + 'TotalCount' => [ + 'description' => 'The total number of entries returned.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '4', + ], + 'Repositories' => [ + 'description' => 'The images.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'RepoId' => [ + 'description' => 'The image repo ID.', + 'type' => 'string', + 'example' => 'crr-3gqhkza0wbxxxxxx', + ], + 'RepoName' => [ + 'description' => 'The image repo name.', + 'type' => 'string', + 'example' => 'wordpress', + ], + 'RepoType' => [ + 'description' => 'The type of the repository. Valid values:'."\n" + ."\n" + .'* `Private`: a private repository'."\n" + .'* `Public`: a public repository', + 'type' => 'string', + 'example' => 'Private', + ], + 'CreateTime' => [ + 'description' => 'The time when the image was created.'."\n", + 'type' => 'string', + 'example' => '2021-05-20T00:00:00Z', + ], + 'ModifiedTime' => [ + 'description' => 'The time when the image was modified.'."\n", + 'type' => 'string', + 'example' => '2021-05-20T00:00:00Z', + ], + 'Namespace' => [ + 'type' => 'string', + 'description' => 'The namespace of the repository', + 'example' => 'computenest', + ], + ], + ], + ], + ], + 'description' => '', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"C4A145D8-6F6C-532A-9001-9730CDA27578\\",\\n \\"NextToken\\": \\"AAAAAfu+XtuBE55iRLHEYYuojI4=\\",\\n \\"MaxResults\\": 20,\\n \\"TotalCount\\": 4,\\n \\"Repositories\\": [\\n {\\n \\"RepoId\\": \\"crr-3gqhkza0wbxxxxxx\\",\\n \\"RepoName\\": \\"wordpress\\",\\n \\"RepoType\\": \\"Public\\",\\n \\"CreateTime\\": \\"2021-05-20T00:00:00Z\\",\\n \\"ModifiedTime\\": \\"2021-05-20T00:00:00Z\\",\\n \\"Namespace\\": \\"computenest\\"\\n }\\n ]\\n}","type":"json"}]', + 'title' => 'ListAcrImageRepositories', + ], + 'CreateServiceUsage' => [ + 'summary' => 'Create Service resell application.', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '194790', + 'abilityTreeNodes' => [ + 'FEATUREcomputenest18JMDW', + ], + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'ServiceId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The service ID.'."\n", + 'example' => 'service-c2d118c9193e49xxxxxx', + 'required' => true, + 'type' => 'string', + ], + ], + [ + '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", + 'example' => 'mRdxWuW2ts', + 'required' => false, + 'type' => 'string', + ], + ], + [ + 'name' => 'RegionId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The region ID.', + 'example' => 'cn-hangzhou', + 'required' => false, + 'type' => 'string', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'description' => 'Schema of Response', + 'properties' => [ + 'RequestId' => [ + 'description' => 'Id of the request', + 'example' => 'E73F09DC-6C13-5CB1-A10F-7A4E125ABD2C', + 'title' => 'Id of the request', + 'type' => 'string', + ], + ], + 'title' => 'Schema of Response', + 'type' => 'object', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"E73F09DC-6C13-5CB1-A10F-7A4E125ABD2C\\"\\n}","type":"json"}]', + 'title' => 'null', + ], + 'RejectServiceUsage' => [ + 'summary' => 'Reject service usage.', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '138376', + 'abilityTreeNodes' => [ + 'FEATUREcomputenest2G0818', + ], + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'ServiceId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The service ID.'."\n", + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'service-2117508c874c41xxxxxx', + ], + ], + [ + 'name' => 'UserAliUid', + 'in' => 'query', + 'schema' => [ + 'description' => 'User ali uid.', + 'type' => 'integer', + 'format' => 'int64', + 'required' => true, + 'example' => '1563457855xxxxxx', + ], + ], + [ + 'name' => 'Comments', + 'in' => 'query', + 'schema' => [ + 'description' => 'Reject comments.', + 'type' => 'string', + 'required' => false, + 'example' => 'Thanks for your application, please add your industry information.', + ], + ], + [ + 'name' => 'ClientToken', + 'in' => 'query', + 'schema' => [ + 'description' => 'The client token that is used to ensure the idempotence of the request. You can use the client to generate the token, but you must make sure that the token is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => '10CM943JP0EN9D51H', + ], + ], + [ + 'name' => 'Type', + 'in' => 'query', + 'schema' => [ + 'description' => 'The share type of the service. Default value: SharedAccount. Valid values:'."\n" + ."\n" + .'* SharedAccount: The service is shared by multiple accounts.'."\n" + .'* Reseller: The service is distributed.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'enumValueTitles' => [ + 'Reseller' => 'Reseller', + 'SharedAccount' => 'SharedAccount', + ], + 'example' => 'SharedAccount', + ], + ], + [ + 'name' => 'RegionId', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => 'The request ID.'."\n", + 'type' => 'string', + 'example' => '4DB0F536-B3BE-4F0D-BD29-E83FB56D550C', + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"4DB0F536-B3BE-4F0D-BD29-E83FB56D550C\\"\\n}","type":"json"}]', + 'title' => 'RejectServiceUsage', + ], + 'ApproveServiceUsage' => [ + 'summary' => 'Merchant uses service request', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '137563', + 'abilityTreeNodes' => [ + 'FEATUREcomputenest2G0818', + ], + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'ServiceId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The service ID.'."\n", + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'service-39f4f251e94843xxxxxx', + ], + ], + [ + 'name' => 'UserAliUid', + 'in' => 'query', + 'schema' => [ + 'description' => 'User ali uid.', + 'type' => 'integer', + 'format' => 'int64', + 'required' => true, + 'example' => '127383705958xxxx', + ], + ], + [ + 'name' => 'Comments', + 'in' => 'query', + 'schema' => [ + 'description' => 'Approval comments.', + 'type' => 'string', + 'required' => false, + 'example' => 'Welcome to TuGraph. Your application has been approved. Should you have any questions, please feel free to email us at [email protected] or call our contact number 400-903-0809. Contact person: Yuansu.', + ], + ], + [ + 'name' => 'ClientToken', + 'in' => 'query', + 'schema' => [ + 'description' => 'The client token that is used to ensure the idempotence of the request. You can use the client to generate the token, but you must make sure that the token is unique among different requests. The token can contain only ASCII characters.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => '10CM943JP0EN9D51H', + ], + ], + [ + 'name' => 'Type', + 'in' => 'query', + 'schema' => [ + 'description' => 'ServiceSharedAccountType,', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'enumValueTitles' => [ + 'Reseller' => 'Reseller', + 'SharedAccount' => 'SharedAccount', + ], + 'example' => 'SharedAccount', + ], + ], + [ + 'name' => 'RegionId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The region ID.', + 'type' => 'string', + 'required' => false, + 'example' => 'cn-hangzhou', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => 'The request ID.'."\n", + 'type' => 'string', + 'example' => '4DB0F536-B3BE-4F0D-BD29-E83FB56D550C', + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"4DB0F536-B3BE-4F0D-BD29-E83FB56D550C\\"\\n}","type":"json"}]', + 'title' => 'ApproveServiceUsage', + 'translator' => 'machine', + ], + 'ListServiceUsages' => [ + 'summary' => 'Queries the applications for using a service.', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREcomputenest18JMDW', + ], + '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', + ], + ], + [ + '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', + 'in' => 'query', + 'style' => 'repeatList', + 'schema' => [ + 'description' => 'The filter.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => '', + '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 value N of the filter. Valid values of N: 1 to 10.'."\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, + ], + ], + [ + 'name' => 'SupplierRole', + 'in' => 'query', + 'schema' => [ + 'description' => 'The role of the service provider.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'Supplier', + ], + ], + [ + 'name' => 'RegionId', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'The schema of the response.'."\n", + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => 'The request ID.'."\n", + 'type' => 'string', + 'example' => '18AD0960-A9FE-1AC8-ADF8-22131Fxxxxxx', + ], + 'NextToken' => [ + 'title' => 'NextToken', + 'description' => 'The returned value of NextToken is a pagination token, which can be used in the next request to retrieve a new page of results.'."\n", + 'type' => 'string', + 'example' => 'AAAAAYChudnQUoBH+mGWFpb6oP0=', + ], + 'MaxResults' => [ + 'description' => 'The number of entries per page. Valid values: 1 to 100. Default value: 20.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '20', + ], + 'TotalCount' => [ + 'description' => 'The total number of entries returned.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + 'ServiceUsages' => [ + 'description' => 'The service applications.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'UserAliUid' => [ + 'description' => 'The ID of the Alibaba Cloud account.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '127383705958xxxx', + ], + 'ServiceId' => [ + 'description' => 'The service ID.'."\n", + 'type' => 'string', + 'example' => 'service-c9f36ec6d19b4exxxxxx', + ], + 'ServiceName' => [ + 'description' => 'The service name.'."\n", + 'type' => 'string', + 'example' => 'ServiceTest', + ], + 'SupplierName' => [ + 'description' => 'The name of the service provider.'."\n", + 'type' => 'string', + 'example' => 'SupplierAAA', + ], + 'Status' => [ + 'description' => 'The status of the service application. Valid values:'."\n" + ."\n" + .'* Submitted: The application is submitted or is to be approved.'."\n" + .'* Approved: The application is approved.'."\n" + .'* Rejected: The application is rejected.'."\n" + .'* Canceled: The application is canceled.'."\n", + 'type' => 'string', + 'example' => 'Submitted', + ], + 'Comments' => [ + 'description' => 'The comment on the approval.'."\n", + 'type' => 'string', + 'example' => 'Reject', + ], + 'CreateTime' => [ + 'description' => 'The time when the application was created.'."\n", + 'type' => 'string', + 'example' => '2022-05-25T02:02:02Z', + ], + 'UpdateTime' => [ + 'description' => 'The time when the application was updated.'."\n", + 'type' => 'string', + 'example' => '2022-05-25T02:02:02Z', + ], + 'UserInformation' => [ + 'description' => 'The user information.'."\n", + 'type' => 'object', + 'additionalProperties' => [ + 'type' => 'string', + 'example' => '"Name": "123123",'."\n" + .' "Telephone": "18xxxxxxxx3",'."\n" + .' "EmailAddress": "[email protected]",'."\n" + .' "Company": "dsf",'."\n" + .' "Title": "",'."\n" + .' "Industry": "",'."\n" + .' "CustomConfig1": "xxx",'."\n" + .' "CustomConfig2": "ooo"', + 'description' => 'The user information.', + ], + ], + ], + ], + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"18AD0960-A9FE-1AC8-ADF8-22131Fxxxxxx\\",\\n \\"NextToken\\": \\"AAAAAYChudnQUoBH+mGWFpb6oP0=\\",\\n \\"MaxResults\\": 20,\\n \\"TotalCount\\": 1,\\n \\"ServiceUsages\\": [\\n {\\n \\"UserAliUid\\": 0,\\n \\"ServiceId\\": \\"service-c9f36ec6d19b4exxxxxx\\",\\n \\"ServiceName\\": \\"部署链接权限申请\\",\\n \\"SupplierName\\": \\"验收测试\\",\\n \\"Status\\": \\"Submitted\\",\\n \\"Comments\\": \\"审核通过。\\",\\n \\"CreateTime\\": \\"2022-05-25T02:02:02Z\\",\\n \\"UpdateTime\\": \\"2022-05-25T02:02:02Z\\",\\n \\"UserInformation\\": {\\n \\"key\\": \\"\\\\\\"Name\\\\\\": \\\\\\"123123\\\\\\",\\\\n \\\\t\\\\\\"Telephone\\\\\\": \\\\\\"18xxxxxxxx3\\\\\\",\\\\n \\\\t\\\\\\"EmailAddress\\\\\\": \\\\\\"[email protected]\\\\\\",\\\\n \\\\t\\\\\\"Company\\\\\\": \\\\\\"dsf\\\\\\",\\\\n \\\\t\\\\\\"Title\\\\\\": \\\\\\"\\\\\\",\\\\n \\\\t\\\\\\"Industry\\\\\\": \\\\\\"\\\\\\",\\\\n \\\\t\\\\\\"CustomConfig1\\\\\\": \\\\\\"xxx\\\\\\",\\\\n \\\\t\\\\\\"CustomConfig2\\\\\\": \\\\\\"ooo\\\\\\"\\"\\n }\\n }\\n ]\\n}","type":"json"}]', + 'title' => 'ListServiceUsages', + ], + 'AddServiceSharedAccounts' => [ + 'summary' => 'Adds a shared account of a service.', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '116171', + 'abilityTreeNodes' => [ + 'FEATUREcomputenest2G0818', + ], + 'autoTest' => true, + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'RegionId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The region ID.'."\n", + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'cn-hangzhou', + ], + ], + [ + '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' => 'BBBAAfu+XtuBE55iRLHEYYuojI4=', + ], + ], + [ + 'name' => 'SharedAccounts', + 'in' => 'query', + 'style' => 'repeatList', + 'schema' => [ + 'description' => 'The shared account and permissions of the service.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'UserAliUid' => [ + 'description' => 'The Alibaba Cloud account ID of the user.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => '123456', + ], + 'Permission' => [ + 'description' => 'The permissions on the service. Valid values:'."\n" + ."\n" + .'* Deployable: Permissions to deploy the service.'."\n" + .'* Accessible: Permissions to access the service.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => ' Accessible', + ], + ], + 'required' => false, + ], + 'required' => true, + 'maxItems' => 100, + ], + ], + [ + 'name' => 'ServiceId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The service ID.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'service-63b8a060e9d54cxxxxxx', + ], + ], + [ + 'name' => 'Type', + 'in' => 'query', + 'schema' => [ + 'description' => 'The share type of the service. Default value: SharedAccount. Valid values:'."\n" + ."\n" + .'* SharedAccount: The service is shared by multiple accounts.'."\n" + .'* Reseller: The service is distributed.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'SharedAccount', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => 'The request ID.'."\n", + 'type' => 'string', + 'example' => 'E2815213-EA4F-5759-8EA1-56DD051BB3FD', + ], + ], + 'description' => '', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"E2815213-EA4F-5759-8EA1-56DD051BB3FD\\"\\n}","type":"json"}]', + 'title' => 'AddServiceSharedAccounts', + ], + 'RemoveServiceSharedAccounts' => [ + 'summary' => 'Remove service shared account.', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'delete', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '116172', + 'abilityTreeNodes' => [ + 'FEATUREcomputenestJ4D829', + ], + 'autoTest' => true, + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'RegionId', + 'in' => 'query', + 'schema' => [ + 'description' => '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, + 'docRequired' => true, + 'example' => 'service-0e6fca6a51a54420****', + ], + ], + [ + '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.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => '10CM943JP0EN9D51H', + ], + ], + [ + 'name' => 'UserAliUids', + 'in' => 'query', + 'style' => 'repeatList', + 'schema' => [ + 'description' => 'Whitelist accounts for service sharing.', + 'type' => 'array', + 'items' => [ + 'description' => 'Whitelist accounts for service sharing.', + 'type' => 'integer', + 'format' => 'int64', + 'required' => true, + 'example' => '111234445', + ], + 'required' => true, + 'maxItems' => 100, + ], + ], + [ + 'name' => 'Type', + 'in' => 'query', + 'schema' => [ + 'description' => 'The share type of the service. Default value: SharedAccount. Valid values:'."\n" + ."\n" + .'* SharedAccount: The service is shared by multiple accounts.'."\n" + .'* Reseller: The service is distributed.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'SharedAccount', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => 'The request ID.'."\n", + 'type' => 'string', + 'example' => '4DB0F536-B3BE-4F0D-BD29-E83FB56D550C', + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"4DB0F536-B3BE-4F0D-BD29-E83FB56D550C\\"\\n}","type":"json"}]', + 'title' => 'RemoveServiceSharedAccounts', + 'translator' => 'machine', + ], + 'ListServiceSharedAccounts' => [ + 'summary' => '调用ListServiceSharedAccounts查看服务共享账号列表。', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '116170', + 'abilityTreeNodes' => [ + 'FEATUREcomputenestP881UH', + ], + 'autoTest' => true, + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'RegionId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The region ID where the service instance resides.', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'cn-hangzhou', + ], + ], + [ + 'name' => 'MaxResults', + 'in' => 'query', + 'schema' => [ + 'description' => 'The number of entries per page. Valid values: 1 to 100. Default value: 20.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '20', + ], + ], + [ + 'name' => 'NextToken', + 'in' => 'query', + 'schema' => [ + 'description' => 'The pagination token that is used in the next request to retrieve a new page of results. You do not need to specify this parameter for the first request. You must specify the token that is obtained from the previous query as the value of NextToken.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'AAAAAR130adlM4fHHVSWpTca/t4=', + ], + ], + [ + 'name' => 'Filter', + 'in' => 'query', + 'style' => 'repeatList', + 'schema' => [ + 'description' => 'The filters.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The filters.'."\n", + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => 'The parameter value N of the filter. Valid values of N: 1 to 10.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The parameter value N of the filter. Valid values of N: 1 to 10.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'value1', + ], + 'required' => false, + 'maxItems' => 20, + ], + 'Name' => [ + 'description' => 'The parameter name of the filter. You can specify one or more parameter names to query services. Valid values:'."\n" + ."\n" + .'* Name: the name of the service.', + 'type' => 'string', + 'required' => false, + 'example' => 'UserAliUid', + ], + ], + 'required' => false, + ], + 'required' => false, + 'maxItems' => 100, + ], + ], + [ + 'name' => 'ServiceId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The service ID.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'service-e10349089de34exxxxxx', + ], + ], + [ + 'name' => 'Permission', + 'in' => 'query', + 'schema' => [ + 'description' => 'The permissions on the service. Valid values:'."\n" + ."\n" + .'* Deployable: Permissions to deploy the service.'."\n" + .'* Accessible: Permissions to access the service.'."\n", + 'type' => 'string', + 'required' => false, + 'enumValueTitles' => [ + 'Deployable' => 'Deployable', + 'Accessible' => 'Accessible', + ], + 'example' => 'Accessible', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'NextToken' => [ + 'description' => 'A pagination token.'."\n", + 'type' => 'string', + 'example' => 'AAAAAWns8w4MmhzeptXVRG0PUEU=', + ], + 'RequestId' => [ + 'description' => 'The request ID.'."\n", + 'type' => 'string', + 'example' => 'CA3AE512-6D30-549A-B52D-B9042CA8D515', + ], + 'TotalCount' => [ + 'description' => 'The total number of entries returned.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + 'MaxResults' => [ + 'description' => 'The number of entries per page. Valid values: 1 to 100. Default value: 20.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '20', + ], + 'ShareAccount' => [ + 'description' => 'Service shared account information.', + 'type' => 'array', + 'items' => [ + 'description' => 'Service shared account information.', + 'type' => 'object', + 'properties' => [ + 'ServiceId' => [ + 'description' => 'The service ID.'."\n", + 'type' => 'string', + 'example' => 'service-e10349089de34exxxxxx', + ], + 'CreateTime' => [ + 'description' => 'The time when the service was created.'."\n", + 'type' => 'string', + 'example' => '2021-12-28T02:47:46.000', + ], + 'UpdateTime' => [ + 'description' => 'The time when the service was updated.'."\n", + 'type' => 'string', + 'example' => '2023-02-13T02:16:03.756Z', + ], + 'UserAliUid' => [ + 'description' => 'The user aliUid.', + 'type' => 'string', + 'example' => '127383705xxxxxx', + ], + 'Permission' => [ + 'description' => 'The permissions on the service. Valid values:'."\n" + ."\n" + .'* Deployable: Permissions to deploy the service.'."\n" + .'* Accessible: Permissions to access the service.'."\n", + 'type' => 'string', + 'example' => 'Deployable', + ], + 'Name' => [ + 'description' => 'The name of the service instance. The value must meet the following requirements:'."\n" + ."\n" + .'* The name cannot exceed 64 characters in length.'."\n" + .'* It can contain digits, letters, hyphens (-), and underscores (\\_). It must start with a digit or a letter.'."\n", + 'type' => 'string', + 'example' => 'name', + ], + 'Logo' => [ + 'description' => 'Service logo.', + 'type' => 'string', + 'example' => 'logo', + ], + ], + ], + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"NextToken\\": \\"AAAAAWns8w4MmhzeptXVRG0PUEU=\\",\\n \\"RequestId\\": \\"CA3AE512-6D30-549A-B52D-B9042CA8D515\\",\\n \\"TotalCount\\": 1,\\n \\"MaxResults\\": 20,\\n \\"ShareAccount\\": [\\n {\\n \\"ServiceId\\": \\"service-e10349089de34exxxxxx\\",\\n \\"CreateTime\\": \\"2021-12-28T02:47:46.000\\",\\n \\"UpdateTime\\": \\"2023-02-13T02:16:03.756Z\\",\\n \\"UserAliUid\\": \\"127383705xxxxxx\\",\\n \\"Permission\\": \\"Deployable\\",\\n \\"Name\\": \\"name\\",\\n \\"Logo\\": \\"logo\\"\\n }\\n ]\\n}","type":"json"}]', + 'title' => 'ListServiceSharedAccounts', + 'translator' => 'machine', + ], + 'UpdateSharedAccountPermission' => [ + 'summary' => 'Update Service Sharing Permissions', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '116173', + 'abilityTreeNodes' => [ + 'FEATUREcomputenestQKB5Y7', + ], + 'autoTest' => true, + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'RegionId', + 'in' => 'query', + 'schema' => [ + 'description' => 'Region ID.', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'cn-hangzhou', + ], + ], + [ + 'name' => 'ClientToken', + 'in' => 'query', + 'schema' => [ + 'description' => 'Client token, used to ensure the idempotence of requests. Generate a unique value for this parameter from your client to ensure it is unique across different requests. ClientToken supports only ASCII characters.', + 'type' => 'string', + 'required' => false, + 'example' => '10CM943JP0EN9D51H', + ], + ], + [ + 'name' => 'ServiceId', + 'in' => 'query', + 'schema' => [ + 'description' => 'Service ID.', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'service-0d6e1d846e4c4axxxxxx', + ], + ], + [ + 'name' => 'UserAliUid', + 'in' => 'query', + 'schema' => [ + 'description' => 'Whitelist account for service sharing.', + 'type' => 'integer', + 'format' => 'int64', + 'required' => true, + 'minimum' => '0', + 'example' => '1563457855xxxxxx', + ], + ], + [ + 'name' => 'Permission', + 'in' => 'query', + 'schema' => [ + 'description' => 'Permission type. Possible values:'."\n" + .'- Deployable: Can be deployed.'."\n" + .'- Accessible: Can be accessed.'."\n" + .'- AccessibleIncludeBeta: Can access all versions, including Beta versions.'."\n" + .'- DeployableIncludeBeta: Can deploy all versions, including Beta versions.'."\n" + .'- Authorized: Authorized (for reselling scenarios)'."\n" + .'- Unauthorized: Unauthorized (for reselling scenarios)', + 'type' => 'string', + 'required' => true, + 'example' => 'Deployable', + ], + ], + [ + 'name' => 'Type', + 'in' => 'query', + 'schema' => [ + 'description' => 'Service sharing type, with a default value of SharedAccount. Available options:'."\n" + ."\n" + .'- SharedAccount: Regular sharing type.'."\n" + ."\n" + .'- Reseller: Reselling sharing type.', + 'type' => 'string', + 'required' => false, + 'example' => 'SharedAccount', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => 'RequestId', + 'type' => 'string', + 'example' => 'C68B41B4-A646-5680-8A33-67884E3823A8', + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"C68B41B4-A646-5680-8A33-67884E3823A8\\"\\n}","type":"json"}]', + 'title' => 'Update Shared Account Permissions', + 'translator' => 'machine', + ], + 'ListTagResources' => [ + 'summary' => 'Query resource tags', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '145736', + 'abilityTreeNodes' => [ + 'FEATUREcomputenest18JMDW', + ], + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'RegionId', + 'in' => 'query', + 'schema' => [ + 'description' => 'Region ID.', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'cn-hangzhou', + ], + ], + [ + 'name' => 'NextToken', + 'in' => 'query', + 'schema' => [ + 'description' => 'The pagination token that is used in the next request to retrieve a new page of results.', + 'type' => 'string', + 'required' => false, + 'example' => 'AAAAAfu+XtuBE55iRLHEYYuojI4=', + ], + ], + [ + 'name' => 'ResourceType', + 'in' => 'query', + 'schema' => [ + 'description' => 'The resource type. Valid value:'."\n" + .'- service'."\n" + .'- serviceinstance'."\n" + .'- artifact', + 'type' => 'string', + 'required' => true, + 'example' => 'service', + ], + ], + [ + 'name' => 'Tag', + 'in' => 'query', + 'style' => 'repeatList', + 'schema' => [ + 'description' => 'The tags.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The tags.'."\n", + 'type' => 'object', + 'properties' => [ + 'Key' => [ + 'description' => 'The tag key.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'Usage', + ], + 'Value' => [ + 'description' => 'The tag value.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'test', + ], + ], + 'required' => false, + ], + 'required' => false, + 'maxItems' => 20, + 'minItems' => 1, + ], + ], + [ + 'name' => 'ResourceId', + 'in' => 'query', + 'style' => 'repeatList', + 'schema' => [ + 'description' => 'The resource IDs. You can specify at most 50 resource IDs in each call.', + 'type' => 'array', + 'items' => [ + 'description' => 'The resource IDs. You can specify at most 50 resource IDs in each call.', + 'type' => 'string', + 'required' => false, + 'example' => 'service-xxx', + ], + 'required' => false, + 'maxItems' => 50, + 'minItems' => 1, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'NextToken' => [ + 'description' => 'The pagination token that is used in the next request to retrieve a new page of results.'."\n", + 'type' => 'string', + 'example' => 'AAAAAfu+XtuBE55iRLHEYYuojI4=', + ], + 'RequestId' => [ + 'description' => 'The request ID.'."\n", + 'type' => 'string', + 'example' => 'A361BA9E-xxxx-xxxx-xxxx-C26E5180456E', + ], + 'TagResources' => [ + 'description' => 'The resources and their tags.', + 'type' => 'array', + 'items' => [ + 'description' => 'The resources and their tags.', + 'type' => 'object', + 'properties' => [ + 'ResourceType' => [ + 'description' => 'The resource type. Valid value:'."\n" + .'- service'."\n" + .'- serviceinstance'."\n" + .'- artifact', + 'type' => 'string', + 'example' => 'service', + ], + 'ResourceId' => [ + 'description' => 'Resource ID', + 'type' => 'string', + 'example' => 'service-xxx', + ], + 'TagKey' => [ + 'description' => 'The tag key.'."\n", + 'type' => 'string', + 'example' => 'usage', + ], + 'TagValue' => [ + 'description' => 'The tag value.'."\n", + 'type' => 'string', + 'example' => 'test', + ], + ], + ], + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"NextToken\\": \\"AAAAAfu+XtuBE55iRLHEYYuojI4=\\",\\n \\"RequestId\\": \\"A361BA9E-xxxx-xxxx-xxxx-C26E5180456E\\",\\n \\"TagResources\\": [\\n {\\n \\"ResourceType\\": \\"service\\",\\n \\"ResourceId\\": \\"service-xxx\\",\\n \\"TagKey\\": \\"usage\\",\\n \\"TagValue\\": \\"test\\"\\n }\\n ]\\n}","type":"json"}]', + 'title' => 'ListTagResources', + 'translator' => 'machine', + ], + 'TagResources' => [ + 'summary' => 'Tag a resource', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '145740', + 'abilityTreeNodes' => [ + 'FEATUREcomputenest18JMDW', + ], + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'RegionId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The region ID.'."\n", + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'cn-hangzhou', + ], + ], + [ + 'name' => 'Tag', + 'in' => 'query', + 'style' => 'repeatList', + 'schema' => [ + 'description' => 'The tags.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The tag.', + 'type' => 'object', + 'properties' => [ + 'Key' => [ + 'description' => 'The tag key.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'Key1'."\n", + ], + 'Value' => [ + 'description' => 'The tag value.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'Value1'."\n", + ], + ], + 'required' => false, + ], + 'required' => false, + 'maxItems' => 20, + 'minItems' => 1, + ], + ], + [ + 'name' => 'ResourceType', + 'in' => 'query', + 'schema' => [ + 'description' => 'The resource type. Valid value:'."\n" + .'- service'."\n" + .'- serviceinstance'."\n" + .'- artifact', + 'type' => 'string', + 'required' => true, + 'example' => 'service', + ], + ], + [ + 'name' => 'ResourceId', + 'in' => 'query', + 'style' => 'repeatList', + 'schema' => [ + 'description' => 'The resource IDs. You can specify at most 50 resource IDs in each call.', + 'type' => 'array', + 'items' => [ + 'description' => 'The resource ID.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'r-xxx'."\n", + ], + 'required' => true, + 'maxItems' => 50, + 'minItems' => 1, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => 'The request ID.'."\n", + 'type' => 'string', + 'example' => '06BF8F22-02DC-4750-83DF-3FFC11C065EA'."\n", + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"06BF8F22-02DC-4750-83DF-3FFC11C065EA\\\\n\\"\\n}","type":"json"}]', + 'title' => 'TagResoures', + 'translator' => 'machine', + ], + 'UnTagResources' => [ + 'summary' => 'Unbind resource from tag', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '145741', + 'abilityTreeNodes' => [ + 'FEATUREcomputenest18JMDW', + ], + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'RegionId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The region ID.'."\n", + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'cn-hangzhou', + ], + ], + [ + 'name' => 'ResourceType', + 'in' => 'query', + 'schema' => [ + 'description' => 'The type of the resource. valid value:'."\n" + ."\n" + .'- service'."\n" + .'- serviceinstance'."\n" + .'- artifact', + 'type' => 'string', + 'required' => true, + 'example' => 'service', + ], + ], + [ + 'name' => 'ResourceId', + 'in' => 'query', + 'style' => 'repeatList', + 'schema' => [ + 'description' => 'The resource IDs. You can specify at most 50 resource IDs in each call.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The resource ID.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'r-xxx'."\n", + ], + 'required' => true, + 'maxItems' => 50, + 'minItems' => 1, + ], + ], + [ + 'name' => 'All', + 'in' => 'query', + 'schema' => [ + 'description' => 'Specifies whether to remove all tags from the resource. Valid values:'."\n" + ."\n" + .'* **true**'."\n" + .'* **false**'."\n" + ."\n" + .'> If you specify both the All and TagKey.N parameters, the All parameter does not take effect.'."\n", + 'type' => 'boolean', + 'required' => false, + 'example' => 'false'."\n", + ], + ], + [ + 'name' => 'TagKey', + 'in' => 'query', + 'style' => 'repeatList', + 'schema' => [ + 'description' => 'The tag keys. You can specify 1 to 20 tag keys.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The tag key.', + 'type' => 'string', + 'required' => true, + 'example' => 'Key1'."\n", + ], + 'required' => false, + 'maxItems' => 20, + 'minItems' => 1, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => 'The request ID.'."\n", + 'type' => 'string', + 'example' => '06BF8F22-02DC-4750-83DF-3FFC11C065EA'."\n", + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"06BF8F22-02DC-4750-83DF-3FFC11C065EA\\\\n\\"\\n}","type":"json"}]', + 'title' => 'UnTagResources', + 'translator' => 'machine', + ], + 'ListTagValues' => [ + 'summary' => 'Query tag value list', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'none', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '145739', + 'abilityTreeNodes' => [ + 'FEATUREcomputenest18JMDW', + ], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'RegionId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The region ID.', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'cn-hangzhou', + ], + ], + [ + 'name' => 'NextToken', + 'in' => 'query', + 'schema' => [ + 'description' => 'The pagination token that is used in the next request to retrieve a new page of results. You do not need to specify this parameter for the first request. You must specify the token that is obtained from the previous query as the value of NextToken.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'AAAAAfmTH5rcd4YFfob4P0uDAAc='."\n", + ], + ], + [ + 'name' => 'ResourceType', + 'in' => 'query', + 'schema' => [ + 'description' => 'The type of the resource. Valid values: '."\n" + .'- service'."\n" + .'- service instance'."\n" + .'- artifact', + 'type' => 'string', + 'required' => true, + 'example' => 'service'."\n", + ], + ], + [ + 'name' => 'Key', + 'in' => 'query', + 'schema' => [ + 'description' => 'The tag key.', + 'type' => 'string', + 'required' => true, + 'example' => 'ECS', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'NextToken' => [ + 'description' => 'A pagination token.'."\n", + 'type' => 'string', + 'example' => 'AAAAAVz7BQqj2xtiNSC3d3RAD38='."\n", + ], + 'RequestId' => [ + 'description' => 'The request ID.', + 'type' => 'string', + 'example' => '0631D623-D917-1C2D-ACD6-5B3B19XXXXXX'."\n", + ], + 'Values' => [ + 'description' => 'The information of the tag values.', + 'type' => 'array', + 'items' => [ + 'description' => 'The tag value.'."\n", + 'type' => 'string', + 'example' => ' ['."\n" + .' 0 : "20211220"'."\n" + .']', + ], + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"NextToken\\": \\"AAAAAVz7BQqj2xtiNSC3d3RAD38=\\\\n\\",\\n \\"RequestId\\": \\"0631D623-D917-1C2D-ACD6-5B3B19XXXXXX\\\\n\\",\\n \\"Values\\": [\\n \\" [\\\\n 0 : \\\\\\"20211220\\\\\\"\\\\n]\\"\\n ]\\n}","type":"json"}]', + 'title' => 'ListTagValues', + 'translator' => 'machine', + ], + 'ListTagKeys' => [ + 'summary' => 'Query tag key list', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'none', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '145733', + 'abilityTreeNodes' => [ + 'FEATUREcomputenest18JMDW', + ], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'RegionId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The region ID.'."\n", + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'cn-hangzhou', + ], + ], + [ + 'name' => 'NextToken', + 'in' => 'query', + 'schema' => [ + 'description' => 'The pagination token that is used in the next request to retrieve a new page of results. You do not need to specify this parameter for the first request. You must specify the token that is obtained from the previous query as the value of NextToken.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'AAAAAfu+XtuBE55iRLHEYYuojI4='."\n", + ], + ], + [ + 'name' => 'ResourceType', + 'in' => 'query', + 'schema' => [ + 'description' => 'The type of the resource. Valid values:'."\n" + ."\n" + .'- service'."\n" + .'- serviceinstance'."\n" + .'- artifact', + 'type' => 'string', + 'required' => true, + 'example' => 'service'."\n", + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'NextToken' => [ + 'description' => 'The pagination token that is used in the next request to retrieve a new page of results.', + 'type' => 'string', + 'example' => 'AAAAAZ9FmxgN6wKfeK/GOKRnnjU='."\n", + ], + 'RequestId' => [ + 'description' => 'The request ID.'."\n", + 'type' => 'string', + 'example' => '8872ACE6-0297-54A4-8AAD-3A8623EC6C5D'."\n", + ], + 'Keys' => [ + 'description' => 'The tag keys.', + 'type' => 'array', + 'items' => [ + 'description' => 'The tag key.'."\n", + 'type' => 'string', + 'example' => ' ['."\n" + .' 0 : "lzqtest-huhehaote"'."\n" + .' 1 : "lzqros"'."\n" + .' 2 : "aaa"'."\n" + .']', + ], + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"NextToken\\": \\"AAAAAZ9FmxgN6wKfeK/GOKRnnjU=\\\\n\\",\\n \\"RequestId\\": \\"8872ACE6-0297-54A4-8AAD-3A8623EC6C5D\\\\n\\",\\n \\"Keys\\": [\\n \\" [\\\\n 0 : \\\\\\"lzqtest-huhehaote\\\\\\"\\\\n 1 : \\\\\\"lzqros\\\\\\"\\\\n 2 : \\\\\\"aaa\\\\\\"\\\\n]\\"\\n ]\\n}","type":"json"}]', + 'title' => 'ListTagKeys', + 'translator' => 'machine', + ], + 'GetSupplierInformation' => [ + 'summary' => 'Get service provider information', + 'methods' => [ + 'get', + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '42426', + 'abilityTreeNodes' => [ + 'FEATUREcomputenest2G0818', + 'FEATUREcomputenest1Z49ZW', + 'FEATUREcomputenest21Y74A', + ], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'RegionId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The region ID.', + 'type' => 'string', + 'required' => true, + 'example' => 'cn-hangzhou', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => 'The request ID.'."\n", + 'type' => 'string', + 'example' => '51945B04-6AA6-410D-93BA-236E0248B104', + ], + 'SupplierName' => [ + 'description' => 'The name of the service provider.'."\n", + 'type' => 'string', + 'example' => 'Alibaba Cloud', + ], + 'SupplierUrl' => [ + 'description' => 'The URL of the service provider.'."\n", + 'type' => 'string', + 'example' => 'http://www.xxx.xxx.cn', + ], + 'SupplierDesc' => [ + 'description' => 'The description of service provider.', + 'type' => 'string', + 'example' => 'Test supplier', + ], + 'OperationIp' => [ + 'description' => 'The Ip of the operation.', + 'type' => 'string', + 'example' => '10.xxx.xxx.xxx/101', + ], + 'OperationMfaPresent' => [ + 'description' => 'The MFA of the operation.', + 'type' => 'boolean', + 'example' => 'true', + ], + 'DeliverySettings' => [ + 'description' => 'The delivery settings.'."\n", + 'type' => 'object', + 'properties' => [ + 'OssEnabled' => [ + 'description' => 'Indicates whether screencast delivery to Object Storage Service (OSS) is enabled. Valid values:'."\n" + ."\n" + .'* true'."\n" + .'* false'."\n", + 'type' => 'boolean', + 'example' => 'true', + ], + 'OssBucketName' => [ + 'description' => 'The name of the OSS bucket.'."\n", + 'type' => 'string', + 'example' => 'mybucket', + ], + 'OssPath' => [ + 'description' => 'The OSS path.'."\n", + 'type' => 'string', + 'example' => 'path1/path2/', + ], + 'OssExpirationDays' => [ + 'description' => 'The number of days for which the screencasts are saved.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '7', + ], + ], + ], + 'SupplierLogo' => [ + 'description' => 'The Logo of service provider.', + 'type' => 'string', + 'example' => 'http://example.aliyundoc.com/cover/34DB-4F4C-9373-003AA060****.png', + ], + 'EnableReseller' => [ + 'description' => 'Whether to enable reseller', + 'type' => 'boolean', + 'example' => 'true', + ], + 'AcrNamespace' => [ + 'description' => 'Acr container namespace', + 'type' => 'string', + 'example' => 'computenest', + ], + 'SupportContacts' => [ + 'description' => 'Contact information of the service provider', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Type' => [ + 'description' => 'The type of contact information.', + 'type' => 'string', + 'example' => 'Email', + ], + 'Value' => [ + 'description' => 'The value of contact information.', + 'type' => 'string', + 'example' => '[email protected]', + ], + ], + ], + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"51945B04-6AA6-410D-93BA-236E0248B104\\",\\n \\"SupplierName\\": \\"A公司\\",\\n \\"SupplierUrl\\": \\"http://www.xxx.xxx.cn\\",\\n \\"SupplierDesc\\": \\"阿里云计算巢\\",\\n \\"OperationIp\\": \\"10.xxx.xxx.xxx/101\\",\\n \\"OperationMfaPresent\\": true,\\n \\"DeliverySettings\\": {\\n \\"OssEnabled\\": true,\\n \\"OssBucketName\\": \\"mybucket\\",\\n \\"OssPath\\": \\"path1/path2/\\",\\n \\"OssExpirationDays\\": 7\\n },\\n \\"SupplierLogo\\": \\"http://example.aliyundoc.com/cover/34DB-4F4C-9373-003AA060****.png\\",\\n \\"EnableReseller\\": true,\\n \\"AcrNamespace\\": \\"computenest\\",\\n \\"SupportContacts\\": [\\n {\\n \\"Type\\": \\"Email\\\\n\\",\\n \\"Value\\": \\"[email protected]\\"\\n }\\n ]\\n}","type":"json"}]', + 'title' => 'GetSupplierInformation', + 'translator' => 'machine', + ], + 'CreateSupplierRegistration' => [ + 'summary' => 'Register as a service provider', + 'methods' => [ + 'get', + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '190207', + 'abilityTreeNodes' => [ + 'FEATUREcomputenest2G0818', + ], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'RegionId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The region ID.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'cn-hangzhou', + ], + ], + [ + 'name' => 'SupplierName', + 'in' => 'query', + 'schema' => [ + 'description' => 'The name of the service provider.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'Alibaba Cloud'."\n", + ], + ], + [ + 'name' => 'SupplierNameEn', + 'in' => 'query', + 'schema' => [ + 'description' => 'The english name of the service provider.', + 'type' => 'string', + 'required' => true, + 'example' => 'Alibaba Cloud', + ], + ], + [ + 'name' => 'SupplierUrl', + 'in' => 'query', + 'schema' => [ + 'description' => 'The URL of the service provider.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'http://www.xxx.xxx.cn', + ], + ], + [ + 'name' => 'SupplierDesc', + 'in' => 'query', + 'schema' => [ + 'description' => 'The description of service provider.', + 'type' => 'string', + 'required' => true, + 'example' => 'Test supplier', + ], + ], + [ + 'name' => 'SupplierLogo', + 'in' => 'query', + 'schema' => [ + 'description' => 'The Logo of service provider.', + 'type' => 'string', + 'required' => false, + 'example' => 'http://example.aliyundoc.com/cover/34DB-4F4C-9373-003AA060****.png', + ], + ], + [ + 'name' => 'ProductBusiness', + 'in' => 'query', + 'schema' => [ + 'description' => 'The business of product', + 'type' => 'string', + 'required' => false, + 'example' => 'AI', + ], + ], + [ + 'name' => 'ProductDeliveryTypes', + 'in' => 'query', + 'style' => 'repeatList', + 'schema' => [ + 'description' => 'Product delivery type', + 'type' => 'array', + 'items' => [ + 'description' => 'Product delivery type,Valid values:'."\n" + .'- SaaS'."\n" + .'- License'."\n" + .'- API'."\n" + .'- DesktopSoftware'."\n" + .'- Others', + 'type' => 'string', + 'required' => false, + 'example' => 'License', + ], + 'required' => true, + 'maxItems' => 100, + ], + ], + [ + 'name' => 'ProductSellTypes', + 'in' => 'query', + 'style' => 'repeatList', + 'schema' => [ + 'description' => 'Product sell type', + 'type' => 'array', + 'items' => [ + 'description' => 'Product sell type, Valid values:'."\n" + .'- Direct'."\n" + .'- Channel', + 'type' => 'string', + 'required' => false, + 'example' => 'Direct', + ], + 'required' => true, + 'maxItems' => 100, + ], + ], + [ + 'name' => 'EnableResellerMode', + 'in' => 'query', + 'schema' => [ + 'description' => 'Whether to enable the resell mode', + 'type' => 'boolean', + 'required' => false, + 'example' => 'true', + ], + ], + [ + 'name' => 'ProductPublishTime', + 'in' => 'query', + 'schema' => [ + 'description' => 'The publish time of product', + 'type' => 'string', + 'required' => false, + 'example' => '2020.10.10', + ], + ], + [ + 'name' => 'ProductAnnualRevenue', + 'in' => 'query', + 'schema' => [ + 'description' => 'Annual product revenue', + 'type' => 'string', + 'required' => false, + 'example' => '1000', + ], + ], + [ + 'name' => 'ContactPerson', + 'in' => 'query', + 'schema' => [ + 'description' => 'Contact person', + 'type' => 'string', + 'required' => true, + 'example' => 'Mike', + ], + ], + [ + 'name' => 'ContactPersonTitle', + 'in' => 'query', + 'schema' => [ + 'description' => 'Contact person tiltle', + 'type' => 'string', + 'required' => true, + 'example' => 'CTO', + ], + ], + [ + 'name' => 'ContactNumber', + 'in' => 'query', + 'schema' => [ + 'description' => 'Contact number', + 'type' => 'string', + 'required' => true, + 'example' => '186xxxxxxxxx', + ], + ], + [ + 'name' => 'ContactEmail', + 'in' => 'query', + 'schema' => [ + 'description' => 'Contact email', + 'type' => 'string', + 'required' => true, + 'example' => '[email protected]', + ], + ], + [ + 'name' => 'Suggestion', + 'in' => 'query', + 'schema' => [ + 'description' => 'The demands of service providers.', + 'type' => 'string', + 'required' => false, + 'example' => 'empty', + ], + ], + [ + 'name' => 'ResellBusinessDesc', + 'in' => 'query', + 'schema' => [ + 'description' => 'The description of resell business.', + 'type' => 'string', + 'required' => false, + 'example' => 'empty', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => 'Id of the request', + 'type' => 'string', + 'example' => 'C4A145D8-xxxx-xxxx-xxxx-9730CDA27578', + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"C4A145D8-xxxx-xxxx-xxxx-9730CDA27578\\"\\n}","type":"json"}]', + 'title' => 'CreateSupplierRegistration', + 'translator' => 'machine', + ], + 'ListSupplierRegistrations' => [ + 'summary' => 'Query the list of service provider onboarding reviews', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '190812', + 'abilityTreeNodes' => [ + 'FEATUREcomputenest2G0818', + 'FEATUREcomputenest1Z49ZW', + 'FEATUREcomputenest21Y74A', + ], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'RegionId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The region ID.'."\n", + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'cn-hangzhou', + ], + ], + [ + 'name' => 'MaxResults', + 'in' => 'query', + 'schema' => [ + 'description' => 'Number of items per page in a paginated query. The maximum is 100, and the default is 20.', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '20', + ], + ], + [ + 'name' => 'NextToken', + 'in' => 'query', + 'schema' => [ + 'description' => 'The pagination token that is used in the next request to retrieve a new page of results.', + 'type' => 'string', + 'required' => false, + 'example' => 'AAAAAYChudnQUoBH+mGWFpb6oP0=', + ], + ], + [ + 'name' => 'Filter', + 'in' => 'query', + 'style' => 'repeatList', + 'schema' => [ + 'description' => 'The filter.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The filter.'."\n", + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => 'Filter value.', + 'type' => 'array', + 'items' => [ + 'description' => 'Filter value.', + 'type' => 'string', + 'required' => false, + 'example' => 'sr-xxx', + ], + 'required' => false, + 'maxItems' => 20, + ], + 'Name' => [ + 'description' => 'Name of the filter field. Allowed values:'."\n" + ."\n" + .'- SupplierUid: The aliUid of supplier.'."\n" + .'- SupplierName: The name of supplier.'."\n" + .'- RegistrationId: Registration ID.'."\n" + ."\n" + .'- Status: Registration status. Allowed values: Submitted, Approved, Rejected.', + 'type' => 'string', + 'required' => false, + 'example' => 'SupplierUid', + ], + ], + 'required' => false, + ], + 'required' => false, + 'maxItems' => 100, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'NextToken' => [ + 'description' => 'The pagination token that is used in the next request to retrieve a new page of results.', + 'type' => 'string', + 'example' => 'AAAAAdx9kBO7qKpr9My/+XQo0oY=', + ], + 'RequestId' => [ + 'description' => 'The request ID.'."\n", + 'type' => 'string', + 'example' => 'C6CC568D-xxxx-xxxx-xxxx-08EB8E9F9F20', + ], + 'TotalCount' => [ + 'description' => 'The total number of entries returned.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '3', + ], + 'MaxResults' => [ + 'description' => 'The number of entries per page. Valid values: 1 to 100. Default value: 20.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '20', + ], + 'SupplierRegistrations' => [ + 'description' => 'The supplier registrations', + 'type' => 'array', + 'items' => [ + 'description' => 'The supplier registration.', + 'type' => 'object', + 'properties' => [ + 'RegistrationId' => [ + 'description' => 'The registration ID.'."\n", + 'type' => 'string', + 'example' => 'sr-xxx', + ], + 'SupplierUid' => [ + 'description' => 'The Alibaba Cloud account ID of the service provider.'."\n", + 'type' => 'string', + 'example' => '1256xxx23434', + ], + 'SupplierName' => [ + 'description' => 'The name of the service provider.'."\n", + 'type' => 'string', + 'example' => 'Aliibaba Cloud', + ], + 'SupplierNameEn' => [ + 'description' => 'The english name of the service provider.', + 'type' => 'string', + 'example' => 'Alibaba Cloud ComputeNest', + ], + 'SupplierUrl' => [ + 'description' => 'The URL of the service provider.'."\n", + 'type' => 'string', + 'example' => 'https://www.guangbao-uni.com', + ], + 'SupplierDesc' => [ + 'description' => 'The description of service provider.', + 'type' => 'string', + 'example' => 'Test supplier', + ], + 'SupplierLogo' => [ + 'description' => 'The Logo of service provider.', + 'type' => 'string', + 'example' => 'https://service-info-public.oss-cn-hangzhou.aliyuncs.com/xxx/service-xxx/xxx.png', + ], + 'ProductBusiness' => [ + 'description' => 'The business of product.', + 'type' => 'string', + 'example' => 'AI', + ], + 'ProductDeliveryTypes' => [ + 'description' => 'Product delivery type,Valid values:'."\n" + ."\n" + .'SaaS'."\n" + .'License'."\n" + .'API'."\n" + .'DesktopSoftware'."\n" + .'Others', + 'type' => 'string', + 'example' => 'SaaS', + ], + 'EnableResellerMode' => [ + 'description' => 'Whether to enable the resell mode.', + 'type' => 'boolean', + 'example' => 'false', + ], + 'ProductPublishTime' => [ + 'description' => 'The publish time of product.', + 'type' => 'string', + 'example' => '2024.10.24', + ], + 'ContactPerson' => [ + 'description' => 'Contact person', + 'type' => 'string', + 'example' => 'Mike', + ], + 'ContactPersonTitle' => [ + 'description' => 'Contact person tiltle.', + 'type' => 'string', + 'example' => 'CTO', + ], + 'ContactNumber' => [ + 'description' => 'Contact number', + 'type' => 'string', + 'example' => '135xxxxxxxx', + ], + 'ContactEmail' => [ + 'description' => 'Contact email', + 'type' => 'string', + 'example' => '[email protected]', + ], + 'Status' => [ + 'description' => 'The deployment state of the registration. Valid values:'."\n" + ."\n" + .'- Submitted'."\n" + .'- Approved'."\n" + .'- Rejected', + 'type' => 'string', + 'example' => 'Submitted', + ], + 'SubmitTime' => [ + 'description' => 'The submit time of this registration.', + 'type' => 'string', + 'example' => '2025-01-22 09:47:58 '."\n", + ], + 'ProductSellTypes' => [ + 'description' => 'Product sell type, Valid values:'."\n" + ."\n" + .'- Direct'."\n" + .'- Channel', + 'type' => 'string', + 'example' => 'Direct', + ], + 'Comment' => [ + 'description' => 'The comment of this registration.', + 'type' => 'string', + 'example' => 'empty', + ], + 'ResellBusinessDesc' => [ + 'description' => 'The description of resell business.', + 'type' => 'string', + 'example' => 'empty'."\n", + ], + 'ProductAnnualRevenue' => [ + 'description' => 'Annual product revenue', + 'type' => 'string', + 'example' => 'empty'."\n", + ], + ], + ], + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"NextToken\\": \\"AAAAAdx9kBO7qKpr9My/+XQo0oY=\\",\\n \\"RequestId\\": \\"C6CC568D-xxxx-xxxx-xxxx-08EB8E9F9F20\\",\\n \\"TotalCount\\": 3,\\n \\"MaxResults\\": 20,\\n \\"SupplierRegistrations\\": [\\n {\\n \\"RegistrationId\\": \\"sr-xxx\\",\\n \\"SupplierUid\\": \\"1256xxx23434\\",\\n \\"SupplierName\\": \\"计算巢社区服务\\",\\n \\"SupplierNameEn\\": \\"Alibaba Cloud ComputeNest\\",\\n \\"SupplierUrl\\": \\"https://www.guangbao-uni.com\\",\\n \\"SupplierDesc\\": \\"服务商测试申请\\",\\n \\"SupplierLogo\\": \\"https://service-info-public.oss-cn-hangzhou.aliyuncs.com/xxx/service-xxx/xxx.png\\",\\n \\"ProductBusiness\\": \\"AI\\",\\n \\"ProductDeliveryTypes\\": \\"SaaS\\",\\n \\"EnableResellerMode\\": false,\\n \\"ProductPublishTime\\": \\"2024.10.24\\",\\n \\"ContactPerson\\": \\"张三\\",\\n \\"ContactPersonTitle\\": \\"CTO\\",\\n \\"ContactNumber\\": \\"135xxxxxxxx\\",\\n \\"ContactEmail\\": \\"[email protected]\\",\\n \\"Status\\": \\"Submitted\\",\\n \\"SubmitTime\\": \\"2025-01-22 09:47:58\\\\t\\\\n\\",\\n \\"ProductSellTypes\\": \\"直销\\",\\n \\"Comment\\": \\"无\\",\\n \\"ResellBusinessDesc\\": \\"无\\",\\n \\"ProductAnnualRevenue\\": \\"1000万\\"\\n }\\n ]\\n}","type":"json"}]', + 'title' => 'ListSupplierRegistrations', + 'translator' => 'machine', + ], + 'UpdateSupplierInformation' => [ + 'summary' => 'Update the information of supplier.', + 'methods' => [ + 'get', + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '43088', + 'abilityTreeNodes' => [ + 'FEATUREcomputenest1Z49ZW', + ], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'RegionId', + 'in' => 'query', + 'schema' => [ + 'description' => 'Region ID.', + 'type' => 'string', + 'required' => true, + 'example' => 'cn-hangzhou', + ], + ], + [ + 'name' => 'OperationIp', + 'in' => 'query', + 'schema' => [ + 'description' => 'The Ip of operation.', + 'type' => 'string', + 'required' => false, + 'example' => '192.xxx.xxx.xxx/16,192.xxx.xxx.xxx', + ], + ], + [ + 'name' => 'OperationMfaPresent', + 'in' => 'query', + 'schema' => [ + 'description' => 'The MFA of operation.', + 'type' => 'boolean', + 'required' => false, + 'example' => 'true', + ], + ], + [ + 'name' => 'DeliverySettings', + 'in' => 'query', + 'style' => 'flat', + 'schema' => [ + 'description' => 'The delivery settings.'."\n", + 'type' => 'object', + 'properties' => [ + 'OssEnabled' => [ + 'description' => 'Specifies whether to enable screencast delivery to Object Storage Service (OSS). Valid values:'."\n" + ."\n" + .'* true'."\n" + .'* false'."\n", + 'type' => 'boolean', + 'required' => false, + 'example' => 'false', + ], + 'OssBucketName' => [ + 'description' => 'The name of the OSS bucket.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'mybucket', + ], + 'OssPath' => [ + 'description' => 'The OSS path.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'path1/path2/', + ], + 'OssExpirationDays' => [ + 'description' => 'The number of days for which the screencasts are saved.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'example' => '7', + ], + ], + 'required' => false, + ], + ], + [ + 'name' => 'SupplierDesc', + 'in' => 'query', + 'schema' => [ + 'description' => 'The description of service provider.', + 'type' => 'string', + 'required' => false, + 'example' => 'Test supplier', + ], + ], + [ + 'name' => 'SupplierUrl', + 'in' => 'query', + 'schema' => [ + 'description' => 'The URL of the service provider.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'http://www.xxx.xxx.cn', + ], + ], + [ + 'name' => 'SupplierLogo', + 'in' => 'query', + 'schema' => [ + 'description' => 'The Logo of service provider.', + 'type' => 'string', + 'required' => false, + 'example' => 'http://example.aliyundoc.com/cover/34DB-4F4C-9373-003AA060****.png', + ], + ], + [ + 'name' => 'SupportContacts', + 'in' => 'query', + 'style' => 'repeatList', + 'schema' => [ + 'description' => 'Contact information of the service provider', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Type' => [ + 'description' => 'The type of contact information', + 'type' => 'string', + 'required' => false, + 'example' => 'Email', + ], + 'Value' => [ + 'description' => 'The value of contact information', + 'type' => 'string', + 'required' => false, + 'example' => '[email protected]', + ], + ], + 'required' => false, + ], + 'required' => false, + 'maxItems' => 100, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => 'The request ID.'."\n", + 'type' => 'string', + 'example' => '51945B04-6AA6-410D-93BA-236E0248B104', + ], + 'SupplierName' => [ + 'description' => 'The name of the service provider.'."\n", + 'type' => 'string', + 'example' => 'Alibaba Cloud', + ], + 'SupplierUrl' => [ + 'description' => 'The URL of the service provider.'."\n", + 'type' => 'string', + 'example' => 'http://www.xxx.xxx.cn', + ], + 'SupplierDesc' => [ + 'description' => 'The description of service provider.', + 'type' => 'string', + 'example' => 'Test supplier', + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"51945B04-6AA6-410D-93BA-236E0248B104\\",\\n \\"SupplierName\\": \\"A公司\\",\\n \\"SupplierUrl\\": \\"http://www.xxx.xxx.cn\\",\\n \\"SupplierDesc\\": \\"阿里云计算巢\\"\\n}","type":"json"}]', + 'title' => 'UpdateSupplierInformation', + ], + 'PushMeteringData' => [ + 'summary' => 'Pushes metering data of an Alibaba Cloud Marketplace commodity.', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'none', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '186185', + 'abilityTreeNodes' => [ + 'FEATUREcomputenest18JMDW', + ], + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'Metering', + 'in' => 'query', + 'schema' => [ + 'description' => 'The metering data. Parameters in the example value:'."\n" + ."\n" + .'* InstanceId: the ID of an instance in Alibaba Cloud Marketplace. Parameter type: STRING.'."\n" + ."\n" + .'* StartTime: the time when the metering operation started. Set the parameter to a UNIX timestamp. Unit: seconds. Parameter type: LONG.'."\n" + ."\n" + .'* EndTime: the time when the metering operation ended. Set the parameter to a UNIX timestamp. Unit: seconds. Parameter type: LONG.'."\n" + ."\n" + .'* Entities: the metering entities. Parameter type: LIST.'."\n" + ."\n" + .' * Key: the name of the metering item. Parameter type: STRING.'."\n" + ."\n" + .' * Frequency: the number of times the instance was used.'."\n" + .' * Period: the usage duration of the instance. Unit: seconds.'."\n" + ."\n" + .' Note: The metering unit is second, whereas the billing unit is hour. Therefore, when bills are generated, seconds are converted to hours. For example, the usage metered from 19:00 to 20:00 is 1800 seconds and the price is USD 1 per hour. In this case, the hourly bill for 19:00 to 20:00 is calculated by using the following formula: 1800/3600 x 1 = 0.5. If the result is a decimal, only the first two decimal places are retained.'."\n" + ."\n" + .' - Storage: The used storage space. Unit: bytes. '."\n" + .' Note: The metering unit is byte, whereas the billing unit is MB. Therefore, when bills are generated, bytes are converted to megabytes. For example, the usage metered from 19:00 to 20:00 is 524,288 bytes and the price is USD 1 per MB. In this case, the hourly bill for 19:00 to 20:00 is calculated by using the following formula: 524288/1024/1024 x 1 = 0.5. If the result is a decimal, only the first two decimal places are retained. - NetworkOut: the upstream traffic consumed. Unit: bit. '."\n" + .' Note: The metering unit is bit, whereas the billing unit is Mbit. Therefore, when bills are generated, bits are converted to megabits. For example, the usage metered from 19:00 to 20:00 is 524,288 bits and the price is USD 1 per Mbit. In this case, the hourly bill for 19:00 to 20:00 is calculated by using the following formula: 524288/1024/1024 x 1 = 0.5. If the result is a decimal, only the first two decimal places are retained. - NetworkIn: the downstream traffic consumed. Unit: bit. '."\n" + .' Note: The metering unit is bit, whereas the billing unit is Mbit. Therefore, when bills are generated, bits are converted to megabits. For example, the usage metered from 19:00 to 20:00 is 524,288 bits and the price is USD 1 per Mbit. In this case, the hourly bill for 19:00 to 20:00 is calculated by using the following formula: 524288/1024/1024 x 1 = 0.5. If the result is a decimal, only the first two decimal places are retained. - Character: the number of characters.'."\n" + .' - DailyActiveUser: the number of daily active users (DAU).'."\n" + .' - PeriodMin: the usage duration of the instance. Unit: minutes. - VirtualCpu: the number of virtual CPU cores.'."\n" + ."\n" + .' * Value: the value of the metering item. The value is equal to or greater than 0. Parameter type: INTEGER.'."\n" + ."\n" + .'**Note**:'."\n" + ."\n" + .'* If bills are generated for the commodity in real time, the difference between the values of StartTime and EndTime is not limited. However, the time specified by EndTime must be later than that specified by StartTime.'."\n" + .'* If bills are generated for the commodity by billing cycle, such as by hour, by day, or by month, the difference between the values of StartTime and EndTime must be greater than 5 minutes.'."\n" + .'* In a request for pushing multiple metering data records, the values of InstanceId must indicate instances of the same commodity. You cannot push metering data of instances of multiple commodities at a time.'."\n", + 'type' => 'string', + 'required' => true, + 'docRequired' => false, + 'example' => '[{\\"StartTime\\":1681264800,\\"EndTime\\":1681268400,\\"Entities\\":[{\\"Key\\":\\"Unit\\",\\"Value\\":\\"0\\"}]}]', + ], + ], + [ + 'name' => 'ServiceInstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The service instance ID.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'si-0e6fca6a51a54420****', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => 'The request ID.'."\n", + 'type' => 'string', + 'example' => '94E89857-B994-44B6-9C4F-DBD200E9XXXX', + ], + ], + 'description' => '', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"94E89857-B994-44B6-9C4F-DBD200E9XXXX\\"\\n}","type":"json"}]', + 'title' => 'PushMeteringData', + ], + 'CreateOpsNotice' => [ + 'summary' => '创建运维公告', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '155234', + 'abilityTreeNodes' => [ + 'FEATUREcomputenestLT7VZ3', + ], + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'RegionId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'cn-hangzhou', + ], + ], + [ + 'name' => 'ClientToken', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '10CM943JP0EN9D51H', + ], + ], + [ + 'name' => 'Type', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'ServiceInstanceUpgrade', + ], + ], + [ + 'name' => 'ServiceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'service-0e6fca6a51a54420****', + ], + ], + [ + 'name' => 'ServiceVersion', + 'in' => 'query', + 'style' => 'repeatList', + 'schema' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '2', + ], + 'required' => true, + 'docRequired' => true, + 'maxItems' => 100, + ], + ], + [ + 'name' => 'Category', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'Availability', + ], + ], + [ + 'name' => 'Severity', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'High', + ], + ], + [ + 'name' => 'Content', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'content', + ], + ], + [ + 'name' => 'Solutions', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'You need to upgrade the service instance', + ], + ], + [ + 'name' => 'Attributes', + 'in' => 'query', + 'style' => 'json', + 'schema' => [ + 'description' => '', + 'type' => 'object', + 'required' => false, + 'example' => '{"cveId":"CVE-2021-4034"}', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'E73F09DC-6C13-5CB1-A10F-7A4E125ABD2C', + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"E73F09DC-6C13-5CB1-A10F-7A4E125ABD2C\\"\\n}","type":"json"}]', + ], + 'CreateServiceTestTask' => [ + 'summary' => 'Create service test task', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '164226', + 'abilityTreeNodes' => [ + 'FEATUREcomputenestHX5MKK', + ], + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'TaskName', + 'in' => 'query', + 'schema' => [ + 'title' => '任务名称', + 'description' => 'The name of the task.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'nametest', + ], + ], + [ + 'name' => 'TestCaseIds', + 'in' => 'query', + 'style' => 'repeatList', + 'schema' => [ + 'title' => '服务测试用例', + 'description' => 'The service test case ids.', + 'type' => 'array', + 'items' => [ + 'description' => 'The test case id.', + 'type' => 'string', + 'required' => false, + 'example' => 'stc-xxxx', + ], + 'required' => true, + 'maxItems' => 10, + ], + ], + [ + 'name' => 'TaskRegionId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The Task Execution Region', + 'type' => 'string', + 'required' => false, + 'example' => 'cn-beijing', + ], + ], + [ + 'name' => 'RegionId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The region ID.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'cn-hangzhou', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'PlainResult<ServiceTestTaskModel>', + 'description' => 'PlainResult<ServiceTestTaskModel>', + 'type' => 'object', + 'properties' => [ + 'TaskId' => [ + 'description' => 'The task ID.'."\n", + 'type' => 'string', + 'example' => 'stt-568c2c5a687a409b977e', + ], + 'RequestId' => [ + 'description' => 'The request ID.'."\n", + 'type' => 'string', + 'example' => 'DF0F666F-FBBC-55C3-A368-C955DE7B4839', + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TaskId\\": \\"stt-568c2c5a687a409b977e\\",\\n \\"RequestId\\": \\"DF0F666F-FBBC-55C3-A368-C955DE7B4839\\"\\n}","type":"json"}]', + 'title' => 'CreateServiceTestTask', + ], + 'ListServiceTestTasks' => [ + 'summary' => 'Get task execution list', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '163665', + 'abilityTreeNodes' => [ + 'FEATUREcomputenestHX5MKK', + ], + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'ServiceId', + 'in' => 'query', + 'schema' => [ + 'title' => '服务商ID', + 'description' => 'The service ID.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'service-062ae8e13b394dd5b63c', + ], + ], + [ + 'name' => 'ServiceVersion', + 'in' => 'query', + 'schema' => [ + 'title' => '服务版本', + 'description' => 'The service version.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'draft', + ], + ], + [ + 'name' => 'MaxResults', + 'in' => 'query', + 'schema' => [ + 'description' => 'Number of items per page in a paginated query. The maximum is 100, and the default is 20.', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '20', + ], + ], + [ + 'name' => 'NextToken', + '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=', + ], + ], + [ + 'name' => 'Filter', + 'in' => 'query', + 'style' => 'repeatList', + 'schema' => [ + 'description' => 'The filters.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The filter.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The parameter name of the filter. You can specify one or more parameter names to query services. Valid values:'."\n" + ."\n" + .'* Status: the status of the task.'."\n" + .'* TaskId: the task id.', + 'type' => 'string', + 'required' => false, + 'example' => 'Status', + ], + 'Value' => [ + 'description' => 'The parameter value N of the filter. Valid values of N: 1 to 10.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'Filter value.', + 'type' => 'string', + 'required' => false, + 'example' => 'value1', + ], + 'required' => false, + 'maxItems' => 20, + ], + ], + 'required' => false, + ], + 'required' => false, + 'maxItems' => 100, + ], + ], + [ + 'name' => 'RegionId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The region ID.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'cn-hangzhou', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'NextTokenListResult<ServiceTestTaskModel>', + 'description' => 'NextTokenListResult<ServiceTestTaskModel>', + 'type' => 'object', + 'properties' => [ + 'NextToken' => [ + 'description' => 'The pagination token that is used in the next request to retrieve a new page of results. You do not need to specify this parameter for the first request. You must specify the token that is obtained from the previous query as the value of NextToken.'."\n", + 'type' => 'string', + 'example' => 'AAAAAfu+XtuBE55iRLHEYYuojI4=', + ], + 'MaxResults' => [ + 'description' => 'The number of items to return per page when paginating results. The maximum is 100, and the default is 20.', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + 'Count' => [ + 'description' => 'The total number of entries returned.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '9', + ], + 'RequestId' => [ + 'description' => 'The request ID.'."\n", + 'type' => 'string', + 'example' => '51945B04-6AA6-410D-93BA-236E0248B104', + ], + 'ServiceTestTasks' => [ + 'description' => 'The service test tasks.', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'TaskId' => [ + 'description' => 'The task ID.'."\n", + 'type' => 'string', + 'example' => 'sttt-000h5nd4yrg59ucurzy1', + ], + 'TaskName' => [ + 'description' => 'The name of the task.', + 'type' => 'string', + 'example' => 'dadadad', + ], + 'TaskRegionId' => [ + 'description' => 'The task region id.', + 'type' => 'string', + 'example' => 'cn-beijing', + ], + 'CreateTime' => [ + 'title' => '创建时间', + 'description' => 'The time when the task was created.', + 'type' => 'string', + 'example' => '2024-02-26T02:16:35Z', + ], + 'Status' => [ + 'title' => '执行状态', + 'description' => 'the status of service task.', + 'type' => 'string', + 'example' => 'Success', + ], + ], + 'description' => 'The service test task.', + ], + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"NextToken\\": \\"AAAAAfu+XtuBE55iRLHEYYuojI4=\\",\\n \\"MaxResults\\": 1,\\n \\"Count\\": 9,\\n \\"RequestId\\": \\"51945B04-6AA6-410D-93BA-236E0248B104\\",\\n \\"ServiceTestTasks\\": [\\n {\\n \\"TaskId\\": \\"sttt-000h5nd4yrg59ucurzy1\\",\\n \\"TaskName\\": \\"dadadad\\",\\n \\"TaskRegionId\\": \\"cn-beijing\\",\\n \\"CreateTime\\": \\"2024-02-26T02:16:35Z\\",\\n \\"Status\\": \\"Success\\"\\n }\\n ]\\n}","type":"json"}]', + 'title' => 'ListServiceTestTasks', + 'translator' => 'machine', + ], + 'ListServiceTestTaskLogs' => [ + 'summary' => 'Get service test real-time logs', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '203228', + 'abilityTreeNodes' => [ + 'FEATUREcomputenestHX5MKK', + ], + 'autoTest' => true, + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'TaskId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The task ID.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'stt-568c2c5a687a409b977e', + ], + ], + [ + 'name' => 'MaxResults', + 'in' => 'query', + 'schema' => [ + 'description' => 'The number of items to return per page when paginating results. The maximum is 100, and the default is 20.', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '20', + ], + ], + [ + 'name' => 'NextToken', + 'in' => 'query', + 'schema' => [ + 'description' => 'A pagination token.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'AAAAAWns8w4MmhzeptXVRG0PUEU=', + ], + ], + [ + 'name' => 'SortOrder', + 'in' => 'query', + 'schema' => [ + 'description' => 'Sort Order. Possible values:'."\n" + ."\n" + .'+ Ascending: Ascending order'."\n" + ."\n" + .'+ Descending (default value): Descending order', + 'type' => 'string', + 'required' => false, + 'example' => 'Ascending', + 'default' => 'Descending', + 'enum' => [ + 'Descending', + 'Ascending', + ], + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'NextTokenListResult<String>', + 'description' => 'NextTokenListResult<String>', + 'type' => 'object', + 'properties' => [ + 'NextToken' => [ + 'description' => 'The pagination token that is used in the next request to retrieve a new page of results. You do not need to specify this parameter for the first request. You must specify the token that is obtained from the previous query as the value of NextToken.'."\n", + 'type' => 'string', + 'example' => 'AAAAAW8kZY+u1sYOaYf5JmgmDQQ=', + ], + 'MaxResults' => [ + 'description' => 'The number of items to return per page when paginating results. The maximum is 100, and the default is 20.', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '20', + ], + 'TaskLogs' => [ + 'description' => 'The service test task logs.', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Content' => [ + 'description' => 'The log content.', + 'type' => 'string', + 'example' => 'log content', + ], + 'Timestamp' => [ + 'description' => 'The UTC timestamp when the response is returned.'."\n", + 'type' => 'string', + 'format' => 'iso8601', + 'example' => '2022-12-12T20:00:09Z', + ], + ], + 'description' => 'list', + ], + ], + 'RequestId' => [ + 'description' => 'The request ID.'."\n", + 'type' => 'string', + 'example' => 'EDEE055B-D5F4-5B92-8F21-999D408F1214', + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"NextToken\\": \\"AAAAAW8kZY+u1sYOaYf5JmgmDQQ=\\",\\n \\"MaxResults\\": 20,\\n \\"TaskLogs\\": [\\n {\\n \\"Content\\": \\"log content\\",\\n \\"Timestamp\\": \\"2022-12-12T20:00:09Z\\"\\n }\\n ],\\n \\"RequestId\\": \\"EDEE055B-D5F4-5B92-8F21-999D408F1214\\"\\n}","type":"json"}]', + 'title' => 'ListServiceTestTaskLogs', + 'translator' => 'machine', + ], + 'GetServiceTestTask' => [ + 'summary' => 'Get the execution status of Cases in the service test task', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '258022', + 'abilityTreeNodes' => [ + 'FEATUREcomputenestHX5MKK', + ], + 'autoTest' => true, + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'TaskId', + 'in' => 'query', + 'schema' => [ + 'title' => '服务商ID', + 'description' => 'The task ID.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'stt-xxxx', + ], + ], + [ + 'name' => 'RegionId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The region ID.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'cn-hangzhou', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'NextTokenListResult<ServiceTestTaskModel>', + 'description' => 'NextTokenListResult<ServiceTestTaskModel>', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => 'Id of the request', + 'type' => 'string', + 'example' => 'A361BA9E-xxxx-xxxx-xxxx-C26E5180456E', + ], + 'TaskName' => [ + 'description' => 'The task name.'."\n", + 'type' => 'string', + 'example' => 'nametest', + ], + 'Status' => [ + 'description' => 'The status of the service test task. Valid values:'."\n" + ."\n" + .'* Running'."\n" + .'* Success'."\n" + .'* Failure', + 'type' => 'string', + 'enumValueTitles' => [ + 'Running' => 'Running', + 'Success' => 'Success', + 'Failure' => 'Failure', + ], + 'example' => 'Running', + ], + 'TaskRegionId' => [ + 'description' => 'The task execution region.', + 'type' => 'string', + 'example' => 'cn-beijing', + ], + 'ExecutionDetails' => [ + 'description' => 'The execution details.', + 'type' => 'array', + 'items' => [ + 'description' => 'The sub tasks execution details.', + 'type' => 'object', + 'properties' => [ + 'CaseName' => [ + 'description' => 'The service test case name.', + 'type' => 'string', + 'example' => 'case1', + ], + 'Status' => [ + 'title' => '执行状态', + 'description' => 'The sub task status.', + 'type' => 'string', + 'example' => 'Runing', + ], + 'ExecutionReport' => [ + 'description' => 'The execution report', + 'type' => 'string', + 'example' => '-----------------------------------------------------------------------------'."\n" + .'Region: cn-qingdao'."\n" + .'StackName: iact3-default-cn-qingd'."\n" + .'StackId: 009d2991-f494-d'."\n" + .'*****************************************************************************'."\n", + ], + 'SubTaskId' => [ + 'description' => 'The sub task id.', + 'type' => 'string', + 'example' => 'stt-xxxx'."\n", + ], + ], + ], + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A361BA9E-xxxx-xxxx-xxxx-C26E5180456E\\",\\n \\"TaskName\\": \\"自动化测试任务1\\",\\n \\"Status\\": \\"Running\\",\\n \\"TaskRegionId\\": \\"cn-beijing\\",\\n \\"ExecutionDetails\\": [\\n {\\n \\"CaseName\\": \\"case1\\",\\n \\"Status\\": \\"Runing\\",\\n \\"ExecutionReport\\": \\"-----------------------------------------------------------------------------\\\\nRegion: cn-qingdao\\\\nStackName: iact3-default-cn-qingd\\\\nStackId: 009d2991-f494-d\\\\n*****************************************************************************\\\\n\\",\\n \\"SubTaskId\\": \\"stt-xxxx\\\\n\\"\\n }\\n ]\\n}","type":"json"}]', + 'title' => 'GetServiceTestTask', + 'translator' => 'machine', + ], + 'GenerateDefaultServiceTestConfig' => [ + 'summary' => '生成默认服务测试配置', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '166100', + 'abilityTreeNodes' => [ + 'FEATUREcomputenestHX5MKK', + ], + 'autoTest' => true, + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'ServiceId', + 'in' => 'query', + 'schema' => [ + 'title' => '服务ID', + 'description' => 'The service ID.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'service-41ad58439b4b4bf8ae73', + ], + ], + [ + 'name' => 'ServiceVersion', + 'in' => 'query', + 'schema' => [ + 'title' => '服务版本', + 'description' => 'The service version.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'draft', + ], + ], + [ + 'name' => 'TemplateName', + 'in' => 'query', + 'schema' => [ + 'description' => 'The template name.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'test-1', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'PlainResult<ServiceTestConfigModel>', + 'description' => 'PlainResult<ServiceTestConfigModel>', + 'type' => 'object', + 'properties' => [ + 'TestConfig' => [ + 'description' => 'The service test config', + 'type' => 'string', + 'example' => '---'."\n" + .'parameters:'."\n" + .' PayType: "PostPaid"'."\n" + .' EcsInstanceType: "$[iact3-auto]"'."\n" + .' InstancePassword: "$[iact3-auto]"', + ], + 'RequestId' => [ + 'description' => 'The request ID.'."\n", + 'type' => 'string', + 'example' => '51945B04-6AA6-410D-93BA-236E0248B104', + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TestConfig\\": \\"---\\\\nparameters:\\\\n PayType: \\\\\\"PostPaid\\\\\\"\\\\n EcsInstanceType: \\\\\\"$[iact3-auto]\\\\\\"\\\\n InstancePassword: \\\\\\"$[iact3-auto]\\\\\\"\\",\\n \\"RequestId\\": \\"51945B04-6AA6-410D-93BA-236E0248B104\\"\\n}","type":"json"}]', + 'title' => 'GenerateDefaultServiceTestConfig', + 'translator' => 'machine', + ], + 'GetServiceRegistration' => [ + 'summary' => 'Get service registration detail.', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '171561', + 'abilityTreeNodes' => [ + 'FEATUREcomputenestB2MIVU', + ], + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'RegionId', + 'in' => 'query', + 'schema' => [ + 'description' => 'Region ID.', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'cn-hangzhou', + ], + ], + [ + 'name' => 'RegistrationId', + 'in' => 'query', + 'schema' => [ + 'description' => 'Service registration ID.', + 'type' => 'string', + 'required' => false, + 'example' => 'sr-1b4aabc1c9eb4109****', + ], + ], + ], + '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' => 'A361BA9E-xxxx-xxxx-xxxx-C26E5180456E', + ], + 'RegistrationId' => [ + 'description' => 'Service registration ID.', + 'type' => 'string', + 'example' => 'sr-1b4aabc1c9eb4109****', + ], + 'ServiceId' => [ + 'description' => 'The service ID.'."\n", + 'type' => 'string', + 'example' => 'service-c2d118c9193e49xxxxxx', + ], + 'Status' => [ + 'description' => 'The status of service registration. Valid values:'."\n" + ."\n" + .'* Submitted'."\n" + .'* Approved'."\n" + .'* Rejected'."\n" + .'* Canceled'."\n" + .'* Executed', + 'type' => 'string', + 'example' => 'Submitted', + ], + 'SubmitTime' => [ + 'description' => 'Submit time.', + 'type' => 'string', + 'example' => '2024-12-07T11:05:50Z', + ], + 'FinishTime' => [ + 'description' => 'Finish time.', + 'type' => 'string', + 'example' => '2024-12-07T11:05:50Z', + ], + 'Comment' => [ + 'description' => 'Comment from reviewer.', + 'type' => 'string', + 'example' => 'comment message', + ], + 'ServiceInfo' => [ + 'description' => 'The service details.', + 'type' => 'object', + 'properties' => [ + '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', + ], + 'VersionName' => [ + 'description' => 'The version name.'."\n", + 'type' => 'string', + 'example' => 'v1.0', + ], + 'TrialType' => [ + 'description' => 'The trial policy. Valid values:'."\n" + ."\n" + .'* Trial: Trials are supported.'."\n" + .'* NotTrial: Trials are not supported.'."\n", + 'type' => 'string', + 'example' => 'Trial', + ], + ], + ], + 'Detail' => [ + 'description' => 'The details of service audit.', + 'type' => 'object', + 'properties' => [ + 'HasRelatedArtifact' => [ + 'description' => 'Whether service is associated with artifact.', + 'type' => 'boolean', + 'example' => 'true', + ], + 'TemplateDiffUrl' => [ + 'description' => 'The url of template diff file.', + 'type' => 'string', + 'example' => 'https://compute-nest-template-diff-bucket.oss-cn-hangzhou.aliyuncs.com/service-abc/diff', + ], + 'AtRisk' => [ + 'description' => 'Whether risk exists.', + 'type' => 'boolean', + 'example' => 'true', + ], + 'Reports' => [ + 'description' => 'The reports.', + 'type' => 'string', + 'example' => '{ "template1":"https://compute-nest-security-audit-bucket.oss-cn-hangzhou.aliyuncs.com/report" }', + ], + ], + ], + 'ServiceVersion' => [ + 'description' => 'The service version.'."\n", + 'type' => 'string', + 'example' => 'beta', + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A361BA9E-xxxx-xxxx-xxxx-C26E5180456E\\",\\n \\"RegistrationId\\": \\"sr-1b4aabc1c9eb4109****\\",\\n \\"ServiceId\\": \\"service-c2d118c9193e49xxxxxx\\",\\n \\"Status\\": \\"Submitted\\",\\n \\"SubmitTime\\": \\"2024-12-07T11:05:50Z\\",\\n \\"FinishTime\\": \\"2024-12-07T11:05:50Z\\",\\n \\"Comment\\": \\"comment message\\",\\n \\"ServiceInfo\\": {\\n \\"ServiceType\\": \\"private\\",\\n \\"VersionName\\": \\"v1.0\\",\\n \\"TrialType\\": \\"Trial\\"\\n },\\n \\"Detail\\": {\\n \\"HasRelatedArtifact\\": true,\\n \\"TemplateDiffUrl\\": \\"https://compute-nest-template-diff-bucket.oss-cn-hangzhou.aliyuncs.com/service-abc/diff\\",\\n \\"AtRisk\\": true,\\n \\"Reports\\": \\"{ \\\\\\"模板\\\\\\":\\\\\\"https://compute-nest-security-audit-bucket.oss-cn-hangzhou.aliyuncs.com/report\\\\\\" }\\"\\n },\\n \\"ServiceVersion\\": \\"beta\\"\\n}","type":"json"}]', + 'title' => 'GetServiceRegistration', + ], + 'ListResellers' => [ + 'summary' => 'Paginated query of distributor information list', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'systemTags' => [ + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '187909', + 'abilityTreeNodes' => [ + 'FEATUREcomputenestP881UH', + ], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'RegionId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The region ID.'."\n", + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'cn-hangzhou', + ], + ], + [ + 'name' => 'MaxResults', + 'in' => 'query', + 'schema' => [ + 'description' => 'The number of entries per page. Valid values: 1 to 100. Default value: 20.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '20', + ], + ], + [ + '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' => 'AAAAAWVmrOoWHbw/80lX0TWxe/s=', + ], + ], + [ + 'name' => 'Filter', + 'in' => 'query', + 'style' => 'repeatList', + 'schema' => [ + 'description' => 'The filters.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The filter.'."\n", + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => 'Filter value array.', + 'type' => 'array', + 'items' => [ + 'description' => 'Filter value.', + 'type' => 'string', + 'required' => false, + 'example' => 'Distributor A', + ], + 'required' => false, + 'maxItems' => 20, + ], + 'Name' => [ + 'description' => 'The parameter name of the filter. You can specify one or more parameter names to query services. Valid values:'."\n" + ."\n" + .'* ResellerUid: the uid of the distributor.'."\n" + .'* Name: the name of the distributor.', + 'type' => 'string', + 'required' => false, + 'example' => 'Name', + ], + ], + 'required' => false, + ], + 'required' => false, + 'maxItems' => 100, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'NextToken' => [ + 'description' => 'A pagination token.'."\n", + 'type' => 'string', + 'example' => 'AAAAAW8kZY+u1sYOaYf5JmgmDQQ=', + ], + 'RequestId' => [ + 'description' => 'The request ID.'."\n", + 'type' => 'string', + 'example' => 'A361BA9E-xxxx-xxxx-xxxx-C26E5180456E', + ], + 'TotalCount' => [ + 'description' => 'The total number of entries returned.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '4', + ], + 'MaxResults' => [ + 'description' => 'The number of entries per page. Valid values: 1 to 100. Default value: 20.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '20', + ], + 'SupplierInformation' => [ + 'description' => 'distributor informations', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'SupplierName' => [ + 'description' => 'The name of the distributor', + 'type' => 'string', + 'example' => 'Distributor A', + ], + 'SupplierDesc' => [ + 'description' => 'The description of distributor.', + 'type' => 'string', + 'example' => 'It is a XXXX company', + ], + 'SupplierLogo' => [ + 'description' => 'The Logo of distributor', + 'type' => 'string', + 'example' => 'https://service-info-public.oss-cn-hangzhou.aliyuncs.com/31978070/service-image/d5c3b585-ff6b-4e4e-8885-xxxx.png', + ], + 'SupplierUrl' => [ + 'description' => 'The URL of the distributor.', + 'type' => 'string', + 'example' => 'http://www.aliyun.com', + ], + 'SupplierUid' => [ + 'description' => 'The Alibaba Cloud account ID of the distributor.', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '152xxxxxxxxxxx', + ], + ], + ], + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"NextToken\\": \\"AAAAAW8kZY+u1sYOaYf5JmgmDQQ=\\",\\n \\"RequestId\\": \\"A361BA9E-xxxx-xxxx-xxxx-C26E5180456E\\",\\n \\"TotalCount\\": 4,\\n \\"MaxResults\\": 20,\\n \\"SupplierInformation\\": [\\n {\\n \\"SupplierName\\": \\"分销商a\\",\\n \\"SupplierDesc\\": \\"分销商a是一家xxxx的公司\\",\\n \\"SupplierLogo\\": \\"https://service-info-public.oss-cn-hangzhou.aliyuncs.com/31978070/service-image/d5c3b585-ff6b-4e4e-8885-xxxx.png\\",\\n \\"SupplierUrl\\": \\"http://www.aliyun.com\\",\\n \\"SupplierUid\\": 0\\n }\\n ]\\n}","type":"json"}]', + 'title' => 'Query Distributors', + ], + 'DeleteServiceTestCase' => [ + 'summary' => 'Delete service test configuration', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'delete', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '195908', + 'abilityTreeNodes' => [ + 'FEATUREcomputenestHX5MKK', + ], + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'TestCaseId', + 'in' => 'query', + 'schema' => [ + 'title' => '服务ID', + 'description' => 'The service test case id.', + 'type' => 'string', + 'required' => true, + 'example' => 'stc-0b2a3ad7e1de4c299eec', + ], + ], + [ + 'name' => 'RegionId', + 'in' => 'query', + 'schema' => [ + 'description' => 'Region ID.', + 'type' => 'string', + 'required' => false, + 'example' => 'cn-hangzhou', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'BaseResult', + 'description' => 'Result', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => 'The request ID.'."\n", + 'type' => 'string', + 'example' => '4DB0F536-B3BE-4F0D-BD29-E83FB56D****', + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"4DB0F536-B3BE-4F0D-BD29-E83FB56D****\\"\\n}","type":"json"}]', + 'title' => 'DeleteServiceTestCase', + 'translator' => 'machine', + ], + 'GetOpsNotice' => [ + 'summary' => '查看运维公告详情', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '157082', + 'abilityTreeNodes' => [ + 'FEATUREcomputenest18JMDW', + ], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'RegionId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'cn-hangzhou', + ], + ], + [ + 'name' => 'NoticeId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'notice-2338dxxxxxx', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'NoticeId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'notice-2338d3835bxxxxx', + ], + 'Type' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ServiceInstanceUpgrade', + ], + 'ServiceId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'service-c2d118c9193e49xxxxxx', + ], + 'ServiceName' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'Category' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'Availability', + ], + 'Severity' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'Critical', + ], + 'Content' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'message', + ], + 'Solutions' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'Solutions', + ], + 'Attributes' => [ + 'description' => '', + 'type' => 'string', + 'example' => '{\\"cveId\\":\\"CVE-2021-4034\\"}', + ], + 'StartTime' => [ + 'description' => '', + 'type' => 'string', + 'example' => '2024-11-18T02:05:00Z', + ], + 'Success' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'true', + ], + 'UserCount' => [ + 'description' => '', + 'type' => 'string', + 'example' => '1', + ], + 'ServiceInstanceCount' => [ + 'description' => '', + 'type' => 'string', + 'example' => '2', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '1B3AD3CC-E938-5042-A771-7FD9A2FE03F3', + ], + 'ServiceVersions' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => '1', + ], + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"NoticeId\\": \\"notice-2338d3835bxxxxx\\",\\n \\"Type\\": \\"ServiceInstanceUpgrade\\",\\n \\"ServiceId\\": \\"service-c2d118c9193e49xxxxxx\\",\\n \\"ServiceName\\": \\"Wordpress社区版\\",\\n \\"Category\\": \\"Availability\\",\\n \\"Severity\\": \\"Critical\\",\\n \\"Content\\": \\"message\\",\\n \\"Solutions\\": \\"Solutions\\",\\n \\"Attributes\\": \\"{\\\\\\\\\\\\\\"cveId\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"CVE-2021-4034\\\\\\\\\\\\\\"}\\",\\n \\"StartTime\\": \\"2024-11-18T02:05:00Z\\",\\n \\"Success\\": \\"true\\",\\n \\"UserCount\\": \\"1\\",\\n \\"ServiceInstanceCount\\": \\"2\\",\\n \\"RequestId\\": \\"1B3AD3CC-E938-5042-A771-7FD9A2FE03F3\\",\\n \\"ServiceVersions\\": [\\n \\"1\\"\\n ]\\n}","type":"json"}]', + ], + 'UpdateServiceTestCase' => [ + 'summary' => 'Modify Service Test Case', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '195905', + 'abilityTreeNodes' => [ + 'FEATUREcomputenestHX5MKK', + ], + 'autoTest' => true, + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'TestCaseId', + 'in' => 'query', + 'schema' => [ + 'title' => '服务ID', + 'description' => 'Service test case ID', + 'type' => 'string', + 'required' => true, + 'example' => 'stc-2deec15c20b24aaf9f16', + ], + ], + [ + 'name' => 'TestCaseName', + 'in' => 'query', + 'schema' => [ + 'title' => '测试case名字', + 'description' => 'Test case name', + 'type' => 'string', + 'required' => true, + 'example' => 'case1', + ], + ], + [ + 'name' => 'TestConfig', + 'in' => 'query', + 'schema' => [ + 'title' => '测试配置', + 'description' => 'Test configuration', + 'type' => 'string', + 'required' => true, + 'example' => '---'."\n" + .'parameters:'."\n" + .' PayType: "PostPaid"'."\n" + .' EcsInstanceType: "$[iact3-auto]"'."\n" + .' InstancePassword: "$[iact3-auto]"', + ], + ], + [ + 'name' => 'RegionId', + 'in' => 'query', + 'schema' => [ + 'description' => 'Region ID.', + 'type' => 'string', + 'required' => false, + 'example' => 'cn-hangzhou', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'BaseResult', + 'description' => 'BaseResult', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => 'Request ID.', + 'type' => 'string', + 'example' => 'DB1FA13E-1087-5654-84D5-58A0ACAD1B18', + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"DB1FA13E-1087-5654-84D5-58A0ACAD1B18\\"\\n}","type":"json"}]', + 'title' => 'Update Service Test Case', + 'translator' => 'machine', + ], + 'GetNetworkAvailableZones' => [ + 'summary' => '根据地域参数获取地域可用区列表', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '175426', + 'abilityTreeNodes' => [ + 'FEATUREcomputenestHX5MKK', + ], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'PrivateVpcConnectionMode', + 'in' => 'formData', + 'schema' => [ + 'title' => '连接模式 (PrivateLink: PrivateLink, OverlayLink: 基于ANSM的overlayLink)', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'VirtualInternet', + ], + ], + [ + 'name' => 'ServiceRegionId', + 'in' => 'formData', + 'schema' => [ + 'title' => '服务部署地域', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'cn-hangzhou', + ], + ], + [ + 'name' => 'ZoneId', + 'in' => 'formData', + 'schema' => [ + 'title' => '服务部署可用区', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'cn-hangzhou-k', + ], + ], + [ + 'name' => 'NetworkRegionId', + 'in' => 'formData', + 'schema' => [ + 'title' => '虚拟互联网地域', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'cn-hangzhou', + ], + ], + [ + 'name' => 'ServiceInstanceEndpointServiceType', + 'in' => 'formData', + 'schema' => [ + 'title' => '正/反向私网访问 (Forward: 正向访问, Reverse: 反向访问)', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'Forward', + ], + ], + [ + 'name' => 'IsPoc', + 'in' => 'formData', + 'schema' => [ + 'title' => '是否是试用', + 'description' => '', + 'type' => 'boolean', + 'required' => false, + 'example' => 'true', + ], + ], + [ + 'name' => 'ServiceId', + 'in' => 'formData', + 'schema' => [ + 'title' => '服务id, 和isPoc 为true,一起用', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'service-63b8a060e9d54cxxxxxx', + ], + ], + [ + 'name' => 'ServiceVersion', + 'in' => 'formData', + 'schema' => [ + 'title' => '服务版本,和isPoc 为true,一起用', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'draft', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'PlainResult<NetworkAvailableZonesModel>', + 'description' => 'PlainResult<NetworkAvailableZonesModel>', + 'type' => 'object', + 'properties' => [ + 'Data' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'ZoneIdList' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'cn-hangzhou-k', + ], + ], + ], + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'E8EF75BC-14E4-597A-BE66-FFA9393C0875', + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": {\\n \\"ZoneIdList\\": [\\n \\"cn-hangzhou-k\\"\\n ]\\n },\\n \\"RequestId\\": \\"E8EF75BC-14E4-597A-BE66-FFA9393C0875\\"\\n}","type":"json"}]', + ], + 'ListServiceTestCases' => [ + 'summary' => 'Service test case list', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '195910', + 'abilityTreeNodes' => [ + 'FEATUREcomputenestHX5MKK', + ], + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'ServiceId', + 'in' => 'query', + 'schema' => [ + 'title' => '服务商ID', + 'description' => 'The service ID.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'service-0e6fca6a51a54420****', + ], + ], + [ + 'name' => 'ServiceVersion', + 'in' => 'query', + 'schema' => [ + 'title' => '服务版本', + 'description' => 'The service version.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'draft', + ], + ], + [ + 'name' => 'Filters', + 'in' => 'query', + 'style' => 'repeatList', + 'schema' => [ + 'description' => 'The filters.', + 'type' => 'array', + 'items' => [ + 'description' => 'The filter.', + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The parameter name of the filter. You can specify one or more filters. Valid values:'."\n" + ."\n" + .'**Status**'."\n" + ."\n" + .'**TaskId**', + 'type' => 'string', + 'required' => false, + 'example' => 'Status'."\n", + ], + 'Value' => [ + 'description' => 'The value of the filter condition.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The value of the filter condition.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'Success', + ], + 'required' => false, + 'maxItems' => 10, + ], + ], + 'required' => false, + ], + 'required' => false, + 'maxItems' => 10, + ], + ], + [ + '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', + ], + ], + [ + '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' => 'RegionId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The region ID.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'cn-hangzhou', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'NextTokenListResult<ServiceTestCaseModel>', + 'description' => 'NextTokenListResult<ServiceTestCaseModel>', + 'type' => 'object', + 'properties' => [ + 'NextToken' => [ + 'description' => 'The pagination token that is used in the next request to retrieve a new page of results. You do not need to specify this parameter for the first request. You must specify the token that is obtained from the previous query as the value of NextToken.'."\n", + 'type' => 'string', + 'example' => 'AAAAAWns8w4MmhzeptXVRG0PUEU=', + ], + 'MaxResults' => [ + 'description' => 'The number of entries per page. Valid values: 1 to 100. Default value: 20.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '20', + ], + 'Data' => [ + 'description' => 'The data returned.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The data returned.'."\n", + 'type' => 'object', + 'properties' => [ + 'TemplateName' => [ + 'title' => '模版名称', + 'description' => 'The template name.'."\n", + 'type' => 'string', + 'example' => 'test-1', + ], + 'TestConfig' => [ + 'title' => '用户配置的YAML文件', + 'description' => 'The service test config.', + 'type' => 'string', + 'example' => '---'."\n" + .'parameters:'."\n" + .' PayType: "PostPaid"'."\n" + .' EcsInstanceType: "$[iact3-auto]"'."\n" + .' InstancePassword: "$[iact3-auto]"'."\n", + ], + 'TestCaseName' => [ + 'title' => '测试用例名字', + 'description' => 'The service test case name.', + 'type' => 'string', + 'example' => 'case1', + ], + 'TestCaseId' => [ + 'title' => '测试用例ID', + 'description' => 'The service test case id.', + 'type' => 'string', + 'example' => 'stc-83fcee1383354e35b151', + ], + ], + ], + ], + 'TotalCount' => [ + 'description' => 'The total number of entries returned.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '18', + ], + 'RequestId' => [ + 'description' => 'Request ID.', + 'type' => 'string', + 'example' => 'CA3AE512-6D30-549A-B52D-B9042CA8D515', + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"NextToken\\": \\"AAAAAWns8w4MmhzeptXVRG0PUEU=\\",\\n \\"MaxResults\\": 20,\\n \\"Data\\": [\\n {\\n \\"TemplateName\\": \\"模板1\\",\\n \\"TestConfig\\": \\"---\\\\nparameters:\\\\n PayType: \\\\\\"PostPaid\\\\\\"\\\\n EcsInstanceType: \\\\\\"$[iact3-auto]\\\\\\"\\\\n InstancePassword: \\\\\\"$[iact3-auto]\\\\\\"\\\\n\\",\\n \\"TestCaseName\\": \\"case1\\",\\n \\"TestCaseId\\": \\"stc-83fcee1383354e35b151\\"\\n }\\n ],\\n \\"TotalCount\\": 18,\\n \\"RequestId\\": \\"CA3AE512-6D30-549A-B52D-B9042CA8D515\\"\\n}","type":"json"}]', + 'title' => 'ListServiceTestCases', + 'translator' => 'machine', + ], + 'CreateServiceTestCase' => [ + 'summary' => 'Create service test case.', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '195882', + 'abilityTreeNodes' => [ + 'FEATUREcomputenestHX5MKK', + ], + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'ServiceId', + 'in' => 'query', + 'schema' => [ + 'title' => '服务ID', + 'description' => 'The service ID.', + 'type' => 'string', + 'required' => true, + 'example' => 'service-0e6fca6a51a544xxxxxx', + ], + ], + [ + 'name' => 'ServiceVersion', + 'in' => 'query', + 'schema' => [ + 'title' => '服务版本', + 'description' => 'The service version.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'draft', + ], + ], + [ + 'name' => 'TemplateName', + 'in' => 'query', + 'schema' => [ + 'title' => '模板名', + 'description' => 'The template name.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'Custom_Image_Ecs', + ], + ], + [ + 'name' => 'TestCaseName', + 'in' => 'query', + 'schema' => [ + 'title' => '测试case名字', + 'description' => 'Service Test case name.', + 'type' => 'string', + 'required' => true, + 'example' => 'case1', + ], + ], + [ + 'name' => 'TestConfig', + 'in' => 'query', + 'schema' => [ + 'title' => '测试配置', + 'description' => 'The service test config', + 'type' => 'string', + 'required' => true, + 'example' => '---'."\n" + .'parameters:'."\n" + .' PayType: "PostPaid"'."\n" + .' EcsInstanceType: "$[iact3-auto]"'."\n" + .' InstancePassword: "$[iact3-auto]"'."\n", + ], + ], + [ + 'name' => 'RegionId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The region ID.', + 'type' => 'string', + 'required' => false, + 'example' => 'cn-hangzhou', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'PlainResult<String>', + 'description' => 'PlainResult<String>', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => 'The request ID.'."\n", + 'type' => 'string', + 'example' => 'E50287CB-AABF-4877-92C0-289B339A1546', + ], + 'TestCaseId' => [ + 'description' => 'The test case Id', + 'type' => 'string', + 'example' => 'stc-5ba03a6a9a2746be8739', + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"E50287CB-AABF-4877-92C0-289B339A1546\\",\\n \\"TestCaseId\\": \\"stc-5ba03a6a9a2746be8739\\"\\n}","type":"json"}]', + 'title' => 'CreateServiceTestCase', + ], + 'GetServiceTemplateCriterionIssues' => [ + 'summary' => '查询服务模板存在的规范问题', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREcomputenestHX5MKK', + ], + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'RegionId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'cn-hangzhou', + ], + ], + [ + 'name' => 'ServiceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'service-c2d118c9193e49xxxxxx', + ], + ], + [ + 'name' => 'ServiceVersion', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'docRequired' => true, + 'example' => '1', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'TemplateCriterionIssueList' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'TotalCriterionIssueCount' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '3', + ], + 'TemplateUrl' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => 'http://service-private-info/xxx/ros/template/tpl-xxxx.json', + ], + 'TemplateName' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'TotalMandatoryCriterionIssueCount' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + 'CriterionIssues' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Position' => [ + 'description' => '', + 'type' => 'string', + 'example' => '$.Parameters.PayType', + ], + 'Level' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'Mandatory', + ], + 'Type' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ParameterNeedAssociationProperty', + ], + 'ExtendInfo' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Property' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'null ', + ], + 'PropertyValue' => [ + 'description' => '', + 'type' => 'string', + 'example' => ' null', + ], + 'AssociationProperty' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ChargeType', + ], + ], + ], + ], + ], + ], + ], + ], + ], + 'TotalCriterionIssueCount' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '3', + ], + 'TotalMandatoryCriterionIssueCount' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + 'RiskyTemplateCount' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'A361BA9E-xxxx-xxxx-xxxx-C26E5180456E', + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TemplateCriterionIssueList\\": [\\n {\\n \\"TotalCriterionIssueCount\\": 3,\\n \\"TemplateUrl\\": 0,\\n \\"TemplateName\\": \\"模板1\\",\\n \\"TotalMandatoryCriterionIssueCount\\": 1,\\n \\"CriterionIssues\\": [\\n {\\n \\"Position\\": \\"$.Parameters.PayType\\",\\n \\"Level\\": \\"Mandatory\\",\\n \\"Type\\": \\"ParameterNeedAssociationProperty\\",\\n \\"ExtendInfo\\": {\\n \\"Property\\": \\"null \\",\\n \\"PropertyValue\\": \\" null\\",\\n \\"AssociationProperty\\": \\"ChargeType\\"\\n }\\n }\\n ]\\n }\\n ],\\n \\"TotalCriterionIssueCount\\": 3,\\n \\"TotalMandatoryCriterionIssueCount\\": 1,\\n \\"RiskyTemplateCount\\": 1,\\n \\"RequestId\\": \\"A361BA9E-xxxx-xxxx-xxxx-C26E5180456E\\"\\n}","type":"json"}]', + ], + 'ListArtifactBuildLogs' => [ + 'summary' => '查询部署实例、升级以及应用的日志', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '254868', + 'abilityTreeNodes' => [ + 'FEATUREcomputenest18JMDW', + ], + ], + 'parameters' => [ + [ + 'name' => 'RegionId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'cn-hangzhou', + ], + ], + [ + 'name' => 'MaxResults', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '100', + ], + ], + [ + 'name' => 'NextToken', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'AAAAAbL3H6CZmy6oocwGDqzQ+Gc=', + ], + ], + [ + 'name' => 'ArtifactId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'artifact-fbad2ca276194d019714', + ], + ], + [ + 'name' => 'Filter', + 'in' => 'query', + 'style' => 'repeatList', + 'schema' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'BuildStartTime', + ], + 'Value' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'Rejected', + ], + 'required' => false, + 'maxItems' => 20, + ], + ], + 'required' => false, + ], + 'required' => false, + 'maxItems' => 100, + ], + ], + [ + 'name' => 'SortOrder', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'Ascending', + 'default' => 'Descending', + 'enum' => [ + 'Ascending', + 'Descending', + ], + ], + ], + [ + 'name' => 'ArtifactVersion', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'draft', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'NextToken' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'AAAAAVEKMJSB4yFi/EJc7fOJCkw=', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '708AB976-F69C-5727-BED9-8C39D878B93A', + ], + 'MaxResults' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '100', + ], + 'BuildLogs' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Content' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'NDAx', + ], + 'Timestamp' => [ + 'description' => '', + 'type' => 'string', + 'format' => 'iso8601', + 'example' => '1738894304', + ], + ], + ], + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"NextToken\\": \\"AAAAAVEKMJSB4yFi/EJc7fOJCkw=\\",\\n \\"RequestId\\": \\"708AB976-F69C-5727-BED9-8C39D878B93A\\",\\n \\"MaxResults\\": 100,\\n \\"BuildLogs\\": [\\n {\\n \\"Content\\": \\"NDAx\\",\\n \\"Timestamp\\": \\"1738894304\\"\\n }\\n ]\\n}","type":"json"}]', + 'title' => 'ListArtifactBuildLogs', + ], + 'ListServiceBuildLogs' => [ + 'summary' => '查询部署实例、升级以及应用的日志', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '254866', + 'abilityTreeNodes' => [ + 'FEATUREcomputenest18JMDW', + ], + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'RegionId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'cn-hangzhou', + ], + ], + [ + 'name' => 'MaxResults', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '20', + ], + ], + [ + 'name' => 'NextToken', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'AAAAAYChudnQUoBH+mGWFpb6oP0=', + ], + ], + [ + 'name' => 'ServiceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'service-39f4f251e94843xxxxxx', + ], + ], + [ + 'name' => 'Filter', + 'in' => 'query', + 'style' => 'repeatList', + 'schema' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'Name', + ], + 'Value' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'Rejected', + ], + 'required' => false, + 'maxItems' => 20, + ], + ], + 'required' => false, + ], + 'required' => false, + 'maxItems' => 100, + ], + ], + [ + 'name' => 'SortOrder', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'Ascending', + 'default' => 'Descending', + 'enum' => [ + 'Descending', + 'Ascending', + ], + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'NextToken' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'AAAAAW8kZY+u1sYOaYf5JmgmDQQ=', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '4DB0F536-B3BE-4F0D-BD29-E83FB56D550C', + ], + 'BuildLogs' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Content' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'build log', + ], + 'BuildStep' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'BuildArtifact', + ], + 'Timestamp' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'yyyy-MM-dd\'T\'HH:mm:ss\'Z\'', + ], + ], + ], + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"NextToken\\": \\"AAAAAW8kZY+u1sYOaYf5JmgmDQQ=\\",\\n \\"RequestId\\": \\"4DB0F536-B3BE-4F0D-BD29-E83FB56D550C\\",\\n \\"BuildLogs\\": [\\n {\\n \\"Content\\": \\"build log\\",\\n \\"BuildStep\\": \\"BuildArtifact\\",\\n \\"Timestamp\\": \\"yyyy-MM-dd\'T\'HH:mm:ss\'Z\'\\"\\n }\\n ]\\n}","type":"json"}]', + ], + 'ListOpsNotices' => [ + 'summary' => '查询运维公告', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREcomputenest18JMDW', + ], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'RegionId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'cn-hangzhou', + ], + ], + [ + 'name' => 'MaxResults', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '20', + ], + ], + [ + 'name' => 'NextToken', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'AAAAAfu+XtuBE55iRLHEYYuojI4=', + ], + ], + [ + 'name' => 'Filter', + 'in' => 'query', + 'style' => 'repeatList', + 'schema' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '1', + ], + 'required' => false, + 'maxItems' => 20, + ], + 'Name' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'ServiceId', + ], + ], + 'required' => false, + ], + 'required' => false, + 'maxItems' => 100, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'NextToken' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'AAAAAfu+XtuBE55iRLHEYYuojI4=', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '51945B04-6AA6-410D-93BA-236E0248B104', + ], + 'TotalCount' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '100', + ], + 'MaxResults' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + 'OpsNotices' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'NoticeId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'notice-1749693290', + ], + 'Type' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'Vulnerability', + ], + 'ServiceId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'service-e10349089de34exxxxxx', + ], + 'ServiceName' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'test', + ], + 'ServiceVersions' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => ' "1", "2"', + ], + ], + 'Category' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'Security', + ], + 'Severity' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'High', + ], + 'Content' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'content', + ], + 'Solutions' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'You need to upgrade service instance', + ], + 'Attributes' => [ + 'description' => '', + 'type' => 'string', + 'example' => '{"cveId":"CVE-2021-4034"}', + ], + 'StartTime' => [ + 'description' => '', + 'type' => 'string', + 'example' => '2022-10-12T02:03:37Z', + ], + 'Success' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'True', + ], + ], + ], + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"NextToken\\": \\"AAAAAfu+XtuBE55iRLHEYYuojI4=\\",\\n \\"RequestId\\": \\"51945B04-6AA6-410D-93BA-236E0248B104\\",\\n \\"TotalCount\\": 100,\\n \\"MaxResults\\": 1,\\n \\"OpsNotices\\": [\\n {\\n \\"NoticeId\\": \\"notice-1749693290\\",\\n \\"Type\\": \\"Vulnerability\\",\\n \\"ServiceId\\": \\"service-e10349089de34exxxxxx\\",\\n \\"ServiceName\\": \\"test\\",\\n \\"ServiceVersions\\": [\\n \\" \\\\\\"1\\\\\\", \\\\\\"2\\\\\\"\\"\\n ],\\n \\"Category\\": \\"Security\\",\\n \\"Severity\\": \\"High\\",\\n \\"Content\\": \\"content\\",\\n \\"Solutions\\": \\"You need to upgrade service instance\\",\\n \\"Attributes\\": \\"{\\\\\\"cveId\\\\\\":\\\\\\"CVE-2021-4034\\\\\\"}\\",\\n \\"StartTime\\": \\"2022-10-12T02:03:37Z\\",\\n \\"Success\\": \\"True\\"\\n }\\n ]\\n}","type":"json"}]', + ], + ], + 'endpoints' => [ + [ + 'regionId' => 'ap-southeast-1', + 'endpoint' => 'computenestsupplier.ap-southeast-1.aliyuncs.com', + ], + [ + 'regionId' => 'cn-hangzhou', + 'endpoint' => 'computenestsupplier.cn-hangzhou.aliyuncs.com', + ], + ], +]; |
