summaryrefslogtreecommitdiff
path: root/data/en_us/oos/2019-06-01/api-docs.php
diff options
context:
space:
mode:
authorZhineng Li <im@zhineng.li>2026-07-12 17:11:17 +0800
committerZhineng Li <im@zhineng.li>2026-07-12 17:11:17 +0800
commit1c7f908ce09f98fdcbf79ed2a8ae21be60eaa634 (patch)
tree5f0857666365b7e40cdaa3733ebe1f3ba9e13c67 /data/en_us/oos/2019-06-01/api-docs.php
parent7347bac4ab7e136157fc94777e6cf87ef9e08599 (diff)
downloadafterglow-metadata-full-1c7f908ce09f98fdcbf79ed2a8ae21be60eaa634.tar.gz
afterglow-metadata-full-1c7f908ce09f98fdcbf79ed2a8ae21be60eaa634.zip
update APIs 20260712
Diffstat (limited to 'data/en_us/oos/2019-06-01/api-docs.php')
-rw-r--r--data/en_us/oos/2019-06-01/api-docs.php23324
1 files changed, 10104 insertions, 13220 deletions
diff --git a/data/en_us/oos/2019-06-01/api-docs.php b/data/en_us/oos/2019-06-01/api-docs.php
index 5eebcba..b5725ac 100644
--- a/data/en_us/oos/2019-06-01/api-docs.php
+++ b/data/en_us/oos/2019-06-01/api-docs.php
@@ -1,321 +1,131 @@
<?php return [
'version' => '1.0',
- 'info' => [
- 'style' => 'RPC',
- 'product' => 'oos',
- 'version' => '2019-06-01',
- ],
+ 'info' => ['style' => 'RPC', 'product' => 'oos', 'version' => '2019-06-01'],
'directories' => [
[
- 'id' => 73234,
- 'title' => 'Region',
+ 'children' => ['ListTemplateVersions', 'ListExecutionRiskyTasks', 'ValidateTemplateContent'],
'type' => 'directory',
- 'children' => [
- 'DescribeRegions',
- ],
- ],
- [
- 'id' => 73254,
'title' => 'Template',
- 'type' => 'directory',
- 'children' => [
- 'CreateTemplate',
- 'DeleteTemplates',
- 'DeleteTemplate',
- 'UpdateTemplate',
- 'ListTemplateVersions',
- 'ListTemplates',
- 'GetTemplate',
- 'ListExecutionRiskyTasks',
- 'ValidateTemplateContent',
- ],
- ],
- [
- 'id' => 73264,
- 'title' => 'Execution',
- 'type' => 'directory',
- 'children' => [
- 'DeleteExecutions',
- 'StartExecution',
- 'UpdateExecution',
- 'GetExecutionTemplate',
- 'ListExecutions',
- 'ListExecutionLogs',
- 'ListTaskExecutions',
- 'ListResourceExecutionStatus',
- 'CancelExecution',
- 'GenerateExecutionPolicy',
- 'NotifyExecution',
- 'TriggerExecution',
- ],
],
[
- 'id' => 73277,
- 'title' => 'Action',
+ 'children' => ['StartExecution', 'GetExecutionTemplate', 'ListExecutions', 'ListExecutionLogs', 'ListTaskExecutions', 'GenerateExecutionPolicy', 'NotifyExecution'],
'type' => 'directory',
- 'children' => [
- 'ListActions',
- ],
+ 'title' => 'Execution',
],
[
- 'id' => 73286,
- 'title' => 'Parameter',
- 'type' => 'directory',
'children' => [
[
- 'id' => 73287,
- 'title' => 'Common Parameter',
+ 'children' => ['GetParametersByPath', 'GetParameters'],
'type' => 'directory',
- 'children' => [
- 'CreateParameter',
- 'DeleteParameter',
- 'UpdateParameter',
- 'GetParameter',
- 'ListParameters',
- 'ListParameterVersions',
- 'GetParametersByPath',
- 'GetParameters',
- ],
+ 'title' => 'Common parameter',
],
[
- 'id' => 73296,
- 'title' => 'Secret Parameter',
+ 'children' => ['DeleteSecretParameter', 'GetSecretParameter', 'ListSecretParameterVersions', 'GetSecretParametersByPath', 'GetSecretParameters'],
'type' => 'directory',
- 'children' => [
- 'CreateSecretParameter',
- 'DeleteSecretParameter',
- 'UpdateSecretParameter',
- 'GetSecretParameter',
- 'ListSecretParameters',
- 'ListSecretParameterVersions',
- 'GetSecretParametersByPath',
- 'GetSecretParameters',
- ],
+ 'title' => 'Encrypted parameter',
],
],
+ 'type' => 'directory',
+ 'title' => 'Parameter',
],
[
- 'id' => 73244,
- 'title' => 'Patch Management',
- 'type' => 'directory',
'children' => [
[
- 'id' => 73247,
- 'title' => 'Patch Baseline',
+ 'children' => ['DeletePatchBaseline', 'GetPatchBaseline'],
'type' => 'directory',
- 'children' => [
- 'CreatePatchBaseline',
- 'DeletePatchBaseline',
- 'UpdatePatchBaseline',
- 'GetPatchBaseline',
- 'ListPatchBaselines',
- 'RegisterDefaultPatchBaseline',
- ],
+ 'title' => 'Patch baseline',
],
[
- 'id' => 171899,
- 'title' => 'Patch State',
+ 'children' => ['ListInstancePatchStates', 'ListInstancePatches'],
'type' => 'directory',
- 'children' => [
- 'ListInstancePatchStates',
- 'ListInstancePatches',
- ],
+ 'title' => 'Patch status',
],
],
+ 'type' => 'directory',
+ 'title' => 'Patch management',
],
[
- 'id' => 73305,
- 'title' => 'Inventory',
+ 'children' => ['SearchInventory'],
'type' => 'directory',
- 'children' => [
- 'ListInventoryEntries',
- 'GetInventorySchema',
- 'SearchInventory',
- ],
+ 'title' => 'Configuration inventory',
],
[
- 'id' => 73239,
- 'title' => 'State Configuration',
+ 'children' => ['UpdateStateConfiguration'],
'type' => 'directory',
- 'children' => [
- 'CreateStateConfiguration',
- 'DeleteStateConfigurations',
- 'UpdateStateConfiguration',
- 'ListStateConfigurations',
- ],
+ 'title' => 'Desired state configuration',
],
[
- 'id' => 172160,
- 'title' => 'OpsItem',
+ 'children' => ['CreateOpsItem', 'UpdateOpsItem'],
'type' => 'directory',
- 'children' => [
- 'CreateOpsItem',
- 'GetOpsItem',
- 'ListOpsItems',
- 'UpdateOpsItem',
- 'DeleteOpsItems',
- ],
+ 'title' => 'O&M item',
],
[
- 'id' => 73309,
- 'title' => 'Service Settings',
+ 'children' => ['SetServiceSettings', 'GetServiceSettings'],
'type' => 'directory',
- 'children' => [
- 'SetServiceSettings',
- 'GetServiceSettings',
- ],
+ 'title' => 'Service configuration',
],
[
- 'id' => 170457,
- 'title' => 'Application Management',
- 'type' => 'directory',
'children' => [
[
- 'id' => 73223,
- 'title' => 'Application',
+ 'children' => ['UpdateApplicationGroup', 'GetApplicationGroup', 'ListApplicationGroups', 'DeployApplicationGroup'],
'type' => 'directory',
- 'children' => [
- 'CreateApplication',
- 'DeleteApplication',
- 'UpdateApplication',
- 'GetApplication',
- 'ListApplications',
- ],
- ],
- [
- 'id' => 73222,
- 'title' => 'Application Group',
- 'type' => 'directory',
- 'children' => [
- 'CreateApplicationGroup',
- 'DeleteApplicationGroup',
- 'UpdateApplicationGroup',
- 'GetApplicationGroup',
- 'ListApplicationGroups',
- 'DeployApplicationGroup',
- 'ContinueDeployApplicationGroup',
- 'DescribeApplicationGroupBill',
- ],
+ 'title' => 'Application group',
],
],
- ],
- [
- 'id' => 73279,
- 'title' => 'Tag',
'type' => 'directory',
- 'children' => [
- 'ListTagKeys',
- 'ListTagValues',
- 'ListTagResources',
- 'UntagResources',
- 'TagResources',
- ],
+ 'title' => 'Application management',
],
[
- 'id' => 196347,
- 'title' => 'Resource Group',
+ 'children' => ['UpdateInstancePackageState', 'ListInstancePackageStates'],
'type' => 'directory',
- 'children' => [
- 'ChangeResourceGroup',
- ],
+ 'title' => 'Extension',
],
[
- 'id' => 190120,
- 'title' => 'Extentions',
+ 'children' => ['GenerateOpsItem', 'GetTemplateParameterConstraints'],
'type' => 'directory',
- 'children' => [
- 'UpdateInstancePackageState',
- 'ListInstancePackageStates',
- ],
- ],
- [
- 'id' => 206014,
'title' => 'Other',
- 'type' => 'directory',
- 'children' => [
- 'GenerateOpsItem',
- 'GetTemplateParameterConstraints',
- ],
],
[
- 'id' => 0,
- 'title' => '其它',
- 'type' => 'directory',
'children' => [
- 'UpdateTemplateAttributes',
- 'CheckGitRepoFileExists',
- 'ListGitOrganizations',
- 'ListGitRepositories',
- 'ListGitBranches',
- 'ListGitAccounts',
- 'CreateGitRepository',
- 'CheckGitRepositoryExists',
- 'GetGitBranch',
- 'ListGitRepositoryContents',
- 'GetGitRepository',
- 'ListTaskExecutionInvocations',
- 'GetChatConfiguration',
- 'CreateChatConfiguration',
- 'ListChatConfigurations',
- 'UpdateChatConfiguration',
- 'DeleteChatConfiguration',
- 'StartDebugExecution',
+ 'CancelExecution', 'ChangeResourceGroup', 'CheckGitRepoFileExists', 'CheckGitRepositoryExists', 'ContinueDeployApplicationGroup', 'CreateApplication', 'CreateApplicationGroup', 'CreateChatConfiguration', 'CreateDeployRevision', 'CreateGitRepository', 'CreateParameter', 'CreatePatchBaseline', 'CreateSecretParameter', 'CreateStateConfiguration', 'CreateTemplate', 'DeleteApplication', 'DeleteApplicationGroup', 'DeleteChatConfiguration', 'DeleteExecutions', 'DeleteOpsItems',
+ 'DeleteParameter', 'DeleteStateConfigurations', 'DeleteTemplate', 'DeleteTemplates', 'DescribeApplicationGroupBill', 'DescribeRegions', 'GetApplication', 'GetChatConfiguration', 'GetDeployRevision', 'GetGitBranch', 'GetGitRepository', 'GetInventorySchema', 'GetOpsItem', 'GetParameter', 'GetTemplate', 'ListActions', 'ListApplications', 'ListChatConfigurations', 'ListDeployRevisions', 'ListGitAccounts',
+ 'ListGitBranches', 'ListGitOrganizations', 'ListGitRepositories', 'ListGitRepositoryContents', 'ListInventoryEntries', 'ListOpsItems', 'ListParameterVersions', 'ListParameters', 'ListPatchBaselines', 'ListResourceExecutionStatus', 'ListSecretParameters', 'ListStateConfigurations', 'ListTagKeys', 'ListTagResources', 'ListTagValues', 'ListTaskExecutionInvocations', 'ListTemplates', 'RegisterDefaultPatchBaseline', 'StartDebugExecution', 'TagResources',
+ 'TriggerExecution', 'UntagResources', 'UpdateApplication', 'UpdateChatConfiguration', 'UpdateExecution', 'UpdateParameter', 'UpdatePatchBaseline', 'UpdateSecretParameter', 'UpdateTemplate', 'UpdateTemplateAttributes',
],
+ 'title' => 'Others',
+ 'type' => 'directory',
],
],
'components' => [
'schemas' => [],
],
'apis' => [
- 'DescribeRegions' => [
- 'summary' => 'Queries supported regions.',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'CancelExecution' => [
+ 'summary' => 'Cancels an execution.',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
+ 'deprecated' => false,
'systemTags' => [
- 'operationType' => 'get',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- 'abilityTreeCode' => '93955',
- 'abilityTreeNodes' => [
- 'FEATUREoosB33AG0',
- ],
- 'tenantRelevance' => 'publicInformation',
+ 'operationType' => 'update',
+ 'abilityTreeCode' => '93937',
+ 'abilityTreeNodes' => ['FEATUREoosQL14T7'],
],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The region ID.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => 'The ID of the region.'."\n", 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''],
],
[
- 'name' => 'AcceptLanguage',
+ 'name' => 'ExecutionId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The supported natural language. Valid values:'."\n"
- ."\n"
- .'* zh-CN: Chinese'."\n"
- .'* en-US: English'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh-CN',
- ],
+ 'schema' => ['description' => 'The ID of the execution.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'exec-xxx', 'title' => ''],
],
],
'responses' => [
@@ -323,136 +133,90 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => 'The request ID.'."\n",
- 'type' => 'string',
- 'example' => '469E79B1-90A3-4A57-B7C4-2FE0C8B5175E',
- ],
- 'Regions' => [
- 'description' => 'The details of the regions.'."\n",
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'RegionEndpoint' => [
- 'description' => 'The endpoint of the region.'."\n",
- 'type' => 'string',
- 'example' => 'oos.cn-shenzhen.aliyuncs.com',
- ],
- 'LocalName' => [
- 'description' => 'The name of the region.'."\n",
- 'type' => 'string',
- 'example' => 'China (Shenzhen)',
- ],
- 'RegionId' => [
- 'description' => 'The region ID.'."\n",
- 'type' => 'string',
- 'example' => 'cn-shenzhen',
- ],
- ],
- ],
- ],
+ 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '14A07460-EBE7-47CA-9757-12CC4761D47A', 'title' => ''],
],
'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"469E79B1-90A3-4A57-B7C4-2FE0C8B5175E\\",\\n \\"Regions\\": [\\n {\\n \\"RegionEndpoint\\": \\"oos.cn-shenzhen.aliyuncs.com\\",\\n \\"LocalName\\": \\"China (Shenzhen)\\",\\n \\"RegionId\\": \\"cn-shenzhen\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<DescribeRegionseResponse>\\n<RequestId>469E79B1-90A3-4A57-B7C4-2FE0C8B5175E</RequestId>\\n<Regions>\\n <RegionId>cn-shenzhen</RegionId>\\n <RegionEndpoint>oos.cn-shenzhen.aliyuncs.com</RegionEndpoint>\\n <LocalName>China (Shenzhen)</LocalName>\\n</Regions>\\n<Regions>\\n <RegionId>eu-central-1</RegionId>\\n <RegionEndpoint>oos.eu-central-1.aliyuncs.com</RegionEndpoint>\\n <LocalName>Germany (Frankfurt)</LocalName>\\n</Regions>\\n<Regions>\\n <RegionId>cn-chengdu</RegionId>\\n <RegionEndpoint>oos.cn-chengdu.aliyuncs.com</RegionEndpoint>\\n <LocalName>China (Chengdu)</LocalName>\\n</Regions>\\n<Regions>\\n <RegionId>ap-south-1</RegionId>\\n <RegionEndpoint>oos.ap-south-1.aliyuncs.com</RegionEndpoint>\\n <LocalName>India (Mumbai)</LocalName>\\n</Regions>\\n<Regions>\\n <RegionId>cn-zhangjiakou</RegionId>\\n <RegionEndpoint>oos.cn-zhangjiakou.aliyuncs.com</RegionEndpoint>\\n <LocalName>China (Zhangjiakou)</LocalName>\\n</Regions>\\n<Regions>\\n <RegionId>ap-northeast-1</RegionId>\\n <RegionEndpoint>oos.ap-northeast-1.aliyuncs.com</RegionEndpoint>\\n <LocalName>Japan (Tokyo)</LocalName>\\n</Regions>\\n<Regions>\\n <RegionId>ap-southeast-2</RegionId>\\n <RegionEndpoint>oos.ap-southeast-2.aliyuncs.com</RegionEndpoint>\\n <LocalName>Australia (Sydney)</LocalName>\\n</Regions>\\n<Regions>\\n <RegionId>cn-hangzhou</RegionId>\\n <RegionEndpoint>oos.cn-hangzhou.aliyuncs.com</RegionEndpoint>\\n <LocalName>China (Hangzhou)</LocalName>\\n</Regions>\\n<Regions>\\n <RegionId>cn-hongkong</RegionId>\\n <RegionEndpoint>oos.cn-hongkong.aliyuncs.com</RegionEndpoint>\\n <LocalName>China (Hong Kong)</LocalName>\\n</Regions>\\n<Regions>\\n <RegionId>eu-west-1</RegionId>\\n <RegionEndpoint>oos.eu-west-1.aliyuncs.com</RegionEndpoint>\\n <LocalName>UK (London)</LocalName>\\n</Regions>\\n<Regions>\\n <RegionId>ap-southeast-1</RegionId>\\n <RegionEndpoint>oos.ap-southeast-1.aliyuncs.com</RegionEndpoint>\\n <LocalName>Singapore</LocalName>\\n</Regions>\\n<Regions>\\n <RegionId>ap-southeast-5</RegionId>\\n <RegionEndpoint>oos.ap-southeast-5.aliyuncs.com</RegionEndpoint>\\n <LocalName>Indonesia (Jakarta)</LocalName>\\n</Regions>\\n<Regions>\\n <RegionId>cn-beijing</RegionId>\\n <RegionEndpoint>oos.cn-beijing.aliyuncs.com</RegionEndpoint>\\n <LocalName>China (Beijing)</LocalName>\\n</Regions>\\n<Regions>\\n <RegionId>cn-shanghai</RegionId>\\n <RegionEndpoint>oos.cn-shanghai.aliyuncs.com</RegionEndpoint>\\n <LocalName>China (Shanghai)</LocalName>\\n</Regions>\\n<Regions>\\n <RegionId>us-east-1</RegionId>\\n <RegionEndpoint>oos.us-east-1.aliyuncs.com</RegionEndpoint>\\n <LocalName>US (Virginia)</LocalName>\\n</Regions>\\n<Regions>\\n <RegionId>cn-huhehaote</RegionId>\\n <RegionEndpoint>oos.cn-huhehaote.aliyuncs.com</RegionEndpoint>\\n <LocalName>China (Hohhot)</LocalName>\\n</Regions>\\n<Regions>\\n <RegionId>ap-southeast-3</RegionId>\\n <RegionEndpoint>oos.ap-southeast-3.aliyuncs.com</RegionEndpoint>\\n <LocalName>Malaysia (Kuala Lumpur)</LocalName>\\n</Regions>\\n</DescribeRegionsResponse>","errorExample":""}]',
- 'title' => 'DescribeRegions',
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"14A07460-EBE7-47CA-9757-12CC4761D47A\\"\\n}","errorExample":""},{"type":"xml","example":"<CancelExecutionResponse>\\r\\n <RequestId>491DF8C2-34C9-4679-9DB3-4C0F49B129AC</RequestId>\\r\\n</CancelExecutionResponse>","errorExample":""}]',
+ 'title' => 'CancelExecution',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'CreateTemplate' => [
- 'summary' => 'Creates a template.',
- 'methods' => [
- 'post',
- 'get',
+ 'changeSet' => [],
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'oos:CancelExecution',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [
+ ['conditionKey' => 'oos:tag', 'validationType' => 'always'],
+ ['conditionKey' => 'oos:TLSVersion'],
+ ],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'OOS', 'resourceType' => 'Execution', 'arn' => 'acs:oos:{#regionId}:{#accountId}:execution/{#executionId}'],
+ ],
+ ],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'CancelExecution'],
+ ],
],
+ ],
+ 'ChangeResourceGroup' => [
+ 'summary' => 'Modifies the resource group to which a cloud resource belongs.',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'write',
+ 'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'create',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- 'abilityTreeCode' => '93945',
- 'abilityTreeNodes' => [
- 'FEATUREoosCPYH5Z',
- ],
- 'tenantRelevance' => 'publicInformation',
+ 'operationType' => 'update',
+ 'abilityTreeCode' => '93938',
+ 'abilityTreeNodes' => ['FEATUREoosCPYH5Z'],
],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The ID of the region.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
- ],
- [
- 'name' => 'TemplateName',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The name of the template. The name can be 1 to 200 characters in length and can contain letters, digits, hyphens (-), and underscores (\\_). The name cannot start with ALIYUN, ACS, ALIBABA, or ALICLOUD.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'MyTemplate',
- ],
- ],
- [
- 'name' => 'Content',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The content of the template. The content must be in the JSON or YAML format, and its maximum size is 64 KB.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '{"FormatVersion": "OOS-2019-06-01", "Description": "Describe instances of given status", "Parameters": {"Status": {"Type": "String", "Description": "(Required) The status of the Ecs instance."}}, "Tasks": [{"Properties": {"Parameters": {"Status": "{{ Status }}"}, "API": "DescribeInstances", "Service": "Ecs"}, "Name": "foo", "Action": "ACS::ExecuteApi"}]}',
- ],
+ 'schema' => ['description' => 'The ID of the region.'."\n", 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''],
],
[
- 'name' => 'Tags',
+ 'name' => 'ResourceId',
'in' => 'query',
- 'style' => 'json',
- 'schema' => [
- 'description' => 'The tag keys and tag values. The number of key-value pairs ranges from 1 to 20.'."\n",
- 'type' => 'object',
- 'required' => false,
- 'example' => '{"k1":"v1","k2":"v2"}',
- ],
+ 'schema' => ['description' => 'The ID of the cloud resource that you want to move to another resource group.'."\n"
+ ."\n"
+ .'* If the ResourceType parameter is set to template, set the ResourceId parameter to the name of the template.'."\n"
+ .'* If the ResourceType parameter is set to parameter, set the ResourceId parameter to the name of the parameter.'."\n"
+ .'* If the ResourceType parameter is set to secretparameter, set the ResourceId parameter to the name of the encryption parameter.'."\n"
+ .'* If the ResourceType parameter is set to stateconfiguration, set the ResourceId parameter to the ID of the desired-state configuration.'."\n"
+ .'* If the ResourceType parameter is set to application, set the ResourceId parameter to the name of the application.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'TemplateName', 'title' => ''],
],
[
- 'name' => 'VersionName',
+ 'name' => 'NewResourceGroupId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The name of the version of the template.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'v2',
- ],
+ 'schema' => ['description' => 'The ID of the resource group to which the cloud resource is to be moved. You can use resource groups to manage resources owned by your Alibaba Cloud account. Resource groups simplify the resource and permission management of your Alibaba Cloud account. For more information, see [What is Resource Management?](~~94475~~)'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'rg-acfm3peow3k****', 'title' => ''],
],
[
- 'name' => 'ResourceGroupId',
+ 'name' => 'ResourceType',
'in' => 'query',
- 'schema' => [
- 'description' => 'The ID of the resource group.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'rg-acfmxsn4m4******',
- ],
+ 'schema' => ['description' => 'The type of the cloud resource. Valid values:'."\n"
+ ."\n"
+ .'* template: template'."\n"
+ .'* parameter: parameter'."\n"
+ .'* secretparameter: encryption parameter'."\n"
+ .'* stateconfiguration: desired-state configuration'."\n"
+ .'* application: application'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'template', 'title' => ''],
],
],
'responses' => [
@@ -460,236 +224,108 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'TemplateType' => [
- 'description' => 'The type of the template.'."\n",
- 'type' => 'string',
- 'example' => 'Private',
- ],
- 'RequestId' => [
- 'description' => 'The ID of the request.'."\n",
- 'type' => 'string',
- 'example' => '20758A-585D-4A41-A9B2-28DA8F4F534F',
- ],
- 'Template' => [
- 'description' => 'The metadata of the template.'."\n",
- 'type' => 'object',
- 'properties' => [
- 'Hash' => [
- 'description' => 'The SHA-256 value of the template content.'."\n",
- 'type' => 'string',
- 'example' => '4bc7d7a21b3e003434b9c223f6e6d2578b5ebfeb5be28c1fcf8a8a1b11907bb4',
- ],
- 'UpdatedDate' => [
- 'description' => 'The time when the template was last updated.'."\n",
- 'type' => 'string',
- 'example' => '2019-05-16T10:26:14Z',
- ],
- 'UpdatedBy' => [
- 'description' => 'The Alibaba Cloud account that last modified the information about the template.'."\n",
- 'type' => 'string',
- 'example' => 'root(130900000)',
- ],
- 'Tags' => [
- 'description' => 'The tags of the resources.'."\n",
- 'type' => 'object',
- 'example' => '{ "k1":"v1", "k2":"v2" }',
- ],
- 'TemplateName' => [
- 'description' => 'The name of the template.'."\n",
- 'type' => 'string',
- 'example' => 'MyTemplate',
- ],
- 'TemplateVersion' => [
- 'description' => 'The version of the template. The name of the version consists of the letter v and a number. The number starts from 1.'."\n",
- 'type' => 'string',
- 'example' => 'v1',
- ],
- 'TemplateFormat' => [
- 'description' => 'The format of the template. The system automatically determines whether the format is JSON or YAML.'."\n",
- 'type' => 'string',
- 'example' => 'JSON',
- ],
- 'Description' => [
- 'description' => 'The description of the template.'."\n",
- 'type' => 'string',
- 'example' => 'Describe instances of given status',
- ],
- 'ResourceGroupId' => [
- 'description' => 'The ID of the resource group.'."\n",
- 'type' => 'string',
- 'example' => 'rg-acfmxsn4m4******',
- ],
- 'CreatedBy' => [
- 'description' => 'The creator of the template.'."\n",
- 'type' => 'string',
- 'example' => 'root(13090000)',
- ],
- 'CreatedDate' => [
- 'description' => 'The time when the template was created.'."\n",
- 'type' => 'string',
- 'example' => '2019-05-16T10:26:14Z',
- ],
- 'TemplateId' => [
- 'description' => 'The ID of the template.'."\n",
- 'type' => 'string',
- 'example' => 't-94753d38',
- ],
- 'HasTrigger' => [
- 'description' => 'Indicates whether the template was configured with a trigger.'."\n",
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'ShareType' => [
- 'description' => 'The share type of the template. The share type of the template that you create is Private.'."\n",
- 'type' => 'string',
- 'example' => 'Private',
- ],
- ],
- ],
+ 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '0620E49F-B884-5F98-A834-69D72922E5CF', 'title' => ''],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"TemplateType\\": \\"Private\\",\\n \\"RequestId\\": \\"20758A-585D-4A41-A9B2-28DA8F4F534F\\",\\n \\"Template\\": {\\n \\"Hash\\": \\"4bc7d7a21b3e003434b9c223f6e6d2578b5ebfeb5be28c1fcf8a8a1b11907bb4\\",\\n \\"UpdatedDate\\": \\"2019-05-16T10:26:14Z\\",\\n \\"UpdatedBy\\": \\"root(130900000)\\",\\n \\"Tags\\": {\\n \\"k1\\": \\"v1\\",\\n \\"k2\\": \\"v2\\"\\n },\\n \\"TemplateName\\": \\"MyTemplate\\",\\n \\"TemplateVersion\\": \\"v1\\",\\n \\"TemplateFormat\\": \\"JSON\\",\\n \\"Description\\": \\"Describe instances of given status\\",\\n \\"ResourceGroupId\\": \\"rg-acfmxsn4m4******\\",\\n \\"CreatedBy\\": \\"root(13090000)\\",\\n \\"CreatedDate\\": \\"2019-05-16T10:26:14Z\\",\\n \\"TemplateId\\": \\"t-94753d38\\",\\n \\"HasTrigger\\": true,\\n \\"ShareType\\": \\"Private\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"<CreateTemplateResponse>\\n <RequestId>20758A-585D-4A41-A9B2-28DA8F4F534F</RequestId>\\n <Template>\\n <CreatedBy>root(130900000)</CreatedBy>\\n <CreatedDate>2019-05-27T08:46:33Z</CreatedDate>\\n <UpdatedBy>root(1309000000)</UpdatedBy>\\n <UpdatedDate>2019-05-27T08:46:33Z</UpdatedDate>\\n <Description>Describe instances of given status</Description>\\n <Hash>4bc7d7a21b3e003434b9c223f6e6d2578b5ebfeb5be28c1fcf8a8a1b11907bb4</Hash>\\n <ShareType>Private</ShareType>\\n <Tags>\\n <k1>v1</k1>\\n <k2>v2</k2>\\n </Tags>\\n <ResourceGroupId>rg-acfmxsn4m4******</ResourceGroupId>\\n <TemplateFormat>JSON</TemplateFormat>\\n <TemplateName>MyTemplate</TemplateName>\\n <TemplateId>t-94753eeaef8</TemplateId>\\n <TemplateVersion>v1</TemplateVersion>\\n </Template>\\n</CreateTemplateResponse>","errorExample":""}]',
- 'title' => 'CreateTemplate',
- 'requestParamsDescription' => ' ',
- 'responseParamsDescription' => ' ',
- 'extraInfo' => ' ',
- ],
- 'DeleteTemplates' => [
- 'summary' => 'Deletes multiple templates.',
- 'methods' => [
- 'post',
- 'get',
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"0620E49F-B884-5F98-A834-69D72922E5CF\\"\\n}","errorExample":""},{"type":"xml","example":"<ChangeResourceGroupResponse>\\n <RequestId>0620E49F-B884-5F98-A834-69D72922E5CF</RequestId>\\n</ChangeResourceGroupResponse>","errorExample":""}]',
+ 'title' => 'ChangeResourceGroup',
+ 'changeSet' => [],
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'oos:ChangeResourceGroup',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [
+ ['conditionKey' => 'oos:TLSVersion'],
+ ],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'OOS', 'resourceType' => 'Template', 'arn' => 'acs:oos:{#regionId}:{#accountId}:template/{#TemplateName}'],
+ ['validationType' => 'always', 'product' => 'OOS', 'resourceType' => 'StateConfiguration', 'arn' => 'acs:oos:{#regionId}:{#accountId}:stateconfiguration/{#StateConfigurationId}'],
+ ['validationType' => 'always', 'product' => 'OOS', 'resourceType' => 'Parameter', 'arn' => 'acs:oos:{#regionId}:{#accountId}:parameter/{#ParameterName}'],
+ ['validationType' => 'always', 'product' => 'OOS', 'resourceType' => 'SecretParameter', 'arn' => 'acs:oos:{#regionId}:{#accountId}:secretparameter/{#SecretParameterName}'],
+ ['validationType' => 'always', 'product' => 'OOS', 'resourceType' => 'OpsItem', 'arn' => 'acs:oos:{#regionId}:{#accountId}:opsitem/{#OpsItemId}'],
+ ['validationType' => 'always', 'product' => 'OOS', 'resourceType' => 'PatchBaseline', 'arn' => 'acs:oos:{#regionId}:{#accountId}:patchbaseline/{#PatchBaselineName}'],
+ ['validationType' => 'always', 'product' => 'OOS', 'resourceType' => 'Execution', 'arn' => 'acs:oos:{#regionId}:{#accountId}:execution/{#ExecutionId}'],
+ ],
+ ],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ChangeResourceGroup'],
+ ],
],
+ ],
+ 'CheckGitRepoFileExists' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'write',
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
'systemTags' => [
- 'operationType' => 'delete',
+ 'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeCode' => '93954',
- 'abilityTreeNodes' => [
- 'FEATUREoosCPYH5Z',
- ],
+ 'abilityTreeCode' => '213951',
+ 'abilityTreeNodes' => ['FEATUREoosCPYH5Z'],
+ 'autoTest' => true,
'tenantRelevance' => 'publicInformation',
],
'parameters' => [
[
- 'name' => 'RegionId',
+ 'name' => 'ClientToken',
'in' => 'query',
- 'schema' => [
- 'description' => 'The region ID.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['type' => 'string', 'required' => false, 'description' => 'A client token to ensure the idempotence of the request. The client generates this value, which must be globally unique. The token can be up to 64 characters in length and can contain letters, digits, hyphens (-), and underscores (\\_).', 'title' => '', 'example' => '-'],
],
[
- 'name' => 'TemplateNames',
+ 'name' => 'Platform',
'in' => 'query',
- 'schema' => [
- 'description' => 'The names of the templates to be deleted.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '["t1","t2"]',
- ],
+ 'schema' => ['type' => 'string', 'required' => true, 'description' => 'The Git platform.', 'title' => '', 'example' => 'gitee'],
],
[
- 'name' => 'AutoDeleteExecutions',
+ 'name' => 'Owner',
'in' => 'query',
- 'schema' => [
- 'description' => 'Specifies whether to delete the related executions when a template is deleted.'."\n",
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'false',
- ],
+ 'schema' => ['type' => 'string', 'required' => true, 'description' => 'The logon account name.', 'title' => '', 'example' => 'hujue'],
],
- ],
- 'responses' => [
- 200 => [
- 'schema' => [
- 'type' => 'object',
- 'properties' => [
- 'RequestId' => [
- 'description' => 'The request ID.'."\n",
- 'type' => 'string',
- 'example' => '2075899A-585D-4A41-A9B2-28DA8534',
- ],
- ],
- 'description' => '',
- ],
+ [
+ 'name' => 'RepoFullName',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => true, 'description' => 'The full name of the repository.', 'title' => '', 'example' => 'alibaba/fastjson'],
],
- ],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"2075899A-585D-4A41-A9B2-28DA8534\\"\\n}","errorExample":""},{"type":"xml","example":"<DeleteTemplateResponse>\\n <RequestId>2075899A-585D-4A41-A9B2-28DA8534F</RequestId>\\n</DeleteTemplateResponse>","errorExample":""}]',
- 'title' => 'DeleteTemplates',
- ],
- 'DeleteTemplate' => [
- 'summary' => 'Deletes a template.',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
- 'security' => [
[
- 'AK' => [],
+ 'name' => 'FilePath',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => true, 'description' => 'The file path.', 'title' => '', 'example' => 'src/main/resources/config/promql_capacity.yaml'],
],
- ],
- 'operationType' => 'write',
- 'systemTags' => [
- 'operationType' => 'delete',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- 'abilityTreeCode' => '93953',
- 'abilityTreeNodes' => [
- 'FEATUREoosCPYH5Z',
+ [
+ 'name' => 'Branch',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'description' => 'The branch name.', 'required' => false, 'title' => '', 'example' => 'test'],
],
- 'tenantRelevance' => 'publicInformation',
- ],
- 'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The region ID.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['type' => 'string', 'description' => 'The region ID.', 'required' => false, 'title' => '', 'example' => 'cn-hangzhou'],
],
[
- 'name' => 'TemplateName',
+ 'name' => 'OrgId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The name of the template. The name can be 1 to 200 characters in length and can contain letters, digits, hyphens (-), and underscores (\\_). It cannot start with ALIYUN, ACS, ALIBABA, or ALICLOUD.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'MyTemplate',
- ],
+ 'schema' => ['type' => 'string', 'description' => 'The organization ID. This parameter is required only for Codeup.', 'required' => false, 'title' => '', 'example' => '5f9f9f6122a8c7ff3934f99a'],
],
[
- 'name' => 'AutoDeleteExecutions',
+ 'name' => 'RepoId',
'in' => 'query',
- 'schema' => [
- 'description' => 'Specifies whether to delete the related executions when a template is deleted.'."\n",
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'false',
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'description' => 'The repository ID. This parameter is required only for Codeup.', 'required' => false, 'title' => '', 'example' => '2835387'],
],
],
'responses' => [
@@ -697,107 +333,94 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => 'The request ID.'."\n",
- 'type' => 'string',
- 'example' => '2075899A-585D-4A41-A9B2-28DA8534F',
- ],
+ 'RequestId' => ['type' => 'string', 'description' => 'The request ID.', 'title' => '', 'example' => 'A5320F1D-92D9-44BB-A416-5FC525ED6D57'],
+ 'FileExists' => ['type' => 'boolean', 'description' => 'Indicates whether the file exists.', 'title' => '', 'example' => 'true'],
],
'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"2075899A-585D-4A41-A9B2-28DA8534F\\"\\n}","errorExample":""},{"type":"xml","example":"<DeleteTemplateResponse>\\r\\n <RequestId>2075899A-585D-4A41-A9B2-28DA8534F</RequestId>\\r\\n</DeleteTemplateResponse>","errorExample":""}]',
- 'title' => 'DeleteTemplate',
- 'requestParamsDescription' => ' ',
- 'responseParamsDescription' => ' ',
- 'extraInfo' => ' ',
- ],
- 'UpdateTemplate' => [
- 'summary' => 'Updates the information about an existing template.',
- 'methods' => [
- 'post',
- 'get',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => 'CheckGitRepoFileExists',
+ 'summary' => 'Checks whether a file exists in a repository.',
+ 'description' => 'Ensure that you have the permissions to manage the corresponding KMS secret before you call this operation.',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'oos:CheckGitRepoFileExists',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [
+ ['conditionKey' => 'oos:TLSVersion'],
+ ],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'OOS', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A5320F1D-92D9-44BB-A416-5FC525ED6D57\\",\\n \\"FileExists\\": true\\n}","type":"json"}]',
+ ],
+ 'CheckGitRepositoryExists' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
'systemTags' => [
- 'operationType' => 'update',
- 'abilityTreeCode' => '94009',
- 'abilityTreeNodes' => [
- 'FEATUREoosCPYH5Z',
- ],
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '217077',
+ 'abilityTreeNodes' => ['FEATUREoosCPYH5Z'],
+ 'autoTest' => true,
+ 'tenantRelevance' => 'publicInformation',
],
'parameters' => [
[
- 'name' => 'RegionId',
+ 'name' => 'ClientToken',
'in' => 'query',
- 'schema' => [
- 'description' => 'The ID of the region.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['type' => 'string', 'required' => false, 'description' => 'Ensures the idempotence of the request. The value is generated by the client and must be globally unique. The value can be up to 64 characters in length and can contain letters, digits, hyphens (-), and underscores (\\_). For more information, see How to ensure idempotence.', 'title' => '', 'example' => '123e4567-e89b-12d3-a456-42665544****'],
],
[
- 'name' => 'TemplateName',
+ 'name' => 'Platform',
'in' => 'query',
- 'schema' => [
- 'description' => 'The name of the template. The name can be up to 200 characters in length and can contain letters, digits, hyphens (-), and underscores (\\_). The name cannot start with ALIYUN, ACS, ALIBABA, or ALICLOUD.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'MyTemplate',
- ],
+ 'schema' => ['type' => 'string', 'required' => true, 'description' => 'The Git platform.', 'title' => '', 'example' => 'gitee'],
],
[
- 'name' => 'Content',
+ 'name' => 'Owner',
'in' => 'query',
- 'schema' => [
- 'description' => 'The content of the template. The content must be in the JSON or YAML format, and its maximum size is 64 KB.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '{ "FormatVersion": "OOS-2019-06-01", "Description": { "en": "Bulky starts the ECS instances", "name-en": "Bulky Start Instances", }, "Parameters": { "regionId": { "Type": "String", "Label": { "en": "RegionId", }, "AssociationProperty": "RegionId", "Default": "{{ ACS::RegionId }}" }, "targets": { "Type": "Json", "Label": { "en": "TargetInstance", }, "AssociationProperty": "Targets", "AssociationPropertyMetadata": { "ResourceType": "ALIYUN::ECS::Instance", "RegionId": "regionId" } }, "rateControl": { "Label": { "en": "RateControl", }, "Type": "Json", "AssociationProperty": "RateControl", "Default": { "Mode": "Concurrency", "MaxErrors": 0, "Concurrency": 10 } }, "OOSAssumeRole": { "Label": { "en": "OOSAssumeRole", }, "Type": "String", "Default": "OOSServiceRole" } }, "RamRole": "{{ OOSAssumeRole }}", "Tasks": \\[ { "Name": "getInstance", "Description": { "en": "Views the ECS instances", }, "Action": "ACS::SelectTargets", "Properties": { "ResourceType": "ALIYUN::ECS::Instance", "RegionId": "{{ regionId }}", "Filters": \\[ "{{ targets }}" ] }, "Outputs": { "instanceIds": { "Type": "List", "ValueSelector": "Instances.Instance\\[].InstanceId" } } }, { "Name": "startInstance", "Action": "ACS::ECS::StartInstance", "Description": { "en": "Starts the ECS instances", }, "Properties": { "regionId": "{{ regionId }}", "instanceId": "{{ ACS::TaskLoopItem }}" }, "Loop": { "RateControl": "{{ rateControl }}", "Items": "{{ getInstance.instanceIds }}" } } ], "Outputs": { "instanceIds": { "Type": "List", "Value": "{{ getInstance.instanceIds }}" } } }'."\n",
- ],
+ 'schema' => ['type' => 'string', 'required' => true, 'description' => 'The logon account name.', 'title' => '', 'example' => 'ir9SK9n1u'],
],
[
- 'name' => 'Tags',
+ 'name' => 'RepoFullName',
'in' => 'query',
- 'style' => 'json',
- 'schema' => [
- 'description' => 'The tag keys and values. The number of key-value pairs ranges from 1 to 20.'."\n",
- 'type' => 'object',
- 'required' => false,
- 'example' => '{"k1":"k2","k2":"v2"}',
- ],
+ 'schema' => ['type' => 'string', 'required' => true, 'description' => 'The full name of the Git repository.', 'title' => '', 'example' => 'LYH-RAIN/vue-color-avatar'],
],
[
- 'name' => 'VersionName',
+ 'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The name of the template version.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'v2',
- ],
+ 'schema' => ['type' => 'string', 'description' => 'The region ID.', 'required' => false, 'title' => '', 'example' => 'cn-hangzhou'],
],
[
- 'name' => 'ResourceGroupId',
+ 'name' => 'OrgId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The ID of the resource group.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'rg-acfmxsn4m4******',
- ],
+ 'schema' => ['type' => 'string', 'description' => 'The organization ID. This parameter is required only for Codeup.', 'required' => false, 'title' => '', 'example' => '5ffd468b1e45db3c1cc26ad6'],
+ ],
+ [
+ 'name' => 'RepoId',
+ 'in' => 'query',
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'description' => 'The repository ID. This parameter is required only for Codeup.', 'required' => false, 'title' => '', 'example' => '2859382'],
],
],
'responses' => [
@@ -805,176 +428,86 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => 'The ID of the request.'."\n",
- 'type' => 'string',
- 'example' => '2075899A-585D-4A41-A9B2-28DF4F534F',
- ],
- 'Template' => [
- 'description' => 'The metadata of the template.'."\n",
- 'type' => 'object',
- 'properties' => [
- 'Hash' => [
- 'description' => 'The SHA-256 value of the template content.'."\n",
- 'type' => 'string',
- 'example' => '4bc7d7a21b3e003434b9c223f6e6d2578b5ebfeb5be28c1fcf8a8a1b11907bb4',
- ],
- 'UpdatedDate' => [
- 'description' => 'The time when the information about the template was last modified.'."\n",
- 'type' => 'string',
- 'example' => '2019-05-16T10:26:14Z',
- ],
- 'UpdatedBy' => [
- 'description' => 'The user who last modified the information about the template.'."\n",
- 'type' => 'string',
- 'example' => 'root(1309000)',
- ],
- 'Tags' => [
- 'description' => 'The tag keys and values. The number of key-value pairs ranges from 1 to 20.'."\n",
- 'type' => 'object',
- 'example' => '{"k1":"k2","k2":"v2"}',
- ],
- 'TemplateName' => [
- 'description' => 'The name of the template.'."\n",
- 'type' => 'string',
- 'example' => 'MyTemplate',
- ],
- 'TemplateVersion' => [
- 'description' => 'The version of the template. The name of the version consists of the letter v and a number. The number starts from 1.'."\n",
- 'type' => 'string',
- 'example' => 'v2',
- ],
- 'TemplateFormat' => [
- 'description' => 'The format of the template. The system automatically determines whether the format is JSON or YAML.'."\n",
- 'type' => 'string',
- 'example' => 'JSON',
- ],
- 'Description' => [
- 'description' => 'The description of the template.'."\n",
- 'type' => 'string',
- 'example' => 'Describe instances of given status',
- ],
- 'ResourceGroupId' => [
- 'description' => 'The ID of the resource group.'."\n",
- 'type' => 'string',
- 'example' => 'rg-acfmxsn4m4******',
- ],
- 'CreatedBy' => [
- 'description' => 'The user who created the template.'."\n",
- 'type' => 'string',
- 'example' => 'root(130920000)',
- ],
- 'CreatedDate' => [
- 'description' => 'The time when the template was created.'."\n",
- 'type' => 'string',
- 'example' => '2019-05-16T10:26:14Z',
- ],
- 'TemplateId' => [
- 'description' => 'The ID of the template.'."\n",
- 'type' => 'string',
- 'example' => 't-94753deed38',
- ],
- 'HasTrigger' => [
- 'description' => 'Indicates whether the template is configured with a trigger.'."\n",
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'ShareType' => [
- 'description' => 'The share type of the template. The share type of a user-created template is **Private**.'."\n",
- 'type' => 'string',
- 'example' => 'Private',
- ],
- ],
- ],
+ 'RequestId' => ['type' => 'string', 'description' => 'The request ID.', 'title' => '', 'example' => 'AA9FA778-AE4B-55EC-81CC-C46BAF08A166'],
+ 'RepoExists' => ['type' => 'boolean', 'description' => 'A Boolean value that indicates whether the repository exists.', 'title' => '', 'example' => 'true'],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"2075899A-585D-4A41-A9B2-28DF4F534F\\",\\n \\"Template\\": {\\n \\"Hash\\": \\"4bc7d7a21b3e003434b9c223f6e6d2578b5ebfeb5be28c1fcf8a8a1b11907bb4\\",\\n \\"UpdatedDate\\": \\"2019-05-16T10:26:14Z\\",\\n \\"UpdatedBy\\": \\"root(1309000)\\",\\n \\"Tags\\": {\\n \\"k1\\": \\"k2\\",\\n \\"k2\\": \\"v2\\"\\n },\\n \\"TemplateName\\": \\"MyTemplate\\",\\n \\"TemplateVersion\\": \\"v2\\",\\n \\"TemplateFormat\\": \\"JSON\\",\\n \\"Description\\": \\"Describe instances of given status\\",\\n \\"ResourceGroupId\\": \\"rg-acfmxsn4m4******\\",\\n \\"CreatedBy\\": \\"root(130920000)\\",\\n \\"CreatedDate\\": \\"2019-05-16T10:26:14Z\\",\\n \\"TemplateId\\": \\"t-94753deed38\\",\\n \\"HasTrigger\\": true,\\n \\"ShareType\\": \\"Private\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"<UpdateTemplateResponse>\\n <RequestId>2075899A-585D-4A41-A9B2-28DF4F534F</RequestId>\\n <Template>\\n <Hash>4bc7d7a21b3e003434b9c223f6e6d2578b5ebfeb5be28c1fcf8a8a1b11907bb4</Hash>\\n <UpdatedDate>2019-05-16T10:26:14Z</UpdatedDate>\\n <UpdatedBy>root(1309000)</UpdatedBy>\\n <TemplateName>MyTemplate</TemplateName>\\n <TemplateVersion>v2</TemplateVersion>\\n <TemplateFormat>JSON</TemplateFormat>\\n <Description>Describe instances of given status</Description>\\n <ResourceGroupId>rg-acfmxsn4m4******</ResourceGroupId>\\n <CreatedBy>root(130920000)</CreatedBy>\\n <CreatedDate>2019-05-16T10:26:14Z</CreatedDate>\\n <TemplateId>t-94753deed38</TemplateId>\\n <HasTrigger>true</HasTrigger>\\n <Tags>\\n <k1>v1</k1>\\n <k2>v2</k2>\\n </Tags>\\n <ShareType>Private</ShareType>\\n </Template>\\n</UpdateTemplateResponse>","errorExample":""}]',
- 'title' => 'UpdateTemplate',
- 'requestParamsDescription' => ' ',
- 'responseParamsDescription' => ' ',
- 'extraInfo' => ' ',
- ],
- 'ListTemplateVersions' => [
- 'summary' => 'Queries the versions of a template.',
- 'methods' => [
- 'post',
- 'get',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => 'CheckGitRepositoryExists',
+ 'summary' => 'Checks whether a repository exists.',
+ 'description' => 'Notifications can be sent in the following situations:'."\n"
+ ."\n"
+ .'- When a task execution is pending approval. If a template contains an Approve task, the execution status changes to Pending when that task is reached. You can use this API to confirm whether to continue the execution.'."\n"
+ ."\n"
+ .'- In Debug mode. After an execution is created or a task is completed, you can use this API to specify the next task to execute.'."\n"
+ ."\n"
+ .'- When a risky operation task is pending approval. You can use this API to confirm whether to continue the execution.',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'oos:CheckGitRepositoryExists',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [
+ ['conditionKey' => 'oos:TLSVersion'],
+ ],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'OOS', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"AA9FA778-AE4B-55EC-81CC-C46BAF08A166\\",\\n \\"RepoExists\\": true\\n}","type":"json"}]',
+ ],
+ 'ContinueDeployApplicationGroup' => [
+ 'summary' => 'Continues deploying an application group when an error occurs for calling the DeployApplicationGroup operation. You can call this operation only for the applications which reside in the China (Hangzhou) region. Use an endpoint of the China (Hangzhou) region.',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'read',
+ 'operationType' => 'write',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'list',
+ 'operationType' => 'update',
'riskType' => 'none',
- 'chargeType' => 'free',
- 'abilityTreeCode' => '93992',
- 'abilityTreeNodes' => [
- 'FEATUREoosCPYH5Z',
- ],
+ 'chargeType' => 'paid',
+ 'abilityTreeCode' => '119200',
+ 'abilityTreeNodes' => ['FEATUREoos21ZJP9'],
+ 'autoTest' => true,
'tenantRelevance' => 'publicInformation',
],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The region ID.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
- ],
- [
- 'name' => 'TemplateName',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The name of the template.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'describeinstances',
- ],
+ 'schema' => ['description' => 'The ID of the region.'."\n", 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''],
],
[
- 'name' => 'MaxResults',
+ 'name' => 'ApplicationName',
'in' => 'query',
- 'schema' => [
- 'description' => 'The number of entries per page. Valid values: 10 to 100'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '50',
- ],
+ 'schema' => ['description' => 'The name of the application.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'MyApplication', 'title' => ''],
],
[
- 'name' => 'NextToken',
+ 'name' => 'DeployParameters',
'in' => 'query',
- 'schema' => [
- 'description' => 'A pagination token. It can be used in the next request to retrieve a new page of results.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'H8xj9c-398djs9-39ajd9asdjjJ',
- ],
+ 'schema' => ['description' => 'The deployment information about the application group.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '{ "TemplateURL": "https://ros-template.oss-cn-zhangjiakou.aliyuncs.com/App_Management_Existing_Vpc_Ecs_Instance.json", "Parameters": { "ZoneId": "cn-hangzhou-k", "ProjectName": "test", "SystemDiskSize": 40, "InstanceChargeType": "PostPaid", "SecurityGroupId": "sg-bp1a4374akk63jl8tddy", "VSwitchId": "vsw-bp1fcvc3zn0jrag86rrlm", "SystemDiskCategory": "cloud_essd", "InstancePassword": "******", "InternetChargeType": "PayByTraffic", "InstanceCount": 1, "InternetMaxBandwidthOut": 0, "VpcId": "vpc-bp1i99boyas8i8m9t3skp", "EcsImageId": "centos_8_5_x64_20G_alibase_20211228.vhd", "DataDiskSize": 100, "EcsInstanceType": "ecs.s6-c1m4.small", "DataDiskCategory": "cloud_efficiency", "EnvironmentCommandId": "c-hz028fc3g031gcg" }', 'title' => ''],
],
[
- 'name' => 'ShareType',
+ 'name' => 'Name',
'in' => 'query',
- 'schema' => [
- 'description' => 'The type of the template. Valid values: Private and Public.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'Private',
- ],
+ 'schema' => ['description' => 'The name of the application group.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'MyApplicationGroup', 'title' => ''],
],
],
'responses' => [
@@ -982,312 +515,260 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'NextToken' => [
- 'description' => 'A pagination token. It can be used in the next request to retrieve a new page of results.'."\n",
- 'type' => 'string',
- 'example' => 'NJSNDKLJS-SJKJDO090k30-JSDK232',
- ],
- 'RequestId' => [
- 'description' => 'The request ID.'."\n",
- 'type' => 'string',
- 'example' => 'E6CD612B-5889-4F1A-823F-8A4029E46',
- ],
- 'MaxResults' => [
- 'description' => 'The number of entries per page.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '50',
- ],
- 'TemplateVersions' => [
- 'description' => 'The versions of the template.'."\n",
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'Description' => [
- 'description' => 'The description of the version.'."\n",
- 'type' => 'string',
- 'example' => 'Detach the eip from the special instance.',
- ],
- 'UpdatedDate' => [
- 'description' => 'The time when the version was last updated.'."\n",
- 'type' => 'string',
- 'example' => '2020-05-19T06:05:41Z',
- ],
- 'UpdatedBy' => [
- 'description' => 'The user who last updated the version.'."\n",
- 'type' => 'string',
- 'example' => 'foo',
- ],
- 'VersionName' => [
- 'description' => 'The name of the version.'."\n",
- 'type' => 'string',
- 'example' => 'baz',
- ],
- 'TemplateVersion' => [
- 'description' => 'The number of the version.'."\n",
- 'type' => 'string',
- 'example' => 'v2',
- ],
- 'TemplateFormat' => [
- 'description' => 'The format of the template content. Valid values: YAML and JSON.'."\n",
- 'type' => 'string',
- 'example' => 'YAML',
- ],
- ],
- ],
- ],
+ 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '8AF4800A-A316-589A-90C4-313B1FEEB084', 'title' => ''],
],
'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"NextToken\\": \\"NJSNDKLJS-SJKJDO090k30-JSDK232\\",\\n \\"RequestId\\": \\"E6CD612B-5889-4F1A-823F-8A4029E46\\",\\n \\"MaxResults\\": 50,\\n \\"TemplateVersions\\": [\\n {\\n \\"Description\\": \\"Detach the eip from the special instance.\\",\\n \\"UpdatedDate\\": \\"2020-05-19T06:05:41Z\\",\\n \\"UpdatedBy\\": \\"foo\\",\\n \\"VersionName\\": \\"baz\\",\\n \\"TemplateVersion\\": \\"v2\\",\\n \\"TemplateFormat\\": \\"YAML\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"\\n<ListTemplateVersionsResponse>\\n<RequestId>E6CD612B-5889-4F1A-823F-8A4029E4667F</RequestId>\\n<MaxResults>20</MaxResults>\\n<TemplateVersions>\\n <UpdatedBy>sub:239325550833674852:wb-kxy520087</UpdatedBy>\\n <Description>Detach the eip from the special instance.</Description>\\n <TemplateFormat>YAML</TemplateFormat>\\n <UpdatedDate>2020-05-19T06:05:41Z</UpdatedDate>\\n <TemplateVersion>v3</TemplateVersion>\\n</TemplateVersions>\\n<TemplateVersions>\\n <UpdatedBy>sub:239325550833674852:wb-kxy520087</UpdatedBy>\\n <Description>Detach the eip from the special instance.</Description>\\n <TemplateFormat>YAML</TemplateFormat>\\n <UpdatedDate>2020-05-19T02:48:16Z</UpdatedDate>\\n <TemplateVersion>v2</TemplateVersion>\\n</TemplateVersions>\\n<TemplateVersions>\\n <UpdatedBy>sub:239325550833674852:wb-kxy520087</UpdatedBy>\\n <Description>Detach the eip from the special instance.</Description>\\n <TemplateFormat>YAML</TemplateFormat>\\n <UpdatedDate>2020-05-19T02:41:09Z</UpdatedDate>\\n <TemplateVersion>v1</TemplateVersion>\\n</TemplateVersions>\\n</ListTemplateVersionsResponse>","errorExample":""}]',
- 'title' => 'ListTemplateVersions',
- 'requestParamsDescription' => ' ',
- 'responseParamsDescription' => ' ',
- 'extraInfo' => ' ',
- ],
- 'ListTemplates' => [
- 'summary' => 'Queries templates. Multiple methods are supported to filter templates.',
- 'methods' => [
- 'post',
- 'get',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"8AF4800A-A316-589A-90C4-313B1FEEB084\\"\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]',
+ 'title' => 'ContinueDeployApplicationGroup',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ContinueDeployApplicationGroup'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'oos:ContinueDeployApplicationGroup',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [
+ ['conditionKey' => 'oos:TLSVersion'],
+ ],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'OOS', 'resourceType' => 'ApplicationGroup', 'arn' => 'acs:oos:{#regionId}:{#AccountId}:application/{#applicationName}/applicationgroup/{#applicationGroupName}'],
+ ],
+ ],
+ ],
],
+ ],
+ 'CreateApplication' => [
+ 'summary' => 'Creates an application. You can call this operation only for the applications that reside in the China (Hangzhou) region. Use an endpoint of the China (Hangzhou) region.',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'read',
+ 'operationType' => 'write',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'get',
+ 'operationType' => 'create',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeCode' => '93991',
- 'abilityTreeNodes' => [
- 'FEATUREoosCPYH5Z',
- ],
+ 'abilityTreeCode' => '93939',
+ 'abilityTreeNodes' => ['FEATUREoosXBZWHV'],
+ 'autoTest' => true,
'tenantRelevance' => 'publicInformation',
],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The ID of the region in which you want to query templates.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => 'The region ID. Set the value to cn-hangzhou.'."\n", 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''],
],
[
- 'name' => 'TemplateName',
+ 'name' => 'Name',
'in' => 'query',
- 'schema' => [
- 'description' => 'The name of the template. All templates whose names contain the specified template name are to be returned.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'MyTemplate',
- ],
+ 'schema' => ['description' => 'The application name.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'MyApplication', 'title' => ''],
],
[
- 'name' => 'TemplateFormat',
+ 'name' => 'Description',
'in' => 'query',
- 'schema' => [
- 'description' => 'The format of the template. Valid values:'."\n"
- ."\n"
- .'* **JSON**'."\n"
- .'* **YAML**'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'YAML',
- ],
+ 'schema' => ['description' => 'The description of the application.'."\n", 'type' => 'string', 'required' => false, 'example' => 'application', 'title' => ''],
],
[
- 'name' => 'ShareType',
+ 'name' => 'ResourceGroupId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The share type of the template. Valid values:'."\n"
- ."\n"
- .'* **Public**'."\n"
- .'* **Private**'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'Private',
- ],
+ 'schema' => ['description' => 'The ID of the resource group.'."\n", 'type' => 'string', 'required' => false, 'example' => 'rg-acfmxsn4m******', 'title' => ''],
],
[
- 'name' => 'CreatedBy',
+ 'name' => 'Tags',
'in' => 'query',
- 'schema' => [
- 'description' => 'The creator of the template.'."\n"
- ."\n"
- .'* To query the template provided by Alibaba Cloud, set this parameter to **ACS**.'."\n"
- .'* To query the template created by a user, set this parameter to the **ID** of the template or the **name of the user** who creates the template.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'ACS',
- ],
+ 'style' => 'json',
+ 'schema' => ['description' => 'The tags.'."\n", 'type' => 'object', 'required' => false, 'example' => '{"k1":"v1","k2":"v2"}', 'title' => ''],
],
[
- 'name' => 'CreatedDateBefore',
+ 'name' => 'ClientToken',
'in' => 'query',
- 'schema' => [
- 'description' => 'Specifies to query the template that is created at or before the specified time.'."\n"
- ."\n"
- .'The value must be in the YYYY-MM-DDThh:mm::ssZ format.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => '2019-05-16T10:26:14Z',
- ],
+ 'schema' => ['description' => 'The client token that is used to ensure the idempotence of the request.'."\n", 'type' => 'string', 'required' => false, 'example' => 'TF-CreateApplication-1647587475-84104b89-eba5-47a8-b2fd-807b8b7d', 'title' => ''],
],
[
- 'name' => 'CreatedDateAfter',
+ 'name' => 'AlarmConfig',
'in' => 'query',
+ 'style' => 'json',
'schema' => [
- 'description' => 'Specifies to query the template that is created at or later than the specified time.'."\n"
- ."\n"
- .'The value must be in the YYYY-MM-DDThh:mm:ssZ format.'."\n",
- 'type' => 'string',
+ 'description' => 'The configurations of application alerts.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'ContactGroups' => [
+ 'description' => 'The alert contact groups.'."\n",
+ 'type' => 'array',
+ 'items' => ['description' => 'The name of the alert contact group.'."\n", 'type' => 'string', 'required' => false, 'example' => '报警联系人组名称', 'title' => ''],
+ 'required' => false,
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'TemplateIds' => [
+ 'description' => 'The alert templates.'."\n",
+ 'type' => 'array',
+ 'items' => ['description' => 'The ID of the alert template.'."\n"
+ ."\n"
+ .'For information about how to obtain the ID of an alert template, see [DescribeMetricRuleTemplateList](~~114982~~).'."\n", 'type' => 'string', 'required' => false, 'example' => '6c7372e9e237463bb9efcb1acd91358d', 'title' => ''],
+ 'required' => false,
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'HealthCheckUrl' => ['description' => 'The health check URL of the application.'."\n", 'type' => 'string', 'required' => false, 'example' => '/healthcheck/tcp50122', 'title' => ''],
+ ],
'required' => false,
- 'example' => '2019-05-16T10:26:14Z',
+ 'title' => '',
+ 'example' => '',
],
],
[
- 'name' => 'Tags',
+ 'name' => 'ServiceId',
'in' => 'query',
- 'style' => 'json',
+ 'schema' => ['description' => 'The ID of the Compute Nest service that corresponds to the application template.'."\n", 'type' => 'string', 'required' => false, 'example' => 'service-79538e30e44541b699d8', 'title' => ''],
+ ],
+ [
+ 'name' => 'ApplicationSource',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The source of application.', 'type' => 'string', 'required' => false, 'example' => '{"Platform":"github","Owner":"githubUser","RepoName":"githubUser/repoName"}', 'title' => ''],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
'schema' => [
- 'description' => 'The tag keys and values. The number of key-value pairs ranges from 1 to 20.'."\n",
'type' => 'object',
- 'required' => false,
- 'example' => '{"k1":"k2","k2":"v2"}',
+ 'properties' => [
+ 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '274917E8-8E74-5928-A82F-4940F52F7ACB', 'title' => ''],
+ 'Application' => [
+ 'description' => 'The information about the application.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'Tags' => [
+ 'description' => 'The tags.'."\n",
+ 'type' => 'object',
+ 'additionalProperties' => ['type' => 'string', 'example' => '{"k1":"v1","k2":"v2"}', 'description' => 'The tags.'."\n", 'title' => ''],
+ 'example' => '{"k1":"v1","k2":"v2"}',
+ 'title' => '',
+ ],
+ 'Name' => ['description' => 'The application name.'."\n", 'type' => 'string', 'example' => 'Myapplication', 'title' => ''],
+ 'UpdateDate' => ['description' => 'The time when the application was updated.'."\n", 'type' => 'string', 'example' => '2021-09-07T09:17:46Z', 'title' => ''],
+ 'Description' => ['description' => 'The description of the application.'."\n", 'type' => 'string', 'example' => 'application', 'title' => ''],
+ 'CreateDate' => ['description' => 'The time when the application was created.'."\n", 'type' => 'string', 'example' => '2021-09-07T09:17:46Z', 'title' => ''],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
+ ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"274917E8-8E74-5928-A82F-4940F52F7ACB\\",\\n \\"Application\\": {\\n \\"Tags\\": {\\n \\"key\\": \\"{\\\\\\"k1\\\\\\":\\\\\\"v1\\\\\\",\\\\\\"k2\\\\\\":\\\\\\"v2\\\\\\"}\\"\\n },\\n \\"Name\\": \\"Myapplication\\",\\n \\"UpdateDate\\": \\"2021-09-07T09:17:46Z\\",\\n \\"Description\\": \\"application\\",\\n \\"CreateDate\\": \\"2021-09-07T09:17:46Z\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"<RequestId>274917E8-8E74-5928-A82F-4940F52F7ACB</RequestId>\\n<Application>\\n <UpdateDate>2021-09-07T09:17:46Z</UpdateDate>\\n <Description>application</Description>\\n <CreateDate>2021-09-07T09:17:46Z</CreateDate>\\n <Tags>\\n <k1>v1</k1>\\n <k2>v2</k2>\\n </Tags>\\n <Name>MyApplication</Name>\\n</Application>","errorExample":""}]',
+ 'title' => 'CreateApplication',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateApplication'],
+ ],
+ ],
+ 'ramActions' => [
[
- 'name' => 'Category',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The type of the template. Valid values include TimerTrigger, EventTrigger, AlarmTrigger, and Other.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'TimerTrigger',
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'oos:CreateApplication',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [
+ ['conditionKey' => 'oos:TLSVersion'],
+ ],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'OOS', 'resourceType' => 'Application', 'arn' => 'acs:oos:{#regionId}:{#accountId}:application/*'],
+ ],
],
],
+ ],
+ ],
+ 'CreateApplicationGroup' => [
+ 'summary' => 'Creates an application group. You can call this operation only for the application groups that reside in the China (Hangzhou) region. Use an endpoint of the China (Hangzhou) region.',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
[
- 'name' => 'MaxResults',
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'create',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '93940',
+ 'abilityTreeNodes' => ['FEATUREoos1PL94A'],
+ 'autoTest' => true,
+ 'tenantRelevance' => 'publicInformation',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The number of entries per page. Valid values: 10 to 100. Default value: 50.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '50',
- ],
+ 'schema' => ['description' => 'The region ID. Set the value to cn-hangzhou.'."\n", 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''],
],
[
- 'name' => 'NextToken',
+ 'name' => 'Description',
'in' => 'query',
- 'schema' => [
- 'description' => 'The token that is used to retrieve the next page of results.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'xxx',
- ],
+ 'schema' => ['description' => 'The description of the application group.'."\n", 'type' => 'string', 'required' => false, 'example' => 'ApplicationGroup', 'title' => ''],
],
[
- 'name' => 'SortField',
+ 'name' => 'DeployRegionId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The field that is used to sort the templates to be queried. Valid values:'."\n"
- ."\n"
- .'* **TotalExecutionCount** (default): The system sorts the returned templates based on the total number of times that the templates are used.'."\n"
- .'* **Popularity**: The system sorts the returned templates based on the popularity of the templates.'."\n"
- .'* **TemplateName**: The system sorts the returned templates based on the names of the templates.'."\n"
- .'* **CreatedDate**: The system sorts the returned templates based on the points in time when the templates are created.'."\n"
- .'* **UpdatedDate**: The system sorts the returned templates based on the points in time when the templates are updated.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'Popularity',
- ],
+ 'schema' => ['description' => 'The ID of the region in which the related sources reside.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cn-hangzhou', 'title' => ''],
],
[
- 'name' => 'SortOrder',
+ 'name' => 'ImportTagKey',
'in' => 'query',
- 'schema' => [
- 'description' => 'The order in which you want to sort the results. Valid values:'."\n"
- ."\n"
- .'* **Ascending**: ascending order.'."\n"
- .'* **Descending**: descending order. This is the default value.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'Descending',
- ],
+ 'schema' => ['description' => 'The key of the tag. You must set both the ImportTagKey and the ImportTagValue parameters, or leave both of them empty. If you do not set the ImportTagKey and ImportTagValue parameters, the application name is used for this parameter by default.'."\n", 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'k1', 'title' => ''],
],
[
- 'name' => 'HasTrigger',
+ 'name' => 'ImportTagValue',
'in' => 'query',
- 'schema' => [
- 'description' => 'Specifies whether to query the template that is configured with a trigger.'."\n",
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'true',
- ],
+ 'schema' => ['description' => 'The value of the tag. You must set both the ImportTagKey and the ImportTagValue parameters, or leave both of them empty. If you do not set the ImportTagKey and ImportTagValue parameters, the application group name is used for this parameter by default.'."\n", 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'v1', 'title' => ''],
],
[
- 'name' => 'TemplateType',
+ 'name' => 'Name',
'in' => 'query',
- 'schema' => [
- 'description' => 'The type of the template. Valid values:'."\n"
- ."\n"
- .'* Automation: the template for automated tasks.'."\n"
- .'* State: the template for configuration inventories.'."\n"
- .'* Package: the template for software packages.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'enumValueTitles' => [
- 'Automation' => 'Automation',
- 'State' => 'State',
- 'Package' => 'Package',
- ],
- 'example' => 'private',
- ],
+ 'schema' => ['description' => 'The name of the application group.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'MyApplicationGroup', 'title' => ''],
],
[
- 'name' => 'ResourceGroupId',
+ 'name' => 'ClientToken',
'in' => 'query',
- 'schema' => [
- 'description' => 'The ID of the resource group.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'rg-acfmxsn4m4******',
- ],
+ 'schema' => ['description' => 'The client token that is used to ensure the idempotence of the request.'."\n", 'type' => 'string', 'required' => false, 'example' => '-', 'title' => ''],
],
[
- 'name' => 'IsFavorite',
+ 'name' => 'ApplicationName',
'in' => 'query',
- 'schema' => [
- 'description' => 'Specifies whether the template is added to favorites.'."\n",
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'true',
- ],
+ 'schema' => ['description' => 'The application name.'."\n", 'type' => 'string', 'required' => true, 'example' => 'MyApplication', 'title' => ''],
],
[
- 'name' => 'IsExample',
+ 'name' => 'CmsGroupId',
'in' => 'query',
- 'schema' => [
- 'description' => 'Specifies whether the template is an example template.'."\n",
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'false',
- ],
+ 'schema' => ['description' => 'The ID of the application group in CloudMonitor.'."\n", 'type' => 'string', 'required' => false, 'example' => '218026174', 'title' => ''],
],
],
'responses' => [
@@ -1295,177 +776,68 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'NextToken' => [
- 'description' => 'The token that is used to retrieve the next page of results.'."\n",
- 'type' => 'string',
- 'example' => 'xxx',
- ],
- 'RequestId' => [
- 'description' => 'The ID of the request.'."\n",
- 'type' => 'string',
- 'example' => 'BEF54BA-17B6-449F-A219-49ACB157E3',
- ],
- 'MaxResults' => [
- 'description' => 'The number of entries returned on each page.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '50',
- ],
- 'Templates' => [
- 'description' => 'The template metadata.'."\n",
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'Hash' => [
- 'description' => 'The SHA256 value of the template content.'."\n",
- 'type' => 'string',
- 'example' => '4bc7d7a21b3e003434b9c223f6e6d2578b5ebfeb5be28c1fcf8a8a1b11907bb4',
- ],
- 'UpdatedDate' => [
- 'description' => 'The time when the template was last updated.'."\n",
- 'type' => 'string',
- 'example' => '2019-05-16T10:26:14Z',
- ],
- 'UpdatedBy' => [
- 'description' => 'The user who last updated the template.'."\n",
- 'type' => 'string',
- 'example' => 'root(13092000)',
- ],
- 'TemplateType' => [
- 'description' => 'The template type.'."\n",
- 'type' => 'string',
- 'example' => 'private',
- ],
- 'Tags' => [
- 'description' => 'The tag keys and values. The number of key-value pairs ranges from 1 to 20.'."\n",
- 'type' => 'object',
- 'example' => '{"k1":"v1","k2":"v2"}',
- ],
- 'TemplateName' => [
- 'description' => 'The template name.'."\n",
- 'type' => 'string',
- 'example' => 'MyTemplate',
- ],
- 'TemplateVersion' => [
- 'description' => 'The template version. The version contains the letter v and a number. The number starts from 1.'."\n",
- 'type' => 'string',
- 'example' => 'v1',
- ],
- 'TemplateFormat' => [
- 'description' => 'The template format. The system automatically determines whether the format of the template is JSON or YAML.'."\n",
- 'type' => 'string',
- 'example' => 'JSON',
- ],
- 'Popularity' => [
- 'description' => 'The popularity of the public template. Valid values: **1-10**. A greater value indicates higher popularity. If **ShareType** is set to **Private**, the value of this parameter is `-1`.'."\n"
- ."\n"
- .'> This parameter is valid only if **ShareType** is set to **Public**.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '8',
- ],
- 'TotalExecutionCount' => [
- 'description' => 'The number of times for which the private template is executed. If **ShareType** is set to **Public**, the value of this parameter is `-1`.'."\n"
- ."\n"
- .'> This parameter is valid only if **ShareType** is set to **Private**.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '5',
- ],
- 'Description' => [
- 'description' => 'The template description.'."\n",
- 'type' => 'string',
- 'example' => 'Describe instances of given status',
- ],
- 'ResourceGroupId' => [
- 'description' => 'The ID of the resource group.'."\n",
- 'type' => 'string',
- 'example' => 'rg-acfmxsn4m4******',
- ],
- 'CreatedBy' => [
- 'description' => 'The user who created the template.'."\n",
- 'type' => 'string',
- 'example' => 'root(1309200)',
- ],
- 'CreatedDate' => [
- 'description' => 'The creation time of the template.'."\n",
- 'type' => 'string',
- 'example' => '2019-05-16T10:26:14Z',
- ],
- 'Category' => [
- 'description' => 'The template type.'."\n",
- 'type' => 'string',
- 'example' => 'TimerTrigger',
- ],
- 'HasTrigger' => [
- 'description' => 'Indicates whether the template was configured with a trigger.'."\n",
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'TemplateId' => [
- 'description' => 'The template ID.'."\n",
- 'type' => 'string',
- 'example' => 't-94753deed38',
- ],
- 'ShareType' => [
- 'description' => 'The share type of the template. The share type of a template created by a user is **Private**. Valid values:'."\n"
- ."\n"
- .'* **Public**'."\n"
- .'* **Private**'."\n",
- 'type' => 'string',
- 'example' => 'Public',
- ],
- 'IsFavorite' => [
- 'description' => 'Indicates whether the template is added to favorites.'."\n",
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'Publisher' => [
- 'description' => 'The user who published the template.'."\n",
- 'type' => 'string',
- 'example' => 'aliyun',
- ],
- 'Constraints' => [
- 'description' => 'The template constraints.'."\n",
- 'type' => 'string',
- 'example' => '{'."\n"
- .' "InstanceTypeFamilies": ["ecs.g8y", "ecs.c8y"],'."\n"
- .' "ImageTypes": ["system"],'."\n"
- .' "OSPlatforms": ["CentOS", "Ubuntu"],'."\n"
- .' "OSVersions": ["CentOS7.9 64bit"]'."\n"
- .'}',
- ],
- 'VersionName' => [
- 'type' => 'string',
- 'description' => 'The version name.'."\n",
- 'example' => 'v2.1',
- ],
- ],
- 'description' => '',
+ 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '0E6BEBD3-7F9E-5878-834B-097633AB5F33', 'title' => ''],
+ 'ApplicationGroup' => [
+ 'description' => 'The information about the application group.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'CmsGroupId' => ['description' => 'The ID of the application group in CloudMonitor.'."\n", 'type' => 'string', 'example' => '1245768', 'title' => ''],
+ 'DeployRegionId' => ['description' => 'The ID of the region in which the related sources reside.'."\n", 'type' => 'string', 'example' => 'cn-hangzhou', 'title' => ''],
+ 'Description' => ['description' => 'The description of the application group.'."\n", 'type' => 'string', 'example' => 'ApplicationGroup', 'title' => ''],
+ 'UpdateDate' => ['description' => 'The time when the application group was updated.'."\n", 'type' => 'string', 'example' => '2021-09-07T10:28:25Z', 'title' => ''],
+ 'ImportTagKey' => ['description' => 'The key of the tag.'."\n", 'type' => 'string', 'example' => 'k1', 'title' => ''],
+ 'ApplicationName' => ['description' => 'The application name.'."\n", 'type' => 'string', 'example' => 'MyApplication', 'title' => ''],
+ 'ImportTagValue' => ['description' => 'The value of the tag.'."\n", 'type' => 'string', 'example' => 'v1', 'title' => ''],
+ 'Name' => ['description' => 'The name of the application group.'."\n", 'type' => 'string', 'example' => 'MyApplicationGroup', 'title' => ''],
+ 'CreateDate' => ['description' => 'The time when the application group was created.'."\n", 'type' => 'string', 'example' => '2021-09-07T10:28:25Z', 'title' => ''],
],
+ 'title' => '',
+ 'example' => '',
],
],
'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"NextToken\\": \\"xxx\\",\\n \\"RequestId\\": \\"BEF54BA-17B6-449F-A219-49ACB157E3\\",\\n \\"MaxResults\\": 50,\\n \\"Templates\\": [\\n {\\n \\"Hash\\": \\"4bc7d7a21b3e003434b9c223f6e6d2578b5ebfeb5be28c1fcf8a8a1b11907bb4\\",\\n \\"UpdatedDate\\": \\"2019-05-16T10:26:14Z\\",\\n \\"UpdatedBy\\": \\"root(13092000)\\",\\n \\"TemplateType\\": \\"private\\",\\n \\"Tags\\": {\\n \\"k1\\": \\"v1\\",\\n \\"k2\\": \\"v2\\"\\n },\\n \\"TemplateName\\": \\"MyTemplate\\",\\n \\"TemplateVersion\\": \\"v1\\",\\n \\"TemplateFormat\\": \\"JSON\\",\\n \\"Popularity\\": 8,\\n \\"TotalExecutionCount\\": 5,\\n \\"Description\\": \\"Describe instances of given status\\",\\n \\"ResourceGroupId\\": \\"rg-acfmxsn4m4******\\",\\n \\"CreatedBy\\": \\"root(1309200)\\",\\n \\"CreatedDate\\": \\"2019-05-16T10:26:14Z\\",\\n \\"Category\\": \\"TimerTrigger\\",\\n \\"HasTrigger\\": true,\\n \\"TemplateId\\": \\"t-94753deed38\\",\\n \\"ShareType\\": \\"Public\\",\\n \\"IsFavorite\\": true,\\n \\"Publisher\\": \\"aliyun\\",\\n \\"Constraints\\": \\"{\\\\n \\\\\\"InstanceTypeFamilies\\\\\\": [\\\\\\"ecs.g8y\\\\\\", \\\\\\"ecs.c8y\\\\\\"],\\\\n \\\\\\"ImageTypes\\\\\\": [\\\\\\"system\\\\\\"],\\\\n \\\\\\"OSPlatforms\\\\\\": [\\\\\\"CentOS\\\\\\", \\\\\\"Ubuntu\\\\\\"],\\\\n \\\\\\"OSVersions\\\\\\": [\\\\\\"CentOS7.9 64bit\\\\\\"]\\\\n}\\",\\n \\"VersionName\\": \\"3\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<ListTemplatesResponse>\\n <NextToken>xxx</NextToken>\\n <RequestId>BEF54BA-17B6-449F-A219-49ACB157E3</RequestId>\\n <MaxResults>50</MaxResults>\\n <Templates>\\n <Hash>4bc7d7a21b3e003434b9c223f6e6d2578b5ebfeb5be28c1fcf8a8a1b11907bb4</Hash>\\n <UpdatedDate>2019-05-16T10:26:14Z</UpdatedDate>\\n <UpdatedBy>root(13092000)</UpdatedBy>\\n <TemplateType>private</TemplateType>\\n <TemplateName>MyTemplate</TemplateName>\\n <TemplateVersion>v1</TemplateVersion>\\n <TemplateFormat>JSON</TemplateFormat>\\n <Popularity>8</Popularity>\\n <TotalExecutionCount>5</TotalExecutionCount>\\n <Description>Describe instances of given status</Description>\\n <ResourceGroupId>rg-acfmxsn4m4******</ResourceGroupId>\\n <CreatedBy>root(1309200)</CreatedBy>\\n <CreatedDate>2019-05-16T10:26:14Z</CreatedDate>\\n <Category>TimerTrigger</Category>\\n <HasTrigger>true</HasTrigger>\\n <TemplateId>t-94753deed38</TemplateId>\\n <ShareType>Public</ShareType>\\n </Templates>\\n</ListTemplatesResponse>","errorExample":""}]',
- 'title' => 'ListTemplates',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"0E6BEBD3-7F9E-5878-834B-097633AB5F33\\",\\n \\"ApplicationGroup\\": {\\n \\"CmsGroupId\\": \\"1245768\\",\\n \\"DeployRegionId\\": \\"cn-hangzhou\\",\\n \\"Description\\": \\"ApplicationGroup\\",\\n \\"UpdateDate\\": \\"2021-09-07T10:28:25Z\\",\\n \\"ImportTagKey\\": \\"k1\\",\\n \\"ApplicationName\\": \\"MyApplication\\",\\n \\"ImportTagValue\\": \\"v1\\",\\n \\"Name\\": \\"MyApplicationGroup\\",\\n \\"CreateDate\\": \\"2021-09-07T10:28:25Z\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"<ApplicationGroup>\\n <ImportTagValue>v1</ImportTagValue>\\n <UpdateDate>2021-09-07T10:28:25Z</UpdateDate>\\n <DeployRegionId>cn-hangzhou</DeployRegionId>\\n <ApplicationName>MyApplication</ApplicationName>\\n <Description>ApplicationGroup</Description>\\n <ImportTagKey>k1</ImportTagKey>\\n <CreateDate>2021-09-07T10:28:25Z</CreateDate>\\n <Name>MyApplicationGroup</Name>\\n <CmsGroupId>12345678</CmsGroupId>\\n</ApplicationGroup>\\n<RequestId>0E6BEBD3-7F9E-5878-834B-097633AB5F33</RequestId>","errorExample":""}]',
+ 'title' => 'CreateApplicationGroup',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'GetTemplate' => [
- 'summary' => 'Queries the information about a template, including the content of the template.',
- 'methods' => [
- 'post',
- 'get',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateApplicationGroup'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'oos:CreateApplicationGroup',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [
+ ['conditionKey' => 'oos:TLSVersion'],
+ ],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'OOS', 'resourceType' => 'ApplicationGroup', 'arn' => 'acs:oos:{#regionId}:{#accountId}:application/{#applicationName}/applicationgroup/{#applicationGroupName}'],
+ ],
+ ],
+ ],
],
+ ],
+ 'CreateChatConfiguration' => [
+ 'summary' => 'You can create, update, query, and delete chat configurations for platforms such as DingTalk.',
+ 'description' => '## Request Description'."\n"
+ ."\n"
+ .'This API manages chatbot settings for instant messaging tools such as DingTalk, allowing you to create, update, retrieve, and delete chat configurations. You can use this API to implement fine-grained permission control for different users or user groups, specify a RAM role to execute operations, and add tags to each configuration for management and categorization.'."\n"
+ ."\n"
+ .'When you call this API, ensure that the provided `RegionId`, `ConversationId`, and all parameters in the request body are accurate. Exercise caution when you handle sensitive information, such as the `ClientId` and `ClientSecret` fields. Do not disclose them to unauthorized parties.',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -1474,209 +846,175 @@
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'get',
+ 'operationType' => 'create',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeCode' => '93969',
- 'abilityTreeNodes' => [
- 'FEATUREoosCPYH5Z',
- ],
+ 'abilityTreeNodes' => ['FEATUREoosQL14T7'],
+ 'autoTest' => true,
'tenantRelevance' => 'publicInformation',
],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The region ID.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => 'Region ID.', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''],
],
[
- 'name' => 'TemplateName',
+ 'name' => 'Name',
'in' => 'query',
- 'schema' => [
- 'description' => 'The name of the template. The name can be 1 to 200 characters in length and can contain letters, digits, hyphens (-), and underscores (\\_). The name cannot start with ALIYUN, ACS, ALIBABA, or ALICLOUD.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'MyTemplate',
- ],
+ 'schema' => ['description' => 'Configuration name.', 'type' => 'string', 'required' => false, 'example' => 'chatops', 'title' => ''],
],
[
- 'name' => 'TemplateVersion',
+ 'name' => 'Type',
'in' => 'query',
'schema' => [
- 'description' => 'The version of the template. The default value is the latest version of the template.'."\n",
+ 'description' => 'Chat platform type. Valid values:'."\n"
+ ."\n"
+ .'- DingTalk: DingTalk.'."\n"
+ ."\n"
+ .'- WeChat: WeChat.',
'type' => 'string',
+ 'deprecated' => false,
+ 'enum' => ['DingTalk', 'WeChat'],
'required' => false,
- 'example' => 'v1',
+ 'example' => 'DingTalk',
+ 'title' => '',
],
],
+ [
+ 'name' => 'RamRole',
+ 'in' => 'query',
+ 'schema' => ['description' => 'RAM role name.', 'type' => 'string', 'required' => false, 'example' => 'AliyunOOSDefaultRole', 'title' => ''],
+ ],
+ [
+ 'name' => 'Configuration',
+ 'in' => 'query',
+ 'schema' => ['description' => 'Chatbot configuration information in JSON format.', 'type' => 'string', 'required' => false, 'example' => '("DingTalkTemplateId": "template-123", "DingTalkClientId": "client-123", "DingTalkClientSecret": "secret-123"}', 'title' => ''],
+ ],
+ [
+ 'name' => 'ResourceGroupId',
+ 'in' => 'query',
+ 'schema' => ['description' => 'Resource group ID.', 'type' => 'string', 'required' => false, 'example' => 'rg-acfmxsn4m4******', 'title' => ''],
+ ],
],
'responses' => [
200 => [
+ 'description' => '成功响应',
'schema' => [
'type' => 'object',
'properties' => [
- 'Content' => [
- 'description' => 'The content of the template.'."\n",
- 'type' => 'string',
- 'example' => '"FormatVersion: OOS-2019-06-01\\nDescription:\\n en: Creates an ECS image\\n zh-cn: 创建一个ECS镜像\\n name-en: Create Image\\n name-zh-cn: 创建镜像\\n categories:\\n - image_manage\\n - application_manage\\nParameters:\\n regionId:\\n Type: String\\n Label:\\n en: RegionId\\n zh-cn: 地域ID\\n AssociationProperty: RegionId\\n Default: \'{{ ACS::RegionId }}\'\\n instanceId:\\n Label:\\n en: InstanceId\\n zh-cn: ECS实例ID\\n Type: String\\n AssociationProperty: ALIYUN::ECS::Instance::InstanceId\\n AssociationPropertyMetadata:\\n RegionId: regionId\\n imageName:\\n Label:\\n en: ImageName\\n zh-cn: 新镜像的名称\\n Type: String\\n Description:\\n en: <p class=\\"p\\">Note:</p> <ul class=\\"ul\\"> <li class=\\"li\\">Length is 2~128 English or Chinese characters</li> <li class=\\"li\\"><font color=\'red\'>must start with big or small letters or Chinese, not http:// and https://. </font></li> <li class=\\"li\\">Can contain numbers, colons (:), underscores (_), or dashes (-). </li> </ul>\\n zh-cn: <p class=\\"p\\">注意:</p> <ul class=\\"ul\\"> <li class=\\"li\\">长度为2~128个英文或中文字符</li> <li class=\\"li\\"><font color=\'red\'>必须以大小字母或中文开头,不能以http://和https://开头。</font></li> <li class=\\"li\\">可以包含数字、半角冒号(:)、下划线(_)或者短划线(-)。</li> </ul>\\n tags:\\n Label:\\n en: Tags\\n zh-cn: 镜像标签\\n Type: Json\\n AssociationProperty: Tags\\n AssociationPropertyMetadata:\\n ShowSystem: false\\n Default: []\\n OOSAssumeRole:\\n Label:\\n en: OOSAssumeRole\\n zh-cn: OOS扮演的RAM角色\\n Type: String\\n Default: OOSServiceRole\\nRamRole: \'{{ OOSAssumeRole }}\'\\nTasks:\\n- Name: createImage\\n Action: ACS::ECS::CreateImage\\n Description:\\n en: Create new image with the specified image name and instance ID\\n zh-cn: 通过指定实例ID和镜像名称创建新的镜像\\n Properties:\\n regionId: \'{{ regionId }}\'\\n imageName: \'{{ imageName }}__on_{{ ACS::ExecutionId }}_at_{{ Acs::CurrentDate }}\'\\n instanceId: \'{{ instanceId }}\'\\n tags: \'{{tags}}\'\\n Outputs:\\n imageId:\\n ValueSelector: imageId\\n Type: String\\nOutputs:\\n imageId:\\n Type: String\\n Value: \'{{ createImage.imageId }}\'\\nMetadata:\\n ALIYUN::OOS::Interface:\\n ParameterGroups:\\n - Parameters:\\n - regionId\\n - instanceId\\n Label:\\n default:\\n zh-cn: 选择实例\\n en: Select Ecs Instances\\n - Parameters:\\n - imageName\\n - tags\\n Label:\\n default:\\n zh-cn: 镜像设置\\n en: Image Configure\\n - Parameters:\\n - OOSAssumeRole\\n Label:\\n default:\\n zh-cn: 高级选项\\n en: Control Options"',
- ],
- 'RequestId' => [
- 'description' => 'The request ID.'."\n",
- 'type' => 'string',
- 'example' => '5BBE2663-A18E-5261-9BBB-F4832F5294D9',
- ],
- 'Template' => [
- 'description' => 'The metadata of the template.'."\n",
+ 'RequestId' => ['description' => 'Request ID.', 'type' => 'string', 'title' => '', 'example' => '4DB0****1234'],
+ 'ChatConfiguration' => [
'type' => 'object',
'properties' => [
- 'Hash' => [
- 'description' => 'The SHA-256 value of the template content.'."\n",
- 'type' => 'string',
- 'example' => '40fb5e3e08ef6c8a499ff7cd8441194f518028ad08338a84cb70c023a64576f1',
- ],
- 'UpdatedDate' => [
- 'description' => 'The time when the template was last updated.'."\n",
- 'type' => 'string',
- 'example' => '2022-04-26T08:37:07Z',
- ],
- 'UpdatedBy' => [
- 'description' => 'The user who last updated the template.'."\n",
- 'type' => 'string',
- 'example' => 'ACS',
- ],
- 'TemplateType' => [
- 'description' => 'The type of the template.'."\n",
- 'type' => 'string',
- 'example' => 'Automation',
- ],
- 'Tags' => [
- 'description' => 'The tag keys and values. The number of key-value pairs ranges from 1 to 20.'."\n",
- 'type' => 'object',
- 'example' => '{"k1":"k2","k2":"v2"}',
- ],
- 'TemplateName' => [
- 'description' => 'The name of the template.'."\n",
- 'type' => 'string',
- 'example' => 'ACS-ECS-CreateImage',
- ],
- 'TemplateVersion' => [
- 'description' => 'The version of the template. The name of the version consists of the letter v and a number. The number starts from 1.'."\n",
- 'type' => 'string',
- 'example' => 'v15',
- ],
- 'TemplateFormat' => [
- 'description' => 'The format of the template. The system automatically determines whether the format is JSON or YAML.'."\n",
- 'type' => 'string',
- 'example' => 'YAML',
- ],
- 'Description' => [
- 'description' => 'The description of the template.'."\n",
- 'type' => 'string',
- 'example' => '"{\\"en\\": \\"Creates an ECS image\\", \\"zh-cn\\": \\"创建一个ECS镜像\\", \\"name-en\\": \\"Create Image\\", \\"name-zh-cn\\": \\"创建镜像\\", \\"categories\\": [\\"image_manage\\", \\"application_manage\\"]}"',
- ],
- 'ResourceGroupId' => [
- 'description' => 'The ID of the resource group.'."\n",
- 'type' => 'string',
- 'example' => 'rg-acfmxsn4m4******',
- ],
- 'CreatedBy' => [
- 'description' => 'The creator of the template.'."\n",
- 'type' => 'string',
- 'example' => 'ACS',
- ],
- 'CreatedDate' => [
- 'description' => 'The time when the template was created.'."\n",
- 'type' => 'string',
- 'example' => '2019-05-16T10:26:14Z',
- ],
- 'VersionName' => [
- 'description' => 'The name of the version of the template.'."\n",
- 'type' => 'string',
- 'example' => 'version15',
- ],
- 'TemplateId' => [
- 'description' => 'The ID of the template.'."\n",
- 'type' => 'string',
- 'example' => 't-4bdb1745c171401883a2',
- ],
- 'HasTrigger' => [
- 'description' => 'Indicates whether the template was configured with a trigger.'."\n",
- 'type' => 'boolean',
- 'example' => 'false',
- ],
- 'ShareType' => [
- 'description' => 'The share type of the template. The share type of a user-created template is **Private**.'."\n",
- 'type' => 'string',
- 'example' => 'Public',
- ],
- 'SharedAccounts' => [
- 'type' => 'string',
- ],
+ 'Name' => ['description' => 'Name of the chat configuration.', 'type' => 'string', 'example' => 'TestChatConfig-9be97b40', 'title' => ''],
+ 'CreatedDate' => ['description' => 'Creation time of the chat configuration.', 'type' => 'string', 'example' => '2025-12-11T13:49:10+00:00', 'title' => ''],
+ 'UpdatedDate' => ['description' => 'Last update time of the chat configuration.', 'type' => 'string', 'example' => '2025-12-11T13:59:02+00:00', 'title' => ''],
],
+ 'description' => 'Details of the chat configuration.',
+ 'example' => '{"Name": "TestChatConfig-9be97b40", "CreatedDate": "2025-12-11T13:49:10+00:00", "UpdatedDate": "2025-12-11T13:59:02+00:00"}',
+ 'title' => '',
],
],
+ 'title' => '',
+ 'description' => 'Details of a successful response.',
+ 'example' => '',
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"Content\\": \\"\\\\\\"FormatVersion: OOS-2019-06-01\\\\\\\\nDescription:\\\\\\\\n en: Creates an ECS image\\\\\\\\n zh-cn: 创建一个ECS镜像\\\\\\\\n name-en: Create Image\\\\\\\\n name-zh-cn: 创建镜像\\\\\\\\n categories:\\\\\\\\n - image_manage\\\\\\\\n - application_manage\\\\\\\\nParameters:\\\\\\\\n regionId:\\\\\\\\n Type: String\\\\\\\\n Label:\\\\\\\\n en: RegionId\\\\\\\\n zh-cn: 地域ID\\\\\\\\n AssociationProperty: RegionId\\\\\\\\n Default: \'{{ ACS::RegionId }}\'\\\\\\\\n instanceId:\\\\\\\\n Label:\\\\\\\\n en: InstanceId\\\\\\\\n zh-cn: ECS实例ID\\\\\\\\n Type: String\\\\\\\\n AssociationProperty: ALIYUN::ECS::Instance::InstanceId\\\\\\\\n AssociationPropertyMetadata:\\\\\\\\n RegionId: regionId\\\\\\\\n imageName:\\\\\\\\n Label:\\\\\\\\n en: ImageName\\\\\\\\n zh-cn: 新镜像的名称\\\\\\\\n Type: String\\\\\\\\n Description:\\\\\\\\n en: <p class=\\\\\\\\\\\\\\"p\\\\\\\\\\\\\\">Note:</p> <ul class=\\\\\\\\\\\\\\"ul\\\\\\\\\\\\\\"> <li class=\\\\\\\\\\\\\\"li\\\\\\\\\\\\\\">Length is 2~128 English or Chinese characters</li> <li class=\\\\\\\\\\\\\\"li\\\\\\\\\\\\\\"><font color=\'red\'>must start with big or small letters or Chinese, not http:// and https://. </font></li> <li class=\\\\\\\\\\\\\\"li\\\\\\\\\\\\\\">Can contain numbers, colons (:), underscores (_), or dashes (-). </li> </ul>\\\\\\\\n zh-cn: <p class=\\\\\\\\\\\\\\"p\\\\\\\\\\\\\\">注意:</p> <ul class=\\\\\\\\\\\\\\"ul\\\\\\\\\\\\\\"> <li class=\\\\\\\\\\\\\\"li\\\\\\\\\\\\\\">长度为2~128个英文或中文字符</li> <li class=\\\\\\\\\\\\\\"li\\\\\\\\\\\\\\"><font color=\'red\'>必须以大小字母或中文开头,不能以http://和https://开头。</font></li> <li class=\\\\\\\\\\\\\\"li\\\\\\\\\\\\\\">可以包含数字、半角冒号(:)、下划线(_)或者短划线(-)。</li> </ul>\\\\\\\\n tags:\\\\\\\\n Label:\\\\\\\\n en: Tags\\\\\\\\n zh-cn: 镜像标签\\\\\\\\n Type: Json\\\\\\\\n AssociationProperty: Tags\\\\\\\\n AssociationPropertyMetadata:\\\\\\\\n ShowSystem: false\\\\\\\\n Default: []\\\\\\\\n OOSAssumeRole:\\\\\\\\n Label:\\\\\\\\n en: OOSAssumeRole\\\\\\\\n zh-cn: OOS扮演的RAM角色\\\\\\\\n Type: String\\\\\\\\n Default: OOSServiceRole\\\\\\\\nRamRole: \'{{ OOSAssumeRole }}\'\\\\\\\\nTasks:\\\\\\\\n- Name: createImage\\\\\\\\n Action: ACS::ECS::CreateImage\\\\\\\\n Description:\\\\\\\\n en: Create new image with the specified image name and instance ID\\\\\\\\n zh-cn: 通过指定实例ID和镜像名称创建新的镜像\\\\\\\\n Properties:\\\\\\\\n regionId: \'{{ regionId }}\'\\\\\\\\n imageName: \'{{ imageName }}__on_{{ ACS::ExecutionId }}_at_{{ Acs::CurrentDate }}\'\\\\\\\\n instanceId: \'{{ instanceId }}\'\\\\\\\\n tags: \'{{tags}}\'\\\\\\\\n Outputs:\\\\\\\\n imageId:\\\\\\\\n ValueSelector: imageId\\\\\\\\n Type: String\\\\\\\\nOutputs:\\\\\\\\n imageId:\\\\\\\\n Type: String\\\\\\\\n Value: \'{{ createImage.imageId }}\'\\\\\\\\nMetadata:\\\\\\\\n ALIYUN::OOS::Interface:\\\\\\\\n ParameterGroups:\\\\\\\\n - Parameters:\\\\\\\\n - regionId\\\\\\\\n - instanceId\\\\\\\\n Label:\\\\\\\\n default:\\\\\\\\n zh-cn: 选择实例\\\\\\\\n en: Select Ecs Instances\\\\\\\\n - Parameters:\\\\\\\\n - imageName\\\\\\\\n - tags\\\\\\\\n Label:\\\\\\\\n default:\\\\\\\\n zh-cn: 镜像设置\\\\\\\\n en: Image Configure\\\\\\\\n - Parameters:\\\\\\\\n - OOSAssumeRole\\\\\\\\n Label:\\\\\\\\n default:\\\\\\\\n zh-cn: 高级选项\\\\\\\\n en: Control Options\\\\\\"\\",\\n \\"RequestId\\": \\"5BBE2663-A18E-5261-9BBB-F4832F5294D9\\",\\n \\"Template\\": {\\n \\"Hash\\": \\"40fb5e3e08ef6c8a499ff7cd8441194f518028ad08338a84cb70c023a64576f1\\",\\n \\"UpdatedDate\\": \\"2022-04-26T08:37:07Z\\",\\n \\"UpdatedBy\\": \\"ACS\\",\\n \\"TemplateType\\": \\"Automation\\",\\n \\"Tags\\": {\\n \\"k1\\": \\"k2\\",\\n \\"k2\\": \\"v2\\"\\n },\\n \\"TemplateName\\": \\"ACS-ECS-CreateImage\\",\\n \\"TemplateVersion\\": \\"v15\\",\\n \\"TemplateFormat\\": \\"YAML\\",\\n \\"Description\\": \\"\\\\\\"{\\\\\\\\\\\\\\"en\\\\\\\\\\\\\\": \\\\\\\\\\\\\\"Creates an ECS image\\\\\\\\\\\\\\", \\\\\\\\\\\\\\"zh-cn\\\\\\\\\\\\\\": \\\\\\\\\\\\\\"创建一个ECS镜像\\\\\\\\\\\\\\", \\\\\\\\\\\\\\"name-en\\\\\\\\\\\\\\": \\\\\\\\\\\\\\"Create Image\\\\\\\\\\\\\\", \\\\\\\\\\\\\\"name-zh-cn\\\\\\\\\\\\\\": \\\\\\\\\\\\\\"创建镜像\\\\\\\\\\\\\\", \\\\\\\\\\\\\\"categories\\\\\\\\\\\\\\": [\\\\\\\\\\\\\\"image_manage\\\\\\\\\\\\\\", \\\\\\\\\\\\\\"application_manage\\\\\\\\\\\\\\"]}\\\\\\"\\",\\n \\"ResourceGroupId\\": \\"rg-acfmxsn4m4******\\",\\n \\"CreatedBy\\": \\"ACS\\",\\n \\"CreatedDate\\": \\"2019-05-16T10:26:14Z\\",\\n \\"VersionName\\": \\"version15\\",\\n \\"TemplateId\\": \\"t-4bdb1745c171401883a2\\",\\n \\"HasTrigger\\": false,\\n \\"ShareType\\": \\"Public\\",\\n \\"SharedAccounts\\": \\"[\\\\\\"12345678\\\\\\"]\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"<GetTemplateResponse>\\n <Content>\\"FormatVersion: OOS-2019-06-01\\\\nDescription:\\\\n en: Creates an ECS image\\\\n zh-cn: 创建一个ECS镜像\\\\n name-en: Create Image\\\\n name-zh-cn: 创建镜像\\\\n categories:\\\\n - image_manage\\\\n - application_manage\\\\nParameters:\\\\n regionId:\\\\n Type: String\\\\n Label:\\\\n en: RegionId\\\\n zh-cn: 地域ID\\\\n AssociationProperty: RegionId\\\\n Default: \'{{ ACS::RegionId }}\'\\\\n instanceId:\\\\n Label:\\\\n en: InstanceId\\\\n zh-cn: ECS实例ID\\\\n Type: String\\\\n AssociationProperty: ALIYUN::ECS::Instance::InstanceId\\\\n AssociationPropertyMetadata:\\\\n RegionId: regionId\\\\n imageName:\\\\n Label:\\\\n en: ImageName\\\\n zh-cn: 新镜像的名称\\\\n Type: String\\\\n Description:\\\\n en: &lt;p class=\\\\\\"p\\\\\\"&gt;Note:&lt;/p&gt; &lt;ul class=\\\\\\"ul\\\\\\"&gt; &lt;li class=\\\\\\"li\\\\\\"&gt;Length is 2~128 English or Chinese characters&lt;/li&gt; &lt;li class=\\\\\\"li\\\\\\"&gt;&lt;font color=\'red\'&gt;must start with big or small letters or Chinese, not http:// and https://. &lt;/font&gt;&lt;/li&gt; &lt;li class=\\\\\\"li\\\\\\"&gt;Can contain numbers, colons (:), underscores (_), or dashes (-). &lt;/li&gt; &lt;/ul&gt;\\\\n zh-cn: &lt;p class=\\\\\\"p\\\\\\"&gt;注意:&lt;/p&gt; &lt;ul class=\\\\\\"ul\\\\\\"&gt; &lt;li class=\\\\\\"li\\\\\\"&gt;长度为2~128个英文或中文字符&lt;/li&gt; &lt;li class=\\\\\\"li\\\\\\"&gt;&lt;font color=\'red\'&gt;必须以大小字母或中文开头,不能以http://和https://开头。&lt;/font&gt;&lt;/li&gt; &lt;li class=\\\\\\"li\\\\\\"&gt;可以包含数字、半角冒号(:)、下划线(_)或者短划线(-)。&lt;/li&gt; &lt;/ul&gt;\\\\n tags:\\\\n Label:\\\\n en: Tags\\\\n zh-cn: 镜像标签\\\\n Type: Json\\\\n AssociationProperty: Tags\\\\n AssociationPropertyMetadata:\\\\n ShowSystem: false\\\\n Default: []\\\\n OOSAssumeRole:\\\\n Label:\\\\n en: OOSAssumeRole\\\\n zh-cn: OOS扮演的RAM角色\\\\n Type: String\\\\n Default: OOSServiceRole\\\\nRamRole: \'{{ OOSAssumeRole }}\'\\\\nTasks:\\\\n- Name: createImage\\\\n Action: ACS::ECS::CreateImage\\\\n Description:\\\\n en: Create new image with the specified image name and instance ID\\\\n zh-cn: 通过指定实例ID和镜像名称创建新的镜像\\\\n Properties:\\\\n regionId: \'{{ regionId }}\'\\\\n imageName: \'{{ imageName }}__on_{{ ACS::ExecutionId }}_at_{{ Acs::CurrentDate }}\'\\\\n instanceId: \'{{ instanceId }}\'\\\\n tags: \'{{tags}}\'\\\\n Outputs:\\\\n imageId:\\\\n ValueSelector: imageId\\\\n Type: String\\\\nOutputs:\\\\n imageId:\\\\n Type: String\\\\n Value: \'{{ createImage.imageId }}\'\\\\nMetadata:\\\\n ALIYUN::OOS::Interface:\\\\n ParameterGroups:\\\\n - Parameters:\\\\n - regionId\\\\n - instanceId\\\\n Label:\\\\n default:\\\\n zh-cn: 选择实例\\\\n en: Select Ecs Instances\\\\n - Parameters:\\\\n - imageName\\\\n - tags\\\\n Label:\\\\n default:\\\\n zh-cn: 镜像设置\\\\n en: Image Configure\\\\n - Parameters:\\\\n - OOSAssumeRole\\\\n Label:\\\\n default:\\\\n zh-cn: 高级选项\\\\n en: Control Options\\"</Content>\\n <RequestId>5BBE2663-A18E-5261-9BBB-F4832F5294D9</RequestId>\\n <Template>\\n <Hash>40fb5e3e08ef6c8a499ff7cd8441194f518028ad08338a84cb70c023a64576f1</Hash>\\n <UpdatedDate>2022-04-26T08:37:07Z</UpdatedDate>\\n <UpdatedBy>ACS</UpdatedBy>\\n <TemplateType>Automation</TemplateType>\\n <TemplateName>ACS-ECS-CreateImage</TemplateName>\\n <TemplateVersion>v15</TemplateVersion>\\n <TemplateFormat>YAML</TemplateFormat>\\n <Description>\\"{\\\\\\"en\\\\\\": \\\\\\"Creates an ECS image\\\\\\", \\\\\\"zh-cn\\\\\\": \\\\\\"创建一个ECS镜像\\\\\\", \\\\\\"name-en\\\\\\": \\\\\\"Create Image\\\\\\", \\\\\\"name-zh-cn\\\\\\": \\\\\\"创建镜像\\\\\\", \\\\\\"categories\\\\\\": [\\\\\\"image_manage\\\\\\", \\\\\\"application_manage\\\\\\"]}\\"</Description>\\n <ResourceGroupId>rg-acfmxsn4m4******</ResourceGroupId>\\n <CreatedBy>ACS</CreatedBy>\\n <CreatedDate>2019-05-16T10:26:14Z</CreatedDate>\\n <VersionName>version15</VersionName>\\n <TemplateId>t-4bdb1745c171401883a2</TemplateId>\\n <HasTrigger>false</HasTrigger>\\n <ShareType>Public</ShareType>\\n </Template>\\n</GetTemplateResponse>","errorExample":""}]',
- 'title' => 'GetTemplate',
- 'requestParamsDescription' => ' ',
- 'responseParamsDescription' => ' ',
- 'extraInfo' => ' ',
- ],
- 'ListExecutionRiskyTasks' => [
- 'summary' => 'Queries high-risk tasks in the execution of a template.',
- 'methods' => [
- 'post',
- 'get',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => 'CreateChatConfiguration',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'oos:CreateChatConfiguration',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'OOS', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"4DB0****1234\\",\\n \\"ChatConfiguration\\": {\\n \\"Name\\": \\"TestChatConfig-9be97b40\\",\\n \\"CreatedDate\\": \\"2025-12-11T13:49:10+00:00\\",\\n \\"UpdatedDate\\": \\"2025-12-11T13:59:02+00:00\\"\\n }\\n}","type":"json"}]',
+ ],
+ 'CreateDeployRevision' => [
+ 'summary' => 'Creates a deployment revision.',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'read',
+ 'operationType' => 'write',
+ 'deprecated' => false,
'systemTags' => [
- 'operationType' => 'get',
+ 'operationType' => 'create',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeCode' => '93974',
- 'abilityTreeNodes' => [
- 'FEATUREoosQL14T7',
- ],
+ 'abilityTreeCode' => '93939',
+ 'abilityTreeNodes' => ['FEATUREoosXBZWHV'],
+ 'autoTest' => true,
'tenantRelevance' => 'publicInformation',
],
'parameters' => [
[
- 'name' => 'RegionId',
+ 'name' => 'ApplicationName',
'in' => 'query',
- 'schema' => [
- 'description' => 'The ID of the region.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => 'The name of the application.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'AgentColin3', 'title' => ''],
],
[
- 'name' => 'TemplateName',
+ 'name' => 'Description',
'in' => 'query',
- 'schema' => [
- 'description' => 'The name of the template.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'myTemplate',
- ],
+ 'schema' => ['description' => 'The description of the deployment revision.', 'type' => 'string', 'required' => false, 'example' => '2026-01-03', 'title' => ''],
+ ],
+ [
+ 'name' => 'RevisionType',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The type of the deployment revision. Valid values:'."\n"
+ ."\n"
+ .'- `Command`: A command.'."\n"
+ ."\n"
+ .'- `GitRepo`: A Git repository.'."\n"
+ ."\n"
+ .'- `HelmChart`: A Helm chart.'."\n"
+ ."\n"
+ .'- `Oss`: An object in Object Storage Service (OSS).'."\n"
+ ."\n"
+ .'- `EcsImage`: An ECS image.'."\n"
+ ."\n"
+ .'- `DockerImage`: A Docker image.'."\n"
+ ."\n"
+ .'- `Yaml`: A YAML file.', 'type' => 'string', 'required' => false, 'example' => 'Command', 'title' => ''],
+ ],
+ [
+ 'name' => 'Location',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The deployment location, specified as a JSON string that contains details such as the bucket name and region.', 'type' => 'string', 'required' => false, 'example' => '{"bucketName":"ecs-application-ui-test","objectName":"319137376-pipeline-run-319137376-task-1-cmd-exec.log","regionId":"cn-hangzhou"}', 'title' => ''],
+ ],
+ [
+ 'name' => 'Hooks',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The deployment hook scripts, specified as a JSON string. The scripts contain commands that run when the application starts or stops.', 'type' => 'string', 'required' => false, 'example' => '{"applicationStart":"# Execute build process\\nbuild() {\\n REPO_URL=\\"https://github.com/aldinokemal/go-whatsapp-web-multidevice.git\\"\\n BRANCH=\\"main\\"\\n DOCKERFILE_PATH=\\"./dockerfile\\"\\n "}', 'title' => ''],
+ ],
+ [
+ 'name' => 'DeployResourceType',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The type of the deployment resource. Valid values:'."\n"
+ ."\n"
+ .'- `Kubernetes`: A Kubernetes cluster.'."\n"
+ ."\n"
+ .'- `Ecs`: An ECS instance.'."\n"
+ ."\n"
+ .'- `FC`: A Function Compute service.'."\n"
+ ."\n"
+ .'- `SWAS`: A Simple Application Server instance.', 'type' => 'string', 'required' => false, 'example' => 'Kubernetes', 'title' => ''],
],
],
'responses' => [
@@ -1684,116 +1022,134 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => 'The ID of the request.'."\n",
- 'type' => 'string',
- 'example' => 'C04B668D-D2DD-4B40-B6E9-0E3C4F53D5B5',
- ],
- 'RiskyTasks' => [
- 'description' => 'The information about high-risk tasks.'."\n",
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'Service' => [
- 'description' => 'The cloud service in which the high-risk task runs.'."\n",
- 'type' => 'string',
- 'example' => 'ECS',
- ],
- 'API' => [
- 'description' => 'The name of the operation that the high-risk task calls.'."\n",
- 'type' => 'string',
- 'example' => 'DeleteInstance',
- ],
- 'Task' => [
- 'description' => 'The details of the high-risk task.'."\n",
- 'type' => 'array',
- 'items' => [
- 'description' => 'The name of the high-risk task.'."\n",
- 'type' => 'string',
- 'example' => 'parenttask1',
- ],
- ],
- 'Template' => [
- 'description' => 'The details of templates to which the high-risk task belongs.'."\n",
- 'type' => 'array',
- 'items' => [
- 'description' => 'The template that contains the high-risk task.'."\n",
- 'type' => 'string',
- 'example' => 'deleteInstanceTask1',
- ],
- ],
- ],
+ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '4DB0****1234', 'title' => ''],
+ 'Revision' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'RevisionId' => ['description' => 'The ID of the deployment revision.', 'type' => 'string', 'example' => 'rev-0d6c6956faac431c891b', 'title' => ''],
+ 'ApplicationName' => ['description' => 'The name of the application.', 'type' => 'string', 'example' => 'AgentColin3', 'title' => ''],
+ 'RevisionType' => ['description' => 'The type of the deployment revision. Valid values are `Command`, `GitRepo`, `HelmChart`, `Oss`, `EcsImage`, `DockerImage`, and `Yaml`. The following list describes some of these types:'."\n"
+ ."\n"
+ .'- **Command**: A deployment that uses a command.'."\n"
+ ."\n"
+ .'- **GitRepo**: A deployment from a Git repository.'."\n"
+ ."\n"
+ .'- **OSS**: A deployment from an OSS object.', 'type' => 'string', 'example' => 'Oss', 'title' => ''],
+ 'Description' => ['description' => 'The description of the deployment revision.', 'type' => 'string', 'example' => '2026-01-05', 'title' => ''],
+ 'Location' => ['description' => 'The storage location of the deployment resource, provided as a JSON string.', 'type' => 'string', 'example' => '{"bucketName":"ecs-application-ui-test","objectName":"319137376-pipeline-run-319137376-task-1-cmd-exec.log","regionId":"cn-hangzhou"}', 'title' => ''],
+ 'Hooks' => ['description' => 'The deployment hook scripts.', 'type' => 'string', 'example' => '{"applicationStart": "echo \\"Introducing what AgentScope is" | python agent_sample.py"}', 'title' => ''],
+ 'DeployResourceType' => ['description' => 'The deployment resource type.', 'type' => 'string', 'example' => 'Ecs', 'title' => ''],
],
+ 'description' => 'The details of the deployment revision.',
+ 'example' => '{"RevisionId": "rev-0d6c6956faac431c891b", "ApplicationName": "AgentColin3"}',
+ 'title' => '',
],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"C04B668D-D2DD-4B40-B6E9-0E3C4F53D5B5\\",\\n \\"RiskyTasks\\": [\\n {\\n \\"Service\\": \\"ECS\\",\\n \\"API\\": \\"DeleteInstance\\",\\n \\"Task\\": [\\n \\"parenttask1\\"\\n ],\\n \\"Template\\": [\\n \\"deleteInstanceTask1\\"\\n ]\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<ListExecutionRiskyTasksResponse>\\r\\n <RequestId>C04B668D-D2DD-4B40-B6E9-0E3C4F53D5B5</RequestId>\\r\\n <RiskyTasks>\\r\\n <Task>parenttask1</Task>\\r\\n <Task>childtask2</Task>\\r\\n <Template>root template name</Template>\\r\\n <Service>ECS</Service>\\r\\n <API>DeleteInstance</API>\\r\\n </RiskyTasks>\\r\\n <RiskyTasks>\\r\\n <Task>task3</Task>\\r\\n <Template>root template name</Template>\\r\\n <Service>SLB</Service>\\r\\n <API>RemoveBackendServers</API>\\r\\n </RiskyTasks>\\r\\n</ListExecutionRiskyTasksResponse>","errorExample":""}]',
- 'title' => 'ListExecutionRiskyTasks',
- 'requestParamsDescription' => ' ',
- 'responseParamsDescription' => ' ',
- 'extraInfo' => ' ',
- ],
- 'ValidateTemplateContent' => [
- 'summary' => 'Check whether a template is valid.',
- 'methods' => [
- 'post',
- 'get',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => 'CreateDeployRevision',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'oos:CreateDeployRevision',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [
+ ['conditionKey' => 'oos:TLSVersion'],
+ ],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'OOS', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"4DB0****1234\\",\\n \\"Revision\\": {\\n \\"RevisionId\\": \\"rev-0d6c6956faac431c891b\\",\\n \\"ApplicationName\\": \\"AgentColin3\\",\\n \\"RevisionType\\": \\"Oss\\",\\n \\"Description\\": \\"2026-01-05\\",\\n \\"Location\\": \\"{\\\\\\"bucketName\\\\\\":\\\\\\"ecs-application-ui-test\\\\\\",\\\\\\"objectName\\\\\\":\\\\\\"319137376-pipeline-run-319137376-task-1-cmd-exec.log\\\\\\",\\\\\\"regionId\\\\\\":\\\\\\"cn-hangzhou\\\\\\"}\\",\\n \\"Hooks\\": \\"{\\\\\\"applicationStart\\\\\\": \\\\\\"echo \\\\\\\\\\\\\\"Introducing what AgentScope is\\\\\\" | python agent_sample.py\\\\\\"}\\",\\n \\"DeployResourceType\\": \\"Ecs\\"\\n }\\n}","type":"json"}]',
+ 'translator' => 'manual',
+ ],
+ 'CreateGitRepository' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'read',
+ 'operationType' => 'write',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'get',
+ 'operationType' => 'create',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeCode' => '94010',
- 'abilityTreeNodes' => [
- 'FEATUREoosCPYH5Z',
- ],
+ 'abilityTreeCode' => '220997',
+ 'abilityTreeNodes' => ['FEATUREoosCPYH5Z'],
+ 'autoTest' => false,
+ 'notSupportAutoTestReason' => '需要Github/Gitee的OAuth授权',
'tenantRelevance' => 'publicInformation',
],
'parameters' => [
[
- 'name' => 'RegionId',
+ 'name' => 'ClientToken',
'in' => 'query',
- 'schema' => [
- 'description' => 'The ID of the region.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['type' => 'string', 'required' => false, 'description' => 'The idempotence token.', 'title' => '', 'example' => 'TF-CreateApplication-1647587475-84104b89-eba5-47a8-b2fd-807b8b7d'],
],
[
- 'name' => 'Content',
+ 'name' => 'Platform',
'in' => 'query',
- 'schema' => [
- 'description' => 'The content of the template.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'docRequired' => true,
- 'example' => '{"FormatVersion": "OOS-2019-06-01", "Description": "Describe instances of given status", "Parameters": {"Status": {"Type": "String", "Description": "(Required) The status of the Ecs instance."}}, "Tasks": [{"Properties": {"Parameters": {"Status": "{{ Status }}"}, "API": "DescribeInstances", "Service": "Ecs"}, "Name": "foo", "Action": "ACS::ExecuteApi"}]}',
- ],
+ 'schema' => ['type' => 'string', 'required' => true, 'description' => 'The Git platform.', 'title' => '', 'example' => 'gitee'],
],
[
- 'name' => 'TemplateURL',
+ 'name' => 'Owner',
'in' => 'query',
- 'schema' => [
- 'description' => 'The URL that is used to store the content of the Operation Orchestration Service (OOS) template in the Alibaba Cloud Object Storage Service (OSS). Only the public-read URL is supported. You can use this parameter to specify the tasks that you want to run. This way, you do not need to create a template before you start an execution. If you select an existing template, you do not need to specify this parameter.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'http:/oos-template.cn-hangzhou.oss.aliyun-inc.com/oos-template.json',
- ],
+ 'schema' => ['type' => 'string', 'required' => true, 'description' => 'The logon account name.', 'title' => '', 'example' => 'JJGGu'],
+ ],
+ [
+ 'name' => 'SourceRepoOwner',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'description' => 'The owner of the source repository. The owner can be an account name or an organization name. Specify this parameter when you copy a source repository to a target repository.', 'required' => false, 'title' => '', 'example' => 'aliyun-computenest'],
+ ],
+ [
+ 'name' => 'SourceRepoName',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'description' => 'The name of the source repository. Specify this parameter when you copy a source repository to a target repository.', 'required' => false, 'title' => '', 'example' => 'test-repo'],
+ ],
+ [
+ 'name' => 'SourceRepoBranch',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'description' => 'The branch of the source repository. Specify this parameter when you copy a source repository to a target repository.', 'required' => false, 'title' => '', 'example' => 'main'],
+ ],
+ [
+ 'name' => 'TargetRepoOwner',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'description' => 'The owner of the target repository. If you specify SourceRepoOwner and SourceRepoName, the source repository is copied to the target repository. Otherwise, only a new target repository is created.', 'required' => false, 'title' => '', 'example' => 'namexx'],
+ ],
+ [
+ 'name' => 'TargetRepoName',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'description' => 'The name of the target repository.', 'required' => false, 'title' => '', 'example' => 'test-repo'],
+ ],
+ [
+ 'name' => 'IsPrivate',
+ 'in' => 'query',
+ 'schema' => ['type' => 'boolean', 'description' => 'Specifies whether to set the target repository as a private repository.', 'required' => false, 'title' => '', 'example' => 'False'],
+ ],
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'description' => 'The region ID.', 'required' => false, 'title' => '', 'example' => 'cn-hangzhou'],
+ ],
+ [
+ 'name' => 'OrgId',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'description' => 'The organization ID.', 'required' => false, 'title' => '', 'example' => '5ffd468b1e45db3c1cc26ad6'],
],
],
'responses' => [
@@ -1801,77 +1157,55 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'Outputs' => [
- 'description' => 'The outputs of the template.'."\n",
- 'type' => 'string',
- 'example' => '{}',
- ],
- 'RequestId' => [
- 'description' => 'The ID of the request.'."\n",
- 'type' => 'string',
- 'example' => 'D5EE9591-1F2D-573E-8751-7F08BBB388D4',
- ],
- 'Parameters' => [
- 'description' => 'The parameters of the template.'."\n",
- 'type' => 'string',
- 'example' => '{ "Status": { "Description": "(Required) The status of the Ecs instance.", "Type": "String" } }',
- ],
- 'RamRole' => [
- 'description' => 'The RAM role.'."\n",
- 'type' => 'string',
- 'example' => 'OOSServiceRole',
- ],
- 'Tasks' => [
- 'description' => 'The task defined in the template.'."\n",
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'Outputs' => [
- 'description' => 'The outputs of the task.'."\n",
- 'type' => 'string',
- 'example' => '.instanceId',
- ],
- 'Type' => [
- 'description' => 'The type of the task.'."\n",
- 'type' => 'string',
- 'example' => 'ACS::ExecuteAPI',
- ],
- 'Description' => [
- 'description' => 'The description of the task.'."\n",
- 'type' => 'string',
- 'example' => '(Required) The status of the Ecs instance.',
- ],
- 'Name' => [
- 'description' => 'The name of the task.'."\n",
- 'type' => 'string',
- 'example' => 'foo',
- ],
- 'Properties' => [
- 'description' => 'The properties of the task.'."\n",
- 'type' => 'string',
- 'example' => '{"API": "DescribeInstances","Parameters": {"Status": "{{ Status }}"},"Service": "Ecs"}',
- ],
- ],
+ 'RequestId' => ['type' => 'string', 'description' => 'The request ID.', 'title' => '', 'example' => 'AA9FA778-AE4B-55EC-81CC-C46BAF08A166'],
+ 'GitRepo' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'FullName' => ['type' => 'string', 'description' => 'The full name of the repository.', 'title' => '', 'example' => 'aliyun-computest/lingo'],
+ 'Description' => ['type' => 'string', 'description' => 'The description of the repository.', 'title' => '', 'example' => 'Test parameter for security testing'],
+ 'HtmlUrl' => ['type' => 'string', 'description' => 'The endpoint of the repository.', 'title' => '', 'example' => 'https://github.com/alibaba/fastjson'],
+ 'IsPrivate' => ['type' => 'string', 'description' => 'Indicates whether the repository is private.', 'title' => '', 'example' => 'False'],
],
+ 'description' => 'The GitRepo struct.',
+ 'title' => '',
+ 'example' => '',
],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Outputs\\": \\"{}\\",\\n \\"RequestId\\": \\"D5EE9591-1F2D-573E-8751-7F08BBB388D4\\",\\n \\"Parameters\\": \\"{ \\\\\\"Status\\\\\\": { \\\\\\"Description\\\\\\": \\\\\\"(Required) The status of the Ecs instance.\\\\\\", \\\\\\"Type\\\\\\": \\\\\\"String\\\\\\" } }\\",\\n \\"RamRole\\": \\"OOSServiceRole\\",\\n \\"Tasks\\": [\\n {\\n \\"Outputs\\": \\".instanceId\\",\\n \\"Type\\": \\"ACS::ExecuteAPI\\",\\n \\"Description\\": \\"(Required) The status of the Ecs instance.\\",\\n \\"Name\\": \\"foo\\",\\n \\"Properties\\": \\"{\\\\\\"API\\\\\\": \\\\\\"DescribeInstances\\\\\\",\\\\\\"Parameters\\\\\\": {\\\\\\"Status\\\\\\": \\\\\\"{{ Status }}\\\\\\"},\\\\\\"Service\\\\\\": \\\\\\"Ecs\\\\\\"}\\"\\n }\\n ]\\n}","type":"json"}]',
- 'title' => 'ValidateTemplateContent',
- ],
- 'DeleteExecutions' => [
- 'summary' => 'Deletes executions.',
- 'methods' => [
- 'post',
- 'get',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => 'CreateGitRepository',
+ 'summary' => 'Creates a Git repository.',
+ 'description' => 'Ensure that you have the permissions to manage secrets in KMS before you call this API.',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'oos:CreateGitRepository',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [
+ ['conditionKey' => 'oos:TLSVersion'],
+ ],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'OOS', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"AA9FA778-AE4B-55EC-81CC-C46BAF08A166\\",\\n \\"GitRepo\\": {\\n \\"FullName\\": \\"aliyun-computest/lingo\\",\\n \\"Description\\": \\"Test parameter for security testing\\",\\n \\"HtmlUrl\\": \\"https://github.com/alibaba/fastjson\\",\\n \\"IsPrivate\\": \\"False\\"\\n }\\n}","type":"json"}]',
+ ],
+ 'CreateOpsItem' => [
+ 'summary' => 'Creates an O\\\\\\\\\\\\\\\\\\\\&M Item.',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -1879,76 +1213,242 @@
],
'operationType' => 'readAndWrite',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'delete',
- 'abilityTreeCode' => '93948',
- 'abilityTreeNodes' => [
- 'FEATUREoosQL14T7',
- ],
- ],
+ 'systemTags' => ['operationType' => 'create'],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
+ 'schema' => ['description' => 'The region ID.'."\n", 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''],
+ ],
+ [
+ 'name' => 'Title',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The title of the O\\&M item.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'ECS reboot is scheduled', 'title' => ''],
+ ],
+ [
+ 'name' => 'Description',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The description of the operation.'."\n", 'type' => 'string', 'required' => false, 'example' => 'OpsItem', 'title' => ''],
+ ],
+ [
+ 'name' => 'ResourceGroupId',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The ID of the resource group.'."\n", 'type' => 'string', 'required' => false, 'example' => 'rg-acfmxsn4m4******', 'title' => ''],
+ ],
+ [
+ 'name' => 'Tags',
+ 'in' => 'query',
+ 'style' => 'json',
+ 'schema' => ['description' => 'The tags.'."\n", 'type' => 'object', 'required' => false, 'example' => '{'."\n"
+ .' "k1": "v1",'."\n"
+ .' "k2": "v2"'."\n"
+ .'}', 'title' => ''],
+ ],
+ [
+ 'name' => 'ClientToken',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The client token that is used to ensure the idempotence of the request.'."\n", 'type' => 'string', 'required' => false, 'example' => '123e56767-e89b-12d3-a456-426655440000', 'title' => ''],
+ ],
+ [
+ 'name' => 'Severity',
+ 'in' => 'query',
'schema' => [
- 'description' => 'The region ID.'."\n",
+ 'description' => 'The severity level.'."\n"
+ ."\n"
+ .'Valid values:'."\n"
+ ."\n"
+ .'* High'."\n"
+ ."\n"
+ .' <!-- -->'."\n"
+ ."\n"
+ .' <!-- -->'."\n"
+ ."\n"
+ .' <!-- -->'."\n"
+ ."\n"
+ .'* Low'."\n"
+ ."\n"
+ .' <!-- -->'."\n"
+ ."\n"
+ .' <!-- -->'."\n"
+ ."\n"
+ .' <!-- -->'."\n"
+ ."\n"
+ .'* Medium'."\n"
+ ."\n"
+ .' <!-- -->'."\n"
+ ."\n"
+ .' <!-- -->'."\n"
+ ."\n"
+ .' <!-- -->'."\n"
+ ."\n"
+ .'* Critical'."\n"
+ ."\n"
+ .' <!-- -->'."\n"
+ ."\n"
+ .' <!-- -->'."\n"
+ ."\n"
+ .' <!-- -->'."\n",
'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
+ 'required' => true,
+ 'enumValueTitles' => ['High' => 'High', 'Low' => 'Low', 'Medium' => 'Medium', 'Critical' => 'Critical'],
+ 'example' => 'Medium',
+ 'title' => '',
],
],
[
- 'name' => 'ExecutionIds',
+ 'name' => 'Source',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The source business.'."\n", 'type' => 'string', 'required' => true, 'example' => '/aliyun/ecs', 'title' => ''],
+ ],
+ [
+ 'name' => 'Category',
'in' => 'query',
'schema' => [
- 'description' => 'The execution IDs.'."\n"
+ 'description' => 'The category.'."\n"
."\n"
- .'You can specify multiple execution IDs in a JSON array in the format of `["xxxxxxxxx", "yyyyyyyyy", ... "zzzzzzzzz"]`. You can specify up to 100 execution IDs at a time. Separate multiple IDs with commas (,).'."\n",
+ .'Valid values:'."\n"
+ ."\n"
+ .'* Availability'."\n"
+ ."\n"
+ .' <!-- -->'."\n"
+ ."\n"
+ .' <!-- -->'."\n"
+ ."\n"
+ .' <!-- -->'."\n"
+ ."\n"
+ .'* Performance'."\n"
+ ."\n"
+ .' <!-- -->'."\n"
+ ."\n"
+ .' <!-- -->'."\n"
+ ."\n"
+ .' <!-- -->'."\n"
+ ."\n"
+ .'* Security'."\n"
+ ."\n"
+ .' <!-- -->'."\n"
+ ."\n"
+ .' <!-- -->'."\n"
+ ."\n"
+ .' <!-- -->'."\n"
+ ."\n"
+ .'* Cost'."\n"
+ ."\n"
+ .' <!-- -->'."\n"
+ ."\n"
+ .' <!-- -->'."\n"
+ ."\n"
+ .' <!-- -->'."\n"
+ ."\n"
+ .'* Recovery'."\n"
+ ."\n"
+ .' <!-- -->'."\n"
+ ."\n"
+ .' <!-- -->'."\n"
+ ."\n"
+ .' <!-- -->'."\n",
'type' => 'string',
'required' => true,
- 'docRequired' => true,
- 'example' => '["exec-xxx"]',
+ 'enumValueTitles' => ['Availability' => 'Availability', 'Performance' => 'Performance', 'Security' => 'Security', 'Cost' => 'Cost', 'Recovery' => 'Recovery'],
+ 'example' => 'Security',
+ 'title' => '',
],
],
[
- 'name' => 'Force',
+ 'name' => 'Priority',
'in' => 'query',
'schema' => [
- 'description' => 'Whether to force delete the running task, the default value is false.',
- 'type' => 'boolean',
+ 'description' => 'The priority. Valid values: 1 to 5. 1 indicates the highest priority.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
'required' => false,
- 'example' => 'false',
+ 'enumValueTitles' => [1 => '1', '2', '3', '4', '5'],
+ 'example' => '4',
+ 'title' => '',
],
],
+ [
+ 'name' => 'Solutions',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The solutions.'."\n", 'type' => 'string', 'required' => false, 'example' => '[{"priority":3,"type":"SingleAZEcs","url":"http://ecs.console.aliyuncs.com","description":"Create ECS instances in different zones and import to app group"}]', 'title' => ''],
+ ],
+ [
+ 'name' => 'DedupString',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The string to be deduplicated.'."\n", 'type' => 'string', 'required' => false, 'example' => 'ecs_instance_SystemMaintenance.Reboot', 'title' => ''],
+ ],
+ [
+ 'name' => 'Resources',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The Alibaba Cloud Resource Names (ARNs) of the associated resources.'."\n", 'type' => 'string', 'required' => false, 'example' => '[\\"acs:oos:cn-hangzhou:1563457855438522:application/test-33333/applicationgroup/default-cn-hangzhou-1\\"]', 'title' => ''],
+ ],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => 'The request ID.'."\n",
- 'type' => 'string',
- 'example' => '491DF8C2-34C9-4679-9DB3-4C0F49B129AC',
+ 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => 'DA4F08D4-DA54-5407-84B9-108C71D75B17', 'title' => ''],
+ 'OpsItem' => [
+ 'description' => 'The information about the O\\&M item.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'Tags' => ['description' => 'The tags of the O\\&M item.'."\n", 'type' => 'object', 'example' => '{"k1": "v1"}', 'title' => ''],
+ 'UpdateDate' => ['description' => 'The time when the O\\&M item was updated.'."\n", 'type' => 'string', 'example' => '2023-03-24T03:55Z', 'title' => ''],
+ 'Description' => ['description' => 'The description of the O\\&M item.'."\n", 'type' => 'string', 'example' => 'OpsItem', 'title' => ''],
+ 'OpsItemId' => ['description' => 'The ID of the O\\&M item.'."\n", 'type' => 'string', 'example' => 'oi-dba9c6eec9254a4d87c1', 'title' => ''],
+ 'CreateDate' => ['description' => 'The time when the O\\&M item was created.'."\n", 'type' => 'string', 'example' => '2023-03-24T03:55Z', 'title' => ''],
+ 'Title' => ['description' => 'The title of the O\\&M item.'."\n", 'type' => 'string', 'example' => 'ECS reboot is scheduled', 'title' => ''],
+ 'Status' => ['description' => 'The state of the O\\&M item.'."\n", 'type' => 'string', 'example' => 'Running', 'title' => ''],
+ 'Severity' => ['description' => 'The severity level of the O\\&M item.'."\n", 'type' => 'string', 'example' => 'Medium', 'title' => ''],
+ 'Category' => ['description' => 'The category of the O\\&M item.'."\n", 'type' => 'string', 'example' => 'Security', 'title' => ''],
+ 'Source' => ['description' => 'The source business of the O\\&M item.'."\n", 'type' => 'string', 'example' => '/aliyun/ecs', 'title' => ''],
+ 'Priority' => ['description' => 'The priority of the O\\&M item.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '2', 'title' => ''],
+ 'Solutions' => ['description' => 'The solutions.'."\n", 'type' => 'string', 'example' => '[{"priority":3,"type":"url","url":"https://example.com","description":"Configure cross-zone high availability for the cluster."}]', 'title' => ''],
+ 'Resources' => ['description' => 'The ARNs of the associated resources.'."\n", 'type' => 'string', 'example' => '[\\"acs:oos:cn-hangzhou:1563457855438522:application/dingTest/applicationgroup/fltest\\"]', 'title' => ''],
+ 'Attributes' => ['description' => 'The attributes of the O\\&M item.'."\n", 'type' => 'string', 'example' => '{\\"regionId\\":\\"cn-zhangjiakou\\",\\"appId\\":\\"992BKO1X75GRQ4E8\\",\\"instanceId\\":\\"i-8vbcymxagqsyyyjppbr4\\",\\"instance_name\\":\\"cdae\\"}', 'title' => ''],
+ 'CreatedBy' => ['description' => 'The user who created the O\\&M item.'."\n", 'type' => 'string', 'example' => 'root(130900000)'."\n", 'title' => ''],
+ 'LastModifiedBy' => ['description' => 'The user who last modified the O\\&M item.'."\n", 'type' => 'string', 'example' => 'root(130900000)'."\n", 'title' => ''],
+ 'ResourceGroupId' => ['description' => 'The ID of the resource group.'."\n", 'type' => 'string', 'example' => 'rg-acfmxsn4m4******', 'title' => ''],
+ ],
+ 'title' => '',
+ 'example' => '',
],
],
'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"491DF8C2-34C9-4679-9DB3-4C0F49B129AC\\"\\n}","type":"json"}]',
- 'title' => 'DeleteExecutions',
- ],
- 'StartExecution' => [
- 'summary' => 'Starts an execution.',
- 'methods' => [
- 'post',
- 'get',
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"DA4F08D4-DA54-5407-84B9-108C71D75B17\\",\\n \\"OpsItem\\": {\\n \\"Tags\\": {\\n \\"k1\\": \\"v1\\"\\n },\\n \\"UpdateDate\\": \\"2023-03-24T03:55Z\\",\\n \\"Description\\": \\"OpsItem\\",\\n \\"OpsItemId\\": \\"oi-dba9c6eec9254a4d87c1\\",\\n \\"CreateDate\\": \\"2023-03-24T03:55Z\\",\\n \\"Title\\": \\"ECS reboot is scheduled\\",\\n \\"Status\\": \\"Running\\",\\n \\"Severity\\": \\"Medium\\",\\n \\"Category\\": \\"Security\\",\\n \\"Source\\": \\"/aliyun/ecs\\",\\n \\"Priority\\": 2,\\n \\"Solutions\\": \\"[{\\\\\\"priority\\\\\\":3,\\\\\\"type\\\\\\":\\\\\\"url\\\\\\",\\\\\\"url\\\\\\":\\\\\\"https://example.com\\\\\\",\\\\\\"description\\\\\\":\\\\\\"Configure cross-zone high availability for the cluster.\\\\\\"}]\\",\\n \\"Resources\\": \\"[\\\\\\\\\\\\\\"acs:oos:cn-hangzhou:1563457855438522:application/dingTest/applicationgroup/fltest\\\\\\\\\\\\\\"]\\",\\n \\"Attributes\\": \\"{\\\\\\\\\\\\\\"regionId\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"cn-zhangjiakou\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"appId\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"992BKO1X75GRQ4E8\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"instanceId\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"i-8vbcymxagqsyyyjppbr4\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"instance_name\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"cdae\\\\\\\\\\\\\\"}\\",\\n \\"CreatedBy\\": \\"root(130900000)\\\\n\\",\\n \\"LastModifiedBy\\": \\"root(130900000)\\\\n\\",\\n \\"ResourceGroupId\\": \\"rg-acfmxsn4m4******\\"\\n }\\n}","type":"json"}]',
+ 'title' => 'CreateOpsItem',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateOpsItem'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'oos:CreateOpsItem',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [
+ ['conditionKey' => 'oos:TLSVersion'],
+ ],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'OOS', 'resourceType' => 'OpsItem', 'arn' => 'acs:oos:{#regionId}:{#accountId}:opsitem/*'],
+ ],
+ ],
+ ],
],
+ ],
+ 'CreateParameter' => [
+ 'summary' => 'Creates a common parameter.',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -1957,168 +1457,68 @@
'operationType' => 'write',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'update',
- 'riskType' => 'high',
- 'chargeType' => 'free',
- 'abilityTreeCode' => '93998',
- 'abilityTreeNodes' => [
- 'FEATUREoosC47MF8',
- 'FEATUREoosQL14T7',
- ],
+ 'operationType' => 'create',
+ 'abilityTreeCode' => '93941',
+ 'abilityTreeNodes' => ['FEATUREoosMR618F'],
],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The ID of the region in which the execution resides.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
- ],
- [
- 'name' => 'TemplateName',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The name of the template. The name must be 1 to 200 characters in length, and can contain letters, digits, hyphens (-), and underscores (\\_).'."\n",
- 'type' => 'string',
- 'required' => false,
- 'docRequired' => false,
- 'example' => 'vmeixme',
- ],
+ 'schema' => ['description' => 'The ID of the region.'."\n", 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''],
],
[
- 'name' => 'TemplateVersion',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The version number of the template. If you do not specify this parameter, the system uses the latest version.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'v1',
- ],
- ],
- [
- 'name' => 'Mode',
+ 'name' => 'Name',
'in' => 'query',
- 'schema' => [
- 'description' => 'The execution mode. Valid values:'."\n"
- ."\n"
- .'* Automatic: automatically starts the execution of the template. This is the default value.'."\n"
- .'* FailurePause: suspends the execution of the template upon a failure.'."\n"
- .'* Debug: manually starts the execution of the template.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'Automatic',
- ],
+ 'schema' => ['description' => 'The name of the parameter. The name must be 1 to 200 characters in length, and can contain letters, digits, hyphens (-), and underscores (\\_). It cannot start with ALIYUN, ACS, ALIBABA, ALICLOUD, or OOS.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'MyParameter', 'title' => ''],
],
[
- 'name' => 'LoopMode',
+ 'name' => 'Type',
'in' => 'query',
- 'schema' => [
- 'description' => 'The loop mode. Valid values:'."\n"
- ."\n"
- .'* Automatic: does not suspend the execution of the template. This is the default value.'."\n"
- .'* FirstBatchPause: suspends the execution of the template after the first batch is complete.'."\n"
- .'* EveryBatchPause: suspends the execution of the template after each batch is complete.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'Automatic',
- ],
+ 'schema' => ['description' => 'The data type of the parameter. Valid values: String and StringList.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'String', 'title' => ''],
],
[
- 'name' => 'ParentExecutionId',
+ 'name' => 'Value',
'in' => 'query',
- 'schema' => [
- 'description' => 'The ID of the parent execution.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'exec-xxx',
- ],
+ 'schema' => ['description' => 'The value of the common parameter. The value must be 1 to 4096 characters in length.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'parameter', 'title' => ''],
],
[
- 'name' => 'SafetyCheck',
+ 'name' => 'Description',
'in' => 'query',
- 'schema' => [
- 'description' => 'The security check mode. Valid values:'."\n"
- ."\n"
- .'* Skip: specifies that you are aware of the risks. The system performs all actions in the execution without manual confirmation, regardless of the risk level. This parameter is valid only if the `Mode` parameter is set to Automatic.'."\n"
- .'* ConfirmEveryHighRiskAction: requires you to confirm each high-risk action. This is the default value. You can call the **NotifyExecution** operation to confirm or cancel an action.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'Skip',
- ],
+ 'schema' => ['description' => 'The description of the common parameter. The description must be 1 to 200 characters in length.'."\n", 'type' => 'string', 'required' => false, 'example' => 'parameter', 'title' => ''],
],
[
- 'name' => 'Parameters',
+ 'name' => 'ClientToken',
'in' => 'query',
- 'schema' => [
- 'description' => 'The JSON string that consists of a set of parameters. Default value: {}.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => '{"Status":"Running"}',
- ],
+ '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 be up to 64 characters in length, and can contain letters, digits, hyphens (-), and underscores (\\_). For more information, see "How to ensure idempotence".'."\n", 'type' => 'string', 'required' => false, 'example' => '123e4567-e89b-12d3-a456-42665544****', 'title' => ''],
],
[
- 'name' => 'ClientToken',
+ 'name' => 'Constraints',
'in' => 'query',
- 'schema' => [
- 'description' => 'The access token.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => '123e56767-e89b-12d3-a456-426655440000',
- ],
+ 'schema' => ['description' => 'The constraints of the common parameter. By default, this parameter is null. Valid values:'."\n"
+ ."\n"
+ .'* AllowedValues: The value that is allowed for the common parameter. It must be an array string.'."\n"
+ .'* AllowedPattern: The pattern that is allowed for the common parameter. It must be a regular expression.'."\n"
+ .'* MinLength: The minimum length of the common parameter.'."\n"
+ .'* MaxLength: The maximum length of the common parameter.'."\n", 'type' => 'string', 'required' => false, 'example' => '{'."\n"
+ .' "AllowedValues": ['."\n"
+ .' "parameter"'."\n"
+ .' ],'."\n"
+ .' "AllowedPattern": "parameter",'."\n"
+ .' "MinLength": 0,'."\n"
+ .' "MaxLength": 20'."\n"
+ .'}', 'title' => ''],
],
[
'name' => 'Tags',
'in' => 'query',
'style' => 'json',
- 'schema' => [
- 'description' => 'The tags for the execution.'."\n",
- 'type' => 'object',
- 'required' => false,
- 'example' => '{"k1":"v2","k2":"v2"}',
- ],
- ],
- [
- 'name' => 'Description',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The description of the execution.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'test execution.',
- ],
- ],
- [
- 'name' => 'TemplateContent',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The content of the template in the JSON or YAML format. This parameter is the same as the Content parameter that you can specify when you call the CreateTemplate operation. You can use this parameter to specify the tasks that you want to run. This way, you do not need to create a template before you start an execution. If you select an existing template, you do not need to specify this parameter.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => '{ "Description": "Example template, describe instances in some status", "FormatVersion": "OOS-2019-06-01", "Parameters": {}, "Tasks": [ { "Name": "describeInstances", "Action": "ACS::ExecuteAPI", "Description": "desc-en", "Properties": { "Service": "ECS", "API": "DescribeInstances", "Parameters": { "Status": "Running" } } } ] }',
- ],
+ 'schema' => ['description' => 'The tags.'."\n", 'type' => 'object', 'required' => false, 'example' => '{"k1": "v1", "k2": "v2"}', 'title' => ''],
],
[
'name' => 'ResourceGroupId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The ID of the resource group.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'rg-acfmxsn4m4******',
- ],
- ],
- [
- 'name' => 'TemplateURL',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The Object Storage Service (OSS) URL of the object that stores the content of the Operation Orchestration Service (OOS) template. The access control list (ACL) of the object must be public-read. You can use this parameter to specify the tasks that you want to run. This way, you do not need to create a template before you start an execution. If you select an existing template, you do not need to specify this parameter.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'http://oos-template.cn-hangzhou.oss.aliyun-inc.com/oos-test-template.json',
- ],
+ 'schema' => ['description' => 'The ID of the resource group.'."\n", 'type' => 'string', 'required' => false, 'example' => 'rg-acfmxsn4m4******', 'title' => ''],
],
],
'responses' => [
@@ -2126,176 +1526,66 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => 'The ID of the request.'."\n",
- 'type' => 'string',
- 'example' => '14A07460-EBE7-47CA-9757-12CC4761D47A',
- ],
- 'Execution' => [
- 'description' => 'The details of the execution.'."\n",
+ 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '0B419FF3-ABC6-4DF0-95E5-636DC8CBB8AF', 'title' => ''],
+ 'Parameter' => [
+ 'description' => 'The information about the common parameter.'."\n",
'type' => 'object',
'properties' => [
- 'Outputs' => [
- 'description' => 'The output of the execution.'."\n",
- 'type' => 'string',
- 'example' => '{ "InstanceId":"i-xxx" }',
- ],
- 'Status' => [
- 'description' => 'The status of the execution.'."\n",
- 'type' => 'string',
- 'example' => 'Success',
- ],
- 'EndDate' => [
- 'description' => 'The time when the execution stopped.'."\n",
- 'type' => 'string',
- 'example' => '2019-05-16T10:26:14Z',
- ],
- 'ExecutedBy' => [
- 'description' => 'The account ID of the user who started the execution of the template.'."\n",
- 'type' => 'string',
- 'example' => 'root(13092080xx12344)',
- ],
- 'IsParent' => [
- 'description' => 'Indicates whether the execution is a parent execution.'."\n",
- 'type' => 'boolean',
- 'example' => 'false',
- ],
- 'Tags' => [
- 'description' => 'The tags of the execution.'."\n",
- 'type' => 'object',
- 'example' => '{"k1":"v2","k2":"v2"}',
- ],
- 'StartDate' => [
- 'description' => 'The time when the execution was started.'."\n",
- 'type' => 'string',
- 'example' => '2019-05-16T10:26:14Z',
- ],
- 'SafetyCheck' => [
- 'description' => 'The security check mode.'."\n",
- 'type' => 'string',
- 'example' => 'Skip',
- ],
- 'Mode' => [
- 'description' => 'The execution mode.'."\n",
- 'type' => 'string',
- 'example' => 'Automatic',
- ],
- 'TemplateName' => [
- 'description' => 'The name of the template.'."\n",
- 'type' => 'string',
- 'example' => 'MyTemplate',
- ],
- 'CreateDate' => [
- 'description' => 'The time when the execution was created.'."\n",
- 'type' => 'string',
- 'example' => '2019-05-16T10:26:14Z',
- ],
- 'TemplateVersion' => [
- 'description' => 'The version number of the template.'."\n",
- 'type' => 'string',
- 'example' => 'v1',
- ],
- 'ExecutionId' => [
- 'description' => 'The GUID of the execution.'."\n",
- 'type' => 'string',
- 'example' => 'exec-xxxyyy',
- ],
- 'Parameters' => [
- 'description' => 'The input parameters of the execution.'."\n",
- 'type' => 'string',
- 'example' => '{ "Status":"Running" }',
- ],
- 'Description' => [
- 'description' => 'The description of the execution.'."\n",
- 'type' => 'string',
- 'example' => 'test execution.',
- ],
- 'Counters' => [
- 'description' => 'The number of executions.'."\n",
- 'type' => 'object',
- 'example' => '1',
- ],
- 'UpdateDate' => [
- 'description' => 'The time when the execution was last updated.'."\n",
- 'type' => 'string',
- 'example' => '2019-05-16T10:26:14Z',
- ],
- 'ResourceGroupId' => [
- 'description' => 'The ID of the resource group.'."\n",
- 'type' => 'string',
- 'example' => 'rg-acfmxsn4m4******',
- ],
- 'ParentExecutionId' => [
- 'description' => 'The ID of the parent execution.'."\n",
- 'type' => 'string',
- 'example' => 'exec-xxxx',
- ],
- 'RamRole' => [
- 'description' => 'The role that started the execution of the template.'."\n",
- 'type' => 'string',
- 'example' => 'OOSServiceRole',
- ],
- 'TemplateId' => [
- 'description' => 'The ID of the template.'."\n",
- 'type' => 'string',
- 'example' => 't-1bd341007f',
- ],
- 'StatusMessage' => [
- 'description' => 'The status information of the execution.'."\n",
- 'type' => 'string',
- 'example' => '""',
- ],
- 'LoopMode' => [
- 'description' => 'The loop mode.'."\n",
- 'type' => 'string',
- 'example' => 'Automatic',
- ],
- 'CurrentTasks' => [
- 'description' => 'The information about in-progress tasks.'."\n",
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'TaskExecutionId' => [
- 'description' => 'The execution ID of the task.'."\n",
- 'type' => 'string',
- 'example' => 'exec-dsadasdawq',
- ],
- 'TaskName' => [
- 'description' => 'The name of the task.'."\n",
- 'type' => 'string',
- 'example' => 'testTask',
- ],
- 'TaskAction' => [
- 'description' => 'The action of the task.'."\n",
- 'type' => 'string',
- 'example' => 'ACS::TimerTrigger',
- ],
- ],
- ],
- ],
+ 'Type' => ['description' => 'The type of the common parameter.'."\n", 'type' => 'string', 'example' => 'String', 'title' => ''],
+ 'UpdatedDate' => ['description' => 'The time when the common parameter was updated.'."\n", 'type' => 'string', 'example' => '2020-09-01T08:01:43Z', 'title' => ''],
+ 'UpdatedBy' => ['description' => 'The user who updated the common parameter.'."\n", 'type' => 'string', 'example' => 'root(130900000)', 'title' => ''],
+ 'Tags' => ['description' => 'The tags.'."\n", 'type' => 'object', 'example' => '{"k1": "v1", "k2": "v2"}', 'title' => ''],
+ 'Description' => ['description' => 'The description of the common parameter.'."\n", 'type' => 'string', 'example' => 'parameter', 'title' => ''],
+ 'Constraints' => ['description' => 'The constraints of the common parameter.'."\n", 'type' => 'string', 'example' => '"{\'AllowedValues\':[\'parameter\'],\'AllowedPattern\':\'parameter\',\'MinLength\':0,\'MaxLength\':20}"', 'title' => ''],
+ 'ResourceGroupId' => ['description' => 'The ID of the resource group.'."\n", 'type' => 'string', 'example' => 'rg-acfmxsn4m4******', 'title' => ''],
+ 'CreatedBy' => ['description' => 'The user who created the common parameter.'."\n", 'type' => 'string', 'example' => 'root(130900000)', 'title' => ''],
+ 'CreatedDate' => ['description' => 'The time when the common parameter was created.'."\n", 'type' => 'string', 'example' => '2020-09-01T08:01:43Z', 'title' => ''],
+ 'ParameterVersion' => ['description' => 'The version number of the common parameter.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''],
+ 'Name' => ['description' => 'The name of the common parameter.'."\n", 'type' => 'string', 'example' => 'MyParameter', 'title' => ''],
+ 'Id' => ['description' => 'The ID of the common parameter.'."\n", 'type' => 'string', 'example' => 'p-4c4b401cab6747xxxxxx', 'title' => ''],
+ 'ShareType' => ['description' => 'The share type of the common parameter.'."\n", 'type' => 'string', 'example' => 'Private', 'title' => ''],
],
+ 'title' => '',
+ 'example' => '',
],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"14A07460-EBE7-47CA-9757-12CC4761D47A\\",\\n \\"Execution\\": {\\n \\"Outputs\\": \\"{ \\\\\\"InstanceId\\\\\\":\\\\\\"i-xxx\\\\\\" }\\",\\n \\"Status\\": \\"Success\\",\\n \\"EndDate\\": \\"2019-05-16T10:26:14Z\\",\\n \\"ExecutedBy\\": \\"root(13092080xx12344)\\",\\n \\"IsParent\\": false,\\n \\"Tags\\": {\\n \\"k1\\": \\"v2\\",\\n \\"k2\\": \\"v2\\"\\n },\\n \\"StartDate\\": \\"2019-05-16T10:26:14Z\\",\\n \\"SafetyCheck\\": \\"Skip\\",\\n \\"Mode\\": \\"Automatic\\",\\n \\"TemplateName\\": \\"MyTemplate\\",\\n \\"CreateDate\\": \\"2019-05-16T10:26:14Z\\",\\n \\"TemplateVersion\\": \\"v1\\",\\n \\"ExecutionId\\": \\"exec-xxxyyy\\",\\n \\"Parameters\\": \\"{ \\\\\\"Status\\\\\\":\\\\\\"Running\\\\\\" }\\",\\n \\"Description\\": \\"test execution.\\",\\n \\"Counters\\": 1,\\n \\"UpdateDate\\": \\"2019-05-16T10:26:14Z\\",\\n \\"ResourceGroupId\\": \\"rg-acfmxsn4m4******\\",\\n \\"ParentExecutionId\\": \\"exec-xxxx\\",\\n \\"RamRole\\": \\"OOSServiceRole\\",\\n \\"TemplateId\\": \\"t-1bd341007f\\",\\n \\"StatusMessage\\": \\"\\\\\\"\\\\\\"\\",\\n \\"LoopMode\\": \\"Automatic\\",\\n \\"CurrentTasks\\": [\\n {\\n \\"TaskExecutionId\\": \\"exec-dsadasdawq\\",\\n \\"TaskName\\": \\"testTask\\",\\n \\"TaskAction\\": \\"ACS::TimerTrigger\\"\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<StartExecutionResponse>\\n <RequestId>14A07460-EBE7-47CA-9757-12CC4761D47A</RequestId>\\n <Execution>\\n <Outputs>{ \\"InstanceId\\":\\"i-xxx\\" }</Outputs>\\n <Status>Success</Status>\\n <EndDate>2019-05-16T10:26:14Z</EndDate>\\n <ExecutedBy>root(13092080xx12344)</ExecutedBy>\\n <IsParent>false</IsParent>\\n <StartDate>2019-05-16T10:26:14Z</StartDate>\\n <SafetyCheck>Skip</SafetyCheck>\\n <Mode>Automatic</Mode>\\n <TemplateName>MyTemplate</TemplateName>\\n <CreateDate>2019-05-16T10:26:14Z</CreateDate>\\n <TemplateVersion>v1</TemplateVersion>\\n <ExecutionId>exec-xxxyyy</ExecutionId>\\n <Parameters>{ \\"Status\\":\\"Running\\" }</Parameters>\\n <Description>test execution.</Description>\\n <UpdateDate>2019-05-16T10:26:14Z</UpdateDate>\\n <ResourceGroupId>rg-acfmxsn4m4******</ResourceGroupId>\\n <ParentExecutionId>exec-xxxx</ParentExecutionId>\\n <RamRole>OOSServiceRole</RamRole>\\n <TemplateId>t-1bd341007f</TemplateId>\\n <StatusMessage>\\"\\"</StatusMessage>\\n <LoopMode>Automatic</LoopMode>\\n <CurrentTasks>\\n <TaskExecutionId>exec-dsadasdawq</TaskExecutionId>\\n <TaskName>testTask</TaskName>\\n <TaskAction>ACS::TimerTrigger</TaskAction>\\n </CurrentTasks>\\n </Execution>\\n</StartExecutionResponse>","errorExample":""}]',
- 'title' => 'StartExecution',
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"0B419FF3-ABC6-4DF0-95E5-636DC8CBB8AF\\",\\n \\"Parameter\\": {\\n \\"Type\\": \\"String\\",\\n \\"UpdatedDate\\": \\"2020-09-01T08:01:43Z\\",\\n \\"UpdatedBy\\": \\"root(130900000)\\",\\n \\"Tags\\": {\\n \\"k1\\": \\"v1\\",\\n \\"k2\\": \\"v2\\"\\n },\\n \\"Description\\": \\"parameter\\",\\n \\"Constraints\\": \\"\\\\\\"{\'AllowedValues\':[\'parameter\'],\'AllowedPattern\':\'parameter\',\'MinLength\':0,\'MaxLength\':20}\\\\\\"\\",\\n \\"ResourceGroupId\\": \\"rg-acfmxsn4m4******\\",\\n \\"CreatedBy\\": \\"root(130900000)\\",\\n \\"CreatedDate\\": \\"2020-09-01T08:01:43Z\\",\\n \\"ParameterVersion\\": 1,\\n \\"Name\\": \\"MyParameter\\",\\n \\"Id\\": \\"p-4c4b401cab6747xxxxxx\\",\\n \\"ShareType\\": \\"Private\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"<CreateParameterResponse>\\n <RequestId>0B419FF3-ABC6-4DF0-95E5-636DC8CBB8AF</RequestId>\\n <Parameter>\\n <Type>String</Type>\\n <UpdatedDate>2020-09-01T08:01:43Z</UpdatedDate>\\n <UpdatedBy>root(130900000)</UpdatedBy>\\n <Description>parameter</Description>\\n <Constraints>\\"{\'AllowedValues\':[\'parameter\'],\'AllowedPattern\':\'parameter\',\'MinLength\':0,\'MaxLength\':20}\\"</Constraints>\\n <ResourceGroupId>rg-acfmxsn4m4******</ResourceGroupId>\\n <CreatedBy>root(130900000)</CreatedBy>\\n <CreatedDate>2020-09-01T08:01:43Z</CreatedDate>\\n <ParameterVersion>1</ParameterVersion>\\n <Name>MyParameter</Name>\\n <Id>p-4c4b401cab6747xxxxxx</Id>\\n <Tags>\\n <k1>v1</k1>\\n <k2>v2</k2>\\n </Tags>\\n <ShareType>Private</ShareType>\\n </Parameter>\\n</CreateParameterResponse>","errorExample":""}]',
+ 'title' => 'CreateParameter',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'UpdateExecution' => [
- 'summary' => 'Updates an execution in the Running or Waiting state.',
- 'methods' => [
- 'post',
- 'get',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'CreateParameter'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'oos:CreateParameter',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [
+ ['conditionKey' => 'oos:TLSVersion'],
+ ],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'OOS', 'resourceType' => 'parameter', 'arn' => 'acs:oos:{#regionId}:{#accountId}:parameter/{#parameterName}'],
+ ],
+ ],
+ ],
],
+ ],
+ 'CreatePatchBaseline' => [
+ 'summary' => 'Creates a patch baseline.',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -2304,529 +1594,454 @@
'operationType' => 'write',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'update',
- 'abilityTreeCode' => '94003',
- 'abilityTreeNodes' => [
- 'FEATUREoosQL14T7',
- ],
+ 'operationType' => 'create',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '93942',
+ 'abilityTreeNodes' => ['FEATUREoosSVNQOE'],
+ 'tenantRelevance' => 'publicInformation',
],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The ID of the region.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'docRequired' => true,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => 'The ID of the region in which you want to create a patch baseline.'."\n", 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''],
],
[
- 'name' => 'ExecutionId',
+ 'name' => 'Name',
'in' => 'query',
- 'schema' => [
- 'description' => 'The ID of the execution.',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'exec-c223xxxxxxxxxxxxxxxx',
- ],
+ 'schema' => ['description' => 'The name of the patch baseline.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'MyPatchBaseline', 'title' => ''],
],
[
- 'name' => 'Parameters',
+ 'name' => 'Description',
'in' => 'query',
- 'schema' => [
- 'description' => 'The information about the parameters.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'docRequired' => false,
- 'example' => '{"Status":"Running"}',
- ],
+ 'schema' => ['description' => 'The description of the patch baseline.'."\n", 'type' => 'string', 'required' => false, 'example' => 'PatchBaseline', 'title' => ''],
],
[
'name' => 'ClientToken',
'in' => 'query',
- 'schema' => [
- 'description' => 'The client token that is used to ensure the idempotence of the request.',
- 'type' => 'string',
- 'required' => false,
- 'example' => '123e4567-e89b-12d3-a456-42665544****',
- ],
+ 'schema' => ['description' => 'The client token that is used to ensure the idempotence of the request.'."\n", 'type' => 'string', 'required' => false, 'example' => 'TF-CreatePatchBaseline-1638429101-845b22f9-f29b-4bb3-bf4b-e6b2da', 'title' => ''],
],
[
- 'name' => 'Description',
+ 'name' => 'OperationSystem',
'in' => 'query',
- 'schema' => [
- 'description' => 'The description of the execution.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'Execution description',
- ],
+ 'schema' => ['description' => 'The type of the operating system. Valid values:'."\n"
+ ."\n"
+ .'* Windows'."\n"
+ .'* Ubuntu'."\n"
+ .'* CentOS'."\n"
+ .'* Debian'."\n"
+ .'* AliyunLinux'."\n"
+ .'* RedhatEnterpriseLinux'."\n"
+ .'* Anolis'."\n"
+ .'* AlmaLinux'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'Windows', 'title' => ''],
],
[
- 'name' => 'Tags',
+ 'name' => 'ApprovalRules',
'in' => 'query',
- 'schema' => [
- 'description' => 'The tags of the execution.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => '{"k1": "v1", "k2": "v2"}',
- ],
+ 'schema' => ['description' => 'The rules of scanning and installing patches for the specified operating system.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '{"PatchRules":[{"PatchFilterGroup":[{"Key":"PatchSet","Values":["OS"]},{"Key":"ProductFamily","Values":["Windows"]},{"Key":"Product","Values":["Windows 10","Windows 7"]},{"Key":"Classification","Values":["Security Updates","Updates","Update Rollups","Critical Updates"]},{"Key":"Severity","Values":["Critical","Important","Moderate"]}],"ApproveAfterDays":7,"EnableNonSecurity":true,"ComplianceLevel":"Medium"}]}', 'title' => ''],
],
[
- 'name' => 'ResourceGroupId',
+ 'name' => 'RejectedPatches',
'in' => 'query',
+ 'style' => 'json',
'schema' => [
- 'description' => 'The ID of the resource group.'."\n",
- 'type' => 'string',
+ 'description' => 'The rejected patches.'."\n",
+ 'type' => 'array',
+ 'items' => ['description' => 'The name of the rejected patch.'."\n", 'type' => 'string', 'required' => false, 'example' => 'RejectedPatch1', 'title' => ''],
'required' => false,
- 'example' => 'rg-acfmxsn4m*****',
+ 'title' => '',
+ 'example' => '',
],
],
- ],
- 'responses' => [
- 200 => [
+ [
+ 'name' => 'RejectedPatchesAction',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The action of the rejected patch.'."\n", 'type' => 'string', 'required' => false, 'example' => 'ALLOW_AS_DEPENDENCY', 'title' => ''],
+ ],
+ [
+ 'name' => 'ApprovedPatches',
+ 'in' => 'query',
+ 'style' => 'json',
'schema' => [
- 'type' => 'object',
- 'properties' => [
- 'RequestId' => [
- 'description' => 'The ID of the request.'."\n",
- 'type' => 'string',
- 'example' => 'C8345E88-5334-469E-901D-F912C8CB9C55',
- ],
- ],
+ 'description' => 'The approved patches.'."\n",
+ 'type' => 'array',
+ 'items' => ['description' => 'The name of the approved patch.'."\n", 'type' => 'string', 'required' => false, 'example' => 'ApprovedPatch1', 'title' => ''],
+ 'required' => false,
+ 'title' => '',
+ 'example' => '',
],
],
- ],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"C8345E88-5334-469E-901D-F912C8CB9C55\\"\\n}","type":"json"}]',
- 'title' => 'UpdateExecution',
- ],
- 'GetExecutionTemplate' => [
- 'summary' => 'Queries the information about the template of an execution, including the content of the template.',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
- 'security' => [
[
- 'AK' => [],
- ],
- ],
- 'operationType' => 'read',
- 'systemTags' => [
- 'operationType' => 'get',
- 'abilityTreeCode' => '93959',
- 'abilityTreeNodes' => [
- 'FEATUREoosQL14T7',
+ 'name' => 'ApprovedPatchesEnableNonSecurity',
+ 'in' => 'query',
+ 'schema' => ['description' => 'Specifies whether the approved patch involves updates other than security-related updates.'."\n", 'type' => 'boolean', 'required' => false, 'example' => 'true', 'title' => ''],
],
- ],
- 'parameters' => [
[
- 'name' => 'RegionId',
+ 'name' => 'Sources',
'in' => 'query',
+ 'style' => 'json',
'schema' => [
- 'description' => 'The ID of the region.'."\n",
- 'type' => 'string',
+ 'description' => 'The patch source configurations.'."\n",
+ 'type' => 'array',
+ 'items' => ['description' => 'The configuration of the patch source.'."\n", 'type' => 'string', 'required' => false, 'example' => '[main]'."\n"
+ .'name=MyCustomRepository'."\n"
+ .'baseurl=https://my-custom-repository'."\n"
+ .'enabled=1', 'title' => ''],
'required' => false,
- 'example' => 'cn-hangzhou',
+ 'title' => '',
+ 'example' => '',
],
],
[
- 'name' => 'ExecutionId',
+ 'name' => 'Tags',
'in' => 'query',
+ 'style' => 'json',
'schema' => [
- 'description' => 'The ID of the execution.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'exec-046490ff88f242',
+ 'description' => 'The tags.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Key' => ['description' => 'The key of the tag.'."\n", 'type' => 'string', 'required' => false, 'example' => 'key', 'title' => ''],
+ 'Value' => ['description' => 'The value of the tag.'."\n", 'type' => 'string', 'required' => false, 'example' => 'value', 'title' => ''],
+ ],
+ 'required' => false,
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'required' => false,
+ 'title' => '',
+ 'example' => '',
],
],
+ [
+ 'name' => 'ResourceGroupId',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The ID of the resource group.'."\n", 'type' => 'string', 'required' => false, 'example' => 'rg-acfmxsn4m4******', 'title' => ''],
+ ],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
- 'Content' => [
- 'description' => 'The content of the template.'."\n",
- 'type' => 'string',
- 'example' => '"{\\n \\"FormatVersion\\": \\"OOS-2019-06-01\\",\\n \\"Parameters\\": {\\n \\"Status\\": {\\n \\"Type\\": \\"String\\",\\n \\"Description\\": \\"(Required) The ID of the ECS instance.\\"\\n }\\n },\\n \\"Tasks\\": [\\n {\\n \\"Name\\": \\"bar\\",\\n \\"Properties\\": {\\n \\"Parameters\\": {\\n \\"Status\\": \\"{{ Status }}\\"\\n },\\n \\"API\\": \\"DescribeInstances\\",\\n \\"Service\\": \\"Ecs\\"\\n },\\n \\"Action\\": \\"acs::ExecuteAPI\\",\\n \\"Outputs\\": {\\n \\"InstanceIds\\", {\\n \\"ValueSelector\\": \\".Instances.Instance[].InstanceId\\",\\n \\"Type\\": \\"List\\"\\n }\\n }\\n }\\n ],\\n \\"Outputs\\": {\\n \\"InstanceIds\\": {\\n \\"Value\\": \\" {{ bar.InstanceIds }} \\",\\n \\"Type\\": \\"List\\"\\n }\\n }\\n}\\n"',
- ],
- 'RequestId' => [
- 'description' => 'The ID of the request.'."\n",
- 'type' => 'string',
- 'example' => '14A60-EBE7-47CA-9757-12C1D47A',
- ],
- 'Template' => [
- 'description' => 'The metadata of the template.'."\n",
+ 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => 'A5173FF6-D10D-5E8C-8F71-943C2A3E25C0', 'title' => ''],
+ 'PatchBaseline' => [
+ 'description' => 'The details of the patch baseline.'."\n",
'type' => 'object',
'properties' => [
- 'Hash' => [
- 'description' => 'The SHA-256 value of the template content.'."\n",
- 'type' => 'string',
- 'example' => '4bc7d7a21b3e003434b9c223f6e6d2578b5ebfeb5be28c1fcf8a8a1b11907bb4',
+ 'OperationSystem' => ['description' => 'The type of the operating system.'."\n", 'type' => 'string', 'example' => 'Windows', 'title' => ''],
+ 'Description' => ['description' => 'The description of the patch baseline.'."\n", 'type' => 'string', 'example' => 'PatchBaseline', 'title' => ''],
+ 'UpdatedDate' => ['description' => 'The time when the information about the patch baseline was last modified.'."\n", 'type' => 'string', 'example' => '2021-09-08T06:25:41Z', 'title' => ''],
+ 'UpdatedBy' => ['description' => 'The Alibaba Cloud account that last modified the information about the patch baseline.'."\n", 'type' => 'string', 'example' => 'root(130900000)', 'title' => ''],
+ 'CreatedBy' => ['description' => 'The creator of the patch baseline.'."\n", 'type' => 'string', 'example' => 'root(130900000)', 'title' => ''],
+ 'CreatedDate' => ['description' => 'The time when the patch baseline was created.'."\n", 'type' => 'string', 'example' => '2021-09-08T06:25:41Z', 'title' => ''],
+ 'Name' => ['description' => 'The name of the patch baseline.'."\n", 'type' => 'string', 'example' => 'MyPatchBaseline', 'title' => ''],
+ 'ApprovalRules' => ['description' => 'The rules of scanning and installing patches for the specified operating system.'."\n", 'type' => 'string', 'example' => '{"PatchRules":[{"PatchFilterGroup":[{"Key":"PatchSet","Values":["OS"]},{"Key":"ProductFamily","Values":["Windows"]},{"Key":"Product","Values":["Windows 10","Windows 7"]},{"Key":"Classification","Values":["Security Updates","Updates","Update Rollups","Critical Updates"]},{"Key":"Severity","Values":["Critical","Important","Moderate"]}],"ApproveAfterDays":7,"EnableNonSecurity":true,"ComplianceLevel":"Medium"}]}', 'title' => ''],
+ 'Id' => ['description' => 'The ID of the patch baseline.'."\n", 'type' => 'string', 'example' => 'pb-0a0aeda72ed147eb97ea', 'title' => ''],
+ 'ShareType' => ['description' => 'The share type of the patch baseline.'."\n", 'type' => 'string', 'example' => 'Private', 'title' => ''],
+ 'RejectedPatches' => [
+ 'description' => 'The rejected patches.'."\n",
+ 'type' => 'array',
+ 'items' => ['description' => 'The name of the rejected patch.'."\n", 'type' => 'string', 'example' => 'RejectedPatch1', 'title' => ''],
+ 'title' => '',
+ 'example' => '',
],
- 'UpdatedDate' => [
- 'description' => 'The time when the template was last updated.'."\n",
- 'type' => 'string',
- 'example' => '2019-05-16T10:26:14Z',
+ 'RejectedPatchesAction' => ['description' => 'The action of the rejected patch.'."\n", 'type' => 'string', 'example' => '"ALLOW_AS_DEPENDENCY"', 'title' => ''],
+ 'ApprovedPatches' => [
+ 'description' => 'The approved patches.'."\n",
+ 'type' => 'array',
+ 'items' => ['description' => 'The name of the approved patch.'."\n", 'type' => 'string', 'example' => 'ApprovedPatch1', 'title' => ''],
+ 'title' => '',
+ 'example' => '',
],
- 'UpdatedBy' => [
- 'description' => 'The user who last updated the template.'."\n",
- 'type' => 'string',
- 'example' => 'root(13090000)',
+ 'ApprovedPatchesEnableNonSecurity' => ['description' => 'Indicates whether the approved patch involves updates other than security-related updates.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''],
+ 'Sources' => [
+ 'description' => 'The patch source configurations.'."\n",
+ 'type' => 'array',
+ 'items' => ['description' => 'The configuration of the patch source.'."\n", 'type' => 'string', 'example' => '[main]'."\n"
+ .'name=MyCustomRepository'."\n"
+ .'baseurl=https://my-custom-repository'."\n"
+ .'enabled=1', 'title' => ''],
+ 'title' => '',
+ 'example' => '',
],
'Tags' => [
- 'description' => 'The tag keys and values. The number of key-value pairs ranges from 1 to 20.'."\n",
- 'type' => 'object',
- 'example' => '{"k1":"k2","k2":"v2"}',
- ],
- 'TemplateName' => [
- 'description' => 'The name of the template.'."\n",
- 'type' => 'string',
- 'example' => 'MyTemplate',
- ],
- 'TemplateVersion' => [
- 'description' => 'The version of the template. The name of the version consists of the letter v and a number. The number starts from 1.'."\n",
- 'type' => 'string',
- 'example' => 'v1',
- ],
- 'TemplateFormat' => [
- 'description' => 'The format of the template. The system automatically determines whether the format is JSON or YAML.'."\n",
- 'type' => 'string',
- 'example' => 'JSON',
- ],
- 'Description' => [
- 'description' => 'The description of the template.'."\n",
- 'type' => 'string',
- 'example' => 'Get status of instances',
- ],
- 'CreatedBy' => [
- 'description' => 'The creator of the template.'."\n",
- 'type' => 'string',
- 'example' => 'root(13090000)',
- ],
- 'CreatedDate' => [
- 'description' => 'The time when the template was created.'."\n",
- 'type' => 'string',
- 'example' => '2019-05-16T10:26:14Z',
- ],
- 'TemplateId' => [
- 'description' => 'The ID of the template.'."\n",
- 'type' => 'string',
- 'example' => 't-94753d4d828d38',
- ],
- 'ShareType' => [
- 'description' => 'The share type of the template. The share type of a user-created template is **Private**.'."\n",
- 'type' => 'string',
- 'example' => 'Private',
+ 'description' => 'The tags.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'TagKey' => ['description' => 'The key of the tag.'."\n", 'type' => 'string', 'example' => 'key', 'title' => ''],
+ 'TagValue' => ['description' => 'The value of the tag.'."\n", 'type' => 'string', 'example' => 'value', 'title' => ''],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'title' => '',
+ 'example' => '',
],
+ 'ResourceGroupId' => ['description' => 'The ID of the resource group.'."\n", 'type' => 'string', 'example' => 'rg-acfm3comlufxpva', 'title' => ''],
],
+ 'title' => '',
+ 'example' => '',
],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"A5173FF6-D10D-5E8C-8F71-943C2A3E25C0\\",\\n \\"PatchBaseline\\": {\\n \\"OperationSystem\\": \\"Windows\\",\\n \\"Description\\": \\"PatchBaseline\\",\\n \\"UpdatedDate\\": \\"2021-09-08T06:25:41Z\\",\\n \\"UpdatedBy\\": \\"root(130900000)\\",\\n \\"CreatedBy\\": \\"root(130900000)\\",\\n \\"CreatedDate\\": \\"2021-09-08T06:25:41Z\\",\\n \\"Name\\": \\"MyPatchBaseline\\",\\n \\"ApprovalRules\\": \\"{\\\\\\"PatchRules\\\\\\":[{\\\\\\"PatchFilterGroup\\\\\\":[{\\\\\\"Key\\\\\\":\\\\\\"PatchSet\\\\\\",\\\\\\"Values\\\\\\":[\\\\\\"OS\\\\\\"]},{\\\\\\"Key\\\\\\":\\\\\\"ProductFamily\\\\\\",\\\\\\"Values\\\\\\":[\\\\\\"Windows\\\\\\"]},{\\\\\\"Key\\\\\\":\\\\\\"Product\\\\\\",\\\\\\"Values\\\\\\":[\\\\\\"Windows 10\\\\\\",\\\\\\"Windows 7\\\\\\"]},{\\\\\\"Key\\\\\\":\\\\\\"Classification\\\\\\",\\\\\\"Values\\\\\\":[\\\\\\"Security Updates\\\\\\",\\\\\\"Updates\\\\\\",\\\\\\"Update Rollups\\\\\\",\\\\\\"Critical Updates\\\\\\"]},{\\\\\\"Key\\\\\\":\\\\\\"Severity\\\\\\",\\\\\\"Values\\\\\\":[\\\\\\"Critical\\\\\\",\\\\\\"Important\\\\\\",\\\\\\"Moderate\\\\\\"]}],\\\\\\"ApproveAfterDays\\\\\\":7,\\\\\\"EnableNonSecurity\\\\\\":true,\\\\\\"ComplianceLevel\\\\\\":\\\\\\"Medium\\\\\\"}]}\\",\\n \\"Id\\": \\"pb-0a0aeda72ed147eb97ea\\",\\n \\"ShareType\\": \\"Private\\",\\n \\"RejectedPatches\\": [\\n \\"RejectedPatch1\\"\\n ],\\n \\"RejectedPatchesAction\\": \\"\\\\\\"ALLOW_AS_DEPENDENCY\\\\\\"\\",\\n \\"ApprovedPatches\\": [\\n \\"ApprovedPatch1\\"\\n ],\\n \\"ApprovedPatchesEnableNonSecurity\\": true,\\n \\"Sources\\": [\\n \\"[main]\\\\nname=MyCustomRepository\\\\nbaseurl=https://my-custom-repository\\\\nenabled=1\\"\\n ],\\n \\"Tags\\": [\\n {\\n \\"TagKey\\": \\"key\\",\\n \\"TagValue\\": \\"value\\"\\n }\\n ],\\n \\"ResourceGroupId\\": \\"rg-acfm3comlufxpva\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"<PatchBaseline>\\n <UpdatedBy>root(130900000)</UpdatedBy>\\n <CreatedBy>root(130900000)</CreatedBy>\\n <Description>PatchBaseline</Description>\\n <UpdatedDate>2021-09-08T06:25:41Z</UpdatedDate>\\n <CreatedDate>2021-02-18T03:33:50Z</CreatedDate>\\n <Id>pb-0a0aeda72ed147eb97ea</Id>\\n <OperationSystem>Windows</OperationSystem>\\n <ApprovalRules>\\n <PatchRules>\\n <ApproveUntilDate/>\\n <EnableNonSecurity>true</EnableNonSecurity>\\n <PatchFilterGroup>\\n <Values>OS</Values>\\n <Key>PatchSet</Key>\\n </PatchFilterGroup>\\n <PatchFilterGroup>\\n <Values>Windows</Values>\\n <Key>ProductFamily</Key>\\n </PatchFilterGroup>\\n <PatchFilterGroup>\\n <Values>Windows 10</Values>\\n <Values>Windows 7</Values>\\n <Key>Product</Key>\\n </PatchFilterGroup>\\n <PatchFilterGroup>\\n <Values>Security Updates</Values>\\n <Values>Updates</Values>\\n <Values>Update Rollups</Values>\\n <Values>Critical Updates</Values>\\n <Key>Classification</Key>\\n </PatchFilterGroup>\\n <PatchFilterGroup>\\n <Values>Critical</Values>\\n <Values>Important</Values>\\n <Values>Moderate</Values>\\n <Key>Severity</Key>\\n </PatchFilterGroup>\\n <ApproveAfterDays>7</ApproveAfterDays>\\n <ComplianceLevel>Medium</ComplianceLevel>\\n </PatchRules>\\n </ApprovalRules>\\n <Name>MyPatchBaseline</Name>\\n <ShareType>Private</ShareType>\\n</PatchBaseline>\\n<RequestId>A5173FF6-D10D-5E8C-8F71-943C2A3E25C0</RequestId>","errorExample":""}]',
+ 'title' => 'CreatePatchBaseline',
+ 'changeSet' => [],
+ 'ramActions' => [
+ [
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'oos:CreatePatchBaseline',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [
+ ['conditionKey' => 'oos:TLSVersion'],
+ ],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'OOS', 'resourceType' => 'patchbaseline', 'arn' => 'acs:oos:{#regionId}:{#accountId}:patchbaseline/{#patchbaselineName}'],
+ ],
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"Content\\": \\"\\\\\\"{\\\\\\\\n \\\\\\\\\\\\\\"FormatVersion\\\\\\\\\\\\\\": \\\\\\\\\\\\\\"OOS-2019-06-01\\\\\\\\\\\\\\",\\\\\\\\n \\\\\\\\\\\\\\"Parameters\\\\\\\\\\\\\\": {\\\\\\\\n \\\\\\\\\\\\\\"Status\\\\\\\\\\\\\\": {\\\\\\\\n \\\\\\\\\\\\\\"Type\\\\\\\\\\\\\\": \\\\\\\\\\\\\\"String\\\\\\\\\\\\\\",\\\\\\\\n \\\\\\\\\\\\\\"Description\\\\\\\\\\\\\\": \\\\\\\\\\\\\\"(Required) The ID of the ECS instance.\\\\\\\\\\\\\\"\\\\\\\\n }\\\\\\\\n },\\\\\\\\n \\\\\\\\\\\\\\"Tasks\\\\\\\\\\\\\\": [\\\\\\\\n {\\\\\\\\n \\\\\\\\\\\\\\"Name\\\\\\\\\\\\\\": \\\\\\\\\\\\\\"bar\\\\\\\\\\\\\\",\\\\\\\\n \\\\\\\\\\\\\\"Properties\\\\\\\\\\\\\\": {\\\\\\\\n \\\\\\\\\\\\\\"Parameters\\\\\\\\\\\\\\": {\\\\\\\\n \\\\\\\\\\\\\\"Status\\\\\\\\\\\\\\": \\\\\\\\\\\\\\"{{ Status }}\\\\\\\\\\\\\\"\\\\\\\\n },\\\\\\\\n \\\\\\\\\\\\\\"API\\\\\\\\\\\\\\": \\\\\\\\\\\\\\"DescribeInstances\\\\\\\\\\\\\\",\\\\\\\\n \\\\\\\\\\\\\\"Service\\\\\\\\\\\\\\": \\\\\\\\\\\\\\"Ecs\\\\\\\\\\\\\\"\\\\\\\\n },\\\\\\\\n \\\\\\\\\\\\\\"Action\\\\\\\\\\\\\\": \\\\\\\\\\\\\\"acs::ExecuteAPI\\\\\\\\\\\\\\",\\\\\\\\n \\\\\\\\\\\\\\"Outputs\\\\\\\\\\\\\\": {\\\\\\\\n \\\\\\\\\\\\\\"InstanceIds\\\\\\\\\\\\\\", {\\\\\\\\n \\\\\\\\\\\\\\"ValueSelector\\\\\\\\\\\\\\": \\\\\\\\\\\\\\".Instances.Instance[].InstanceId\\\\\\\\\\\\\\",\\\\\\\\n \\\\\\\\\\\\\\"Type\\\\\\\\\\\\\\": \\\\\\\\\\\\\\"List\\\\\\\\\\\\\\"\\\\\\\\n }\\\\\\\\n }\\\\\\\\n }\\\\\\\\n ],\\\\\\\\n \\\\\\\\\\\\\\"Outputs\\\\\\\\\\\\\\": {\\\\\\\\n \\\\\\\\\\\\\\"InstanceIds\\\\\\\\\\\\\\": {\\\\\\\\n \\\\\\\\\\\\\\"Value\\\\\\\\\\\\\\": \\\\\\\\\\\\\\" {{ bar.InstanceIds }} \\\\\\\\\\\\\\",\\\\\\\\n \\\\\\\\\\\\\\"Type\\\\\\\\\\\\\\": \\\\\\\\\\\\\\"List\\\\\\\\\\\\\\"\\\\\\\\n }\\\\\\\\n }\\\\\\\\n}\\\\\\\\n\\\\\\"\\",\\n \\"RequestId\\": \\"14A60-EBE7-47CA-9757-12C1D47A\\",\\n \\"Template\\": {\\n \\"Hash\\": \\"4bc7d7a21b3e003434b9c223f6e6d2578b5ebfeb5be28c1fcf8a8a1b11907bb4\\",\\n \\"UpdatedDate\\": \\"2019-05-16T10:26:14Z\\",\\n \\"UpdatedBy\\": \\"root(13090000)\\",\\n \\"Tags\\": {\\n \\"k1\\": \\"k2\\",\\n \\"k2\\": \\"v2\\"\\n },\\n \\"TemplateName\\": \\"MyTemplate\\",\\n \\"TemplateVersion\\": \\"v1\\",\\n \\"TemplateFormat\\": \\"JSON\\",\\n \\"Description\\": \\"Descirbe instances of given status\\",\\n \\"CreatedBy\\": \\"root(13090000)\\",\\n \\"CreatedDate\\": \\"2019-05-16T10:26:14Z\\",\\n \\"TemplateId\\": \\"t-94753d4d828d38\\",\\n \\"ShareType\\": \\"Private\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"<GetExecutionTemplateResponse>\\r\\n <Content>\\r\\n <FormatVersion>OOS-2019-06-01</FormatVersion>\\r\\n <Parameters>\\r\\n <Status>\\r\\n <Type>String</Type>\\r\\n <Description>(Required) The ID of the ECS instance.</Description>\\r\\n </Status>\\r\\n </Parameters>\\r\\n <Tasks>\\r\\n <Name>bar</Name>\\r\\n <Properties>\\r\\n <Parameters>\\r\\n <Status>{{ Status }}</Status>\\r\\n </Parameters>\\r\\n <API>DescribeInstances</API>\\r\\n <Service>Ecs</Service>\\r\\n </Properties>\\r\\n <Action>acs::ExecuteAPI</Action>\\r\\n <Outputs>\\r\\n <InstanceIds>\\r\\n <ValueSelector>.Instances.Instance[].InstanceId</ValueSelector>\\r\\n <Type>List&amp;lt;String&amp;gt;</Type>\\r\\n </InstanceIds>\\r\\n </Outputs>\\r\\n </Tasks>\\r\\n <Outputs>\\r\\n <InstanceIds>\\r\\n <Value> {{ bar.InstanceIds }} </Value>\\r\\n <Type>List&amp;lt;String&amp;gt;</Type>\\r\\n </InstanceIds>\\r\\n </Outputs>\\r\\n </Content>\\r\\n <RequestId>FAAFA45-AB65-4049-BFE0-868E1C80AF</RequestId>\\r\\n <Template>\\r\\n <CreatedBy>root(13092000)</CreatedBy>\\r\\n <CreatedDate>2019-05-27T10:32:52Z</CreatedDate>\\r\\n <UpdatedBy>root(13092000)</UpdatedBy>\\r\\n <UpdatedDate>2019-05-27T08:46:33Z</UpdatedDate>\\r\\n <Description/>\\r\\n <Hash>62eac5c64b9dae5c41e1e8b648baad95f812cab4f9221a5283edb882b5f8d712</Hash>\\r\\n <ShareType>Private</ShareType>\\r\\n <TemplateFormat>JSON</TemplateFormat>\\r\\n <TemplateName>MyTemplate</TemplateName>\\r\\n <TemplateId>t-94753deea28d38</TemplateId>\\r\\n <TemplateVersion>v1</TemplateVersion>\\r\\n </Template>\\r\\n</GetExecutionTemplateResponse>","errorExample":""}]',
- 'title' => 'GetExecutionTemplate',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'ListExecutions' => [
- 'summary' => 'Queries executions. Multiple methods are supported to filter executions.',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'CreatePatchBaseline'],
+ ],
],
+ ],
+ 'CreateSecretParameter' => [
+ 'summary' => 'Creates an encryption parameter. Make sure that you have the permissions to call the CreateSecret operation of Key Management Service (KMS) before you call this operation.',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'read',
+ 'operationType' => 'write',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'list',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- 'abilityTreeCode' => '93975',
- 'abilityTreeNodes' => [
- 'FEATUREoosQL14T7',
- ],
+ 'operationType' => 'create',
+ 'abilityTreeCode' => '93943',
+ 'abilityTreeNodes' => ['FEATUREoosBA3MI8'],
],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The ID of the region.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => 'The ID of the region.'."\n", 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''],
],
[
- 'name' => 'TemplateName',
+ 'name' => 'Name',
'in' => 'query',
- 'schema' => [
- 'description' => 'The name of the template. All templates whose names contain the specified template name are queried.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'MyTemplate',
- ],
+ 'schema' => ['description' => 'The name of the parameter. The name must be 1 to 180 characters in length, and can contain letters, digits, hyphens (-), and underscores (\\_). It cannot start with ALIYUN, ACS, ALIBABA, ALICLOUD, or OOS.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'MySecretParameter', 'title' => ''],
],
[
- 'name' => 'Status',
+ 'name' => 'Type',
'in' => 'query',
- 'schema' => [
- 'description' => 'The status of the execution. Valid values: Running, Started, Success, Failed, Waiting, Cancelled, Pending, and Skipped.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'Running',
- ],
+ 'schema' => ['description' => 'The type of the parameter. Set the value to Secret.'."\n", 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => 'Secret', 'title' => ''],
],
[
- 'name' => 'ExecutionId',
+ 'name' => 'Value',
'in' => 'query',
- 'schema' => [
- 'description' => 'The ID of the execution.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'exec-xxx',
- ],
+ 'schema' => ['description' => 'The value of the encryption parameter. The value must be 1 to 4096 characters in length.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'SecretParameter', 'title' => ''],
],
[
- 'name' => 'StartDateBefore',
+ 'name' => 'Description',
'in' => 'query',
- 'schema' => [
- 'description' => 'The latest start time. The executions that start to run at or earlier than the specified point in time are queried.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => '2019-05-16T10:26:14Z',
- ],
+ 'schema' => ['description' => 'The description of the encryption parameter. The description must be 1 to 200 characters in length.'."\n", 'type' => 'string', 'required' => false, 'example' => 'SecretParameter', 'title' => ''],
],
[
- 'name' => 'StartDateAfter',
+ 'name' => 'KeyId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The earliest start time. The executions that start to run at or later than the specified time are queried.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => '2019-05-16T10:26:14Z',
- ],
+ 'schema' => ['description' => 'The key ID of Key Management Service (KMS) that is used to encrypt the parameter.'."\n", 'type' => 'string', 'required' => false, 'example' => '80e9409f-78fa-42ab-84bd-83f40c******', 'title' => ''],
],
[
- 'name' => 'EndDateBefore',
+ 'name' => 'ClientToken',
'in' => 'query',
- 'schema' => [
- 'description' => 'The latest end time. The executions that stop running at or earlier than the specified time are queried.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => '2019-05-16T10:26:14Z',
- ],
+ '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 be up to 64 characters in length, and can contain letters, digits, hyphens (-), and underscores (\\_). For more information, see "How to ensure idempotence".'."\n", 'type' => 'string', 'required' => false, 'example' => '123e4567-e89b-12d3-a456-42665544****', 'title' => ''],
],
[
- 'name' => 'EndDateAfter',
+ 'name' => 'Constraints',
'in' => 'query',
- 'schema' => [
- 'description' => 'The earliest end time. The executions that stop running at or later than the specified time are queried.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => '2019-05-16T10:26:14Z',
- ],
+ 'schema' => ['description' => 'The constraints of the encryption parameter. By default, this parameter is null. Valid values:'."\n"
+ ."\n"
+ .'* AllowedValues: The value that is allowed for the encryption parameter. It must be an array string.'."\n"
+ .'* AllowedPattern: The pattern that is allowed for the encryption parameter. It must be a regular expression.'."\n"
+ .'* MinLength: The minimum length of the encryption parameter.'."\n"
+ .'* MaxLength: The maximum length of the encryption parameter.'."\n", 'type' => 'string', 'required' => false, 'example' => '\'{\'\'AllowedValues":["secretparameter"],"AllowedPattern":"secretparameter","MinLength":0,"MaxLength":20}\'', 'title' => ''],
],
[
- 'name' => 'Mode',
+ 'name' => 'Tags',
'in' => 'query',
- 'schema' => [
- 'description' => 'The execution mode. Valid values:'."\n"
- ."\n"
- .'* **Automatic**'."\n"
- .'* **Debug**'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'Automatic',
- ],
+ 'style' => 'json',
+ 'schema' => ['description' => 'The tags.'."\n", 'type' => 'object', 'required' => false, 'example' => '{"k1": "v1", "k2": "v2"}', 'title' => ''],
],
[
- 'name' => 'ExecutedBy',
+ 'name' => 'ResourceGroupId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The executor.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'vme',
- ],
+ 'schema' => ['description' => 'The ID of the resource group.'."\n", 'type' => 'string', 'required' => false, 'example' => 'rg-acfmxsn4m4******', 'title' => ''],
],
[
- 'name' => 'ParentExecutionId',
+ 'name' => 'DKMSInstanceId',
'in' => 'query',
+ 'schema' => ['description' => 'The instance ID of the KMS instance.', 'type' => 'string', 'required' => false, 'example' => 'kst-hzz****', 'title' => ''],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
'schema' => [
- 'description' => 'The ID of the parent execution.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'exec-xxx',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '0B419FF3-ABC6-4DF0-95E5-636DC8CBB8AF', 'title' => ''],
+ 'Parameter' => [
+ 'description' => 'The information about the encryption parameter.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'Type' => ['description' => 'The type of the parameter.'."\n", 'type' => 'string', 'example' => 'Secret', 'title' => ''],
+ 'UpdatedDate' => ['description' => 'The time when the encryption parameter was updated.'."\n", 'type' => 'string', 'example' => '2020-09-01T09:30:36Z', 'title' => ''],
+ 'UpdatedBy' => ['description' => 'The user who updated the encryption parameter.'."\n", 'type' => 'string', 'example' => 'root(130900000)', 'title' => ''],
+ 'KeyId' => ['description' => 'The key ID of KMS that is used to encrypt the parameter.'."\n", 'type' => 'string', 'example' => '80e9409f-78fa-42ab-84bd-83f40c******', 'title' => ''],
+ 'Tags' => ['description' => 'The tags.'."\n", 'type' => 'object', 'example' => '{"k1": "v1", "k2": "v2"}', 'title' => ''],
+ 'Description' => ['description' => 'The description of the encryption parameter.'."\n", 'type' => 'string', 'example' => 'SecretParameter', 'title' => ''],
+ 'Constraints' => ['description' => 'The constraints of the encryption parameter.'."\n", 'type' => 'string', 'example' => '\'{ "AllowedValues": ["secretparameter"], "AllowedPattern": "secretparameter", "MinLength": 0, "MaxLength": 20 }\'', 'title' => ''],
+ 'ResourceGroupId' => ['description' => 'The ID of the resource group.'."\n", 'type' => 'string', 'example' => 'rg-acfmxsn4m4******', 'title' => ''],
+ 'CreatedBy' => ['description' => 'The user who created the encryption parameter.'."\n", 'type' => 'string', 'example' => 'root(130900000)', 'title' => ''],
+ 'CreatedDate' => ['description' => 'The time when the encryption parameter was created.'."\n", 'type' => 'string', 'example' => '2020-09-01T09:30:36Z', 'title' => ''],
+ 'ParameterVersion' => ['description' => 'The version number of the encryption parameter.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''],
+ 'Name' => ['description' => 'The name of the encryption parameter.'."\n", 'type' => 'string', 'example' => 'MyParameter', 'title' => ''],
+ 'Id' => ['description' => 'The ID of the encryption parameter.'."\n", 'type' => 'string', 'example' => 'p-0b0fff9919c946xxxxxx', 'title' => ''],
+ 'ShareType' => ['description' => 'The share type of the encryption parameter.'."\n", 'type' => 'string', 'example' => 'Private', 'title' => ''],
+ 'DKMSInstanceId' => ['description' => 'The instance ID of the KMS instance.', 'type' => 'string', 'example' => 'kst-hzz****', 'title' => ''],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"0B419FF3-ABC6-4DF0-95E5-636DC8CBB8AF\\",\\n \\"Parameter\\": {\\n \\"Type\\": \\"Secret\\",\\n \\"UpdatedDate\\": \\"2020-09-01T09:30:36Z\\",\\n \\"UpdatedBy\\": \\"root(130900000)\\",\\n \\"KeyId\\": \\"80e9409f-78fa-42ab-84bd-83f40c******\\",\\n \\"Tags\\": {\\n \\"k1\\": \\"v1\\",\\n \\"k2\\": \\"v2\\"\\n },\\n \\"Description\\": \\"SecretParameter\\",\\n \\"Constraints\\": \\"\'{ \\\\t\\\\\\"AllowedValues\\\\\\": [\\\\\\"secretparameter\\\\\\"], \\\\t\\\\\\"AllowedPattern\\\\\\": \\\\\\"secretparameter\\\\\\", \\\\t\\\\\\"MinLength\\\\\\": 0, \\\\t\\\\\\"MaxLength\\\\\\": 20 }\'\\",\\n \\"ResourceGroupId\\": \\"rg-acfmxsn4m4******\\",\\n \\"CreatedBy\\": \\"root(130900000)\\",\\n \\"CreatedDate\\": \\"2020-09-01T09:30:36Z\\",\\n \\"ParameterVersion\\": 1,\\n \\"Name\\": \\"MyParameter\\",\\n \\"Id\\": \\"p-0b0fff9919c946xxxxxx\\",\\n \\"ShareType\\": \\"Private\\",\\n \\"DKMSInstanceId\\": \\"kst-hzz****\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"<CreateSecretParameterResponse>\\n <RequestId>0B419FF3-ABC6-4DF0-95E5-636DC8CBB8AF</RequestId>\\n <Parameter>\\n <Type>Secret</Type>\\n <UpdatedDate>2020-09-01T09:30:36Z</UpdatedDate>\\n <UpdatedBy>root(130900000)</UpdatedBy>\\n <KeyId>80e9409f-78fa-42ab-84bd-83f40c******</KeyId>\\n <Tags>\\n <k1>v1</k1>\\n <k2>v2</k2>\\n </Tags>\\n <Description>SecretParameter</Description>\\n <Constraints>\'{ \\t\\"AllowedValues\\": [\\"secretparameter\\"], \\t\\"AllowedPattern\\": \\"secretparameter\\", \\t\\"MinLength\\": 0, \\t\\"MaxLength\\": 20 }\'</Constraints>\\n <ResourceGroupId>rg-acfmxsn4m4******</ResourceGroupId>\\n <CreatedBy>root(130900000)</CreatedBy>\\n <CreatedDate>2020-09-01T09:30:36Z</CreatedDate>\\n <ParameterVersion>1</ParameterVersion>\\n <Name>MyParameter</Name>\\n <Id>p-0b0fff9919c946xxxxxx</Id>\\n <ShareType>Private</ShareType>\\n </Parameter>\\n</CreateSecretParameterResponse>","errorExample":""}]',
+ 'title' => 'CreateSecretParameter',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ 'changeSet' => [],
+ 'ramActions' => [
[
- 'name' => 'RamRole',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The RAM role.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'OOSServiceRole',
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'oos:CreateSecretParameter',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [
+ ['conditionKey' => 'oos:TLSVersion'],
+ ],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'OOS', 'resourceType' => 'secretparameter', 'arn' => 'acs:oos:{#regionId}:{#accountId}:secretparameter/{#secretparameterName}'],
+ ],
],
],
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'CreateSecretParameter'],
+ ],
+ ],
+ ],
+ 'CreateStateConfiguration' => [
+ 'summary' => 'Creates a desired-state configuration.',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
[
- 'name' => 'IncludeChildExecution',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'Specifies whether to include child executions. Default value: False.'."\n",
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'true',
- ],
+ 'AK' => [],
],
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'create',
+ 'abilityTreeCode' => '93944',
+ 'abilityTreeNodes' => ['FEATUREoosLDUDPP'],
+ ],
+ 'parameters' => [
[
- 'name' => 'Category',
+ 'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The type of the execution template. Valid values: Other, TimerTrigger, EventTrigger, and AlarmTrigger.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'Other',
- ],
+ 'schema' => ['description' => 'The region ID.'."\n", 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''],
],
[
- 'name' => 'Tags',
+ 'name' => 'Description',
'in' => 'query',
- 'style' => 'json',
- 'schema' => [
- 'description' => 'The tags for the execution.'."\n",
- 'type' => 'object',
- 'required' => false,
- 'example' => '{"k1":"v2","k2":"v2"}',
- ],
+ 'schema' => ['description' => 'The description of the desired-state configuration.'."\n", 'type' => 'string', 'required' => false, 'example' => 'collect inventory data', 'title' => ''],
],
[
- 'name' => 'MaxResults',
+ 'name' => 'TemplateName',
'in' => 'query',
- 'schema' => [
- 'description' => 'The number of entries to return on each page. Valid values: 10 to 100. Default value: 50.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '50',
- ],
+ 'schema' => ['description' => 'The name of the template. The name must be 1 to 200 characters in length and can contain letters, digits, hyphens (-), and underscores (\\_).'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'ACS-ECS-InventoryDataCollection', 'title' => ''],
],
[
- 'name' => 'NextToken',
+ 'name' => 'TemplateVersion',
'in' => 'query',
- 'schema' => [
- 'description' => 'The token that is used to retrieve the next page of results.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'MTRBMDc0NjAtRUJFNy00N0NBLTk3NTctMTJDQzQ',
- ],
+ 'schema' => ['description' => 'The version number of the template. If you do not specify this parameter, the latest version of the template is used.'."\n", 'type' => 'string', 'required' => false, 'example' => 'v1', 'title' => ''],
],
[
- 'name' => 'SortField',
+ 'name' => 'Parameters',
'in' => 'query',
- 'schema' => [
- 'description' => 'The field that is used to sort the executions to query. Valid values:'."\n"
- ."\n"
- .'* **StartDate**: specifies that the executions are sorted based on the time when they are created. This is the default value.'."\n"
- .'* **EndDate**: specifies that the executions are sorted based on the time when they stop running.'."\n"
- .'* **Status**: specifies that the executions are sorted based on their states.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'StartDate',
- ],
+ 'schema' => ['description' => 'The parameters.'."\n", 'type' => 'string', 'required' => false, 'example' => '{ "policy": { "ACS:Application": { "Collection": "Enabled" }, "ACS:Network": { "Collection": "Enabled" } } }', 'title' => ''],
],
[
- 'name' => 'SortOrder',
+ 'name' => 'ConfigureMode',
'in' => 'query',
- 'schema' => [
- 'description' => 'The order in which you want to sort the results. Valid values:'."\n"
- ."\n"
- .'* **Ascending**: ascending order.'."\n"
- .'* **Descending**: descending order. This is the default value.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'Ascending',
- ],
+ 'schema' => ['description' => 'The configuration mode. Valid values: ApplyOnce: The configuration is applied only once. After a configuration is updated, the new configuration is applied. ApplyAndMonitor: The configuration is applied only once. After the configuration is applied, the system only checks whether the configuration is migrated in the future. ApplyAndAutoCorrect: The configuration is always applied.'."\n", 'type' => 'string', 'required' => false, 'example' => 'ApplyOnce', 'title' => ''],
],
[
- 'name' => 'ResourceId',
+ 'name' => 'ScheduleType',
'in' => 'query',
- 'schema' => [
- 'description' => 'The ID of the Elastic Compute Service (ECS) resource.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'i-xxx',
- ],
+ 'schema' => ['description' => 'The schedule type. Set the value to rate.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'rate', 'title' => ''],
],
[
- 'name' => 'ResourceTemplateName',
+ 'name' => 'ScheduleExpression',
'in' => 'query',
- 'schema' => [
- 'description' => 'The name of the resource template.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'ACS-ECS-TEST',
- ],
+ 'schema' => ['description' => 'The schedule expression. The interval between two schedules must be a minimum of 30 minutes.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '1 hour', 'title' => ''],
],
[
- 'name' => 'ResourceGroupId',
+ 'name' => 'Targets',
'in' => 'query',
- 'schema' => [
- 'description' => 'The ID of the resource group to which the instances you want to query belong.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'rg-acfmxsn4m4******',
- ],
+ 'schema' => ['description' => 'The resources to be queried.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '{ "ResourceType": "ALIYUN::ECS::Instance", "Filters": [ { "Type": "All", "RegionId": "cn-hangzhou", "Parameters": { "RegionId": "cn-hangzhou", "Status": "Running" } } ] }', 'title' => ''],
],
[
- 'name' => 'Description',
+ 'name' => 'ClientToken',
'in' => 'query',
- 'schema' => [
- 'description' => 'The description of the execution.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'MyDescription',
- ],
+ 'schema' => ['description' => 'The client token that is used to ensure the idempotence of the request.'."\n", 'type' => 'string', 'required' => false, 'example' => 'DASKJJLKADS-AHKLJHJSAKL-AJK', 'title' => ''],
],
[
- 'name' => 'Depth',
+ 'name' => 'Tags',
'in' => 'query',
- 'schema' => [
- 'description' => 'The depth of execution. Valid values: RootDepth and FirstChildDepth. If you set this parameter to RootDepth, only the parent execution is returned. If you set this parameter to FirstChildDepth, only the child executions at the first level are returned. You can specify only one of the Depth and IncludeChildExecution parameters. We recommend that you specify Depth.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'RootDepth',
- ],
+ 'style' => 'json',
+ 'schema' => ['description' => 'The tags to be added to the configuration.'."\n", 'type' => 'object', 'required' => false, 'example' => '{"Key": "oos", "Value": "inventory"}', 'title' => ''],
],
[
- 'name' => 'Categories',
+ 'name' => 'ResourceGroupId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The types of the execution template. Valid values: Other, TimerTrigger, EventTrigger, and AlarmTrigger. You can specify only one of the Categories and Category parameters. We recommend that you specify Categories.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => '["TimerTrigger"、"EventTrigger"]',
- ],
+ 'schema' => ['description' => 'The resource group ID.'."\n", 'type' => 'string', 'required' => false, 'example' => 'rg-acfmxsn4m4******', 'title' => ''],
],
],
'responses' => [
@@ -2834,328 +2049,112 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'NextToken' => [
- 'description' => 'The token that is used to retrieve the next page of results.'."\n",
- 'type' => 'string',
- 'example' => 'MTRBMDc0NjAtRUJFNy00N0NBLTk3NTctMTJDQzQ',
- ],
- 'RequestId' => [
- 'description' => 'The ID of the request.'."\n",
- 'type' => 'string',
- 'example' => '14A074-47CA-9757-12CC4761D47A',
- ],
- 'MaxResults' => [
- 'description' => 'The number of entries returned per page.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '50',
- ],
- 'Executions' => [
- 'description' => 'The details of the task executions.'."\n",
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'Status' => [
- 'description' => 'The status of the execution. Valid values: Started, Queued, Running, Waiting, Success, Failed, and Cancelled.'."\n",
- 'type' => 'string',
- 'example' => 'Success',
- ],
- 'WaitingStatus' => [
- 'description' => 'The Waiting state.'."\n",
- 'type' => 'string',
- 'example' => '""',
- ],
- 'Targets' => [
- 'description' => 'The target resource.'."\n",
- 'type' => 'string',
- 'example' => '"{"ResourceType": "ALIYUN::ECS::Instance", "Filters": [{"ResourceIds": ["i-bp14z07dg3464980x72o"], "RegionId": "cn-hangzhou", "Type": "ResourceIds"}]}"',
- ],
- 'StatusReason' => [
- 'description' => 'The reason for which the status occurs.'."\n",
- 'type' => 'string',
- 'example' => '""',
- ],
- 'Tags' => [
- 'description' => 'The tags of the execution.'."\n",
- 'type' => 'object',
- 'example' => '{}',
- ],
- 'LastSuccessfulTriggerTime' => [
- 'description' => 'The time when the template was last successfully triggered.'."\n",
- 'type' => 'string',
- 'example' => '2019-05-27T09:29:18Z',
- ],
- 'Mode' => [
- 'description' => 'The execution mode.'."\n",
- 'type' => 'string',
- 'example' => 'Automatic',
- ],
- 'SafetyCheck' => [
- 'description' => 'The security check mode. Valid values: Skip, and ConfirmEveryHighRiskAction.'."\n",
- 'type' => 'string',
- 'example' => 'Skip',
- ],
- 'TemplateName' => [
- 'description' => 'The name of the template.'."\n",
- 'type' => 'string',
- 'example' => 'MyTemplate',
- ],
- 'TemplateVersion' => [
- 'description' => 'The version number of the template.'."\n",
- 'type' => 'string',
- 'example' => 'v1',
- ],
- 'CreateDate' => [
- 'description' => 'The time when the execution was created.'."\n",
- 'type' => 'string',
- 'example' => '2019-05-16T10:26:14Z',
- ],
- 'UpdateDate' => [
- 'description' => 'The time when the execution was updated.'."\n",
- 'type' => 'string',
- 'example' => '2019-05-16T10:26:14Z',
- ],
- 'Description' => [
- 'description' => 'The description of the execution.'."\n",
- 'type' => 'string',
- 'example' => 'test execution.',
- ],
- 'LastTriggerTime' => [
- 'description' => 'The time when the template was last successfully triggered.'."\n",
- 'type' => 'string',
- 'example' => '2019-05-27T09:29:18Z',
- ],
- 'ParentExecutionId' => [
- 'description' => 'The ID of the parent execution.'."\n",
- 'type' => 'string',
- 'example' => 'exec-xxx',
- ],
- 'LastTriggerStatus' => [
- 'description' => 'The status of the execution after the template was last triggered.'."\n",
- 'type' => 'string',
- 'example' => 'Success',
- ],
- 'StatusMessage' => [
- 'description' => 'The status of the task execution.'."\n",
- 'type' => 'string',
- 'example' => '“”',
- ],
- 'Outputs' => [
- 'description' => 'The output of the execution.'."\n",
- 'type' => 'string',
- 'example' => '{ "InstanceId":"i-xxx" }',
- ],
- 'ExecutedBy' => [
- 'description' => 'The account ID of the user who started the execution of the template.'."\n",
- 'type' => 'string',
- 'example' => '1309252800',
- ],
- 'EndDate' => [
- 'description' => 'The time when the execution stops running.'."\n",
- 'type' => 'string',
- 'example' => '2019-05-16T10:26:14Z',
- ],
- 'IsParent' => [
- 'description' => 'Indicates whether the execution contains child executions.'."\n",
- 'type' => 'boolean',
- 'example' => 'false',
- ],
- 'StartDate' => [
- 'description' => 'The time when the execution was started.'."\n",
- 'type' => 'string',
- 'example' => '2019-05-16T10:26:14Z',
- ],
- 'ExecutionId' => [
- 'description' => 'The unique ID of the execution.'."\n",
- 'type' => 'string',
- 'example' => 'exec-44d32b45d2a449e',
- ],
- 'Parameters' => [
- 'description' => 'The input parameters of the execution.'."\n",
- 'type' => 'object',
- 'example' => '{ "Status":"Running" }',
- ],
- 'Counters' => [
- 'description' => 'The number of tasks that are counted by execution status.'."\n",
- 'type' => 'object',
- 'example' => '{"Failed": 0,"Success": 1,"Total": 2}',
- ],
- 'ResourceGroupId' => [
- 'description' => 'The ID of the resource group.'."\n",
- 'type' => 'string',
- 'example' => 'rg-acfmxsn4m4******',
- ],
- 'Category' => [
- 'description' => 'The type of the execution template. Valid values: Other, TimerTrigger, EventTrigger, and AlarmTrigger.'."\n",
- 'type' => 'string',
- 'example' => 'Other',
- ],
- 'TemplateId' => [
- 'description' => 'The ID of the template.'."\n",
- 'type' => 'string',
- 'example' => '123',
- ],
- 'RamRole' => [
- 'description' => 'The role that started the execution of the template.'."\n",
- 'type' => 'string',
- 'example' => 'OOSServiceRole',
- ],
- 'ResourceStatus' => [
- 'description' => 'The status of the resource.'."\n",
- 'type' => 'string',
- 'example' => '{ "Success": 1 }',
- ],
- 'CurrentTasks' => [
- 'description' => 'The information about the tasks that are running.'."\n",
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'TaskExecutionId' => [
- 'description' => 'The ID of the task execution.'."\n",
- 'type' => 'string',
- 'example' => 'task-exec-44d32b45d2a49899#1',
- ],
- 'TaskName' => [
- 'description' => 'The name of the task.'."\n",
- 'type' => 'string',
- 'example' => 'installSLSILogtail',
- ],
- 'TaskAction' => [
- 'description' => 'The execution template of the task.'."\n",
- 'type' => 'string',
- 'example' => 'acs::Template',
- ],
- ],
- ],
- ],
- 'LastTriggerStatusMessage' => [
- 'description' => 'The status message of last trigger.',
- 'type' => 'string',
- 'example' => '""',
- ],
- 'LastTriggerOutputs' => [
- 'description' => 'The outputs of last trigger.',
- 'type' => 'string',
- 'example' => '{'."\n"
- .' "InstanceId": "i-xxx"'."\n"
- .'}',
- ],
- 'NextScheduleTime' => [
- 'description' => 'The next schedule time for timer trigger execution.',
- 'type' => 'string',
- 'example' => '2019-05-16T10:26:14Z',
- ],
- ],
+ 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '1306108F-610C-40FD-AAD5-DA13E8B00BE9', 'title' => ''],
+ 'StateConfiguration' => [
+ 'description' => 'The information about the desired-state configuration.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'CreateTime' => ['description' => 'The time when the desired-state configuration was created.'."\n", 'type' => 'string', 'example' => '2021-03-22T03:13:32Z', 'title' => ''],
+ 'Targets' => ['description' => 'The queried resources.'."\n", 'type' => 'string', 'example' => '{ "ResourceType": "ALIYUN::ECS::Instance", "Filters": [ { "Type": "All", "RegionId": "cn-hangzhou", "Parameters": { "RegionId": "cn-hangzhou", "Status": "Running" } } ] }', 'title' => ''],
+ 'Tags' => ['description' => 'The tags added to the configuration.'."\n", 'type' => 'object', 'example' => '{"Key": "oos", "Value": "inventory"}', 'title' => ''],
+ 'StateConfigurationId' => ['description' => 'The ID of the desired-state configuration.'."\n", 'type' => 'string', 'example' => 'sc-a538febe18fabcdef', 'title' => ''],
+ 'ScheduleExpression' => ['description' => 'The schedule expression.'."\n", 'type' => 'string', 'example' => '1 hour', 'title' => ''],
+ 'TemplateName' => ['description' => 'The name of the template.'."\n", 'type' => 'string', 'example' => 'ACS-ECS-InventoryDataCollection', 'title' => ''],
+ 'TemplateVersion' => ['description' => 'The name of the template version.'."\n", 'type' => 'string', 'example' => 'v1', 'title' => ''],
+ 'ConfigureMode' => ['description' => 'The configuration mode. Valid values:'."\n", 'type' => 'string', 'example' => 'ApplyAndAutoCorrect', 'title' => ''],
+ 'ScheduleType' => ['description' => 'The schedule type.'."\n", 'type' => 'string', 'example' => 'rate', 'title' => ''],
+ 'Parameters' => ['description' => 'The parameters.'."\n", 'type' => 'object', 'example' => '{"policy": {"ACS:Network": {"Collection": "Enabled"}, "ACS:Application": {"Collection": "Enabled"}}}', 'title' => ''],
+ 'Description' => ['description' => 'The description.'."\n", 'type' => 'string', 'example' => 'collect inventory data', 'title' => ''],
+ 'ResourceGroupId' => ['description' => 'The resource group ID.'."\n", 'type' => 'string', 'example' => 'rg-acfmxsn4m4******', 'title' => ''],
+ 'TemplateId' => ['description' => 'The template ID.'."\n", 'type' => 'string', 'example' => 't-1234asadf', 'title' => ''],
],
- ],
- 'TotalCount' => [
- 'description' => 'The total number of the executions.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '30',
+ 'title' => '',
+ 'example' => '',
],
],
'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"NextToken\\": \\"MTRBMDc0NjAtRUJFNy00N0NBLTk3NTctMTJDQzQ\\",\\n \\"RequestId\\": \\"14A074-47CA-9757-12CC4761D47A\\",\\n \\"MaxResults\\": 50,\\n \\"Executions\\": [\\n {\\n \\"Status\\": \\"Success\\",\\n \\"WaitingStatus\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Targets\\": \\"\\\\\\"{\\\\\\"ResourceType\\\\\\": \\\\\\"ALIYUN::ECS::Instance\\\\\\", \\\\\\"Filters\\\\\\": [{\\\\\\"ResourceIds\\\\\\": [\\\\\\"i-bp14z07dg3464980x72o\\\\\\"], \\\\\\"RegionId\\\\\\": \\\\\\"cn-hangzhou\\\\\\", \\\\\\"Type\\\\\\": \\\\\\"ResourceIds\\\\\\"}]}\\\\\\"\\",\\n \\"StatusReason\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Tags\\": {},\\n \\"LastSuccessfulTriggerTime\\": \\"2019-05-27T09:29:18Z\\",\\n \\"Mode\\": \\"Automatic\\",\\n \\"SafetyCheck\\": \\"Skip\\",\\n \\"TemplateName\\": \\"MyTemplate\\",\\n \\"TemplateVersion\\": \\"v1\\",\\n \\"CreateDate\\": \\"2019-05-16T10:26:14Z\\",\\n \\"UpdateDate\\": \\"2019-05-16T10:26:14Z\\",\\n \\"Description\\": \\"MyDescription\\",\\n \\"LastTriggerTime\\": \\"2019-05-27T09:29:18Z\\",\\n \\"ParentExecutionId\\": \\"exec-xxx\\",\\n \\"LastTriggerStatus\\": \\"Success\\",\\n \\"StatusMessage\\": \\"“”\\",\\n \\"Outputs\\": \\"{ \\\\\\"InstanceId\\\\\\":\\\\\\"i-xxx\\\\\\" }\\",\\n \\"ExecutedBy\\": \\"1309252800\\",\\n \\"EndDate\\": \\"2019-05-16T10:26:14Z\\",\\n \\"IsParent\\": false,\\n \\"StartDate\\": \\"2019-05-16T10:26:14Z\\",\\n \\"ExecutionId\\": \\"exec-44d32b45d2a449e\\",\\n \\"Parameters\\": {\\n \\"Status\\": \\"Running\\"\\n },\\n \\"Counters\\": {\\n \\"Failed\\": 0,\\n \\"Success\\": 1,\\n \\"Total\\": 2\\n },\\n \\"ResourceGroupId\\": \\"rg-acfmxsn4m4******\\",\\n \\"Category\\": \\"Other\\",\\n \\"TemplateId\\": \\"123\\",\\n \\"RamRole\\": \\"OOSServiceRole\\",\\n \\"ResourceStatus\\": \\"{ \\\\t\\\\t\\\\t\\\\\\"Success\\\\\\": 1 \\\\t\\\\t}\\",\\n \\"CurrentTasks\\": [\\n {\\n \\"TaskExecutionId\\": \\"task-exec-44d32b45d2a49899#1\\",\\n \\"TaskName\\": \\"installSLSILogtail\\",\\n \\"TaskAction\\": \\"acs::Template\\"\\n }\\n ],\\n \\"LastTriggerStatusMessage\\": \\"\\\\\\"\\\\\\"\\",\\n \\"LastTriggerOutputs\\": \\"{\\\\n \\\\\\"InstanceId\\\\\\": \\\\\\"i-xxx\\\\\\"\\\\n}\\",\\n \\"NextScheduleTime\\": \\"2019-05-16T10:26:14Z\\"\\n }\\n ],\\n \\"TotalCount\\": 30\\n}","errorExample":""},{"type":"xml","example":"<ListExecutionsResponse>\\n <NextToken>MTRBMDc0NjAtRUJFNy00N0NBLTk3NTctMTJDQzQ</NextToken>\\n <RequestId>14A074-47CA-9757-12CC4761D47A</RequestId>\\n <MaxResults>50</MaxResults>\\n <Executions>\\n <Status>Success</Status>\\n <WaitingStatus>\\"\\"</WaitingStatus>\\n <Targets>\\"\\"</Targets>\\n <StatusReason> \\"\\"</StatusReason>\\n <LastSuccessfulTriggerTime>2019-05-27T09:29:18Z</LastSuccessfulTriggerTime>\\n <Mode>Automatic</Mode>\\n <SafetyCheck>Skip</SafetyCheck>\\n <TemplateName>MyTemplate</TemplateName>\\n <TemplateVersion>v1</TemplateVersion>\\n <CreateDate>2019-05-16T10:26:14Z</CreateDate>\\n <UpdateDate>2019-05-16T10:26:14Z</UpdateDate>\\n <Description>test execution.</Description>\\n <LastTriggerTime>2019-05-27T09:29:18Z</LastTriggerTime>\\n <ParentExecutionId>exec-xxx</ParentExecutionId>\\n <LastTriggerStatus>Success</LastTriggerStatus>\\n <StatusMessage>“”</StatusMessage>\\n <Outputs>{ \\"InstanceId\\":\\"i-xxx\\" }</Outputs>\\n <ExecutedBy>1309252800</ExecutedBy>\\n <EndDate>2019-05-16T10:26:14Z</EndDate>\\n <IsParent>false</IsParent>\\n <StartDate>2019-05-16T10:26:14Z</StartDate>\\n <ExecutionId>exec-44d32b45d2a449e</ExecutionId>\\n <ResourceGroupId>rg-acfmxsn4m4******</ResourceGroupId>\\n <Category>Other</Category>\\n <TemplateId>123</TemplateId>\\n <RamRole>OOSServiceRole</RamRole>\\n <ResourceStatus>{ \\t\\t\\t\\"Success\\": 1 \\t\\t}</ResourceStatus>\\n <CurrentTasks>\\n <TaskExecutionId>task-exec-44d32b45d2a49899#1</TaskExecutionId>\\n <TaskName>installSLSILogtail</TaskName>\\n <TaskAction>acs::Template</TaskAction>\\n </CurrentTasks>\\n </Executions>\\n</ListExecutionsResponse>","errorExample":""}]',
- 'title' => 'ListExecutions',
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"1306108F-610C-40FD-AAD5-DA13E8B00BE9\\",\\n \\"StateConfiguration\\": {\\n \\"CreateTime\\": \\"2021-03-22T03:13:32Z\\",\\n \\"Targets\\": \\"{ \\\\\\"ResourceType\\\\\\": \\\\\\"ALIYUN::ECS::Instance\\\\\\", \\\\\\"Filters\\\\\\": [ { \\\\\\"Type\\\\\\": \\\\\\"All\\\\\\", \\\\\\"RegionId\\\\\\": \\\\\\"cn-hangzhou\\\\\\", \\\\\\"Parameters\\\\\\": { \\\\\\"RegionId\\\\\\": \\\\\\"cn-hangzhou\\\\\\", \\\\\\"Status\\\\\\": \\\\\\"Running\\\\\\" } } ] }\\",\\n \\"Tags\\": {\\n \\"Key\\": \\"oos\\",\\n \\"Value\\": \\"inventory\\"\\n },\\n \\"StateConfigurationId\\": \\"sc-a538febe18fabcdef\\",\\n \\"ScheduleExpression\\": \\"1 hour\\",\\n \\"TemplateName\\": \\"ACS-ECS-InventoryDataCollection\\",\\n \\"TemplateVersion\\": \\"v1\\",\\n \\"ConfigureMode\\": \\"ApplyAndAutoCorrect\\",\\n \\"ScheduleType\\": \\"rate\\",\\n \\"Parameters\\": {\\n \\"policy\\": {\\n \\"ACS:Network\\": {\\n \\"Collection\\": \\"Enabled\\"\\n },\\n \\"ACS:Application\\": {\\n \\"Collection\\": \\"Enabled\\"\\n }\\n }\\n },\\n \\"Description\\": \\"collect inventory data\\",\\n \\"ResourceGroupId\\": \\"rg-acfmxsn4m4******\\",\\n \\"TemplateId\\": \\"t-1234asadf\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]',
+ 'title' => 'CreateStateConfiguration',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'ListExecutionLogs' => [
- 'summary' => 'Queries the logs of an execution.',
- 'methods' => [
- 'post',
- 'get',
+ 'changeSet' => [],
+ 'ramActions' => [
+ [
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'oos:CreateStateConfiguration',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [
+ ['conditionKey' => 'oos:TLSVersion'],
+ ],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'OOS', 'resourceType' => 'StateConfiguration', 'arn' => 'acs:oos:{#regionId}:{#accountId}:stateconfiguration/*'],
+ ],
+ ],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'CreateStateConfiguration'],
+ ],
],
+ ],
+ 'CreateTemplate' => [
+ 'summary' => 'Creates a template.',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'read',
+ 'operationType' => 'write',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'get',
- 'abilityTreeCode' => '93973',
- 'abilityTreeNodes' => [
- 'FEATUREoosQL14T7',
- ],
+ 'operationType' => 'create',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '93945',
+ 'abilityTreeNodes' => ['FEATUREoosCPYH5Z'],
+ 'tenantRelevance' => 'publicInformation',
],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The ID of the region in which you want to query the logs of the execution.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => 'The ID of the region.'."\n", 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''],
],
[
- 'name' => 'ExecutionId',
+ 'name' => 'TemplateName',
'in' => 'query',
- 'schema' => [
- 'description' => 'The ID of the execution.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'exec-xxx',
- ],
+ 'schema' => ['description' => 'The name of the template. The name can be 1 to 200 characters in length and can contain letters, digits, hyphens (-), and underscores (\\_). The name cannot start with ALIYUN, ACS, ALIBABA, or ALICLOUD.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'MyTemplate', 'title' => ''],
],
[
- 'name' => 'TaskExecutionId',
+ 'name' => 'Content',
'in' => 'query',
- 'schema' => [
- 'description' => 'The execution ID of the task.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'exec-1234567zxcvb.t0010',
- ],
+ 'schema' => ['description' => 'The content of the template. The content must be in the JSON or YAML format, and its maximum size is 64 KB.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '{"FormatVersion": "OOS-2019-06-01", "Description": "Describe instances of given status", "Parameters": {"Status": {"Type": "String", "Description": "(Required) The status of the Ecs instance."}}, "Tasks": [{"Properties": {"Parameters": {"Status": "{{ Status }}"}, "API": "DescribeInstances", "Service": "Ecs"}, "Name": "foo", "Action": "ACS::ExecuteApi"}]}', 'title' => ''],
],
[
- 'name' => 'LogType',
+ 'name' => 'Tags',
'in' => 'query',
- 'schema' => [
- 'description' => 'The type of the log.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'System',
- ],
+ 'style' => 'json',
+ 'schema' => ['description' => 'The tag keys and tag values. The number of key-value pairs ranges from 1 to 20.'."\n", 'type' => 'object', 'required' => false, 'example' => '{"k1":"v1","k2":"v2"}', 'title' => ''],
],
[
- 'name' => 'MaxResults',
+ 'name' => 'VersionName',
'in' => 'query',
- 'schema' => [
- 'description' => 'The number of entries to return on each page.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '50',
- ],
+ 'schema' => ['description' => 'The name of the version of the template.'."\n", 'type' => 'string', 'required' => false, 'example' => 'v2', 'title' => ''],
],
[
- 'name' => 'NextToken',
+ 'name' => 'ResourceGroupId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The token that is used to retrieve the next page of results.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'MTRBMDc0NjAtRUJFNy00N0NBLTk3NTctMTJDQzQ3NjFENDdB',
- ],
+ 'schema' => ['description' => 'The ID of the resource group.'."\n", 'type' => 'string', 'required' => false, 'example' => 'rg-acfmxsn4m4******', 'title' => ''],
],
],
'responses' => [
@@ -3163,260 +2162,341 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'NextToken' => [
- 'description' => 'A pagination token. It can be used in the next request to retrieve a new page of results.'."\n",
- 'type' => 'string',
- 'example' => 'gAAAAABdpsGWjX8dJ-a6dl_pvoS7AFxNHSNJKHLCAJJ0ylgA53nWW5V4HTEZKCYTaEPNOrxFir4z43UTOjE150cFr8AGTifA==',
- ],
- 'RequestId' => [
- 'description' => 'The request ID.'."\n",
- 'type' => 'string',
- 'example' => '14A07460-EBE7-47CA-9757-12CC4761D47A',
- ],
- 'IsTruncated' => [
- 'description' => 'Indicates whether the log is truncated.'."\n",
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'MaxResults' => [
- 'description' => 'The number of entries per page.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '50',
- ],
- 'ExecutionLogs' => [
- 'description' => 'The logs of the execution.'."\n",
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'TaskExecutionId' => [
- 'description' => 'The task execution ID.'."\n",
- 'type' => 'string',
- 'example' => 'exec-1234567zxcvb.t0010',
- ],
- 'Message' => [
- 'description' => 'The details of the task execution.'."\n",
- 'type' => 'string',
- 'example' => 'The task CheckDiskCategory completed.',
- ],
- 'LogType' => [
- 'description' => 'The log type.'."\n",
- 'type' => 'string',
- 'example' => ' System',
- ],
- 'Timestamp' => [
- 'description' => 'The timestamp when the task was run.'."\n",
- 'type' => 'string',
- 'example' => '2019-05-24T:02:29:07Z',
- ],
- ],
+ 'TemplateType' => ['description' => 'The type of the template.'."\n", 'type' => 'string', 'example' => 'Private', 'title' => ''],
+ 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '20758A-585D-4A41-A9B2-28DA8F4F534F', 'title' => ''],
+ 'Template' => [
+ 'description' => 'The metadata of the template.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'Hash' => ['description' => 'The SHA-256 value of the template content.'."\n", 'type' => 'string', 'example' => '4bc7d7a21b3e003434b9c223f6e6d2578b5ebfeb5be28c1fcf8a8a1b11907bb4', 'title' => ''],
+ 'UpdatedDate' => ['description' => 'The time when the template was last updated.'."\n", 'type' => 'string', 'example' => '2019-05-16T10:26:14Z', 'title' => ''],
+ 'UpdatedBy' => ['description' => 'The Alibaba Cloud account that last modified the information about the template.'."\n", 'type' => 'string', 'example' => 'root(130900000)', 'title' => ''],
+ 'Tags' => ['description' => 'The tags of the resources.'."\n", 'type' => 'object', 'example' => '{ "k1":"v1", "k2":"v2" }', 'title' => ''],
+ 'TemplateName' => ['description' => 'The name of the template.'."\n", 'type' => 'string', 'example' => 'MyTemplate', 'title' => ''],
+ 'TemplateVersion' => ['description' => 'The version of the template. The name of the version consists of the letter v and a number. The number starts from 1.'."\n", 'type' => 'string', 'example' => 'v1', 'title' => ''],
+ 'TemplateFormat' => ['description' => 'The format of the template. The system automatically determines whether the format is JSON or YAML.'."\n", 'type' => 'string', 'example' => 'JSON', 'title' => ''],
+ 'Description' => ['description' => 'The description of the template.'."\n", 'type' => 'string', 'example' => 'Describe instances of given status', 'title' => ''],
+ 'ResourceGroupId' => ['description' => 'The ID of the resource group.'."\n", 'type' => 'string', 'example' => 'rg-acfmxsn4m4******', 'title' => ''],
+ 'CreatedBy' => ['description' => 'The creator of the template.'."\n", 'type' => 'string', 'example' => 'root(13090000)', 'title' => ''],
+ 'CreatedDate' => ['description' => 'The time when the template was created.'."\n", 'type' => 'string', 'example' => '2019-05-16T10:26:14Z', 'title' => ''],
+ 'TemplateId' => ['description' => 'The ID of the template.'."\n", 'type' => 'string', 'example' => 't-94753d38', 'title' => ''],
+ 'HasTrigger' => ['description' => 'Indicates whether the template was configured with a trigger.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''],
+ 'ShareType' => ['description' => 'The share type of the template. The share type of the template that you create is Private.'."\n", 'type' => 'string', 'example' => 'Private', 'title' => ''],
],
+ 'title' => '',
+ 'example' => '',
],
],
'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"NextToken\\": \\"gAAAAABdpsGWjX8dJ-a6dl_pvoS7AFxNHSNJKHLCAJ:J0ylgA53nWW5V4HTEZKCYTaEPNOrxFir4z43UTOjE150cFr8AGTifA==\\",\\n \\"RequestId\\": \\"14A07460-EBE7-47CA-9757-12CC4761D47A\\",\\n \\"IsTruncated\\": true,\\n \\"MaxResults\\": 50,\\n \\"ExecutionLogs\\": [\\n {\\n \\"TaskExecutionId\\": \\"exec-1234567zxcvb.t0010\\",\\n \\"Message\\": \\"The task CheckDiskCategory completed.\\",\\n \\"LogType\\": \\" System\\",\\n \\"Timestamp\\": \\"2019-05-24T:02:29:07Z\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<code>200</code>\\n<data>\\n <NextToken>gAAAAABdpsY7X-3ZUoNUxqiny_gx3zXfJ3HHHSKJDq3UAp6dQ-p7qJ2ZLtivu2LhpMiPe0P9eVP_76cO0cUgF5jFFj5Ut6g==</NextToken>\\n <RequestId>0ABABABA-68A0-4DF2-8DCB-1DB8FE3A1CF1</RequestId>\\n <ExecutionLogs>\\n <Message>The task waitDataRecover waiting. Sleep estimated finish time (2019-10-16 07:27:35.615945)</Message>\\n <LogType>System</LogType>\\n <Timestamp>2019-10-16T07:26:35Z</Timestamp>\\n <TaskExecutionId>exec-00eb84dd8143440da047.t0001</TaskExecutionId>\\n </ExecutionLogs>\\n <ExecutionLogs>\\n <Message>The task waitDataRecover started.</Message>\\n <LogType>System</LogType>\\n <Timestamp>2019-10-16T07:26:35Z</Timestamp>\\n <TaskExecutionId>exec-00eb84dd8143440da047.t0001</TaskExecutionId>\\n </ExecutionLogs>\\n <MaxResults>20</MaxResults>\\n <IsTruncated>true</IsTruncated>\\n</data>\\n<requestId>04ABABAAB5-68A0-4DF2-8DCB-1DB8FE3A1CF1</requestId>\\n<successResponse>true</successResponse>","errorExample":""}]',
- 'title' => 'ListExecutionLogs',
- 'description' => '****',
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"TemplateType\\": \\"Private\\",\\n \\"RequestId\\": \\"20758A-585D-4A41-A9B2-28DA8F4F534F\\",\\n \\"Template\\": {\\n \\"Hash\\": \\"4bc7d7a21b3e003434b9c223f6e6d2578b5ebfeb5be28c1fcf8a8a1b11907bb4\\",\\n \\"UpdatedDate\\": \\"2019-05-16T10:26:14Z\\",\\n \\"UpdatedBy\\": \\"root(130900000)\\",\\n \\"Tags\\": {\\n \\"k1\\": \\"v1\\",\\n \\"k2\\": \\"v2\\"\\n },\\n \\"TemplateName\\": \\"MyTemplate\\",\\n \\"TemplateVersion\\": \\"v1\\",\\n \\"TemplateFormat\\": \\"JSON\\",\\n \\"Description\\": \\"Describe instances of given status\\",\\n \\"ResourceGroupId\\": \\"rg-acfmxsn4m4******\\",\\n \\"CreatedBy\\": \\"root(13090000)\\",\\n \\"CreatedDate\\": \\"2019-05-16T10:26:14Z\\",\\n \\"TemplateId\\": \\"t-94753d38\\",\\n \\"HasTrigger\\": true,\\n \\"ShareType\\": \\"Private\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"<CreateTemplateResponse>\\n <RequestId>20758A-585D-4A41-A9B2-28DA8F4F534F</RequestId>\\n <Template>\\n <CreatedBy>root(130900000)</CreatedBy>\\n <CreatedDate>2019-05-27T08:46:33Z</CreatedDate>\\n <UpdatedBy>root(1309000000)</UpdatedBy>\\n <UpdatedDate>2019-05-27T08:46:33Z</UpdatedDate>\\n <Description>Describe instances of given status</Description>\\n <Hash>4bc7d7a21b3e003434b9c223f6e6d2578b5ebfeb5be28c1fcf8a8a1b11907bb4</Hash>\\n <ShareType>Private</ShareType>\\n <Tags>\\n <k1>v1</k1>\\n <k2>v2</k2>\\n </Tags>\\n <ResourceGroupId>rg-acfmxsn4m4******</ResourceGroupId>\\n <TemplateFormat>JSON</TemplateFormat>\\n <TemplateName>MyTemplate</TemplateName>\\n <TemplateId>t-94753eeaef8</TemplateId>\\n <TemplateVersion>v1</TemplateVersion>\\n </Template>\\n</CreateTemplateResponse>","errorExample":""}]',
+ 'title' => 'CreateTemplate',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'ListTaskExecutions' => [
- 'summary' => 'Queries task executions. Multiple methods are supported to filter task executions.',
- 'methods' => [
- 'post',
- 'get',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'CreateTemplate'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'oos:CreateTemplate',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [
+ ['conditionKey' => 'oos:tag', 'validationType' => 'always'],
+ ['conditionKey' => 'oos:TLSVersion'],
+ ],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'OOS', 'resourceType' => 'Template', 'arn' => 'acs:oos:{#regionId}:{#accountId}:template/*'],
+ ],
+ ],
+ 'additionalActions' => [
+ ['action' => 'ram:PassRole', 'validationType' => 'always'],
+ ],
+ ],
],
+ ],
+ 'DeleteApplication' => [
+ 'summary' => 'Deletes an application. You can call this operation only for the applications that reside in the China (Hangzhou) region. Use an endpoint of the China (Hangzhou) region.',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'read',
+ 'operationType' => 'write',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'get',
- 'abilityTreeCode' => '93990',
- 'abilityTreeNodes' => [
- 'FEATUREoosQL14T7',
- ],
+ 'operationType' => 'delete',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '93946',
+ 'abilityTreeNodes' => ['FEATUREoosXBZWHV'],
+ 'autoTest' => true,
+ 'tenantRelevance' => 'publicInformation',
],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
'schema' => [
- 'description' => 'The ID of the execution.'."\n",
+ 'description' => 'The region ID. Set the value to cn-hangzhou.'."\n",
'type' => 'string',
'required' => false,
+ 'enumValueTitles' => [],
'example' => 'cn-hangzhou',
+ 'title' => '',
],
],
[
- 'name' => 'ExecutionId',
+ 'name' => 'Name',
'in' => 'query',
- 'schema' => [
- 'description' => 'The status of the execution. Valid values: Running, Started, Success, Failed, Waiting, Cancelled, Pending, and Skipped.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'exec-xxx',
- ],
+ 'schema' => ['description' => 'The application name.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'MyApplication', 'title' => ''],
],
[
- 'name' => 'Status',
+ 'name' => 'Force',
'in' => 'query',
- 'schema' => [
- 'description' => 'Specifies to query task executions that start to run at or before the specified time.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'Running',
- ],
+ 'schema' => ['description' => 'Specifies whether to forcibly delete the application. Valid values:'."\n"
+ ."\n"
+ .'* true'."\n"
+ .'* false'."\n", 'type' => 'boolean', 'required' => false, 'example' => 'false', 'title' => ''],
],
[
- 'name' => 'StartDateBefore',
+ 'name' => 'RetainResource',
'in' => 'query',
+ 'schema' => ['description' => 'Specifies whether to retain resources created by application manager when deleting the application. Valid values:'."\n"
+ .'- true'."\n"
+ .'- false', 'type' => 'boolean', 'required' => false, 'example' => 'false', 'title' => ''],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
'schema' => [
- 'description' => 'Specifies to query task executions that start to run at or later than the specified time.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => '2019-05-16T10:26:14Z',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '37A9F0FD-51D0-58D5-B91F-DF570281556B', 'title' => ''],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
+ ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"37A9F0FD-51D0-58D5-B91F-DF570281556B\\"\\n}","type":"json"}]',
+ 'title' => 'DeleteApplication',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteApplication'],
+ ],
+ ],
+ 'ramActions' => [
[
- 'name' => 'StartDateAfter',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'Specifies to query task executions that stop running at or before the specified time.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => '2019-05-16T10:26:14Z',
+ 'operationType' => 'delete',
+ 'ramAction' => [
+ 'action' => 'oos:DeleteApplication',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [
+ ['conditionKey' => 'oos:TLSVersion'],
+ ],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'OOS', 'resourceType' => 'Application', 'arn' => 'acs:oos:{#regionId}:{#accountId}:application/{#ApplicationName}'],
+ ],
],
],
+ ],
+ ],
+ 'DeleteApplicationGroup' => [
+ 'summary' => 'Deletes an application group. You can call this operation only for the application groups which reside in the China (Hangzhou) region. Use an endpoint of the China (Hangzhou) region.',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
[
- 'name' => 'EndDateBefore',
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'delete',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '93947',
+ 'abilityTreeNodes' => ['FEATUREoos1PL94A'],
+ 'autoTest' => true,
+ 'tenantRelevance' => 'publicInformation',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => 'Specifies to query task executions that stop running at or later than the specified time.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => '2019-05-16T10:26:14Z',
- ],
+ 'schema' => ['description' => 'The ID of the region. Set the value to cn-hangzhou.'."\n", 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''],
],
[
- 'name' => 'EndDateAfter',
+ 'name' => 'Name',
'in' => 'query',
- 'schema' => [
- 'description' => 'The execution ID of the task.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => '2019-05-16T10:26:14Z',
- ],
+ 'schema' => ['description' => 'The name of the application group.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'MyApplicationGroup', 'title' => ''],
],
[
- 'name' => 'TaskExecutionId',
+ 'name' => 'ApplicationName',
'in' => 'query',
- 'schema' => [
- 'description' => 'The name of the task.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'task-exec-xxx',
- ],
+ 'schema' => ['description' => 'The name of the application.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'MyApplication', 'title' => ''],
],
[
- 'name' => 'TaskName',
+ 'name' => 'RetainResource',
'in' => 'query',
+ 'schema' => ['description' => 'Specifies whether to retain resources created by application manager when deleting the application. Valid values:'."\n"
+ .'- true'."\n"
+ .'- false', 'type' => 'boolean', 'required' => false, 'example' => 'false', 'title' => ''],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
'schema' => [
- 'description' => 'The action of the task.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'describeInstance',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '9E011F98-4EE5-5E3A-8FA3-D38F2C531C1F', 'title' => ''],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
+ ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"9E011F98-4EE5-5E3A-8FA3-D38F2C531C1F\\"\\n}","type":"json"}]',
+ 'title' => 'DeleteApplicationGroup',
+ 'changeSet' => [],
+ 'ramActions' => [
[
- 'name' => 'TaskAction',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The execution ID of the parent node. In a loop task, set this parameter to the execution ID of the parent node.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'ACS::Sleep',
+ 'operationType' => 'delete',
+ 'ramAction' => [
+ 'action' => 'oos:DeleteApplicationGroup',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [
+ ['conditionKey' => 'oos:TLSVersion'],
+ ],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'OOS', 'resourceType' => 'ApplicationGroup', 'arn' => 'acs:oos:{#regionId}:{#AccountId}:application/{#applicationName}/applicationgroup/{#applicationGroupName}'],
+ ],
],
],
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteApplicationGroup'],
+ ],
+ ],
+ ],
+ 'DeleteChatConfiguration' => [
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
+ 'security' => [
[
- 'name' => 'ParentTaskExecutionId',
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'create',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREoosQL14T7'],
+ 'autoTest' => true,
+ 'tenantRelevance' => 'publicInformation',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => 'Specifies whether to show the child nodes in the loop task. Default value: False.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'task-exec-xxx',
- ],
+ 'schema' => ['description' => 'The region ID.', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''],
],
[
- 'name' => 'IncludeChildTaskExecution',
+ 'name' => 'Name',
'in' => 'query',
+ 'schema' => ['description' => 'The configuration name.', 'type' => 'string', 'required' => false, 'example' => 'TestChatConfig-9be97b40', 'title' => ''],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
'schema' => [
- 'description' => 'The number of entries to return on each page. Valid values: 20 to 100. Default value: 50.'."\n",
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'false',
+ 'type' => 'object',
+ 'properties' => [
+ 'Content' => ['description' => 'The response message that describes the result of the request.', 'type' => 'string', 'title' => '', 'example' => 'Chat configuration deleted successfully.'],
+ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => '4DB0****1234'],
+ ],
+ 'title' => '',
+ 'description' => 'The details of the successful response.',
+ 'example' => '',
],
],
+ ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => 'DeleteChatConfiguration',
+ 'summary' => 'Use this operation to create, update, query, and delete chat configurations for platforms such as DingTalk.',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [
[
- 'name' => 'MaxResults',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The token that is used to retrieve the next page of results.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '50',
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'oos:DeleteChatConfiguration',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'OOS', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
],
],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Content\\": \\"Chat configuration deleted successfully.\\",\\n \\"RequestId\\": \\"4DB0****1234\\"\\n}","type":"json"}]',
+ ],
+ 'DeleteExecutions' => [
+ 'summary' => 'Deletes executions.',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'delete',
+ 'abilityTreeCode' => '93948',
+ 'abilityTreeNodes' => ['FEATUREoosQL14T7'],
+ ],
+ 'parameters' => [
[
- 'name' => 'NextToken',
+ 'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => 'Sorts the task executions to query. Valid values:'."\n"
- ."\n"
- .'* **StartDate**: specifies that the task executions are sorted based on the time when they are created. This is the default value.'."\n"
- .'* **EndDate**: specifies that the task executions are sorted based on the time when the time when they stop running.'."\n"
- .'* **Status**: specifies that the task executions are sorted based on their statuses.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'MTRBMDc0NjAtRUJFNy00N0NBLTk3NTctMTJDQzQ3NjFENDdB',
- ],
+ 'schema' => ['description' => 'The region ID.'."\n", 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''],
],
[
- 'name' => 'SortField',
+ 'name' => 'ExecutionIds',
'in' => 'query',
- 'schema' => [
- 'description' => 'The order in which you want to sort the task executions to query. Valid values:'."\n"
- ."\n"
- .'* **Ascending**: ascending order.'."\n"
- .'* **Descending**: descending order. This is the default value.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'StartDate',
- ],
+ 'schema' => ['description' => 'The execution IDs.'."\n"
+ ."\n"
+ .'You can specify multiple execution IDs in a JSON array in the format of `["xxxxxxxxx", "yyyyyyyyy", ... "zzzzzzzzz"]`. You can specify up to 100 execution IDs at a time. Separate multiple IDs with commas (,).'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '["exec-xxx"]', 'title' => ''],
],
[
- 'name' => 'SortOrder',
+ 'name' => 'Force',
'in' => 'query',
- 'schema' => [
- 'description' => 'The token that is used to retrieve the next page of results.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'Ascending',
- ],
+ 'schema' => ['description' => 'Whether to force delete the running task, the default value is false.', 'type' => 'boolean', 'required' => false, 'example' => 'false', 'title' => ''],
],
],
'responses' => [
@@ -3424,206 +2504,77 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'NextToken' => [
- 'description' => 'The ID of the request.'."\n",
- 'type' => 'string',
- 'example' => 'MTRBMDc0NjAtRUJFNy00N0NBLTk3NTctMTJDQzQ3NjFENDdB',
- ],
- 'RequestId' => [
- 'description' => 'The number of entries returned on each page.'."\n",
- 'type' => 'string',
- 'example' => 'CDABABABAB-FC28-4D9C-8FB5-68DC6F0486FC',
- ],
- 'MaxResults' => [
- 'description' => 'The details of the task executions.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '50',
- ],
- 'TaskExecutions' => [
- 'description' => 'The execution ID of the child node.'."\n",
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'ChildExecutionId' => [
- 'description' => 'The output of the execution.'."\n",
- 'type' => 'string',
- 'example' => 'exec-xxx',
- ],
- 'Outputs' => [
- 'description' => 'The status of the task.'."\n",
- 'type' => 'string',
- 'example' => '{ "InstanceId":"i-xxx" }',
- ],
- 'Status' => [
- 'description' => 'The time when the task execution stopped running.'."\n",
- 'type' => 'string',
- 'example' => 'Running',
- ],
- 'EndDate' => [
- 'description' => 'The execution ID of the parent node.'."\n",
- 'type' => 'string',
- 'example' => '2019-05-16T10:26:14Z',
- ],
- 'ParentTaskExecutionId' => [
- 'description' => 'The name of the task.'."\n",
- 'type' => 'string',
- 'example' => 'task-exec-xxx',
- ],
- 'TaskName' => [
- 'description' => 'The time when the execution started.'."\n",
- 'type' => 'string',
- 'example' => 'describeInstance ',
- ],
- 'StartDate' => [
- 'description' => 'The elements in the loop task.'."\n",
- 'type' => 'string',
- 'example' => '2019-05-16T10:26:14Z',
- ],
- 'LoopItem' => [
- 'description' => 'The time when the execution was created.'."\n",
- 'type' => 'string',
- 'example' => 'i-1234566zxcvvb',
- ],
- 'CreateDate' => [
- 'description' => 'The ID of the execution.'."\n",
- 'type' => 'string',
- 'example' => '2019-05-16T10:26:14Z',
- ],
- 'ExecutionId' => [
- 'description' => 'The action of the task.'."\n",
- 'type' => 'string',
- 'example' => 'exec-44d32b45d2a449e49899',
- ],
- 'TaskAction' => [
- 'description' => 'The execution ID of the task.'."\n",
- 'type' => 'string',
- 'example' => 'ACS::Sleep',
- ],
- 'TaskExecutionId' => [
- 'description' => 'The time when the execution was last updated.'."\n",
- 'type' => 'string',
- 'example' => 'task-exec-xxx',
- ],
- 'UpdateDate' => [
- 'description' => 'The configuration and statistics information of the loop task. This parameter is returned only for the parent node of the loop task.'."\n",
- 'type' => 'string',
- 'example' => '2019-05-16T10:26:14Z',
- ],
- 'Loop' => [
- 'description' => 'The ID of the template.'."\n",
- 'type' => 'object',
- 'example' => '{}',
- ],
- 'TemplateId' => [
- 'description' => 'The number of times for which the loop task is run.'."\n",
- 'type' => 'string',
- 'example' => 'xxx',
- ],
- 'LoopBatchNumber' => [
- 'description' => 'The status information of the task execution.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '2',
- ],
- 'StatusMessage' => [
- 'description' => 'The additional information.'."\n",
- 'type' => 'string',
- 'example' => '""',
- ],
- 'ExtraData' => [
- 'description' => 'The Input parameters of the task execution.'."\n",
- 'type' => 'object',
- 'example' => '{ "NotifyNote":"" }',
- ],
- 'Properties' => [
- 'description' => 'Queries task executions. Multiple methods are supported to filter task executions.'."\n",
- 'type' => 'string',
- 'example' => '{ "Status":"Running" }',
- ],
- ],
- ],
- ],
+ 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '491DF8C2-34C9-4679-9DB3-4C0F49B129AC', 'title' => ''],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"NextToken\\": \\"MTRBMDc0NjAtRUJFNy00N0NBLTk3NTctMTJDQzQ3NjFENDdB\\",\\n \\"RequestId\\": \\"CDABABABAB-FC28-4D9C-8FB5-68DC6F0486FC\\",\\n \\"MaxResults\\": 50,\\n \\"TaskExecutions\\": [\\n {\\n \\"ChildExecutionId\\": \\"exec-xxx\\",\\n \\"Outputs\\": \\"{ \\\\\\"InstanceId\\\\\\":\\\\\\"i-xxx\\\\\\" }\\",\\n \\"Status\\": \\"Running\\",\\n \\"EndDate\\": \\"2019-05-16T10:26:14Z\\",\\n \\"ParentTaskExecutionId\\": \\"task-exec-xxx\\",\\n \\"TaskName\\": \\"describeInstance\\\\t\\",\\n \\"StartDate\\": \\"2019-05-16T10:26:14Z\\",\\n \\"LoopItem\\": \\"i-1234566zxcvvb\\",\\n \\"CreateDate\\": \\"2019-05-16T10:26:14Z\\",\\n \\"ExecutionId\\": \\"exec-44d32b45d2a449e49899\\",\\n \\"TaskAction\\": \\"ACS::Sleep\\",\\n \\"TaskExecutionId\\": \\"task-exec-xxx\\",\\n \\"UpdateDate\\": \\"2019-05-16T10:26:14Z\\",\\n \\"Loop\\": {},\\n \\"TemplateId\\": \\"xxx\\",\\n \\"LoopBatchNumber\\": 2,\\n \\"StatusMessage\\": \\"\\\\\\"\\\\\\"\\",\\n \\"ExtraData\\": {\\n \\"NotifyNote\\": \\"\\"\\n },\\n \\"Properties\\": \\"{ \\\\\\"Status\\\\\\":\\\\\\"Running\\\\\\" }\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<code>200</code>\\n<data>\\n <RequestId>CDABABABAB-FC28-4D9C-8FB5-68DC6F0486FC</RequestId>\\n <MaxResults>100</MaxResults>\\n <TaskExecutions>\\n <Status>Success</Status>\\n <Loop/>\\n <TaskAction>ACS::Sleep</TaskAction>\\n <ExtraData>\\n <NotifyNote/>\\n </ExtraData>\\n <Properties>\\n <Duration>PT1M</Duration>\\n </Properties>\\n <CreateDate>2019-10-16T07:45:09Z</CreateDate>\\n <EndDate>2019-10-16T07:46:10Z</EndDate>\\n <StatusMessage>Sleep estimated finish time (2019-10-16 07:46:09.502154)</StatusMessage>\\n <StartDate>2019-10-16T07:45:09Z</StartDate>\\n <UpdateDate>2019-10-16T07:46:10Z</UpdateDate>\\n <LoopItem/>\\n <TaskName>waitDataRecover</TaskName>\\n <Outputs/>\\n <TaskExecutionId>exec-934bc37ea31f4b9e9312.t0001</TaskExecutionId>\\n <ExecutionId>exec-934bc37ea31f4b9e9312</ExecutionId>\\n </TaskExecutions>\\n</data>\\n<requestId>CDABABABAB-FC28-4D9C-8FB5-68DC6F0486FC</requestId>\\n<successResponse>true</successResponse>","errorExample":""}]',
- 'title' => 'ListTaskExecutions',
- 'requestParamsDescription' => ' ',
- 'responseParamsDescription' => ' ',
- 'extraInfo' => ' ',
- ],
- 'ListResourceExecutionStatus' => [
- 'summary' => 'Queries the information about a scheduled execution that involves O\\&M operations on Elastic Compute Service (ECS) instances.',
- 'methods' => [
- 'post',
- 'get',
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"491DF8C2-34C9-4679-9DB3-4C0F49B129AC\\"\\n}","type":"json"}]',
+ 'title' => 'DeleteExecutions',
+ 'changeSet' => [],
+ 'ramActions' => [
+ [
+ 'operationType' => 'delete',
+ 'ramAction' => [
+ 'action' => 'oos:DeleteExecutions',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [
+ ['conditionKey' => 'oos:tag', 'validationType' => 'always'],
+ ['conditionKey' => 'oos:TLSVersion'],
+ ],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'OOS', 'resourceType' => 'Execution', 'arn' => 'acs:oos:{#regionId}:{#accountId}:execution/{#executionId}'],
+ ],
+ ],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DeleteExecutions'],
+ ],
],
+ ],
+ 'DeleteOpsItems' => [
+ 'summary' => 'Deletes O\\\\\\&M Items.',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'read',
+ 'operationType' => 'write',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'get',
- 'abilityTreeCode' => '93983',
- 'abilityTreeNodes' => [
- 'FEATUREoosQL14T7',
- ],
+ 'operationType' => 'delete',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '267489',
+ 'abilityTreeNodes' => ['FEATUREoosWQ256S'],
+ 'tenantRelevance' => 'publicInformation',
],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The ID of the region.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'docRequired' => true,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => 'The region ID.'."\n", 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''],
],
[
- 'name' => 'ExecutionId',
+ 'name' => 'OpsItemIds',
'in' => 'query',
+ 'style' => 'repeatList',
'schema' => [
- 'description' => 'The ID of the execution.'."\n",
- 'type' => 'string',
+ 'description' => 'The IDs of O\\&M items.'."\n",
+ 'type' => 'array',
+ 'items' => ['description' => 'The ID of the O\\&M item.'."\n", 'type' => 'string', 'required' => false, 'example' => '[\'oi-54ad6ec45fbd4ec1a100\']', 'title' => ''],
'required' => true,
'docRequired' => true,
- 'example' => 'exec-xxxxxxxxxxxx',
- ],
- ],
- [
- 'name' => 'MaxResults',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The number of entries to return on each page. Valid values: 10 to 100. Default value: 50.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'docRequired' => false,
- 'maximum' => '100',
- 'minimum' => '10',
- 'example' => '50',
- ],
- ],
- [
- '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' => 'MTRBMDc0NjAtRUJFNy00N0NBLTk3NTctMTJDQzQ',
+ 'maxItems' => 100,
+ 'title' => '',
+ 'example' => '',
],
],
],
@@ -3632,125 +2583,67 @@
'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' => 'MTRBMDc0NjAtRUJFNy00N0NBLTk3NTctMTJDQzQ',
- ],
- 'RequestId' => [
- 'description' => 'The ID of the request.'."\n",
- 'type' => 'string',
- 'example' => 'ED571CBD-9F96-419D-B919-CF340BBCA157',
- ],
- 'MaxResults' => [
- 'description' => 'The number of entries returned on each page.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '50',
- ],
- 'ResourceExecutionStatus' => [
- 'description' => 'The execution information of the resource.'."\n",
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'Outputs' => [
- 'description' => 'The output of the template.'."\n",
- 'type' => 'string',
- 'example' => '{ "commandOutput": "hello\\n" }',
- ],
- 'Status' => [
- 'description' => 'The status of the execution.'."\n",
- 'type' => 'string',
- 'example' => 'Success',
- ],
- 'ExecutionTime' => [
- 'description' => 'The time when the execution started running.'."\n",
- 'type' => 'string',
- 'example' => '2020-11-13T08:48:34Z',
- ],
- 'ResourceId' => [
- 'description' => 'The ID of the resource.'."\n",
- 'type' => 'string',
- 'example' => 'i-bp1e1bxxxxxxxxxxxxxx',
- ],
- 'ExecutionId' => [
- 'description' => 'The ID of the execution.'."\n",
- 'type' => 'string',
- 'example' => 'exec-6be6d6ff805349d9ac13',
- ],
- ],
- ],
- ],
+ 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => 'DBA6E6C8-F75D-41DE-AFF5-1FA03F551CA3', 'title' => ''],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'errorCodes' => [
- 400 => [
- [
- 'errorCode' => 'InvalidParameter',
- 'errorMessage' => 'The parameter is invalid.',
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"DBA6E6C8-F75D-41DE-AFF5-1FA03F551CA3\\"\\n}","type":"json"}]',
+ 'title' => 'DeleteOpsItems',
+ 'changeSet' => [],
+ 'ramActions' => [
+ [
+ 'operationType' => 'delete',
+ 'ramAction' => [
+ 'action' => 'oos:DeleteOpsItems',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [
+ ['conditionKey' => 'oos:tag', 'validationType' => 'always'],
+ ['conditionKey' => 'oos:TLSVersion'],
+ ],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'OOS', 'resourceType' => 'OpsItem', 'arn' => 'acs:oos:{#regionId}:{#accountId}:opsitem/{#OpsItemId}'],
+ ],
],
],
- 404 => [
- [
- 'errorCode' => 'EntityNotExists.Execution',
- 'errorMessage' => 'The specified execution does not exist.',
- ],
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DeleteOpsItems'],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"NextToken\\": \\"MTRBMDc0NjAtRUJFNy00N0NBLTk3NTctMTJDQzQ\\",\\n \\"RequestId\\": \\"ED571CBD-9F96-419D-B919-CF340BBCA157\\",\\n \\"MaxResults\\": 50,\\n \\"ResourceExecutionStatus\\": [\\n {\\n \\"Outputs\\": \\"{ \\\\t\\\\t\\\\t\\\\t\\\\\\"commandOutput\\\\\\": \\\\\\"hello\\\\\\\\n\\\\\\" \\\\t\\\\t\\\\t}\\",\\n \\"Status\\": \\"Success\\",\\n \\"ExecutionTime\\": \\"2020-11-13T08:48:34Z\\",\\n \\"ResourceId\\": \\"i-bp1e1bxxxxxxxxxxxxxx\\",\\n \\"ExecutionId\\": \\"exec-6be6d6ff805349d9ac13\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<RequestId>ED571CBD-9F96-419D-B919-CF340BBCA157</RequestId>\\n<ResourceExecutionStatus>\\n <Status>Success</Status>\\n <ExecutionTime>2020-11-13T08:48:34Z</ExecutionTime>\\n <ResourceId>i-bp1e1bxxxxxxxxxxxxxx</ResourceId>\\n <Outputs>\\n <commandOutput>hello\\n</commandOutput>\\n </Outputs>\\n <ExecutionId>exec-6be6d6ff805349d9ac13</ExecutionId>\\n</ResourceExecutionStatus>\\n<MaxResults>50</MaxResults>","errorExample":""}]',
- 'title' => 'ListResourceExecutionStatus',
- 'requestParamsDescription' => ' ',
- 'responseParamsDescription' => ' ',
- 'extraInfo' => ' ',
],
- 'CancelExecution' => [
- 'summary' => 'Cancels an execution.',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'DeleteParameter' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'read',
+ 'operationType' => 'write',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'update',
- 'abilityTreeCode' => '93937',
- 'abilityTreeNodes' => [
- 'FEATUREoosQL14T7',
- ],
+ 'operationType' => 'delete',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '93949',
+ 'abilityTreeNodes' => ['FEATUREoosMR618F'],
+ 'tenantRelevance' => 'publicInformation',
],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The ID of the region.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => 'The region ID.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'cn-hangzhou'],
],
[
- 'name' => 'ExecutionId',
+ 'name' => 'Name',
'in' => 'query',
- 'schema' => [
- 'description' => 'The ID of the execution.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'exec-xxx',
- ],
+ 'schema' => ['description' => 'The name of the parameter. The name can be up to 180 characters in length and can contain letters, digits, hyphens (-), and underscores (\\_). The name cannot start with aliyun, acs, alibaba, alicloud, or oos.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'title' => '', 'example' => 'MyParameter'],
],
],
'responses' => [
@@ -3758,99 +2651,136 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => 'The ID of the request.'."\n",
- 'type' => 'string',
- 'example' => '14A07460-EBE7-47CA-9757-12CC4761D47A',
- ],
+ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => 'C0D02BDF-77F6-49F2-95C9-8E87121D2979'],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"14A07460-EBE7-47CA-9757-12CC4761D47A\\"\\n}","errorExample":""},{"type":"xml","example":"<CancelExecutionResponse>\\r\\n <RequestId>491DF8C2-34C9-4679-9DB3-4C0F49B129AC</RequestId>\\r\\n</CancelExecutionResponse>","errorExample":""}]',
- 'title' => 'CancelExecution',
- 'requestParamsDescription' => ' ',
- 'responseParamsDescription' => ' ',
- 'extraInfo' => ' ',
- ],
- 'GenerateExecutionPolicy' => [
- 'summary' => 'Queries the Resource Access Management (RAM) policy required for template execution.',
- 'methods' => [
- 'post',
- 'get',
+ 'title' => 'DeleteParameter',
+ 'summary' => 'Deletes common parameter.',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DeleteParameter'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'delete',
+ 'ramAction' => [
+ 'action' => 'oos:DeleteParameter',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [
+ ['conditionKey' => 'oos:TLSVersion'],
+ ],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'OOS', 'resourceType' => 'parameter', 'arn' => 'acs:oos:{#regionId}:{#accountId}:parameter/{#parameterName}'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"C0D02BDF-77F6-49F2-95C9-8E87121D2979\\"\\n}","type":"json"}]',
+ ],
+ 'DeletePatchBaseline' => [
+ 'summary' => 'Deletes a patch baseline.',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'readAndWrite',
+ 'operationType' => 'write',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'get',
+ 'operationType' => 'delete',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeCode' => '93956',
- 'abilityTreeNodes' => [
- 'FEATUREoosQL14T7',
- ],
+ 'abilityTreeCode' => '93950',
+ 'abilityTreeNodes' => ['FEATUREoosSVNQOE'],
'tenantRelevance' => 'publicInformation',
],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The ID of the region.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => 'The ID of the region.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'cn-hangzhou'],
],
[
- 'name' => 'TemplateName',
+ 'name' => 'Name',
'in' => 'query',
+ 'schema' => ['description' => 'The name of the patch baseline.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'title' => '', 'example' => 'MyPatchBaseline'],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
'schema' => [
- 'description' => 'The name of the template.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'docRequired' => true,
- 'example' => 'vmeixme',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'title' => '', 'example' => '85197066-0209-5775-BBED-99DF9DA44E48'],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
+ ],
+ 'title' => 'DeletePatchBaseline',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DeletePatchBaseline'],
+ ],
+ ],
+ 'ramActions' => [
[
- 'name' => 'TemplateVersion',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The version of the template. The default value is the latest version of the template.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'v2',
+ 'operationType' => 'delete',
+ 'ramAction' => [
+ 'action' => 'oos:DeletePatchBaseline',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [
+ ['conditionKey' => 'oos:TLSVersion'],
+ ],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'OOS', 'resourceType' => 'PatchBaseline', 'arn' => 'acs:oos:{#regionId}:{#accountId}:patchbaseline/{#Name}'],
+ ],
],
],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"85197066-0209-5775-BBED-99DF9DA44E48\\"\\n}","type":"json"}]',
+ ],
+ 'DeleteSecretParameter' => [
+ 'summary' => 'Deletes an encrypted parameter. This operation requires permission to call the Key Management Service (KMS) DeleteSecret API.',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
[
- 'name' => 'RamRole',
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'delete',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '93951',
+ 'abilityTreeNodes' => ['FEATUREoosBA3MI8'],
+ 'tenantRelevance' => 'publicInformation',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The RAM role.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'AliyunServiceRoleForOOSBandwidthScheduler',
- ],
+ 'schema' => ['description' => 'The region ID.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'cn-hangzhou'],
],
[
- 'name' => 'TemplateContent',
+ 'name' => 'Name',
'in' => 'query',
- 'schema' => [
- 'description' => 'The content of the template in the JSON or YAML format. This parameter is the same as the Content parameter that you can specify when you call the CreateTemplate operation. You can use this parameter to specify the tasks that you want to run. This way, you do not need to create a template before you start an execution. If you select an existing template, you do not need to specify this parameter.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => '{ "Description": "Example template, describe instances in some status", "FormatVersion": "OOS-2019-06-01", "Parameters": {}, "Tasks": [ { "Name": "describeInstances", "Action": "ACS::ExecuteAPI", "Description": "desc-en", "Properties": { "Service": "ECS", "API": "DescribeInstances", "Parameters": { "Status": "Running" } } } ] }',
- ],
+ 'schema' => ['description' => 'The name of the encrypted parameter. The name can contain letters, digits, hyphens (-), and underscores (\\_). The name must be no more than 180 characters in length. The name cannot start with ALIYUN, ACS, ALIBABA, ALICLOUD, or OOS.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'title' => '', 'example' => 'MySecretParameter'],
],
],
'responses' => [
@@ -3858,41 +2788,45 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'Policy' => [
- 'description' => 'The RAM policy.'."\n",
- 'type' => 'string',
- 'example' => '{}',
- ],
- 'RequestId' => [
- 'description' => 'The ID of the request.'."\n",
- 'type' => 'string',
- 'example' => '14A07460-EBE7-47CA-9757-12CC4761D47A',
- ],
- 'MissingPolicy' => [
- 'description' => 'The policies that are missing.'."\n",
- 'type' => 'string',
- 'example' => '[{\'Action\': [\'ecs:DescribeInvocationResults\', \'ecs:DescribeInstances\', \'ecs:RunCommand\', \'ecs:DescribeInvocations\'], \'ServiceName\': \'ecs\', \'Resources\': \'*\'}]',
- ],
+ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => 'C0D02BDF-77F6-49F2-95C9-8E87121D1944'],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"Policy\\": \\"{}\\",\\n \\"RequestId\\": \\"14A07460-EBE7-47CA-9757-12CC4761D47A\\",\\n \\"MissingPolicy\\": \\"[{\'Action\': [\'ecs:DescribeInvocationResults\', \'ecs:DescribeInstances\', \'ecs:RunCommand\', \'ecs:DescribeInvocations\'], \'ServiceName\': \'ecs\', \'Resources\': \'*\'}]\\"\\n}","errorExample":""},{"type":"xml","example":"<GenerateExecutionPolicyResponse>\\r\\n <Policy>\\r\\n <Statement>\\r\\n <Action>ecs:InvokeCommand</Action>\\r\\n <Action>ecs:DeleteCommand</Action>\\r\\n <Action>ecs:DescribeInvocations</Action>\\r\\n <Action>ecs:DescribeInvocationResults</Action>\\r\\n <Action>ecs:CreateCommand</Action>\\r\\n <Action>ecs:DescribeInstances</Action>\\r\\n <Effect>Allow</Effect>\\r\\n <Resource>*</Resource>\\r\\n </Statement>\\r\\n <Version>1</Version>\\r\\n </Policy>\\r\\n <RequestId>C04B668D-D2DD-4B40-B6E9-0E3C4F53D5B5</RequestId>\\r\\n</GenerateExecutionPolicyResponse>","errorExample":""}]',
- 'title' => 'GenerateExecutionPolicy',
+ 'title' => 'DeleteSecretParameter',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'NotifyExecution' => [
- 'summary' => 'Notifies an execution in the Waiting state of the subsequent operations.',
- 'methods' => [
- 'post',
- 'get',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DeleteSecretParameter'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'delete',
+ 'ramAction' => [
+ 'action' => 'oos:DeleteSecretParameter',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [
+ ['conditionKey' => 'oos:TLSVersion'],
+ ],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'OOS', 'resourceType' => 'secretparameter', 'arn' => 'acs:oos:{#regionId}:{#accountId}:secretparameter/{#secretparameterName}'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"C0D02BDF-77F6-49F2-95C9-8E87121D1944\\"\\n}","type":"json"}]',
+ ],
+ 'DeleteStateConfigurations' => [
+ 'summary' => 'Deletes multiple desired-state configurations at a time.',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -3901,122 +2835,176 @@
'operationType' => 'write',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'update',
- 'abilityTreeCode' => '93993',
- 'abilityTreeNodes' => [
- 'FEATUREoosQL14T7',
- ],
+ 'operationType' => 'delete',
+ 'abilityTreeCode' => '93952',
+ 'abilityTreeNodes' => ['FEATUREoosLDUDPP'],
],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The ID of the region in which the execution resides.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => 'The region ID.'."\n", 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''],
],
[
- 'name' => 'ExecutionId',
+ 'name' => 'StateConfigurationIds',
'in' => 'query',
- 'schema' => [
- 'description' => 'The ID of the execution.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'exec-xxx',
- ],
+ 'schema' => ['description' => 'The IDs of desired-state configurations.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '["sc-asfgdhj12345"]', 'title' => ''],
],
[
- 'name' => 'NotifyType',
+ 'name' => 'ClientToken',
'in' => 'query',
+ 'schema' => ['description' => 'The client token that is used to ensure the idempotence of the request.'."\n", 'type' => 'string', 'required' => false, 'example' => 'abcde3OARpx77No54nv6', 'title' => ''],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
'schema' => [
- 'description' => 'The type of the notification. Valid values:'."\n"
- ."\n"
- .'* **ExecuteTask**: starts to run a specific task. This value is used if you perform debugging in the Debug mode. If you set this parameter to ExecuteTask, you also need to set the Parameters parameter.'."\n"
- .'* **CancelTask**: cancels a current task. This value is used if you perform debugging in the Debug mode.'."\n"
- .'* **CompleteExecution**: manually terminates an execution if you perform debugging in the Debug mode. You can specify the state of the terminated execution by using the **ExecutionStatus** parameter.'."\n"
- .'* **Approve**: approves an execution. For example, you are aware of the risks of an operation task and agree to approve the execution.'."\n"
- .'* **Reject**: rejects an execution. For example, you want to reject the execution of a high-risk operation task.'."\n"
- .'* **RetryTask**: retries a failed task whose execution mode is Suspend upon Failure.'."\n"
- .'* **SkipTask**: skips a failed task whose execution mode is Suspend upon Failure.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'Approve',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '12345B731-0FCE-48BA-8D42-605abcde', 'title' => ''],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"12345B731-0FCE-48BA-8D42-605abcde\\"\\n}","errorExample":""},{"type":"xml","example":"<RequestId>12345B731-0FCE-48BA-8D42-605abcde</RequestId>","errorExample":""}]',
+ 'title' => 'DeleteStateConfigurations',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ 'changeSet' => [],
+ 'ramActions' => [
[
- 'name' => 'NotifyNote',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The description for the notification.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'Note'."\n",
+ 'operationType' => 'delete',
+ 'ramAction' => [
+ 'action' => 'oos:DeleteStateConfigurations',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [
+ ['conditionKey' => 'oos:TLSVersion'],
+ ],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'OOS', 'resourceType' => 'stateconfiguration', 'arn' => 'acs:oos:{#regionId}:{#accountId}:stateconfiguration/{#stateconfigurationId}'],
+ ],
],
],
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DeleteStateConfigurations'],
+ ],
+ ],
+ ],
+ 'DeleteTemplate' => [
+ 'summary' => 'Deletes a template.',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
[
- 'name' => 'TaskName',
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'systemTags' => [
+ 'operationType' => 'delete',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '93953',
+ 'abilityTreeNodes' => ['FEATUREoosCPYH5Z'],
+ 'tenantRelevance' => 'publicInformation',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The name of the subsequent task.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'describeInstance',
- ],
+ 'schema' => ['description' => 'The region ID.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'cn-hangzhou'],
],
[
- 'name' => 'TaskExecutionId',
+ 'name' => 'TemplateName',
'in' => 'query',
- 'schema' => [
- 'description' => 'The execution ID of the task.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'task-exec-xxx',
- ],
+ 'schema' => ['description' => 'The name of the template. The name can be up to 200 characters in length and can contain letters, digits, hyphens (-), and underscores (\\_). The name cannot start with ALIYUN, ACS, ALIBABA, or ALICLOUD.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'title' => '', 'example' => 'MyTemplate'],
],
[
- 'name' => 'ExecutionStatus',
+ 'name' => 'AutoDeleteExecutions',
'in' => 'query',
+ 'schema' => ['description' => 'Specifies whether to delete the related executions when the template is deleted.', 'type' => 'boolean', 'required' => false, 'title' => '', 'example' => 'false'],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
'schema' => [
- 'description' => 'The state of the terminated execution. This parameter is valid if you set the NotifyType parameter to CompleteExecution.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'Success',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => '2075899A-585D-4A41-A9B2-28DA8534F'],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
+ ],
+ 'title' => 'DeleteTemplate',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DeleteTemplate'],
+ ],
+ ],
+ 'ramActions' => [
[
- 'name' => 'Parameters',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The parameters of the subsequent task. This parameter is valid if you set the NotifyType parameter to ExecuteTask.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => '{} ',
+ 'operationType' => 'delete',
+ 'ramAction' => [
+ 'action' => 'oos:DeleteTemplate',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [
+ ['conditionKey' => 'oos:tag', 'validationType' => 'always'],
+ ['conditionKey' => 'oos:TLSVersion'],
+ ],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'OOS', 'resourceType' => 'Template', 'arn' => 'acs:oos:{#regionId}:{#accountId}:template/{#templateName}'],
+ ],
],
],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"2075899A-585D-4A41-A9B2-28DA8534F\\"\\n}","type":"json"}]',
+ ],
+ 'DeleteTemplates' => [
+ 'summary' => 'Deletes multiple templates.',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
[
- 'name' => 'LoopItem',
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'systemTags' => [
+ 'operationType' => 'delete',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '93954',
+ 'abilityTreeNodes' => ['FEATUREoosCPYH5Z'],
+ 'tenantRelevance' => 'publicInformation',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The items of the child node in the loop task.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'i-xxx',
- ],
+ 'schema' => ['description' => 'The region ID.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'cn-hangzhou'],
],
[
- 'name' => 'TaskExecutionIds',
+ 'name' => 'TemplateNames',
'in' => 'query',
- 'schema' => [
- 'description' => 'The execution IDs of the tasks.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => '["exec-79c321c11003a97c","exec-79c321c11003aqw97cz"]',
- ],
+ 'schema' => ['description' => 'The list of template names to be deleted.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'title' => '', 'example' => '["t1","t2"]'],
+ ],
+ [
+ 'name' => 'AutoDeleteExecutions',
+ 'in' => 'query',
+ 'schema' => ['description' => 'Specify whether to delete the related executions when deleting the templates.', 'type' => 'boolean', 'required' => false, 'title' => '', 'example' => 'false'],
],
],
'responses' => [
@@ -4024,36 +3012,41 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => 'The ID of the request.'."\n",
- 'type' => 'string',
- 'example' => '491DF8C2-34C9-4679-9DB3-4C0F49B129AC',
- ],
+ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => '2075899A-585D-4A41-A9B2-28DA8534'],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"491DF8C2-34C9-4679-9DB3-4C0F49B129AC\\"\\n}","errorExample":""},{"type":"xml","example":"<NotifyExecutionResponse>\\r\\n <RequestId>491DF8C2-34C9-4679-9DB3-4C0F49B129AC</RequestId>\\r\\n</NotifyExecutionResponse>","errorExample":""}]',
- 'title' => 'NotifyExecution',
- 'description' => 'You can call this operation to notify an execution in the following scenarios:'."\n"
- ."\n"
- .'* If a template contains a special task, such as an approval task, the Operation Orchestration Service (OOS) execution engine sets the execution state to Waiting when the approval task is being run. You can call this operation to specify whether to continue the execution.'."\n"
- .'* If you perform debugging in the debug mode, you can call this operation to notify the execution of the subsequent operations after the execution is created or a task is complete.'."\n"
- .'* If a high-risk operation task waits for approval, you can call this operation to specify whether to continue the execution.'."\n",
- 'requestParamsDescription' => ' ',
- 'responseParamsDescription' => ' ',
- 'extraInfo' => ' ',
- ],
- 'TriggerExecution' => [
- 'summary' => 'Debugs a started execution that contains an event trigger task or alert trigger task. If the operation is called, a message body is sent to the event trigger task or alert trigger task. After the trigger task receives the message body, the trigger task generates a new child execution.',
- 'methods' => [
- 'post',
- 'get',
+ 'title' => 'DeleteTemplates',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DeleteTemplates'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'delete',
+ 'ramAction' => [
+ 'action' => 'oos:DeleteTemplates',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [
+ ['conditionKey' => 'oos:TLSVersion'],
+ ],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'OOS', 'resourceType' => 'Template', 'arn' => 'acs:oos:{#regionId}:{#accountId}:template/{#templateName}'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"2075899A-585D-4A41-A9B2-28DA8534\\"\\n}","type":"json"}]',
+ ],
+ 'DeployApplicationGroup' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -4063,69 +3056,38 @@
'deprecated' => false,
'systemTags' => [
'operationType' => 'update',
- 'abilityTreeCode' => '94000',
- 'abilityTreeNodes' => [
- 'FEATUREoosVE5I9N',
- ],
+ 'riskType' => 'none',
+ 'chargeType' => 'paid',
+ 'abilityTreeCode' => '119191',
+ 'abilityTreeNodes' => ['FEATUREoos1PL94A'],
+ 'autoTest' => true,
+ 'tenantRelevance' => 'publicInformation',
],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The region ID.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => 'The deployment region.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'cn-hangzhou'],
],
[
- 'name' => 'ExecutionId',
+ 'name' => 'ApplicationName',
'in' => 'query',
- 'schema' => [
- 'description' => 'The ID of the event-, alert-, or timer-triggered execution.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'exec-sadw3f23rsad',
- ],
+ 'schema' => ['description' => 'The application name.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'title' => '', 'example' => 'MyApplication'],
],
[
- 'name' => 'Type',
+ 'name' => 'DeployParameters',
'in' => 'query',
- 'schema' => [
- 'description' => 'The type of the trigger. Valid values:'."\n"
- ."\n"
- .'* Event'."\n"
- .'* Alarm'."\n"
- .'* Timer'."\n",
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'Event',
- ],
+ 'schema' => ['description' => 'The deployment configuration of the application group.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'title' => '', 'example' => '{ "TemplateURL": "https://ros-template.oss-cn-zhangjiakou.aliyuncs.com/App_Management_Existing_Vpc_Ecs_Instance.json", "Parameters": { "ZoneId": "cn-hangzhou-k", "ProjectName": "test", "SystemDiskSize": 40, "InstanceChargeType": "PostPaid", "SecurityGroupId": "sg-bp1a4374akk63jl8tddy", "VSwitchId": "vsw-bp1fcvc3zn0jrag86rrlm", "SystemDiskCategory": "cloud_essd", "InstancePassword": "******", "InternetChargeType": "PayByTraffic", "InstanceCount": 1, "InternetMaxBandwidthOut": 0, "VpcId": "vpc-bp1i99boyas8i8m9t3skp", "EcsImageId": "centos_8_5_x64_20G_alibase_20211228.vhd", "DataDiskSize": 100, "EcsInstanceType": "ecs.s6-c1m4.small", "DataDiskCategory": "cloud_efficiency", "EnvironmentCommandId": "c-hz028fc3g031gcg" }'],
],
[
- 'name' => 'Content',
+ 'name' => 'Name',
'in' => 'query',
- 'schema' => [
- 'description' => 'The message body to be sent to the trigger task.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'docRequired' => true,
- 'example' => '{"eventTime": "20181226T220114.058+0800", "id": "9435EAD6-3CF6-4494-8F7A-3A********77","level": "INFO","name": "Instance:StateChange","product": "ECS","regionId":"cn-hangzhou","resourceId": "acs:ecs:cn-hangzhou:169070********30:instance/i-bp1ecr********5go2go","userId": "169070********30","ver": "1.0","content": {"resourceId": "i-bp1ecr********5go2go", "resourceType": "ALIYUN::ECS::Instance","state": "Stopping"} }',
- ],
+ 'schema' => ['description' => 'The name of the application group.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'title' => '', 'example' => 'MyApplicationGroup'],
],
[
- 'name' => 'ClientToken',
+ 'name' => 'RevisionId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The client token that is used to ensure the idempotence of the request.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'dswe2-3i0-029',
- ],
+ 'schema' => ['type' => 'string', 'description' => 'The revision ID of the deployment.', 'required' => false, 'title' => '', 'example' => 'rev-64488a5be25c4a5dbc45'."\n"],
],
],
'responses' => [
@@ -4133,32 +3095,44 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => 'The request ID.'."\n",
- 'type' => 'string',
- 'example' => '14A07460-EBE7-47CA-9757-12CC4761D47A',
- ],
+ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => '8AF4800A-A316-589A-90C4-313B1FEEB084'],
],
'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"14A07460-EBE7-47CA-9757-12CC4761D47A\\"\\n}","errorExample":""},{"type":"xml","example":"<TriggerExecutionResponse>\\n <RequestId>14A07460-EBE7-47CA-9757-12CC4761D47A</RequestId>\\n</TriggerExecutionResponse>","errorExample":""}]',
- 'title' => 'TriggerExecution',
- 'requestParamsDescription' => ' ',
- 'responseParamsDescription' => ' ',
- 'extraInfo' => ' ',
- ],
- 'ListActions' => [
- 'summary' => 'Queries the available actions, including atomic actions and cloud product actions.',
- 'methods' => [
- 'post',
- 'get',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => 'DeployApplicationGroup',
+ 'summary' => 'Deploys an application group. Application Management is available only in the China (Hangzhou) region. You must use the endpoint for the China (Hangzhou) region.',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeployApplicationGroup'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'oos:DeployApplicationGroup',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [
+ ['conditionKey' => 'oos:TLSVersion'],
+ ],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'OOS', 'resourceType' => 'ApplicationGroup', 'arn' => 'acs:oos:{#regionId}:{#AccountId}:application/{#applicationName}/applicationgroup/{#applicationGroupName}'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"8AF4800A-A316-589A-90C4-313B1FEEB084\\"\\n}","type":"json"}]',
+ ],
+ 'DescribeApplicationGroupBill' => [
+ 'summary' => 'Queries the resource costs of an application group.',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -4167,54 +3141,49 @@
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'list',
- 'abilityTreeCode' => '93970',
- 'abilityTreeNodes' => [
- 'FEATUREoosCPYH5Z',
- ],
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '163300',
+ 'abilityTreeNodes' => ['FEATUREoos1PL94A'],
+ 'autoTest' => true,
'tenantRelevance' => 'publicInformation',
],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The ID of the region.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => 'The ID of the region.'."\n", 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''],
],
[
- 'name' => 'OOSActionName',
+ 'name' => 'ApplicationName',
'in' => 'query',
- 'schema' => [
- 'description' => 'The name of the action. All actions whose names contain the specified action name are returned.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'MyTemplate',
- ],
+ 'schema' => ['description' => 'The application name.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => false, 'example' => 'test_application', 'title' => ''],
+ ],
+ [
+ 'name' => 'Name',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The application group name.', 'type' => 'string', 'required' => true, 'example' => 'test_application_group', 'title' => ''],
+ ],
+ [
+ 'name' => 'BillingCycle',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The billing cycle, in the YYYY-MM format.'."\n", 'type' => 'string', 'required' => true, 'example' => '2023-06', 'title' => ''],
+ ],
+ [
+ 'name' => 'ResourceType',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The type of the cloud resource.'."\n", 'type' => 'string', 'required' => true, 'example' => 'ALIYUN::ECS::INSTANCE', 'title' => ''],
],
[
'name' => 'MaxResults',
'in' => 'query',
- 'schema' => [
- 'description' => 'The number of entries to return on each page. Valid values: 20 to 100. Default value: 50.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '50',
- ],
+ 'schema' => ['description' => 'The number of entries per page.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '50', 'example' => '10', 'default' => '10', 'title' => ''],
],
[
'name' => 'NextToken',
'in' => 'query',
- 'schema' => [
- 'description' => 'The token that is used to retrieve the next page of results.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => '-',
- ],
+ 'schema' => ['description' => 'The token that is used to retrieve the next page of results.'."\n", 'type' => 'string', 'required' => false, 'example' => '-', 'title' => ''],
],
],
'responses' => [
@@ -4222,224 +3191,218 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'NextToken' => [
- 'description' => 'The token that is used to retrieve the next page of results.'."\n",
- 'type' => 'string',
- 'example' => 'xxx',
- ],
- 'RequestId' => [
- 'description' => 'The ID of the request.'."\n",
- 'type' => 'string',
- 'example' => 'F9154C02-F847-4563-BB6A-6DD01A4F0',
- ],
- 'MaxResults' => [
- 'description' => 'The number of entries returned per page.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '50',
- ],
- 'Actions' => [
- 'description' => 'The details of the actions.'."\n",
+ 'NextToken' => ['description' => 'The token that is used to retrieve the next page of results.'."\n", 'type' => 'string', 'example' => '""', 'title' => ''],
+ 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => 'E897A1AB-4701-5B71-93AD-38FD703763A3', 'title' => ''],
+ 'MaxResults' => ['description' => 'The number of entries per page.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => ''],
+ 'ApplicationGroupConsume' => [
+ 'description' => 'The consume of application group.',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'Popularity' => [
- 'description' => 'The number of times that the action is used.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '5',
- ],
- 'ActionType' => [
- 'description' => 'The type of the action.'."\n"
- ."\n"
- .'1. Atomic actions'."\n"
- ."\n"
- .' * Atomic.API'."\n"
- .' * Atomic.Trigger'."\n"
- .' * Atomic.Control'."\n"
- .' * Atomic.Embedded'."\n"
- ."\n"
- .'2. Cloud product actions'."\n"
- ."\n"
- .' * Product.ECS'."\n"
- .' * Product.RDS'."\n"
- .' * Product.VPC'."\n"
- .' * Product.FC'."\n"
- .' * ...'."\n",
- 'type' => 'string',
- 'example' => 'ACS::Template',
- ],
- 'Description' => [
- 'description' => 'The description of the action.'."\n",
- 'type' => 'string',
- 'example' => 'ReplaceSystemDisk',
- ],
- 'CreatedDate' => [
- 'description' => 'The time when the action was created.'."\n",
- 'type' => 'string',
- 'example' => '2019-05-16T10:26:14Z',
- ],
- 'TemplateVersion' => [
- 'description' => 'The version of the template that corresponds to the action.'."\n"
- ."\n"
- .'> For atomic actions, this parameter is not returned.'."\n",
- 'type' => 'string',
- 'example' => 'v1',
- ],
- 'OOSActionName' => [
- 'description' => 'The name of the action.'."\n",
+ 'InstanceId' => ['title' => '', 'description' => 'The ID of the instance.', 'type' => 'string', 'example' => 'i-0jl781czrhqey0s5zpsj'],
+ 'InstanceName' => ['title' => '', 'description' => 'The name of the instance.', 'type' => 'string', 'example' => 'test-'],
+ 'InstanceType' => ['title' => '', 'description' => 'The instance type.'."\n", 'type' => 'string', 'example' => 'ALIYUN::ECS::INSTANCE'],
+ 'CreationTime' => ['description' => 'The time when the instance was created.', 'type' => 'string', 'example' => '2023-06-10T06:00Z', 'title' => ''],
+ 'Status' => ['description' => 'The status of instance.', 'type' => 'string', 'example' => 'Running', 'title' => ''],
+ 'Amount' => ['description' => 'The amount consumed by the instance.', 'type' => 'number', 'format' => 'float', 'example' => '18.88', 'title' => ''],
+ 'Currency' => [
+ 'title' => '',
+ 'description' => 'The currency unit.',
'type' => 'string',
- 'example' => 'ACS::ECS::ReplaceSystemDisk',
+ 'enumValueTitles' => ['JPY' => 'JPY', 'USD' => 'USD', 'CNY' => 'CNY'],
+ 'example' => 'CNY',
],
- 'Properties' => [
- 'description' => 'The parameters of the action.'."\n",
+ 'Performance' => ['description' => 'The performance of the data synchronization instance.'."\n", 'type' => 'string', 'example' => '"{\\"mem\\":\\"6.82\\",\\"cpu\\":\\"0.55\\"}"', 'title' => ''],
+ 'Optimization' => ['description' => 'Optimization suggestions.', 'type' => 'string', 'example' => '1', 'title' => ''],
+ 'PeakType' => [
+ 'description' => 'The peak type.',
'type' => 'string',
- 'example' => '{ "ImageId": { "Description": "The mirror ID you will use when resetting the system", "Type": "String" }, "InstanceId": { "Description": "the instance id that you will handle .", "Type": "String" } }',
+ 'enumValueTitles' => ['WHITE' => 'WHITE', 'NIGHT' => 'NIGHT', 'AVERAGE' => 'AVERAGE'],
+ 'example' => 'WHITE',
+ 'title' => '',
],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
+ 'title' => '',
+ 'example' => '',
],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"NextToken\\": \\"xxx\\",\\n \\"RequestId\\": \\"F9154C02-F847-4563-BB6A-6DD01A4F0\\",\\n \\"MaxResults\\": 50,\\n \\"Actions\\": [\\n {\\n \\"Popularity\\": 5,\\n \\"ActionType\\": \\"ACS::Template\\",\\n \\"Description\\": \\"ReplaceSystemDisk\\",\\n \\"CreatedDate\\": \\"2019-05-16T10:26:14Z\\",\\n \\"TemplateVersion\\": \\"v1\\",\\n \\"OOSActionName\\": \\"ACS::ECS::ReplaceSystemDisk\\",\\n \\"Properties\\": \\"{ \\\\\\"ImageId\\\\\\": { \\\\\\"Description\\\\\\": \\\\\\"The mirror ID you will use when resetting the system\\\\\\", \\\\\\"Type\\\\\\": \\\\\\"String\\\\\\" }, \\\\\\"InstanceId\\\\\\": { \\\\\\"Description\\\\\\": \\\\\\"the instance id that you will handle .\\\\\\", \\\\\\"Type\\\\\\": \\\\\\"String\\\\\\" } }\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<ListActionsResponse>\\r\\n <MaxResults>50</MaxResults>\\r\\n <RequestId>F9154C02-F847-4563-BB6A-6DD2F5F0</RequestId>\\r\\n <Actions>\\r\\n <OOSActionName>ACS::ECS::ReplaceSystemDisk</OOSActionName>\\r\\n <ActionType>Product.ECS</ActionType>\\r\\n <CreatedDate>2019-05-14T07:26:39Z</CreatedDate>\\r\\n <Description>ReplaceSystemDisk</Description>\\r\\n <TemplateVersion>v1</TemplateVersion>\\r\\n <Properties>\\r\\n <ImageId>\\r\\n <Description>The mirror ID you will use when resetting the system</Description>\\r\\n <Type>String</Type>\\r\\n </ImageId>\\r\\n <InstanceId>\\r\\n <Description>the instance id that you will handle .</Description>\\r\\n <Type>String</Type>\\r\\n </InstanceId>\\r\\n </Properties>\\r\\n </Actions>\\r\\n <Actions>\\r\\n <OOSActionName>ACS::Notify</OOSActionName>\\r\\n <ActionType>Automic.Trigger</ActionType>\\r\\n <CreatedDate>2019-05-16T09:33:45Z</CreatedDate>\\r\\n <Description>Send the notification.</Description>\\r\\n <Properties>\\r\\n <NotifyType>The type of notification. Support WebHook</NotifyType>\\r\\n <WebHook>\\r\\n <Content>The body for requesting web hook. Type: Mapping.</Content>\\r\\n <Headers>The headers for requesting web hook. Type: Mapping.</Headers>\\r\\n <URI>The web hook URI.</URI>\\r\\n </WebHook>\\r\\n </Properties>\\r\\n </Actions>\\r\\n</ListActionsResponse>","errorExample":""}]',
- 'title' => 'ListActions',
- 'requestParamsDescription' => ' ',
- 'responseParamsDescription' => ' ',
- 'extraInfo' => ' ',
- ],
- 'CreateParameter' => [
- 'summary' => 'Creates a common parameter.',
- 'methods' => [
- 'post',
- 'get',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"NextToken\\": \\"\\\\\\"\\\\\\"\\",\\n \\"RequestId\\": \\"E897A1AB-4701-5B71-93AD-38FD703763A3\\",\\n \\"MaxResults\\": 10,\\n \\"ApplicationGroupConsume\\": [\\n {\\n \\"InstanceId\\": \\"i-0jl781czrhqey0s5zpsj\\",\\n \\"InstanceName\\": \\"test-\\",\\n \\"InstanceType\\": \\"ALIYUN::ECS::INSTANCE\\",\\n \\"CreationTime\\": \\"2023-06-10T06:00Z\\",\\n \\"Status\\": \\"Running\\",\\n \\"Amount\\": 18.88,\\n \\"Currency\\": \\"CNY\\",\\n \\"Performance\\": \\"\\\\\\"{\\\\\\\\\\\\\\"mem\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"6.82\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"cpu\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"0.55\\\\\\\\\\\\\\"}\\\\\\"\\",\\n \\"Optimization\\": \\"1\\",\\n \\"PeakType\\": \\"WHITE\\"\\n }\\n ]\\n}","type":"json"}]',
+ 'title' => 'DescribeApplicationGroupBill',
+ 'changeSet' => [],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'oos:DescribeApplicationGroupBill',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [
+ ['conditionKey' => 'oos:TLSVersion'],
+ ],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'OOS', 'resourceType' => 'ApplicationGroup', 'arn' => 'acs:oos:{#regionId}:{#AccountId}:application/{#ApplicationName}/applicationgroup/{#ApplicationGroupName}'],
+ ],
+ ],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeApplicationGroupBill'],
+ ],
],
+ ],
+ 'DescribeRegions' => [
+ 'summary' => 'Queries supported regions.',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'write',
- 'deprecated' => false,
+ 'operationType' => 'read',
'systemTags' => [
- 'operationType' => 'create',
- 'abilityTreeCode' => '93941',
- 'abilityTreeNodes' => [
- 'FEATUREoosMR618F',
- ],
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '93955',
+ 'abilityTreeNodes' => ['FEATUREoosB33AG0'],
+ 'tenantRelevance' => 'publicInformation',
],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The ID of the region.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => 'The region ID.'."\n", 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''],
],
[
- 'name' => 'Name',
+ 'name' => 'AcceptLanguage',
'in' => 'query',
'schema' => [
- 'description' => 'The name of the parameter. The name must be 1 to 200 characters in length, and can contain letters, digits, hyphens (-), and underscores (\\_). It cannot start with ALIYUN, ACS, ALIBABA, ALICLOUD, or OOS.'."\n",
+ 'description' => 'The supported natural language. Valid values:'."\n"
+ ."\n"
+ .'* zh-CN: Chinese'."\n"
+ .'* en-US: English'."\n",
'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'MyParameter',
+ 'required' => false,
+ 'example' => 'zh-CN',
+ 'enumValueTitles' => ['ja' => 'ja'],
+ 'title' => '',
],
],
- [
- 'name' => 'Type',
- 'in' => 'query',
+ ],
+ 'responses' => [
+ 200 => [
'schema' => [
- 'description' => 'The data type of the parameter. Valid values: String and StringList.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'String',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '469E79B1-90A3-4A57-B7C4-2FE0C8B5175E', 'title' => ''],
+ 'Regions' => [
+ 'description' => 'The details of the regions.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'RegionEndpoint' => ['description' => 'The endpoint of the region.'."\n", 'type' => 'string', 'example' => 'oos.cn-shenzhen.aliyuncs.com', 'title' => ''],
+ 'LocalName' => ['description' => 'The name of the region.'."\n", 'type' => 'string', 'example' => 'China (Shenzhen)', 'title' => ''],
+ 'RegionId' => ['description' => 'The region ID.'."\n", 'type' => 'string', 'example' => 'cn-shenzhen', 'title' => ''],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"469E79B1-90A3-4A57-B7C4-2FE0C8B5175E\\",\\n \\"Regions\\": [\\n {\\n \\"RegionEndpoint\\": \\"oos.cn-shenzhen.aliyuncs.com\\",\\n \\"LocalName\\": \\"China (Shenzhen)\\",\\n \\"RegionId\\": \\"cn-shenzhen\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<DescribeRegionseResponse>\\n<RequestId>469E79B1-90A3-4A57-B7C4-2FE0C8B5175E</RequestId>\\n<Regions>\\n <RegionId>cn-shenzhen</RegionId>\\n <RegionEndpoint>oos.cn-shenzhen.aliyuncs.com</RegionEndpoint>\\n <LocalName>China (Shenzhen)</LocalName>\\n</Regions>\\n<Regions>\\n <RegionId>eu-central-1</RegionId>\\n <RegionEndpoint>oos.eu-central-1.aliyuncs.com</RegionEndpoint>\\n <LocalName>Germany (Frankfurt)</LocalName>\\n</Regions>\\n<Regions>\\n <RegionId>cn-chengdu</RegionId>\\n <RegionEndpoint>oos.cn-chengdu.aliyuncs.com</RegionEndpoint>\\n <LocalName>China (Chengdu)</LocalName>\\n</Regions>\\n<Regions>\\n <RegionId>ap-south-1</RegionId>\\n <RegionEndpoint>oos.ap-south-1.aliyuncs.com</RegionEndpoint>\\n <LocalName>India (Mumbai)</LocalName>\\n</Regions>\\n<Regions>\\n <RegionId>cn-zhangjiakou</RegionId>\\n <RegionEndpoint>oos.cn-zhangjiakou.aliyuncs.com</RegionEndpoint>\\n <LocalName>China (Zhangjiakou)</LocalName>\\n</Regions>\\n<Regions>\\n <RegionId>ap-northeast-1</RegionId>\\n <RegionEndpoint>oos.ap-northeast-1.aliyuncs.com</RegionEndpoint>\\n <LocalName>Japan (Tokyo)</LocalName>\\n</Regions>\\n<Regions>\\n <RegionId>ap-southeast-2</RegionId>\\n <RegionEndpoint>oos.ap-southeast-2.aliyuncs.com</RegionEndpoint>\\n <LocalName>Australia (Sydney)</LocalName>\\n</Regions>\\n<Regions>\\n <RegionId>cn-hangzhou</RegionId>\\n <RegionEndpoint>oos.cn-hangzhou.aliyuncs.com</RegionEndpoint>\\n <LocalName>China (Hangzhou)</LocalName>\\n</Regions>\\n<Regions>\\n <RegionId>cn-hongkong</RegionId>\\n <RegionEndpoint>oos.cn-hongkong.aliyuncs.com</RegionEndpoint>\\n <LocalName>China (Hong Kong)</LocalName>\\n</Regions>\\n<Regions>\\n <RegionId>eu-west-1</RegionId>\\n <RegionEndpoint>oos.eu-west-1.aliyuncs.com</RegionEndpoint>\\n <LocalName>UK (London)</LocalName>\\n</Regions>\\n<Regions>\\n <RegionId>ap-southeast-1</RegionId>\\n <RegionEndpoint>oos.ap-southeast-1.aliyuncs.com</RegionEndpoint>\\n <LocalName>Singapore</LocalName>\\n</Regions>\\n<Regions>\\n <RegionId>ap-southeast-5</RegionId>\\n <RegionEndpoint>oos.ap-southeast-5.aliyuncs.com</RegionEndpoint>\\n <LocalName>Indonesia (Jakarta)</LocalName>\\n</Regions>\\n<Regions>\\n <RegionId>cn-beijing</RegionId>\\n <RegionEndpoint>oos.cn-beijing.aliyuncs.com</RegionEndpoint>\\n <LocalName>China (Beijing)</LocalName>\\n</Regions>\\n<Regions>\\n <RegionId>cn-shanghai</RegionId>\\n <RegionEndpoint>oos.cn-shanghai.aliyuncs.com</RegionEndpoint>\\n <LocalName>China (Shanghai)</LocalName>\\n</Regions>\\n<Regions>\\n <RegionId>us-east-1</RegionId>\\n <RegionEndpoint>oos.us-east-1.aliyuncs.com</RegionEndpoint>\\n <LocalName>US (Virginia)</LocalName>\\n</Regions>\\n<Regions>\\n <RegionId>cn-huhehaote</RegionId>\\n <RegionEndpoint>oos.cn-huhehaote.aliyuncs.com</RegionEndpoint>\\n <LocalName>China (Hohhot)</LocalName>\\n</Regions>\\n<Regions>\\n <RegionId>ap-southeast-3</RegionId>\\n <RegionEndpoint>oos.ap-southeast-3.aliyuncs.com</RegionEndpoint>\\n <LocalName>Malaysia (Kuala Lumpur)</LocalName>\\n</Regions>\\n</DescribeRegionsResponse>","errorExample":""}]',
+ 'title' => 'DescribeRegions',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DescribeRegions'],
+ ],
+ ],
+ 'ramActions' => [
[
- 'name' => 'Value',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The value of the common parameter. The value must be 1 to 4096 characters in length.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'parameter',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'oos:DescribeRegions',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [
+ ['conditionKey' => 'oos:TLSVersion'],
+ ],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'OOS', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
],
],
+ ],
+ ],
+ 'GenerateExecutionPolicy' => [
+ 'summary' => 'Queries the RAM policy required to execute a template.',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '93956',
+ 'abilityTreeNodes' => ['FEATUREoosQL14T7'],
+ 'tenantRelevance' => 'publicInformation',
+ ],
+ 'parameters' => [
[
- 'name' => 'Description',
+ 'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The description of the common parameter. The description must be 1 to 200 characters in length.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'parameter',
- ],
+ 'schema' => ['description' => 'The region ID.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'cn-hangzhou'],
],
[
- 'name' => 'ClientToken',
+ 'name' => 'TemplateName',
'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 be up to 64 characters in length, and can contain letters, digits, hyphens (-), and underscores (\\_). For more information, see "How to ensure idempotence".'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => '123e4567-e89b-12d3-a456-42665544****',
- ],
+ 'schema' => ['description' => 'The name of the template.', 'type' => 'string', 'required' => false, 'docRequired' => true, 'title' => '', 'example' => 'vmeixme'],
],
[
- 'name' => 'Constraints',
+ 'name' => 'TemplateVersion',
'in' => 'query',
- 'schema' => [
- 'description' => 'The constraints of the common parameter. By default, this parameter is null. Valid values:'."\n"
- ."\n"
- .'* AllowedValues: The value that is allowed for the common parameter. It must be an array string.'."\n"
- .'* AllowedPattern: The pattern that is allowed for the common parameter. It must be a regular expression.'."\n"
- .'* MinLength: The minimum length of the common parameter.'."\n"
- .'* MaxLength: The maximum length of the common parameter.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => '{'."\n"
- .' "AllowedValues": ['."\n"
- .' "parameter"'."\n"
- .' ],'."\n"
- .' "AllowedPattern": "parameter",'."\n"
- .' "MinLength": 0,'."\n"
- .' "MaxLength": 20'."\n"
- .'}',
- ],
+ 'schema' => ['description' => 'The version of the template. The latest version is used by default.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'v2'],
],
[
- 'name' => 'Tags',
+ 'name' => 'RamRole',
'in' => 'query',
- 'style' => 'json',
- 'schema' => [
- 'description' => 'The tags.'."\n",
- 'type' => 'object',
- 'required' => false,
- 'example' => '{"k1": "v1", "k2": "v2"}',
- ],
+ 'schema' => ['description' => 'The RAM role.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'AliyunServiceRoleForOOSBandwidthScheduler'],
],
[
- 'name' => 'ResourceGroupId',
+ 'name' => 'TemplateContent',
'in' => 'query',
- 'schema' => [
- 'description' => 'The ID of the resource group.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'rg-acfmxsn4m4******',
- ],
+ 'schema' => ['description' => 'The content of the template in JSON or YAML format. Specify this parameter to check the access policies that are required by the template content.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '{ "Description": "Example template, describe instances in some status", "FormatVersion": "OOS-2019-06-01", "Parameters": {}, "Tasks": [ { "Name": "describeInstances", "Action": "ACS::ExecuteAPI", "Description": "desc-en", "Properties": { "Service": "ECS", "API": "DescribeInstances", "Parameters": { "Status": "Running" } } } ] }'],
],
],
'responses' => [
@@ -4447,103 +3410,47 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => 'The ID of the request.'."\n",
- 'type' => 'string',
- 'example' => '0B419FF3-ABC6-4DF0-95E5-636DC8CBB8AF',
- ],
- 'Parameter' => [
- 'description' => 'The information about the common parameter.'."\n",
- 'type' => 'object',
- 'properties' => [
- 'Type' => [
- 'description' => 'The type of the common parameter.'."\n",
- 'type' => 'string',
- 'example' => 'String',
- ],
- 'UpdatedDate' => [
- 'description' => 'The time when the common parameter was updated.'."\n",
- 'type' => 'string',
- 'example' => '2020-09-01T08:01:43Z',
- ],
- 'UpdatedBy' => [
- 'description' => 'The user who updated the common parameter.'."\n",
- 'type' => 'string',
- 'example' => 'root(130900000)',
- ],
- 'Tags' => [
- 'description' => 'The tags.'."\n",
- 'type' => 'object',
- 'example' => '{"k1": "v1", "k2": "v2"}',
- ],
- 'Description' => [
- 'description' => 'The description of the common parameter.'."\n",
- 'type' => 'string',
- 'example' => 'parameter',
- ],
- 'Constraints' => [
- 'description' => 'The constraints of the common parameter.'."\n",
- 'type' => 'string',
- 'example' => '"{\'AllowedValues\':[\'parameter\'],\'AllowedPattern\':\'parameter\',\'MinLength\':0,\'MaxLength\':20}"',
- ],
- 'ResourceGroupId' => [
- 'description' => 'The ID of the resource group.'."\n",
- 'type' => 'string',
- 'example' => 'rg-acfmxsn4m4******',
- ],
- 'CreatedBy' => [
- 'description' => 'The user who created the common parameter.'."\n",
- 'type' => 'string',
- 'example' => 'root(130900000)',
- ],
- 'CreatedDate' => [
- 'description' => 'The time when the common parameter was created.'."\n",
- 'type' => 'string',
- 'example' => '2020-09-01T08:01:43Z',
- ],
- 'ParameterVersion' => [
- 'description' => 'The version number of the common parameter.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'Name' => [
- 'description' => 'The name of the common parameter.'."\n",
- 'type' => 'string',
- 'example' => 'MyParameter',
- ],
- 'Id' => [
- 'description' => 'The ID of the common parameter.'."\n",
- 'type' => 'string',
- 'example' => 'p-4c4b401cab6747xxxxxx',
- ],
- 'ShareType' => [
- 'description' => 'The share type of the common parameter.'."\n",
- 'type' => 'string',
- 'example' => 'Private',
- ],
- ],
- ],
+ 'Policy' => ['description' => 'The RAM policy.', 'type' => 'string', 'title' => '', 'example' => '{}'],
+ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => '14A07460-EBE7-47CA-9757-12CC4761D47A'],
+ 'MissingPolicy' => ['description' => 'The list of missing permissions.', 'type' => 'string', 'title' => '', 'example' => '[{\'Action\': [\'ecs:DescribeInvocationResults\', \'ecs:DescribeInstances\', \'ecs:RunCommand\', \'ecs:DescribeInvocations\'], \'ServiceName\': \'ecs\', \'Resources\': \'*\'}]'],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"0B419FF3-ABC6-4DF0-95E5-636DC8CBB8AF\\",\\n \\"Parameter\\": {\\n \\"Type\\": \\"String\\",\\n \\"UpdatedDate\\": \\"2020-09-01T08:01:43Z\\",\\n \\"UpdatedBy\\": \\"root(130900000)\\",\\n \\"Tags\\": {\\n \\"k1\\": \\"v1\\",\\n \\"k2\\": \\"v2\\"\\n },\\n \\"Description\\": \\"parameter\\",\\n \\"Constraints\\": \\"\\\\\\"{\'AllowedValues\':[\'parameter\'],\'AllowedPattern\':\'parameter\',\'MinLength\':0,\'MaxLength\':20}\\\\\\"\\",\\n \\"ResourceGroupId\\": \\"rg-acfmxsn4m4******\\",\\n \\"CreatedBy\\": \\"root(130900000)\\",\\n \\"CreatedDate\\": \\"2020-09-01T08:01:43Z\\",\\n \\"ParameterVersion\\": 1,\\n \\"Name\\": \\"MyParameter\\",\\n \\"Id\\": \\"p-4c4b401cab6747xxxxxx\\",\\n \\"ShareType\\": \\"Private\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"<CreateParameterResponse>\\n <RequestId>0B419FF3-ABC6-4DF0-95E5-636DC8CBB8AF</RequestId>\\n <Parameter>\\n <Type>String</Type>\\n <UpdatedDate>2020-09-01T08:01:43Z</UpdatedDate>\\n <UpdatedBy>root(130900000)</UpdatedBy>\\n <Description>parameter</Description>\\n <Constraints>\\"{\'AllowedValues\':[\'parameter\'],\'AllowedPattern\':\'parameter\',\'MinLength\':0,\'MaxLength\':20}\\"</Constraints>\\n <ResourceGroupId>rg-acfmxsn4m4******</ResourceGroupId>\\n <CreatedBy>root(130900000)</CreatedBy>\\n <CreatedDate>2020-09-01T08:01:43Z</CreatedDate>\\n <ParameterVersion>1</ParameterVersion>\\n <Name>MyParameter</Name>\\n <Id>p-4c4b401cab6747xxxxxx</Id>\\n <Tags>\\n <k1>v1</k1>\\n <k2>v2</k2>\\n </Tags>\\n <ShareType>Private</ShareType>\\n </Parameter>\\n</CreateParameterResponse>","errorExample":""}]',
- 'title' => 'CreateParameter',
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Policy\\": \\"{}\\",\\n \\"RequestId\\": \\"14A07460-EBE7-47CA-9757-12CC4761D47A\\",\\n \\"MissingPolicy\\": \\"[{\'Action\': [\'ecs:DescribeInvocationResults\', \'ecs:DescribeInstances\', \'ecs:RunCommand\', \'ecs:DescribeInvocations\'], \'ServiceName\': \'ecs\', \'Resources\': \'*\'}]\\"\\n}","type":"json"}]',
+ 'title' => 'GenerateExecutionPolicy',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'DeleteParameter' => [
- 'summary' => 'Deletes a common parameter.',
- 'methods' => [
- 'post',
- 'get',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GenerateExecutionPolicy'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'oos:GenerateExecutionPolicy',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [
+ ['conditionKey' => 'oos:TLSVersion'],
+ ],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'OOS', 'resourceType' => 'Template', 'arn' => 'acs:oos:{#regionId}:{#accountId}:template/{#templateName}'],
+ ],
+ ],
+ ],
],
+ ],
+ 'GenerateOpsItem' => [
+ 'summary' => 'Generates an O\\\\\\&M item.',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -4552,36 +3459,37 @@
'operationType' => 'write',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'delete',
+ 'operationType' => 'create',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeCode' => '93949',
- 'abilityTreeNodes' => [
- 'FEATUREoosMR618F',
- ],
- 'tenantRelevance' => 'publicInformation',
+ 'abilityTreeCode' => '130291',
+ 'abilityTreeNodes' => ['FEATUREoosU53HTK'],
],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The region ID.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => 'The region ID.'."\n", 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''],
],
[
- 'name' => 'Name',
+ 'name' => 'Data',
'in' => 'query',
- 'schema' => [
- 'description' => 'The name of the common parameter. The name can be up to 180 characters in length and can contain only letters, digits, hyphens (-), and underscores (\\_). It cannot start with aliyun, acs, alibaba, alicloud, or oos.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'MyParameter',
- ],
+ 'schema' => ['description' => 'The source system data.'."\n", 'type' => 'string', 'required' => true, 'example' => '/aliyun/ecs', 'title' => ''],
+ ],
+ [
+ 'name' => 'DataSource',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The data source system.'."\n", 'type' => 'string', 'required' => false, 'example' => '/aliyun/eventbridge/event', 'title' => ''],
+ ],
+ [
+ 'name' => 'ConfigurationId',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The configuration ID of the O\\&M item.'."\n", 'type' => 'string', 'required' => false, 'example' => 'oic-ae4f******2c682e3', 'title' => ''],
+ ],
+ [
+ 'name' => 'ClientToken',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The token that is used to ensure the idempotency.'."\n", 'type' => 'string', 'required' => false, 'example' => '123e4567-e89b-12d3-a456-42665544****', 'title' => ''],
],
],
'responses' => [
@@ -4589,209 +3497,257 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => 'The request ID.'."\n",
- 'type' => 'string',
- 'example' => 'C0D02BDF-77F6-49F2-95C9-8E87121D2979',
+ 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => 'DA4F08D4-DA54-5407-84B9-108C71D75B17', 'title' => ''],
+ 'OpsItemIds' => [
+ 'description' => 'The O\\&M item list.'."\n",
+ 'type' => 'array',
+ 'items' => ['description' => 'The O\\&M item.'."\n", 'type' => 'string', 'example' => '{'."\n"
+ .' \'OpsItemId\': \'oi-4423b****1f477fb862\','."\n"
+ .' \'CreateDate\': \'2024-12-25T07:15:09Z\','."\n"
+ .' \'UpdateDate\': \'2024-12-25T07:15:09Z\','."\n"
+ .' \'Title\': \'ECS instance i-wz****bmem8 cpu usage has exceeded limit\','."\n"
+ .' \'Status\': \'Open\','."\n"
+ .' \'Severity\': \'Critical\','."\n"
+ .' \'Category\': \'Availability\','."\n"
+ .' \'Source\': \'/aliyun/ecs\','."\n"
+ .' \'Priority\': 1,'."\n"
+ .' \'Tags\': {},'."\n"
+ .' \'ResourceGroupId\': \'sg-xxx\','."\n"
+ .' \'Solutions\': [{'."\n"
+ .' \'priority\': 1,'."\n"
+ .' \'type\': \'oosTemplate\','."\n"
+ .' \'templateName\': \'ACS-ECS-BulkyRestartInstances\','."\n"
+ .' \'parameters\': {'."\n"
+ .' \'regionId\': \'cn-hangzhou\','."\n"
+ .' \'targets\': {'."\n"
+ .' \'Type\': \'ResourceIds\','."\n"
+ .' \'ResourceIds\': [\'i-wz****bmem8\'],'."\n"
+ .' \'RegionId\': \'cn-hangzhou\''."\n"
+ .' }'."\n"
+ .' },'."\n"
+ .' \'description\': \'立即重新启动ECS实例\''."\n"
+ .' }],'."\n"
+ .' \'Resources\': [\'acs:ecs:cn-hangzhou:13****371:instance/i-wz****bmem8\'],'."\n"
+ .' \'Attributes\': {'."\n"
+ .' \'config_id\': \'oic-019****c4684ba42\','."\n"
+ .' \'rule_name\': \'ecs_instance_cpu_exceed_90_ut2_cn-hangzhou\''."\n"
+ .' },'."\n"
+ .' \'CreatedBy\': \'customer:13****371:root\','."\n"
+ .' \'LastModifiedBy\': \'customer:13****371:root\','."\n"
+ .' \'Description\': \'ECS instance i-wz****bmem8 has high cpu usage, check your service status\''."\n"
+ .'}', 'title' => ''],
+ 'example' => '{'."\n"
+ .'\'OpsItemId\': \'oi-4423b****1f477fb862\','."\n"
+ .'\'CreateDate\': \'2024-12-25T07:15:09Z\','."\n"
+ .'\'UpdateDate\': \'2024-12-25T07:15:09Z\','."\n"
+ .'\'Title\': \'ECS instance i-wz****bmem8 cpu usage has exceeded limit\','."\n"
+ .'\'Status\': \'Open\','."\n"
+ .'\'Severity\': \'Critical\','."\n"
+ .'\'Category\': \'Availability\','."\n"
+ .'\'Source\': \'/aliyun/ecs\','."\n"
+ .'\'Priority\': 1,'."\n"
+ .'\'Tags\': {},'."\n"
+ .'\'ResourceGroupId\': \'sg-xxx\','."\n"
+ .'\'Solutions\': [{'."\n"
+ .'\'priority\': 1,'."\n"
+ .'\'type\': \'oosTemplate\','."\n"
+ .'\'templateName\': \'ACS-ECS-BulkyRestartInstances\','."\n"
+ .'\'parameters\': {'."\n"
+ .'\'regionId\': \'cn-hangzhou\','."\n"
+ .'\'targets\': {'."\n"
+ .'\'Type\': \'ResourceIds\','."\n"
+ .'\'ResourceIds\': [\'i-wz****bmem8\'],'."\n"
+ .'\'RegionId\': \'cn-hangzhou\''."\n"
+ .'}'."\n"
+ .'},'."\n"
+ .'\'description\': \'Immediately restart ECS instances\''."\n"
+ .'}],'."\n"
+ .'\'Resources\': [\'acs:ecs:cn-hangzhou:13****371:instance/i-wz****bmem8\'],'."\n"
+ .'\'Attributes\': {'."\n"
+ .'\'config_id\': \'oic-019****c4684ba42\','."\n"
+ .'\'rule_name\': \'ecs_instance_cpu_exceed_90_ut2_cn-hangzhou\''."\n"
+ .'},'."\n"
+ .'\'CreatedBy\': \'customer:13****371:root\','."\n"
+ .'\'LastModifiedBy\': \'customer:13****371:root\','."\n"
+ .'\'Description\': \'ECS instance i-wz****bmem8 has high cpu usage, check your service status\''."\n"
+ .'}',
+ 'title' => '',
],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"C0D02BDF-77F6-49F2-95C9-8E87121D2979\\"\\n}","type":"json"}]',
- 'title' => 'DeleteParameter',
- ],
- 'UpdateParameter' => [
- 'summary' => 'Updates a common parameter.',
- 'methods' => [
- 'post',
- 'get',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"DA4F08D4-DA54-5407-84B9-108C71D75B17\\",\\n \\"OpsItemIds\\": [\\n \\"{\\\\n\\\\t\'OpsItemId\': \'oi-4423b****1f477fb862\',\\\\n\\\\t\'CreateDate\': \'2024-12-25T07:15:09Z\',\\\\n\\\\t\'UpdateDate\': \'2024-12-25T07:15:09Z\',\\\\n\\\\t\'Title\': \'ECS instance i-wz****bmem8 cpu usage has exceeded limit\',\\\\n\\\\t\'Status\': \'Open\',\\\\n\\\\t\'Severity\': \'Critical\',\\\\n\\\\t\'Category\': \'Availability\',\\\\n\\\\t\'Source\': \'/aliyun/ecs\',\\\\n\\\\t\'Priority\': 1,\\\\n\\\\t\'Tags\': {},\\\\n\\\\t\'ResourceGroupId\': \'sg-xxx\',\\\\n\\\\t\'Solutions\': [{\\\\n\\\\t\\\\t\'priority\': 1,\\\\n\\\\t\\\\t\'type\': \'oosTemplate\',\\\\n\\\\t\\\\t\'templateName\': \'ACS-ECS-BulkyRestartInstances\',\\\\n\\\\t\\\\t\'parameters\': {\\\\n\\\\t\\\\t\\\\t\'regionId\': \'cn-hangzhou\',\\\\n\\\\t\\\\t\\\\t\'targets\': {\\\\n\\\\t\\\\t\\\\t\\\\t\'Type\': \'ResourceIds\',\\\\n\\\\t\\\\t\\\\t\\\\t\'ResourceIds\': [\'i-wz****bmem8\'],\\\\n\\\\t\\\\t\\\\t\\\\t\'RegionId\': \'cn-hangzhou\'\\\\n\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t},\\\\n\\\\t\\\\t\'description\': \'立即重新启动ECS实例\'\\\\n\\\\t}],\\\\n\\\\t\'Resources\': [\'acs:ecs:cn-hangzhou:13****371:instance/i-wz****bmem8\'],\\\\n\\\\t\'Attributes\': {\\\\n\\\\t\\\\t\'config_id\': \'oic-019****c4684ba42\',\\\\n\\\\t\\\\t\'rule_name\': \'ecs_instance_cpu_exceed_90_ut2_cn-hangzhou\'\\\\n\\\\t},\\\\n\\\\t\'CreatedBy\': \'customer:13****371:root\',\\\\n\\\\t\'LastModifiedBy\': \'customer:13****371:root\',\\\\n\\\\t\'Description\': \'ECS instance i-wz****bmem8 has high cpu usage, check your service status\'\\\\n}\\"\\n ]\\n}","type":"json"}]',
+ 'title' => 'GenerateOpsItem',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GenerateOpsItem'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'oos:GenerateOpsItem',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [
+ ['conditionKey' => 'oos:TLSVersion'],
+ ],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'OOS', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ ],
+ 'GetApplication' => [
+ 'summary' => 'Queries the information of an application. You can call this operation only for the applications that reside in the China (Hangzhou) region. Use an endpoint of the China (Hangzhou) region.',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'write',
+ 'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'update',
- 'abilityTreeCode' => '94005',
- 'abilityTreeNodes' => [
- 'FEATUREoosMR618F',
- ],
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '93957',
+ 'abilityTreeNodes' => ['FEATUREoosXBZWHV'],
+ 'autoTest' => true,
+ 'tenantRelevance' => 'publicInformation',
],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The region ID.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => 'The region ID. Set the value to cn-hangzhou.'."\n", 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''],
],
[
'name' => 'Name',
'in' => 'query',
- 'schema' => [
- 'description' => 'The name of the common parameter. The name must be 1 to 200 characters in length, and can contain letters, digits, hyphens (-), and underscores (\\_). It cannot start with ALIYUN, ACS, ALIBABA, ALICLOUD, or OOS.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'MyParameter',
- ],
- ],
- [
- 'name' => 'Value',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The value of the common parameter. The value must be 1 to 4,096 characters in length.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'update',
- ],
- ],
- [
- 'name' => 'Description',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The description of the common parameter. The description must be 1 to 200 characters in length.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'update',
- ],
- ],
- [
- 'name' => 'Tags',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The tags to be added to common parameter.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => '{"k1": "v1", "k2": "v2"}',
- ],
- ],
- [
- 'name' => 'ResourceGroupId',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The resource group ID.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'rg-acfmxsn4m4******',
- ],
+ 'schema' => ['description' => 'The application name.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'MyApplication', 'title' => ''],
],
],
'responses' => [
200 => [
'schema' => [
+ 'description' => 'The response parameters.'."\n",
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => 'The request ID.'."\n",
- 'type' => 'string',
- 'example' => 'AF1AE6DE-61C4-435E-8687-072CFACCCEC7',
- ],
- 'Parameter' => [
- 'description' => 'The information about the common parameter.'."\n",
+ 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '51004B8A-6D9A-5ACB-9158-6C6794496AD0', 'title' => ''],
+ 'Application' => [
+ 'description' => 'The information about the application.'."\n",
'type' => 'object',
'properties' => [
- 'Type' => [
- 'description' => 'The data type of the common parameter.'."\n",
- 'type' => 'string',
- 'example' => 'String',
- ],
- 'UpdatedDate' => [
- 'description' => 'The time when the common parameter was updated.'."\n",
- 'type' => 'string',
- 'example' => '2020-09-01T08:04:23Z',
- ],
- 'UpdatedBy' => [
- 'description' => 'The user who updated the common parameter.'."\n",
- 'type' => 'string',
- 'example' => 'root(130900000)',
- ],
- 'Tags' => [
- 'description' => 'The tag added to the common parameter.'."\n",
- 'type' => 'string',
- 'example' => '{"k1": "v1", "k2": "v2"}',
- ],
- 'Description' => [
- 'description' => 'The description of the common parameter.'."\n",
- 'type' => 'string',
- 'example' => 'update',
- ],
- 'Constraints' => [
- 'description' => 'The constraints of the common parameter.'."\n",
- 'type' => 'string',
- 'example' => '"{\'AllowedValues\':[\'parameter\'],\'AllowedPattern\':\'parameter\',\'MinLength\':0,\'MaxLength\':20}"',
- ],
- 'ResourceGroupId' => [
- 'description' => 'The resource group ID.'."\n",
- 'type' => 'string',
- 'example' => 'rg-acfmxsn4m4******',
- ],
- 'CreatedBy' => [
- 'description' => 'The user who created the common parameter.'."\n",
- 'type' => 'string',
- 'example' => 'root(130900000)',
- ],
- 'CreatedDate' => [
- 'description' => 'The time when the common parameter was created.'."\n",
- 'type' => 'string',
- 'example' => '2020-09-01T08:01:43Z',
- ],
- 'ParameterVersion' => [
- 'description' => 'The version number of the common parameter.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '2',
- ],
- 'Name' => [
- 'description' => 'The name of the common parameter.'."\n",
- 'type' => 'string',
- 'example' => 'MyParameter',
- ],
- 'Id' => [
- 'description' => 'The parameter ID.'."\n",
- 'type' => 'string',
- 'example' => 'p-4c4b401cab6747xxxxxx',
- ],
- 'ShareType' => [
- 'description' => 'The share type of the common parameter.'."\n",
- 'type' => 'string',
- 'example' => 'Private',
+ 'Description' => ['description' => 'The description of the application.'."\n", 'type' => 'string', 'example' => 'Application', 'title' => ''],
+ 'UpdateDate' => ['description' => 'The time when the application was updated.'."\n", 'type' => 'string', 'example' => '2021-09-07T09:17:46Z', 'title' => ''],
+ 'ResourceGroupId' => ['description' => 'The ID of the resource group.'."\n", 'type' => 'string', 'example' => 'rg-acfmxsn4m******', 'title' => ''],
+ 'Tags' => ['description' => 'The tags.'."\n", 'type' => 'object', 'example' => '{"k1": "v1", "k2": "v2"}', 'title' => ''],
+ 'Name' => ['description' => 'The application name.'."\n", 'type' => 'string', 'example' => 'MyApplication', 'title' => ''],
+ 'CreateDate' => ['description' => 'The time when the application was created.'."\n", 'type' => 'string', 'example' => '2021-09-07T09:17:46Z', 'title' => ''],
+ 'ApplicationType' => ['description' => 'The type of the application.'."\n"
+ ."\n"
+ .'Valid values:'."\n"
+ ."\n"
+ .'* ComputeNest'."\n"
+ ."\n"
+ .' <!-- -->'."\n"
+ ."\n"
+ .' <!-- -->'."\n"
+ ."\n"
+ .' <!-- -->'."\n"
+ ."\n"
+ .'* Custom'."\n"
+ ."\n"
+ .' <!-- -->'."\n"
+ ."\n"
+ .' <!-- -->'."\n"
+ ."\n"
+ .' <!-- -->'."\n"
+ ."\n"
+ .'* DingTalk'."\n"
+ ."\n"
+ .' <!-- -->'."\n"
+ ."\n"
+ .' <!-- -->'."\n"
+ ."\n"
+ .' <!-- -->'."\n", 'type' => 'string', 'example' => 'DingTalk', 'title' => ''],
+ 'AlarmConfig' => [
+ 'description' => 'The configurations of application alerts.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'ContactGroups' => [
+ 'description' => 'The alert contact list.'."\n",
+ 'type' => 'array',
+ 'items' => ['description' => 'The alert contact group.', 'type' => 'string', 'example' => '报警联系人组名称'."\n", 'title' => ''],
+ 'example' => 'Alert contact group name',
+ 'title' => '',
+ ],
+ 'TemplateIds' => [
+ 'description' => 'The ID of the alert template.',
+ 'type' => 'array',
+ 'items' => ['description' => 'The ID of the alert template.', 'type' => 'string', 'example' => '18ad7c9ddff24d1ba34aa76ec3944507', 'title' => ''],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'HealthCheckUrl' => ['description' => 'The health check URL of the application.', 'type' => 'string', 'example' => '/api/health/', 'title' => ''],
+ ],
+ 'title' => '',
+ 'example' => '',
],
+ 'ServiceId' => ['description' => 'The ID of the Compute Nest service that corresponds to the application template.'."\n", 'type' => 'string', 'example' => 'service-79538e30e44541b699d8', 'title' => ''],
+ 'ApplicationSource' => ['description' => 'The source of application.', 'type' => 'string', 'example' => '{"Platform":"gitee","Owner":"aliyun-computenest","RepoName":"aliyun-computenest/java-springboot-demo","Name":"java-springboot-demo"}', 'title' => ''],
],
+ 'title' => '',
+ 'example' => '',
],
],
- 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"AF1AE6DE-61C4-435E-8687-072CFACCCEC7\\",\\n \\"Parameter\\": {\\n \\"Type\\": \\"String\\",\\n \\"UpdatedDate\\": \\"2020-09-01T08:04:23Z\\",\\n \\"UpdatedBy\\": \\"root(130900000)\\",\\n \\"Tags\\": \\"{\\\\\\"k1\\\\\\": \\\\\\"v1\\\\\\", \\\\\\"k2\\\\\\": \\\\\\"v2\\\\\\"}\\",\\n \\"Description\\": \\"update\\",\\n \\"Constraints\\": \\"\\\\\\"{\'AllowedValues\':[\'parameter\'],\'AllowedPattern\':\'parameter\',\'MinLength\':0,\'MaxLength\':20}\\\\\\"\\",\\n \\"ResourceGroupId\\": \\"rg-acfmxsn4m4******\\",\\n \\"CreatedBy\\": \\"root(130900000)\\",\\n \\"CreatedDate\\": \\"2020-09-01T08:01:43Z\\",\\n \\"ParameterVersion\\": 2,\\n \\"Name\\": \\"MyParameter\\",\\n \\"Id\\": \\"p-4c4b401cab6747xxxxxx\\",\\n \\"ShareType\\": \\"Private\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"<UpdateParameterResponse>\\n <RequestId>AF1AE6DE-61C4-435E-8687-072CFACCCEC7</RequestId>\\n <Parameter>\\n <Type>String</Type>\\n <UpdatedDate>2020-09-01T08:04:23Z</UpdatedDate>\\n <UpdatedBy>root(130900000)</UpdatedBy>\\n <Tags>{\\"k1\\": \\"v1\\", \\"k2\\": \\"v2\\"}</Tags>\\n <Description>update</Description>\\n <Constraints>\\"{\'AllowedValues\':[\'parameter\'],\'AllowedPattern\':\'parameter\',\'MinLength\':0,\'MaxLength\':20}\\"</Constraints>\\n <ResourceGroupId>rg-acfmxsn4m4******</ResourceGroupId>\\n <CreatedBy>root(130900000)</CreatedBy>\\n <CreatedDate>2020-09-01T08:01:43Z</CreatedDate>\\n <ParameterVersion>2</ParameterVersion>\\n <Name>MyParameter</Name>\\n <Id>p-4c4b401cab6747xxxxxx</Id>\\n <ShareType>Private</ShareType>\\n </Parameter>\\n</UpdateParameterResponse>","errorExample":""}]',
- 'title' => 'UpdateParameter',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"51004B8A-6D9A-5ACB-9158-6C6794496AD0\\",\\n \\"Application\\": {\\n \\"Description\\": \\"Application\\",\\n \\"UpdateDate\\": \\"2021-09-07T09:17:46Z\\",\\n \\"ResourceGroupId\\": \\"rg-acfmxsn4m******\\",\\n \\"Tags\\": {\\n \\"k1\\": \\"v1\\",\\n \\"k2\\": \\"v2\\"\\n },\\n \\"Name\\": \\"MyApplication\\",\\n \\"CreateDate\\": \\"2021-09-07T09:17:46Z\\",\\n \\"ApplicationType\\": \\"DingTalk\\",\\n \\"AlarmConfig\\": {\\n \\"ContactGroups\\": [\\n \\"报警联系人组名称\\\\n\\"\\n ],\\n \\"TemplateIds\\": [\\n \\"18ad7c9ddff24d1ba34aa76ec3944507\\"\\n ],\\n \\"HealthCheckUrl\\": \\"/api/health/\\"\\n },\\n \\"ServiceId\\": \\"service-79538e30e44541b699d8\\",\\n \\"ApplicationSource\\": \\"{\\\\\\"Platform\\\\\\":\\\\\\"gitee\\\\\\",\\\\\\"Owner\\\\\\":\\\\\\"aliyun-computenest\\\\\\",\\\\\\"RepoName\\\\\\":\\\\\\"aliyun-computenest/java-springboot-demo\\\\\\",\\\\\\"Name\\\\\\":\\\\\\"java-springboot-demo\\\\\\"}\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"<RequestId>51004B8A-6D9A-5ACB-9158-6C6794496AD0</RequestId>\\n<Application>\\n <Description>Application</Description>\\n <UpdateDate>2021-09-07T09:17:46Z</UpdateDate>\\n <CreateDate>2021-09-07T09:17:46Z</CreateDate>\\n <ResourceGroupId>rg-acfmxsn4m******</ResourceGroupId>\\n <Tags>\\n <k1>v1</k1>\\n <k2>v2</k2>\\n </Tags>\\n <Name>MyApplication</Name>\\n</Application>","errorExample":""}]',
+ 'title' => 'GetApplication',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'GetParameter' => [
- 'summary' => 'Queries a common parameter and its value.',
- 'methods' => [
- 'post',
- 'get',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetApplication'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'oos:GetApplication',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [
+ ['conditionKey' => 'oos:TLSVersion'],
+ ],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'OOS', 'resourceType' => 'Application', 'arn' => 'acs:oos:{#regionId}:{#accountId}:application/{#ApplicationName}'],
+ ],
+ ],
+ ],
],
+ ],
+ 'GetApplicationGroup' => [
+ 'summary' => 'Retrieves the details of an application group. Application Management is available only in the China (Hangzhou) region. You must use the endpoint for this region.',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -4803,54 +3759,26 @@
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeCode' => '93961',
- 'abilityTreeNodes' => [
- 'FEATUREoosMR618F',
- ],
+ 'abilityTreeCode' => '93958',
+ 'abilityTreeNodes' => ['FEATUREoos21ZJP9'],
+ 'autoTest' => true,
'tenantRelevance' => 'publicInformation',
],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The region ID.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => 'The ID of the region. Only cn-hangzhou is supported.', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''],
],
[
'name' => 'Name',
'in' => 'query',
- 'schema' => [
- 'description' => 'The name of the common parameter. The name can be up to 200 characters in length and can contain letters, digits, hyphens (-), and underscores (\\_).'."\n",
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'MyParameter',
- ],
+ 'schema' => ['description' => 'The name of the application group.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'MyApplicationGroup', 'title' => ''],
],
[
- 'name' => 'ParameterVersion',
+ 'name' => 'ApplicationName',
'in' => 'query',
- 'schema' => [
- 'description' => 'The version number of the common parameter. Valid values: 1 to 100.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '1',
- ],
- ],
- [
- 'name' => 'ResourceGroupId',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The resource group ID.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'rg-acfmxsn4m*****',
- ],
+ 'schema' => ['description' => 'The name of the application.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'MyApplication', 'title' => ''],
],
],
'responses' => [
@@ -4858,109 +3786,81 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => 'The request ID.'."\n",
- 'type' => 'string',
- 'example' => 'BA326372-2A10-4C3B-BE3E-6439DB7557CC',
- ],
- 'Parameter' => [
- 'description' => 'The information about the common parameter.'."\n",
+ 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => '92EA60ED-544D-55E9-93D9-237BE9976C0D', 'title' => ''],
+ 'ApplicationGroup' => [
+ 'description' => 'The details of the application group.',
'type' => 'object',
'properties' => [
- 'Type' => [
- 'description' => 'The data type of the common parameter.'."\n",
- 'type' => 'string',
- 'example' => 'String',
- ],
- 'UpdatedDate' => [
- 'description' => 'The time when the common parameter was updated.'."\n",
- 'type' => 'string',
- 'example' => '2020-09-01T08:01:43Z',
- ],
- 'UpdatedBy' => [
- 'description' => 'The user who updated the common parameter.'."\n",
- 'type' => 'string',
- 'example' => 'root(130900000)',
- ],
- 'Tags' => [
- 'description' => 'The tags added to the common parameter.'."\n",
- 'type' => 'object',
- 'example' => '{"k1":"v1","k2":"v2"}',
- ],
- 'Value' => [
- 'description' => 'The value of the common parameter.'."\n",
- 'type' => 'string',
- 'example' => 'parameter',
- ],
- 'Description' => [
- 'description' => 'The description of the common parameter.'."\n",
- 'type' => 'string',
- 'example' => 'parameter',
- ],
- 'Constraints' => [
- 'description' => 'The constraints of the common parameter.'."\n",
- 'type' => 'string',
- 'example' => '\'{\'\'AllowedValues":["parameter"],"AllowedPattern":"parameter","MinLength":0,"MaxLength":20}\'',
- ],
- 'ResourceGroupId' => [
- 'description' => 'The resource group ID.'."\n",
- 'type' => 'string',
- 'example' => 'rg-acfmxsn4m*****',
- ],
- 'CreatedBy' => [
- 'description' => 'The user who created the common parameter.'."\n",
- 'type' => 'string',
- 'example' => 'root(130900000)',
- ],
- 'CreatedDate' => [
- 'description' => 'The time when the common parameter was created.'."\n",
- 'type' => 'string',
- 'example' => '2020-09-01T08:01:43Z',
- ],
- 'ParameterVersion' => [
- 'description' => 'The version number of the common parameter.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'Name' => [
- 'description' => 'The name of the common parameter.'."\n",
- 'type' => 'string',
- 'example' => 'MyParameter',
- ],
- 'Id' => [
- 'description' => 'The ID of the common parameter.'."\n",
- 'type' => 'string',
- 'example' => 'p-4c4b401cab6747xxxxxx',
- ],
- 'ShareType' => [
- 'description' => 'The share type of the common parameter.'."\n",
- 'type' => 'string',
- 'example' => 'Private',
- ],
+ 'CmsGroupId' => ['description' => 'The ID of the Cloud Monitor application group.', 'type' => 'string', 'example' => '12345678', 'title' => ''],
+ 'DeployRegionId' => ['description' => 'The ID of the deployment region.', 'type' => 'string', 'example' => 'cn-hangzhou', 'title' => ''],
+ 'Description' => ['description' => 'The description of the application group.', 'type' => 'string', 'example' => 'ApplicationGroup', 'title' => ''],
+ 'UpdateDate' => ['description' => 'The time when the application group was last updated.', 'type' => 'string', 'example' => '2021-09-07T10:28:25Z', 'title' => ''],
+ 'ImportTagKey' => ['description' => 'The tag key.', 'type' => 'string', 'example' => 'k1', 'title' => ''],
+ 'ApplicationName' => ['description' => 'The name of the application.', 'type' => 'string', 'example' => 'MyApplication', 'title' => ''],
+ 'ImportTagValue' => ['description' => 'The tag value.', 'type' => 'string', 'example' => 'v1', 'title' => ''],
+ 'Name' => ['description' => 'The name of the application group.', 'type' => 'string', 'example' => 'MyApplicationGroup', 'title' => ''],
+ 'CreateDate' => ['description' => 'The time when the application group was created.', 'type' => 'string', 'example' => '2021-09-07T10:28:25Z', 'title' => ''],
+ 'DeployParameters' => ['description' => 'The deployment configurations of the application group.', 'type' => 'string', 'example' => '{ "TemplateURL": "https://ros-template.oss-cn-zhangjiakou.aliyuncs.com/App_Management_Existing_Vpc_Ecs_Instance.json", "Parameters": { "ZoneId": "cn-hangzhou-k", "ProjectName": "test", "SystemDiskSize": 40, "InstanceChargeType": "PostPaid", "SecurityGroupId": "sg-bp1a4374akk63jl8tddy", "VSwitchId": "vsw-bp1fcvc3zn0jrag86rrlm", "SystemDiskCategory": "cloud_essd", "InstancePassword": "******", "InternetChargeType": "PayByTraffic", "InstanceCount": 1, "InternetMaxBandwidthOut": 0, "VpcId": "vpc-bp1i99boyas8i8m9t3skp", "EcsImageId": "centos_8_5_x64_20G_alibase_20211228.vhd", "DataDiskSize": 100, "EcsInstanceType": "ecs.s6-c1m4.small", "DataDiskCategory": "cloud_efficiency", "EnvironmentCommandId": "c-hz028fc3g031gcg" }', 'title' => ''],
+ 'Status' => ['description' => 'The status of the application group.', 'type' => 'string', 'example' => 'Created', 'title' => ''],
+ 'StatusReason' => ['description' => 'The reason for the status of the application group.', 'type' => 'string', 'example' => 'Stack CREATE completed successfully', 'title' => ''],
+ 'DeployOutputs' => ['description' => 'The outputs of the deployment.', 'type' => 'string', 'example' => '{ "Outputs": [ { "Description": "No description given", "OutputKey": "InstanceIds" } ], "StackId": "6ef4b860-f6e7-4145-8d22-f4a2a32363e1" } }', 'title' => ''],
+ 'Progress' => ['description' => 'The creation progress of the application instance.', 'type' => 'string', 'example' => '100', 'title' => ''],
+ 'OperationMetadata' => ['description' => 'The O\\&M configuration.', 'type' => 'string', 'example' => '{\\"PrometheusConfigMap\\":{\\" template1\\":{\\"EnablePrometheus\\":false}}}', 'title' => ''],
+ 'ApplicationSource' => ['description' => 'The source of the application.', 'type' => 'string', 'example' => '{"Platform":"github","RepoName":"wenle/springboot-ecs-sourcecode-demo","Owner":"wenle","Branch":"main","CommitHash":"8559ff3ac7568fc7951ff63f841883ee3f06c6fe","CommitMessage":"Init computenest project"}', 'title' => ''],
+ 'ErrorType' => ['description' => 'The type of the error that occurred when the build failed.', 'type' => 'string', 'example' => 'Build', 'title' => ''],
+ 'ErrorDetail' => ['description' => 'The details of the error that occurred when the build failed.', 'type' => 'string', 'example' => 'ERROR: failed to build: executing lifecycle: failed with status code: 51', 'title' => ''],
+ 'DeployedRevisionIds' => ['description' => 'A list of deployment revision IDs. Only the 10 most recent IDs are displayed.', 'type' => 'string', 'example' => '["rev-f575b688015442d28d26","rev-b9876a39cf84490db638","rev-782fc7a0c0974d89b1eb"]', 'title' => ''],
+ 'ExecutionId' => ['description' => 'The execution ID.', 'type' => 'string', 'example' => 'exec-f5dee943869c436a9f57', 'title' => ''],
+ 'MonitorMetadata' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
],
+ 'title' => '',
+ 'example' => '',
],
],
'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"BA326372-2A10-4C3B-BE3E-6439DB7557CC\\",\\n \\"Parameter\\": {\\n \\"Type\\": \\"String\\",\\n \\"UpdatedDate\\": \\"2020-09-01T08:01:43Z\\",\\n \\"UpdatedBy\\": \\"root(130900000)\\",\\n \\"Tags\\": {\\n \\"k1\\": \\"v1\\",\\n \\"k2\\": \\"v2\\"\\n },\\n \\"Value\\": \\"parameter\\",\\n \\"Description\\": \\"parameter\\",\\n \\"Constraints\\": \\"\'{\'\'AllowedValues\\\\\\":[\\\\\\"parameter\\\\\\"],\\\\\\"AllowedPattern\\\\\\":\\\\\\"parameter\\\\\\",\\\\\\"MinLength\\\\\\":0,\\\\\\"MaxLength\\\\\\":20}\'\\",\\n \\"ResourceGroupId\\": \\"rg-acfmxsn4m*****\\",\\n \\"CreatedBy\\": \\"root(130900000)\\",\\n \\"CreatedDate\\": \\"2020-09-01T08:01:43Z\\",\\n \\"ParameterVersion\\": 1,\\n \\"Name\\": \\"MyParameter\\",\\n \\"Id\\": \\"p-4c4b401cab6747xxxxxx\\",\\n \\"ShareType\\": \\"Private\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"<GetParameterResponse>\\n <RequestId>BA326372-2A10-4C3B-BE3E-6439DB7557CC</RequestId>\\n <Parameter>\\n <Type>String</Type>\\n <UpdatedDate>2020-09-01T08:01:43Z</UpdatedDate>\\n <UpdatedBy>root(130900000)</UpdatedBy>\\n <Value>parameter</Value>\\n <Description>parameter</Description>\\n <Constraints>\'{\'\'AllowedValues\\":[\\"parameter\\"],\\"AllowedPattern\\":\\"parameter\\",\\"MinLength\\":0,\\"MaxLength\\":20}\'</Constraints>\\n <ResourceGroupId>rg-acfmxsn4m*****</ResourceGroupId>\\n <CreatedBy>root(130900000)</CreatedBy>\\n <CreatedDate>2020-09-01T08:01:43Z</CreatedDate>\\n <ParameterVersion>1</ParameterVersion>\\n <Name>MyParameter</Name>\\n <Id>p-4c4b401cab6747xxxxxx</Id>\\n <Tags>\\n <k1>v1</k1>\\n <k2>v2</k2>\\n </Tags>\\n <ShareType>Private</ShareType>\\n </Parameter>\\n</GetParameterResponse>","errorExample":""}]',
- 'title' => 'GetParameter',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"92EA60ED-544D-55E9-93D9-237BE9976C0D\\",\\n \\"ApplicationGroup\\": {\\n \\"CmsGroupId\\": \\"12345678\\",\\n \\"DeployRegionId\\": \\"cn-hangzhou\\",\\n \\"Description\\": \\"ApplicationGroup\\",\\n \\"UpdateDate\\": \\"2021-09-07T10:28:25Z\\",\\n \\"ImportTagKey\\": \\"k1\\",\\n \\"ApplicationName\\": \\"MyApplication\\",\\n \\"ImportTagValue\\": \\"v1\\",\\n \\"Name\\": \\"MyApplicationGroup\\",\\n \\"CreateDate\\": \\"2021-09-07T10:28:25Z\\",\\n \\"DeployParameters\\": \\"{ \\\\\\"TemplateURL\\\\\\": \\\\\\"https://ros-template.oss-cn-zhangjiakou.aliyuncs.com/App_Management_Existing_Vpc_Ecs_Instance.json\\\\\\", \\\\\\"Parameters\\\\\\": { \\\\\\"ZoneId\\\\\\": \\\\\\"cn-hangzhou-k\\\\\\", \\\\\\"ProjectName\\\\\\": \\\\\\"test\\\\\\", \\\\\\"SystemDiskSize\\\\\\": 40, \\\\\\"InstanceChargeType\\\\\\": \\\\\\"PostPaid\\\\\\", \\\\\\"SecurityGroupId\\\\\\": \\\\\\"sg-bp1a4374akk63jl8tddy\\\\\\", \\\\\\"VSwitchId\\\\\\": \\\\\\"vsw-bp1fcvc3zn0jrag86rrlm\\\\\\", \\\\\\"SystemDiskCategory\\\\\\": \\\\\\"cloud_essd\\\\\\", \\\\\\"InstancePassword\\\\\\": \\\\\\"******\\\\\\", \\\\\\"InternetChargeType\\\\\\": \\\\\\"PayByTraffic\\\\\\", \\\\\\"InstanceCount\\\\\\": 1, \\\\\\"InternetMaxBandwidthOut\\\\\\": 0, \\\\\\"VpcId\\\\\\": \\\\\\"vpc-bp1i99boyas8i8m9t3skp\\\\\\", \\\\\\"EcsImageId\\\\\\": \\\\\\"centos_8_5_x64_20G_alibase_20211228.vhd\\\\\\", \\\\\\"DataDiskSize\\\\\\": 100, \\\\\\"EcsInstanceType\\\\\\": \\\\\\"ecs.s6-c1m4.small\\\\\\", \\\\\\"DataDiskCategory\\\\\\": \\\\\\"cloud_efficiency\\\\\\", \\\\\\"EnvironmentCommandId\\\\\\": \\\\\\"c-hz028fc3g031gcg\\\\\\" }\\",\\n \\"Status\\": \\"Created\\",\\n \\"StatusReason\\": \\"Stack CREATE completed successfully\\",\\n \\"DeployOutputs\\": \\"{ \\\\\\"Outputs\\\\\\": [ { \\\\\\"Description\\\\\\": \\\\\\"No description given\\\\\\", \\\\\\"OutputKey\\\\\\": \\\\\\"InstanceIds\\\\\\" } ], \\\\\\"StackId\\\\\\": \\\\\\"6ef4b860-f6e7-4145-8d22-f4a2a32363e1\\\\\\" } }\\",\\n \\"Progress\\": \\"100\\",\\n \\"OperationMetadata\\": \\"{\\\\\\\\\\\\\\"PrometheusConfigMap\\\\\\\\\\\\\\":{\\\\\\\\\\\\\\" template1\\\\\\\\\\\\\\":{\\\\\\\\\\\\\\"EnablePrometheus\\\\\\\\\\\\\\":false}}}\\",\\n \\"ApplicationSource\\": \\"{\\\\\\"Platform\\\\\\":\\\\\\"github\\\\\\",\\\\\\"RepoName\\\\\\":\\\\\\"wenle/springboot-ecs-sourcecode-demo\\\\\\",\\\\\\"Owner\\\\\\":\\\\\\"wenle\\\\\\",\\\\\\"Branch\\\\\\":\\\\\\"main\\\\\\",\\\\\\"CommitHash\\\\\\":\\\\\\"8559ff3ac7568fc7951ff63f841883ee3f06c6fe\\\\\\",\\\\\\"CommitMessage\\\\\\":\\\\\\"Init computenest project\\\\\\"}\\",\\n \\"ErrorType\\": \\"Build\\",\\n \\"ErrorDetail\\": \\"ERROR: failed to build: executing lifecycle: failed with status code: 51\\",\\n \\"DeployedRevisionIds\\": \\"[\\\\\\"rev-f575b688015442d28d26\\\\\\",\\\\\\"rev-b9876a39cf84490db638\\\\\\",\\\\\\"rev-782fc7a0c0974d89b1eb\\\\\\"]\\",\\n \\"ExecutionId\\": \\"exec-f5dee943869c436a9f57\\",\\n \\"MonitorMetadata\\": \\"\\"\\n }\\n}","type":"json"}]',
+ 'title' => 'GetApplicationGroup',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'ListParameters' => [
- 'summary' => 'Queries common parameters. Multiple methods are supported to filter common parameters.',
- 'methods' => [
- 'post',
- 'get',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetApplicationGroup'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'oos:GetApplicationGroup',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [
+ ['conditionKey' => 'oos:TLSVersion'],
+ ],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'OOS', 'resourceType' => 'ApplicationGroup', 'arn' => 'acs:oos:{#regionId}:{#AccountId}:application/{#applicationName}/applicationgroup/{#applicationGroupName}'],
+ ],
+ ],
+ ],
],
+ 'translator' => 'manual',
+ ],
+ 'GetChatConfiguration' => [
+ 'summary' => 'Creates, updates, retrieves, and deletes chat configurations for platforms such as DingTalk.',
+ 'description' => '## Request description'."\n"
+ ."\n"
+ .'This API is used to create, update, retrieve, and delete chatbot configurations for integrations with instant messaging (IM) tools, such as DingTalk. The API provides fine-grained permission control for different users or user groups. You can also specify a RAM role to execute operations and add tags to configurations for easier management and categorization.'."\n"
+ ."\n"
+ .'Ensure that the `RegionId`, `ConversationId`, and all parameters in the request body are accurate when you call this API. Handle sensitive information, such as the `ClientId` and `ClientSecret` fields, with care to prevent disclosure to unauthorized parties.',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -4969,151 +3869,185 @@
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'list',
+ 'operationType' => 'create',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeCode' => '93980',
- 'abilityTreeNodes' => [
- 'FEATUREoosMR618F',
- ],
+ 'abilityTreeNodes' => ['FEATUREoosQL14T7'],
+ 'autoTest' => true,
'tenantRelevance' => 'publicInformation',
],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The region ID.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => 'The region ID.', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''],
],
[
'name' => 'Name',
'in' => 'query',
- 'schema' => [
- 'description' => 'The name of the common parameter.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'MyParameter',
- ],
- ],
- [
- 'name' => 'MaxResults',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The number of entries per page. Valid values: 10 to 100. Default value: 50.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'maximum' => '100',
- 'minimum' => '10',
- 'example' => '50',
- 'default' => '50',
- ],
+ 'schema' => ['description' => 'The configuration name.', 'type' => 'string', 'required' => false, 'example' => 'chatOps-qiwei', 'title' => ''],
],
- [
- 'name' => 'NextToken',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The pagination token that can be used in the next request to retrieve a new page of results.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'MTRBMDc0NjAtRUJFNy00N0NBLTk3NTctMTJDQzA',
- ],
- ],
- [
- 'name' => 'SortField',
- 'in' => 'query',
+ ],
+ 'responses' => [
+ 200 => [
+ 'description' => '成功响应',
'schema' => [
- 'description' => 'The field used to sort the query results. Valid values:'."\n"
- ."\n"
- .'* Name'."\n"
- .'* CreatedDate'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'Name',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => '4DB0****1234'],
+ 'ChatConfiguration' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Name' => ['description' => 'The name of the chat configuration.', 'type' => 'string', 'example' => 'chatops', 'title' => ''],
+ 'Type' => ['description' => 'The type of the chat configuration. Valid values:'."\n"
+ ."\n"
+ .'- **DingTalk**: A DingTalk configuration.'."\n"
+ ."\n"
+ .'- **WeChat**: A WeCom configuration.'."\n"
+ ."\n"
+ .'**TODO: This information was generated by AI based on recent API call logs. Please verify its accuracy.**', 'type' => 'string', 'example' => 'DingTalk', 'title' => ''],
+ 'RamRole' => ['description' => 'The name of the RAM role used to execute operations.', 'type' => 'string', 'example' => 'OOSServiceRole', 'title' => ''],
+ 'Configuration' => ['description' => 'The specific content of the chat configuration. This is a JSON string that contains sensitive information, such as the client ID and key.', 'type' => 'string', 'example' => '{"DingTalkClientId": "dingpxlbxp0rgs7uxmtb", "DingTalkClientSecret": "******", "DingTalkTemplateId": "381c5aee-f8af-48a4-94be-cce587e42ea4.schema"}', 'title' => ''],
+ 'ResourceGroupId' => ['description' => 'The ID of the resource group to which the resource belongs.', 'type' => 'string', 'example' => 's', 'title' => ''],
+ 'CreatedDate' => ['description' => 'The time when the chat configuration was created. The format is ISO 8601.', 'type' => 'string', 'example' => '2025-12-26T09:53:02+00:00', 'title' => ''],
+ 'UpdatedDate' => ['description' => 'The time when the chat configuration was last updated. The format is ISO 8601.', 'type' => 'string', 'example' => '2026-01-07T02:14:55+00:00', 'title' => ''],
+ 'Outputs' => ['description' => 'The output information of the chat configuration. This is a JSON string that contains parameters such as the webhook URL.', 'type' => 'string', 'example' => '{"URL": "https://1407907063606569.appflow.aliyunnest.com/webhook/"}', 'title' => ''],
+ ],
+ 'description' => 'The details of the chat configuration. This includes properties such as the name, type, and RAM role.',
+ 'example' => '{'."\n"
+ .' "Name": "chatops",'."\n"
+ .' "Type": "DingTalk",'."\n"
+ .' "RamRole": "OOSServiceRole",'."\n"
+ .' "Configuration": "{\\"DingTalkClientId\\": \\"dingpxlbxp0rgs7uxmtb\\", \\"DingTalkClientSecret\\": \\"******\\", \\"DingTalkTemplateId\\": \\"381c5aee-f8af-48a4-94be-cce587e42ea4.schema\\"}",'."\n"
+ .' "ResourceGroupId": "s",'."\n"
+ .' "CreatedDate": "2025-12-26T09:53:02+00:00",'."\n"
+ .' "UpdatedDate": "2026-01-07T02:14:55+00:00",'."\n"
+ .' "Outputs": "{\\"URL\\": \\"https://1407907063606569.appflow.aliyunnest.com/webhook/\\"}",'."\n"
+ .' "RequestId": "4DB0****1234"'."\n"
+ .'}',
+ 'title' => '',
+ ],
+ ],
+ 'title' => '',
+ 'description' => 'The details of the successful response.',
+ 'example' => '',
],
],
+ ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => 'GetChatConfiguration',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [
[
- 'name' => 'SortOrder',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The order in which the entries are sorted. Valid values:'."\n"
- ."\n"
- .'* Ascending'."\n"
- .'* Descending (Default)'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'Descending',
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'oos:GetChatConfiguration',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'OOS', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
],
],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"4DB0****1234\\",\\n \\"ChatConfiguration\\": {\\n \\"Name\\": \\"chatops\\",\\n \\"Type\\": \\"DingTalk\\",\\n \\"RamRole\\": \\"OOSServiceRole\\",\\n \\"Configuration\\": \\"{\\\\\\"DingTalkClientId\\\\\\": \\\\\\"dingpxlbxp0rgs7uxmtb\\\\\\", \\\\\\"DingTalkClientSecret\\\\\\": \\\\\\"******\\\\\\", \\\\\\"DingTalkTemplateId\\\\\\": \\\\\\"381c5aee-f8af-48a4-94be-cce587e42ea4.schema\\\\\\"}\\",\\n \\"ResourceGroupId\\": \\"s\\",\\n \\"CreatedDate\\": \\"2025-12-26T09:53:02+00:00\\",\\n \\"UpdatedDate\\": \\"2026-01-07T02:14:55+00:00\\",\\n \\"Outputs\\": \\"{\\\\\\"URL\\\\\\": \\\\\\"https://1407907063606569.appflow.aliyunnest.com/webhook/\\\\\\"}\\"\\n }\\n}","type":"json"}]',
+ ],
+ 'GetDeployRevision' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
+ 'security' => [
[
- 'name' => 'Type',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The data type of the common parameter.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'String',
- ],
+ 'AK' => [],
],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '93957',
+ 'abilityTreeNodes' => ['FEATUREoosXBZWHV'],
+ 'autoTest' => true,
+ 'tenantRelevance' => 'tenant',
+ ],
+ 'parameters' => [
[
- 'name' => 'Path',
+ 'name' => 'RevisionId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The path of the parameter. For example, if the name of a parameter is /path/path1/Myparameter, the path of the parameter is /path/path1/.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => '/path1/path2/',
- ],
+ 'schema' => ['description' => 'The revision ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'rev-64488a**********'."\n", 'title' => ''],
],
- [
- 'name' => 'Recursive',
- 'in' => 'query',
+ ],
+ 'responses' => [
+ 200 => [
'schema' => [
- 'description' => 'Specifies whether to query parameters from all levels of directories in the specified path. Default value: false.'."\n",
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'false',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'A5320F1D-92D9-44BB-A416-5FC525ED6D57', 'title' => ''],
+ 'Revision' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Description' => ['description' => 'The description of the revision.', 'type' => 'string', 'example' => '2026-01-05', 'title' => ''],
+ 'RevisionId' => ['description' => 'The revision ID.', 'type' => 'string', 'example' => 'rev-64488a**********', 'title' => ''],
+ 'ApplicationName' => ['description' => 'The name of the application associated with the revision.', 'type' => 'string', 'example' => 'AgentColin3', 'title' => ''],
+ 'RevisionType' => ['description' => 'The revision type.', 'type' => 'string', 'example' => 'Oss', 'title' => ''],
+ 'Location' => ['description' => 'The storage location details of the revision.', 'type' => 'string', 'example' => '{"bucketName":"ecs-application-ui-test","objectName":"task-cmd-exec.log","regionId":"cn-hangzhou"}', 'title' => ''],
+ 'Hooks' => ['description' => 'The deployment lifecycle hooks.', 'type' => 'string', 'example' => '{"applicationStart": "python3 main.py &", "workingDir": "/root", "applicationStop": "pkill -f main.py 2>/dev/null || true"}', 'title' => ''],
+ 'CreateDate' => ['description' => 'The date and time when the revision was created.', 'type' => 'string', 'example' => '2025-02-25 14:09:41', 'title' => ''],
+ 'UpdateDate' => ['description' => 'The date and time when the revision was last updated.', 'type' => 'string', 'example' => '2025-02-25 14:09:41', 'title' => ''],
+ 'DeployResourceType' => ['description' => 'The type of the target deployment resource.', 'type' => 'string', 'example' => 'Ecs', 'title' => ''],
+ ],
+ 'description' => 'The details of the application revision.',
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
+ ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => 'GetDeployRevision',
+ 'summary' => 'Retrieves the details of an application revision.',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A5320F1D-92D9-44BB-A416-5FC525ED6D57\\",\\n \\"Revision\\": {\\n \\"Description\\": \\"2026-01-05\\",\\n \\"RevisionId\\": \\"rev-64488a**********\\",\\n \\"ApplicationName\\": \\"AgentColin3\\",\\n \\"RevisionType\\": \\"Oss\\",\\n \\"Location\\": \\"{\\\\\\"bucketName\\\\\\":\\\\\\"ecs-application-ui-test\\\\\\",\\\\\\"objectName\\\\\\":\\\\\\"task-cmd-exec.log\\\\\\",\\\\\\"regionId\\\\\\":\\\\\\"cn-hangzhou\\\\\\"}\\",\\n \\"Hooks\\": \\"{\\\\\\"applicationStart\\\\\\": \\\\\\"python3 main.py &\\\\\\", \\\\\\"workingDir\\\\\\": \\\\\\"/root\\\\\\", \\\\\\"applicationStop\\\\\\": \\\\\\"pkill -f main.py 2>/dev/null || true\\\\\\"}\\",\\n \\"CreateDate\\": \\"2025-02-25 14:09:41\\",\\n \\"UpdateDate\\": \\"2025-02-25 14:09:41\\",\\n \\"DeployResourceType\\": \\"Ecs\\"\\n }\\n}","type":"json"}]',
+ ],
+ 'GetExecutionTemplate' => [
+ 'summary' => 'Queries the information about the template of an execution, including the content of the template.',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
[
- 'name' => 'Tags',
- 'in' => 'query',
- 'style' => 'json',
- 'schema' => [
- 'description' => 'The tags.'."\n",
- 'type' => 'object',
- 'required' => false,
- 'example' => '{"k1": "v1", "k2": "v2"}',
- ],
+ 'AK' => [],
],
+ ],
+ 'operationType' => 'read',
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '93959',
+ 'abilityTreeNodes' => ['FEATUREoosQL14T7'],
+ ],
+ 'parameters' => [
[
- 'name' => 'ResourceGroupId',
+ 'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The resource group ID.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'rg-acfmxsn4m4******',
- ],
+ 'schema' => ['description' => 'The ID of the region.', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''],
],
[
- 'name' => 'ShareType',
+ 'name' => 'ExecutionId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The share type of the common parameter. Valid values:'."\n"
- ."\n"
- .'* Public'."\n"
- .'* Private'."\n"
- ."\n"
- .'Default value: Private.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => '‘Private’',
- ],
+ 'schema' => ['description' => 'The ID of the execution.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'exec-046490ff88f242', 'title' => ''],
],
],
'responses' => [
@@ -5121,122 +4055,67 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'NextToken' => [
- 'description' => 'A pagination token. It can be used in the next request to retrieve a new page of results.'."\n",
- 'type' => 'string',
- 'example' => 'gAAAAABfTgv5ewUWmNdJ3g7JVLvX70sPH90GZOVGC6KPDUL0FIIb',
- ],
- 'RequestId' => [
- 'description' => 'The ID of the request.'."\n",
- 'type' => 'string',
- 'example' => 'A81E4B2E-6B33-4BAE-9856-55DB7C893E01',
- ],
- 'TotalCount' => [
- 'description' => 'The total number of entries returned.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '5',
- ],
- 'MaxResults' => [
- 'description' => 'The number of entries per page. Valid values: 10 to 100. Default value: 50.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '50',
- ],
- 'Parameters' => [
- 'description' => 'The information about the common parameter.'."\n",
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'Type' => [
- 'description' => 'The data type of the common parameter.'."\n",
- 'type' => 'string',
- 'example' => 'String',
- ],
- 'UpdatedDate' => [
- 'description' => 'The time when the common parameter was updated.'."\n",
- 'type' => 'string',
- 'example' => '2020-09-01T08:01:43Z',
- ],
- 'UpdatedBy' => [
- 'description' => 'The user who updated the common parameter.'."\n",
- 'type' => 'string',
- 'example' => 'root(130900000)',
- ],
- 'Tags' => [
- 'description' => 'The tags added to the common parameter.'."\n",
- 'type' => 'object',
- 'example' => '{"k1": "v1", "k2": "v2"}',
- ],
- 'Description' => [
- 'description' => 'The description of the common parameter.'."\n",
- 'type' => 'string',
- 'example' => 'parameter',
- ],
- 'CreatedBy' => [
- 'description' => 'The user who created the common parameter.'."\n",
- 'type' => 'string',
- 'example' => 'root(130900000)',
- ],
- 'ResourceGroupId' => [
- 'description' => 'The resource group ID.'."\n",
- 'type' => 'string',
- 'example' => 'rg-acfmxsn4m4******',
- ],
- 'CreatedDate' => [
- 'description' => 'The time when the common parameter was created.'."\n",
- 'type' => 'string',
- 'example' => '2020-09-01T08:01:43Z',
- ],
- 'ParameterVersion' => [
- 'description' => 'The version number of the common parameter.'."\n",
- 'type' => 'string',
- 'example' => '1',
- ],
- 'Name' => [
- 'description' => 'The name of the common parameter.'."\n",
- 'type' => 'string',
- 'example' => 'MyParameter',
- ],
- 'Id' => [
- 'description' => 'The common parameter ID.'."\n",
- 'type' => 'string',
- 'example' => 'p-4c4b401cab6747xxxxxx',
- ],
- 'ShareType' => [
- 'description' => 'The share type of the common parameter.'."\n",
- 'type' => 'string',
- 'example' => 'Private',
- ],
- ],
- 'description' => 'The information about the parameters.'."\n",
+ 'Content' => ['description' => 'The content of the template.', 'type' => 'string', 'example' => '"{\\n \\"FormatVersion\\": \\"OOS-2019-06-01\\",\\n \\"Parameters\\": {\\n \\"Status\\": {\\n \\"Type\\": \\"String\\",\\n \\"Description\\": \\"(Required) The ID of the ECS instance.\\"\\n }\\n },\\n \\"Tasks\\": [\\n {\\n \\"Name\\": \\"bar\\",\\n \\"Properties\\": {\\n \\"Parameters\\": {\\n \\"Status\\": \\"{{ Status }}\\"\\n },\\n \\"API\\": \\"DescribeInstances\\",\\n \\"Service\\": \\"Ecs\\"\\n },\\n \\"Action\\": \\"acs::ExecuteAPI\\",\\n \\"Outputs\\": {\\n \\"InstanceIds\\", {\\n \\"ValueSelector\\": \\".Instances.Instance[].InstanceId\\",\\n \\"Type\\": \\"List\\"\\n }\\n }\\n }\\n ],\\n \\"Outputs\\": {\\n \\"InstanceIds\\": {\\n \\"Value\\": \\" {{ bar.InstanceIds }} \\",\\n \\"Type\\": \\"List\\"\\n }\\n }\\n}\\n"', 'title' => ''],
+ 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => '14A60-EBE7-47CA-9757-12C1D47A', 'title' => ''],
+ 'Template' => [
+ 'description' => 'The metadata of the template.',
+ 'type' => 'object',
+ 'properties' => [
+ 'Hash' => ['description' => 'The SHA-256 value of the template content.', 'type' => 'string', 'example' => '4bc7d7a21b3e003434b9c223f6e6d2578b5ebfeb5be28c1fcf8a8a1b11907bb4', 'title' => ''],
+ 'UpdatedDate' => ['description' => 'The time when the template was last updated.', 'type' => 'string', 'example' => '2019-05-16T10:26:14Z', 'title' => ''],
+ 'UpdatedBy' => ['description' => 'The user who last updated the template.', 'type' => 'string', 'example' => 'root(13090000)', 'title' => ''],
+ 'Tags' => ['description' => 'The tag keys and values. The number of key-value pairs ranges from 1 to 20.', 'type' => 'object', 'example' => '{"k1":"k2","k2":"v2"}', 'title' => ''],
+ 'TemplateName' => ['description' => 'The name of the template.', 'type' => 'string', 'example' => 'MyTemplate', 'title' => ''],
+ 'TemplateVersion' => ['description' => 'The version of the template. The name of the version consists of the letter v and a number. The number starts from 1.', 'type' => 'string', 'example' => 'v1', 'title' => ''],
+ 'TemplateFormat' => ['description' => 'The format of the template. The system automatically determines whether the format is JSON or YAML.', 'type' => 'string', 'example' => 'JSON', 'title' => ''],
+ 'Description' => ['description' => 'The description of the template.', 'type' => 'string', 'example' => 'Descirbe instances of given status', 'title' => ''],
+ 'CreatedBy' => ['description' => 'The creator of the template.', 'type' => 'string', 'example' => 'root(13090000)', 'title' => ''],
+ 'CreatedDate' => ['description' => 'The time when the template was created.', 'type' => 'string', 'example' => '2019-05-16T10:26:14Z', 'title' => ''],
+ 'TemplateId' => ['description' => 'The ID of the template.', 'type' => 'string', 'example' => 't-94753d4d828d38', 'title' => ''],
+ 'ShareType' => ['description' => 'The share type of the template. The share type of a user-created template is **Private**.', 'type' => 'string', 'example' => 'Private', 'title' => ''],
],
+ 'title' => '',
+ 'example' => '',
],
],
'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"NextToken\\": \\"gAAAAABfTgv5ewUWmNdJ3g7JVLvX70sPH90GZOVGC6KPDUL0FIIb\\",\\n \\"RequestId\\": \\"A81E4B2E-6B33-4BAE-9856-55DB7C893E01\\",\\n \\"TotalCount\\": 5,\\n \\"MaxResults\\": 50,\\n \\"Parameters\\": [\\n {\\n \\"Type\\": \\"String\\",\\n \\"UpdatedDate\\": \\"2020-09-01T08:01:43Z\\",\\n \\"UpdatedBy\\": \\"root(130900000)\\",\\n \\"Tags\\": {\\n \\"k1\\": \\"v1\\",\\n \\"k2\\": \\"v2\\"\\n },\\n \\"Description\\": \\"parameter\\",\\n \\"CreatedBy\\": \\"root(130900000)\\",\\n \\"ResourceGroupId\\": \\"rg-acfmxsn4m4******\\",\\n \\"CreatedDate\\": \\"2020-09-01T08:01:43Z\\",\\n \\"ParameterVersion\\": \\"1\\",\\n \\"Name\\": \\"MyParameter\\",\\n \\"Id\\": \\"p-4c4b401cab6747xxxxxx\\",\\n \\"ShareType\\": \\"Private\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<ListParametersResponse>\\n <NextToken>gAAAAABfTgv5ewUWmNdJ3g7JVLvX70sPH90GZOVGC6KPDUL0FIIb</NextToken>\\n <RequestId>A81E4B2E-6B33-4BAE-9856-55DB7C893E01</RequestId>\\n <TotalCount>5</TotalCount>\\n <MaxResults>50</MaxResults>\\n <Parameters>\\n <Type>String</Type>\\n <UpdatedDate>2020-09-01T08:01:43Z</UpdatedDate>\\n <UpdatedBy>root(130900000)</UpdatedBy>\\n <Description>parameter</Description>\\n <CreatedBy>root(130900000)</CreatedBy>\\n <ResourceGroupId>rg-acfmxsn4m4******</ResourceGroupId>\\n <CreatedDate>2020-09-01T08:01:43Z</CreatedDate>\\n <ParameterVersion>1</ParameterVersion>\\n <Name>MyParameter</Name>\\n <Id>p-4c4b401cab6747xxxxxx</Id>\\n <Tags>\\n <k1>v1</k1>\\n <k2>v2</k2>\\n </Tags>\\n <ShareType>Private</ShareType>\\n </Parameters>\\n</ListParametersResponse>","errorExample":""}]',
- 'title' => 'ListParameters',
+ 'title' => 'GetExecutionTemplate',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'ListParameterVersions' => [
- 'summary' => 'Queries the versions of a common parameter.',
- 'methods' => [
- 'post',
- 'get',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GetExecutionTemplate'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'oos:GetExecutionTemplate',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [
+ ['conditionKey' => 'oos:tag', 'validationType' => 'always'],
+ ['conditionKey' => 'oos:TLSVersion'],
+ ],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'OOS', 'resourceType' => 'Execution', 'arn' => 'acs:oos:{#regionId}:{#accountId}:execution/{#executionId}'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Content\\": \\"\\\\\\"{\\\\\\\\n \\\\\\\\\\\\\\"FormatVersion\\\\\\\\\\\\\\": \\\\\\\\\\\\\\"OOS-2019-06-01\\\\\\\\\\\\\\",\\\\\\\\n \\\\\\\\\\\\\\"Parameters\\\\\\\\\\\\\\": {\\\\\\\\n \\\\\\\\\\\\\\"Status\\\\\\\\\\\\\\": {\\\\\\\\n \\\\\\\\\\\\\\"Type\\\\\\\\\\\\\\": \\\\\\\\\\\\\\"String\\\\\\\\\\\\\\",\\\\\\\\n \\\\\\\\\\\\\\"Description\\\\\\\\\\\\\\": \\\\\\\\\\\\\\"(Required) The ID of the ECS instance.\\\\\\\\\\\\\\"\\\\\\\\n }\\\\\\\\n },\\\\\\\\n \\\\\\\\\\\\\\"Tasks\\\\\\\\\\\\\\": [\\\\\\\\n {\\\\\\\\n \\\\\\\\\\\\\\"Name\\\\\\\\\\\\\\": \\\\\\\\\\\\\\"bar\\\\\\\\\\\\\\",\\\\\\\\n \\\\\\\\\\\\\\"Properties\\\\\\\\\\\\\\": {\\\\\\\\n \\\\\\\\\\\\\\"Parameters\\\\\\\\\\\\\\": {\\\\\\\\n \\\\\\\\\\\\\\"Status\\\\\\\\\\\\\\": \\\\\\\\\\\\\\"{{ Status }}\\\\\\\\\\\\\\"\\\\\\\\n },\\\\\\\\n \\\\\\\\\\\\\\"API\\\\\\\\\\\\\\": \\\\\\\\\\\\\\"DescribeInstances\\\\\\\\\\\\\\",\\\\\\\\n \\\\\\\\\\\\\\"Service\\\\\\\\\\\\\\": \\\\\\\\\\\\\\"Ecs\\\\\\\\\\\\\\"\\\\\\\\n },\\\\\\\\n \\\\\\\\\\\\\\"Action\\\\\\\\\\\\\\": \\\\\\\\\\\\\\"acs::ExecuteAPI\\\\\\\\\\\\\\",\\\\\\\\n \\\\\\\\\\\\\\"Outputs\\\\\\\\\\\\\\": {\\\\\\\\n \\\\\\\\\\\\\\"InstanceIds\\\\\\\\\\\\\\", {\\\\\\\\n \\\\\\\\\\\\\\"ValueSelector\\\\\\\\\\\\\\": \\\\\\\\\\\\\\".Instances.Instance[].InstanceId\\\\\\\\\\\\\\",\\\\\\\\n \\\\\\\\\\\\\\"Type\\\\\\\\\\\\\\": \\\\\\\\\\\\\\"List\\\\\\\\\\\\\\"\\\\\\\\n }\\\\\\\\n }\\\\\\\\n }\\\\\\\\n ],\\\\\\\\n \\\\\\\\\\\\\\"Outputs\\\\\\\\\\\\\\": {\\\\\\\\n \\\\\\\\\\\\\\"InstanceIds\\\\\\\\\\\\\\": {\\\\\\\\n \\\\\\\\\\\\\\"Value\\\\\\\\\\\\\\": \\\\\\\\\\\\\\" {{ bar.InstanceIds }} \\\\\\\\\\\\\\",\\\\\\\\n \\\\\\\\\\\\\\"Type\\\\\\\\\\\\\\": \\\\\\\\\\\\\\"List\\\\\\\\\\\\\\"\\\\\\\\n }\\\\\\\\n }\\\\\\\\n}\\\\\\\\n\\\\\\"\\",\\n \\"RequestId\\": \\"14A60-EBE7-47CA-9757-12C1D47A\\",\\n \\"Template\\": {\\n \\"Hash\\": \\"4bc7d7a21b3e003434b9c223f6e6d2578b5ebfeb5be28c1fcf8a8a1b11907bb4\\",\\n \\"UpdatedDate\\": \\"2019-05-16T10:26:14Z\\",\\n \\"UpdatedBy\\": \\"root(13090000)\\",\\n \\"Tags\\": {\\n \\"k1\\": \\"k2\\",\\n \\"k2\\": \\"v2\\"\\n },\\n \\"TemplateName\\": \\"MyTemplate\\",\\n \\"TemplateVersion\\": \\"v1\\",\\n \\"TemplateFormat\\": \\"JSON\\",\\n \\"Description\\": \\"Descirbe instances of given status\\",\\n \\"CreatedBy\\": \\"root(13090000)\\",\\n \\"CreatedDate\\": \\"2019-05-16T10:26:14Z\\",\\n \\"TemplateId\\": \\"t-94753d4d828d38\\",\\n \\"ShareType\\": \\"Private\\"\\n }\\n}","type":"json"}]',
+ ],
+ 'GetGitBranch' => [
+ 'summary' => 'Queries the details of a Git branch. You can query public repositories without authorization.',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -5245,70 +4124,49 @@
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'list',
+ 'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeCode' => '93981',
- 'abilityTreeNodes' => [
- 'FEATUREoosCPYH5Z',
- ],
+ 'abilityTreeCode' => '233936',
+ 'abilityTreeNodes' => ['FEATUREoosCPYH5Z'],
+ 'autoTest' => true,
'tenantRelevance' => 'publicInformation',
],
'parameters' => [
[
- 'name' => 'RegionId',
+ 'name' => 'Platform',
'in' => 'query',
- 'schema' => [
- 'description' => 'The region ID.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['type' => 'string', 'required' => true, 'description' => 'The Git platform.', 'title' => '', 'example' => 'github'],
],
[
- 'name' => 'Name',
+ 'name' => 'Owner',
'in' => 'query',
- 'schema' => [
- 'description' => 'The name of the common parameter.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'MyParameter',
- ],
+ 'schema' => ['type' => 'string', 'required' => false, 'description' => 'The logon account name.', 'title' => '', 'example' => 'namexxx'],
],
[
- 'name' => 'MaxResults',
+ 'name' => 'RepoFullName',
'in' => 'query',
- 'schema' => [
- 'description' => 'The number of entries per page. Valid values: 10 to 100. Default value: 50.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'maximum' => '100',
- 'minimum' => '10',
- 'example' => '50',
- 'default' => '50',
- ],
+ 'schema' => ['type' => 'string', 'required' => true, 'description' => 'The full name of the repository.', 'title' => '', 'example' => 'alibaba/fastjson'],
],
[
- 'name' => 'NextToken',
+ 'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => 'A pagination token. It can be used in the next request to retrieve a new page of results.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'MTRBMDc0NjAtRUJFNy00N0NBLTk3NTctMTJDQzQ3NjFENDdB',
- ],
+ 'schema' => ['type' => 'string', 'description' => 'The region ID.', 'required' => false, 'title' => '', 'example' => 'cn-hangzhou'],
],
[
- 'name' => 'ShareType',
+ 'name' => 'Branch',
'in' => 'query',
- 'schema' => [
- 'description' => 'The share type of the common parameter.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'Private',
- ],
+ 'schema' => ['type' => 'string', 'required' => true, 'description' => 'The name of the branch.', 'title' => '', 'example' => 'main'],
+ ],
+ [
+ 'name' => 'OrgId',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'description' => 'The organization ID. This parameter is required only when you use Codeup.', 'required' => false, 'title' => '', 'example' => '5ffd468b1e45db3c1cc26ad6'],
+ ],
+ [
+ 'name' => 'RepoId',
+ 'in' => 'query',
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'description' => 'The repository ID. This parameter is required only when you use Codeup.', 'required' => false, 'title' => '', 'example' => '2823742'],
],
],
'responses' => [
@@ -5316,109 +4174,51 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'Type' => [
- 'description' => 'The data type of the common parameter.'."\n",
- 'type' => 'string',
- 'example' => 'String',
- ],
- 'NextToken' => [
- 'description' => 'The pagination token that was used in the next request to retrieve a new page of results.'."\n",
- 'type' => 'string',
- 'example' => 'MTRBMDc0NjAtRUJFNy00N0NBLTk3NTctMTJDQzQ3NjFENDdB',
- ],
- 'RequestId' => [
- 'description' => 'The request ID.'."\n",
- 'type' => 'string',
- 'example' => 'FD08D89D-B6C8-4AA2-A2B4-521D3F4A39FA',
- ],
- 'Description' => [
- 'description' => 'The description of the common parameter.'."\n",
- 'type' => 'string',
- 'example' => 'parameter-description',
- ],
- 'MaxResults' => [
- 'description' => 'The number of entries per page.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '50',
- ],
- 'CreatedBy' => [
- 'description' => 'The user who created the common parameter.'."\n",
- 'type' => 'string',
- 'example' => 'root(130900000)',
- ],
- 'CreatedDate' => [
- 'description' => 'The time when the common parameter was created.'."\n",
- 'type' => 'string',
- 'example' => '2020-09-07T11:37:29Z',
- ],
- 'Name' => [
- 'description' => 'The name of the common parameter.'."\n",
- 'type' => 'string',
- 'example' => 'MyParameter',
- ],
- 'TotalCount' => [
- 'description' => 'The total number of entries returned.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '50',
- ],
- 'Id' => [
- 'description' => 'The ID of the common parameter.'."\n",
- 'type' => 'string',
- 'example' => 'p-a483b520e0axxxxxxxxx',
- ],
- 'ParameterVersions' => [
- 'description' => 'The information about the version of the common parameter.'."\n",
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'ParameterVersion' => [
- 'description' => 'The version number of the common parameter.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'Value' => [
- 'description' => 'The value of the common parameter.'."\n",
- 'type' => 'string',
- 'example' => 'MyParameter',
- ],
- 'UpdatedDate' => [
- 'description' => 'The time when the common parameter was last updated.'."\n",
- 'type' => 'string',
- 'example' => '2020-09-07T11:37:29Z',
- ],
- 'UpdatedBy' => [
- 'description' => 'The user who updated the common parameter.'."\n",
- 'type' => 'string',
- 'example' => 'root(130900000)',
- ],
- ],
+ 'Commit' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Sha' => ['type' => 'string', 'description' => 'The Git commit hash.', 'title' => '', 'example' => '51417755'],
+ 'Message' => ['type' => 'string', 'description' => 'The Git commit message.', 'title' => '', 'example' => 'OK'],
],
+ 'description' => 'The repository commit.',
+ 'title' => '',
+ 'example' => '',
],
+ 'RequestId' => ['type' => 'string', 'description' => 'The request ID.', 'title' => '', 'example' => 'AA9FA778-AE4B-55EC-81CC-C46BAF08A166'],
],
'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"Type\\": \\"String\\",\\n \\"NextToken\\": \\"MTRBMDc0NjAtRUJFNy00N0NBLTk3NTctMTJDQzQ3NjFENDdB\\",\\n \\"RequestId\\": \\"FD08D89D-B6C8-4AA2-A2B4-521D3F4A39FA\\",\\n \\"Description\\": \\"parameter-description\\",\\n \\"MaxResults\\": 50,\\n \\"CreatedBy\\": \\"root(130900000)\\",\\n \\"CreatedDate\\": \\"2020-09-07T11:37:29Z\\",\\n \\"Name\\": \\"MyParameter\\",\\n \\"TotalCount\\": 50,\\n \\"Id\\": \\"p-a483b520e0axxxxxxxxx\\",\\n \\"ParameterVersions\\": [\\n {\\n \\"ParameterVersion\\": 1,\\n \\"Value\\": \\"MyParameter\\",\\n \\"UpdatedDate\\": \\"2020-09-07T11:37:29Z\\",\\n \\"UpdatedBy\\": \\"root(130900000)\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<Type>String</Type>\\n<ParameterVersions>\\n <UpdatedBy>root(130900000)</UpdatedBy>\\n <UpdatedDate>2020-09-07T11:37:29Z</UpdatedDate>\\n <ParameterVersion>1</ParameterVersion>\\n <Value>Running</Value>\\n</ParameterVersions>\\n<Description>parameter-description</Description>\\n<CreatedBy>root(130900000)</CreatedBy>\\n<RequestId>FD08D89D-B6C8-4AA2-A2B4-521D3F4A39FA</RequestId>\\n<MaxResults>50</MaxResults>\\n<CreatedDate>2020-09-07T11:37:29Z</CreatedDate>\\n<Id>p-a483b520e0axxxxxxxxx</Id>\\n<Name>MyParameter</Name>","errorExample":""}]',
- 'title' => 'ListParameterVersions',
- 'requestParamsDescription' => ' ',
- 'responseParamsDescription' => ' ',
- 'extraInfo' => ' ',
- ],
- 'GetParametersByPath' => [
- 'summary' => 'Queries one or more parameters by path.',
- 'methods' => [
- 'post',
- 'get',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => 'GetGitBranch',
+ 'description' => 'Ensure that you have the permissions to manage the corresponding KMS secret before you call this operation.',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'oos:GetGitBranch',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [
+ ['conditionKey' => 'oos:TLSVersion'],
+ ],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'OOS', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Commit\\": {\\n \\"Sha\\": \\"51417755\\",\\n \\"Message\\": \\"OK\\"\\n },\\n \\"RequestId\\": \\"AA9FA778-AE4B-55EC-81CC-C46BAF08A166\\"\\n}","type":"json"}]',
+ ],
+ 'GetGitRepository' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -5430,69 +4230,41 @@
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeCode' => '93963',
- 'abilityTreeNodes' => [
- 'FEATUREoosMR618F',
- ],
+ 'abilityTreeCode' => '259124',
+ 'abilityTreeNodes' => ['FEATUREoos1PL94A'],
+ 'autoTest' => true,
'tenantRelevance' => 'publicInformation',
],
'parameters' => [
[
- 'name' => 'RegionId',
+ 'name' => 'Platform',
'in' => 'query',
- 'schema' => [
- 'description' => 'The ID of the region.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['type' => 'string', 'required' => true, 'description' => 'The Git platform.', 'title' => '', 'example' => 'github'],
],
[
- 'name' => 'Path',
+ 'name' => 'Owner',
'in' => 'query',
- 'schema' => [
- 'description' => 'The path of the parameter. For example, if the name of a parameter is /path/path1/Myparameter, the path of the parameter is /path/path1/.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '/parameter',
- ],
+ 'schema' => ['type' => 'string', 'required' => false, 'description' => 'The username.', 'title' => '', 'example' => 'testowner'],
],
[
- 'name' => 'Recursive',
+ 'name' => 'RepoFullName',
'in' => 'query',
- 'schema' => [
- 'description' => 'Specifies whether to recursively query encryption parameters from all levels of directories in the specified path. Valid values: true and false. For example, if you want to query the /secretParameter/mySecretParameter and /secretParameter/secretParameter 1/mySecretParameter parameters, the valid values specify the parameters to be returned.'."\n"
- ."\n"
- .'* true: returns both of the /secretParameter/mySecretParameter and /secretParameter/secretParameter1/mySecretParameter parameters.'."\n"
- .'* false: returns only the /secretParameter/mySecretParameter parameter.'."\n",
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'false',
- ],
+ 'schema' => ['type' => 'string', 'required' => true, 'description' => 'The full name of the repository.', 'title' => '', 'example' => 'alibaba/fastjson'],
],
[
- 'name' => 'NextToken',
+ 'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => 'A pagination token. It can be used in the next request to retrieve a new page of results.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'MTRBMDc0NjAtRUJFNy00N0NBLTk3NTctMTJDQzA',
- ],
+ 'schema' => ['type' => 'string', 'description' => 'The region ID.', 'required' => false, 'title' => '', 'example' => 'cn-hangzhou'],
],
[
- 'name' => 'MaxResults',
+ 'name' => 'OrgId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The number of entries per page.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'maximum' => '100',
- 'minimum' => '1',
- 'example' => '10',
- ],
+ 'schema' => ['type' => 'string', 'description' => 'The organization ID. This parameter is required only for Codeup.', 'required' => false, 'title' => '', 'example' => '5e9ee15af89c9700014a558a'],
+ ],
+ [
+ 'name' => 'RepoId',
+ 'in' => 'query',
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'description' => 'The repository ID. This parameter is required only for Codeup.', 'required' => false, 'title' => '', 'example' => '286584'],
],
],
'responses' => [
@@ -5500,124 +4272,46 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'NextToken' => [
- 'description' => 'A pagination token. It can be used in the next request to retrieve a new page of results.'."\n",
- 'type' => 'string',
- 'example' => 'gAAAAABfTgv5ewUWmNdJ3g7JVLvX70sPH90GZOVGC',
- ],
- 'RequestId' => [
- 'description' => 'The ID of the request.'."\n",
- 'type' => 'string',
- 'example' => '25156E99-7437-4590-AA58-2ACA17DE405C',
- ],
- 'TotalCount' => [
- 'description' => 'The total number of returned entries.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'MaxResults' => [
- 'description' => 'The number of entries per page.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '10',
- ],
- 'Parameters' => [
- 'description' => 'The information about the common parameters.'."\n",
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'Type' => [
- 'description' => 'The type of the common parameter.'."\n",
- 'type' => 'string',
- 'example' => 'StringList',
- ],
- 'UpdatedDate' => [
- 'description' => 'The time when the common parameter was last updated.'."\n",
- 'type' => 'string',
- 'example' => '2020-10-21T04:03:12Z',
- ],
- 'UpdatedBy' => [
- 'description' => 'The user who updated the common parameter.'."\n",
- 'type' => 'string',
- 'example' => 'root(130900000)',
- ],
- 'Value' => [
- 'description' => 'The value of the common parameter.'."\n",
- 'type' => 'string',
- 'example' => '"parameter1,parameter2"',
- ],
- 'Description' => [
- 'description' => 'The description of the common parameter.'."\n",
- 'type' => 'string',
- 'example' => 'parameter',
- ],
- 'Constraints' => [
- 'description' => 'The constraints of the common parameter.'."\n",
- 'type' => 'string',
- 'example' => '{\\"MaxLength\\": 2}',
- ],
- 'CreatedBy' => [
- 'description' => 'The user who created the common parameter.'."\n",
- 'type' => 'string',
- 'example' => 'root(130900000)',
- ],
- 'CreatedDate' => [
- 'description' => 'The time when the common parameter was created.'."\n",
- 'type' => 'string',
- 'example' => '2020-10-21T04:03:12Z',
- ],
- 'ParameterVersion' => [
- 'description' => 'The version number of the common parameter.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'Name' => [
- 'description' => 'The name of the common parameter.'."\n",
- 'type' => 'string',
- 'example' => 'myParameter',
- ],
- 'Id' => [
- 'description' => 'The ID of the common parameter.'."\n",
- 'type' => 'string',
- 'example' => 'p-7cdc0000000000000000',
- ],
- 'ShareType' => [
- 'description' => 'The share type of the common parameter.'."\n",
- 'type' => 'string',
- 'example' => 'Private',
- ],
- 'Tags' => [
- 'description' => 'The tags added to the common parameters.'."\n",
- 'type' => 'object',
- 'example' => '{"k1": "v1", "k2": "v2"}',
- ],
- ],
- ],
- ],
+ 'RequestId' => ['type' => 'string', 'description' => 'The request ID.', 'title' => '', 'example' => '13B71887-D215-53B5-8818-4D3190604B26'],
+ 'Description' => ['type' => 'string', 'description' => 'The description of the repository.', 'title' => '', 'example' => 'FASTJSON 2.0.x has been released, faster and more secure, recommend you upgrade.'],
+ 'HtmlUrl' => ['type' => 'string', 'description' => 'The URL of the repository.', 'title' => '', 'example' => 'https://github.com/alibaba/fastjson'],
+ 'IsPrivate' => ['type' => 'boolean', 'description' => 'Indicates whether the repository is private.', 'title' => '', 'example' => 'False'],
],
'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"NextToken\\": \\"gAAAAABfTgv5ewUWmNdJ3g7JVLvX70sPH90GZOVGC\\",\\n \\"RequestId\\": \\"25156E99-7437-4590-AA58-2ACA17DE405C\\",\\n \\"TotalCount\\": 1,\\n \\"MaxResults\\": 10,\\n \\"Parameters\\": [\\n {\\n \\"Type\\": \\"StringList\\",\\n \\"UpdatedDate\\": \\"2020-10-21T04:03:12Z\\",\\n \\"UpdatedBy\\": \\"root(130900000)\\",\\n \\"Value\\": \\"\\\\\\"parameter1,parameter2\\\\\\"\\",\\n \\"Description\\": \\"parameter\\",\\n \\"Constraints\\": \\"{\\\\\\\\\\\\\\"MaxLength\\\\\\\\\\\\\\": 2}\\",\\n \\"CreatedBy\\": \\"root(130900000)\\",\\n \\"CreatedDate\\": \\"2020-10-21T04:03:12Z\\",\\n \\"ParameterVersion\\": 1,\\n \\"Name\\": \\"myParameter\\",\\n \\"Id\\": \\"p-7cdc0000000000000000\\",\\n \\"ShareType\\": \\"Private\\",\\n \\"Tags\\": {\\n \\"k1\\": \\"v1\\",\\n \\"k2\\": \\"v2\\"\\n }\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<Parameters>\\n <UpdatedBy>root(130900000)</UpdatedBy>\\n <Type>StringList</Type>\\n <CreatedBy>root(130900000)</CreatedBy>\\n <Description/>\\n <Constraints>{\\"MaxLength\\": 2}</Constraints>\\n <UpdatedDate>2020-10-21T04:03:12Z</UpdatedDate>\\n <ParameterVersion>1</ParameterVersion>\\n <CreatedDate>2020-10-21T04:02:40Z</CreatedDate>\\n <Value>parameter1,parameter2</Value>\\n <Id>p-7cdc0000000000000000</Id>\\n <Name>/parameter/myparameter</Name>\\n <ShareType>Private</ShareType>\\n</Parameters>\\n<RequestId>25156E99-7437-4590-AA58-2ACA17DE405C</RequestId>\\n<MaxResults>10</MaxResults>","errorExample":""}]',
- 'title' => 'GetParametersByPath',
- 'requestParamsDescription' => ' ',
- 'responseParamsDescription' => ' ',
- 'extraInfo' => ' ',
- ],
- 'GetParameters' => [
- 'summary' => 'Queries the information about one or more parameters.',
- 'methods' => [
- 'post',
- 'get',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => 'GetGitRepository',
+ 'summary' => 'Queries the details of a Git repository.',
+ 'description' => 'Before you call this operation, ensure that you have the permissions to manage the corresponding KMS secret.',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'oos:GetGitRepository',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [
+ ['conditionKey' => 'oos:TLSVersion'],
+ ],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'OOS', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"13B71887-D215-53B5-8818-4D3190604B26\\",\\n \\"Description\\": \\"FASTJSON 2.0.x has been released, faster and more secure, recommend you upgrade.\\",\\n \\"HtmlUrl\\": \\"https://github.com/alibaba/fastjson\\",\\n \\"IsPrivate\\": true\\n}","type":"json"}]',
+ ],
+ 'GetInventorySchema' => [
+ 'summary' => 'Queries the properties of a configuration list.',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -5629,33 +4323,47 @@
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeCode' => '93962',
- 'abilityTreeNodes' => [
- 'FEATUREoosMR618F',
- ],
+ 'abilityTreeCode' => '93960',
+ 'abilityTreeNodes' => ['FEATUREoosNNSDK6'],
'tenantRelevance' => 'publicInformation',
],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The ID of the region.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => 'The region ID.'."\n", 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''],
],
[
- 'name' => 'Names',
+ 'name' => 'Aggregator',
'in' => 'query',
- 'schema' => [
- 'description' => 'The names of the common parameters.',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '["parameter1","parameter2"]',
- ],
+ 'schema' => ['description' => 'Specifies whether to return only properties that support the aggregate feature in the configuration list. Valid values:'."\n"
+ ."\n"
+ .'* true: only returns properties that support the aggregate feature in the configuration list.'."\n"
+ .'* false: returns all properties in the configuration list.'."\n", 'type' => 'boolean', 'required' => false, 'docRequired' => false, 'example' => 'false', 'title' => ''],
+ ],
+ [
+ 'name' => 'TypeName',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The configuration list type name. Valid values:'."\n"
+ ."\n"
+ .'* ACS:InstanceInformation'."\n"
+ .'* ACS:Application'."\n"
+ .'* ACS:File'."\n"
+ .'* ACS:Network'."\n"
+ .'* ACS:WindowsRole'."\n"
+ .'* ACS:Service'."\n"
+ .'* ACS:WindowsUpdate'."\n"
+ .'* ACS:WindowsRegistry'."\n", 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => 'ACS:Application', 'title' => ''],
+ ],
+ [
+ 'name' => 'MaxResults',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The number of entries per page. Valid values: 1 to 100. Default value: 50.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '100', 'minimum' => '1', 'example' => '50', 'default' => '50', 'title' => ''],
+ ],
+ [
+ 'name' => 'NextToken',
+ 'in' => 'query',
+ 'schema' => ['description' => 'A pagination token. It can be used in the next request to retrieve a new page of results.'."\n", 'type' => 'string', 'required' => false, 'example' => 'gAAAAABfh8MVLQI9AuKGACLgjbsXbWs-Mna47IDM6tr6wK7TZ1', 'title' => ''],
],
],
'responses' => [
@@ -5663,254 +4371,212 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => 'The request ID.'."\n",
- 'type' => 'string',
- 'example' => '2597E94B-5346-42D1-BB58-D3333EDD0975',
- ],
- 'InvalidParameters' => [
- 'description' => 'Invalid parameters.'."\n",
- 'type' => 'array',
- 'items' => [
- 'description' => 'Invalid parameters.'."\n",
- 'type' => 'string',
- 'example' => 'InvalidParameter',
- ],
- ],
- 'Parameters' => [
- 'description' => 'The information about the common parameters.'."\n",
+ 'NextToken' => ['description' => 'The pagination token that was used in the next request to retrieve a new page of results.'."\n", 'type' => 'string', 'example' => 'gAAAAABfh8MVLQI9AuKGACLgjbsXbWs-Mna47IDM6tr6wK7TZ1', 'title' => ''],
+ 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '89117642-7167-4F4D-B7F1-876582279E3E', 'title' => ''],
+ 'MaxResults' => ['description' => 'The number of entries per page.'."\n", 'type' => 'string', 'example' => '1', 'title' => ''],
+ 'Schemas' => [
+ 'description' => 'The detailed configurations of the configuration list.'."\n",
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'Type' => [
- 'description' => 'The type of the parameter.'."\n",
- 'type' => 'string',
- 'example' => 'StringList',
- ],
- 'UpdatedDate' => [
- 'description' => 'The time when the parameter was updated.'."\n",
- 'type' => 'string',
- 'example' => '2020-10-22T03:30:45Z',
- ],
- 'UpdatedBy' => [
- 'description' => 'The user who updated the common parameter.',
- 'type' => 'string',
- 'example' => 'root(130900000)',
- ],
- 'Tags' => [
- 'description' => 'The tags.'."\n",
- 'type' => 'object',
- 'example' => '{"k1": "v1", "k2": "v2"}',
- ],
- 'Value' => [
- 'description' => 'The value of the common parameter.'."\n",
- 'type' => 'string',
- 'example' => 'parameter,parameter1',
- ],
- 'Description' => [
- 'description' => 'The description of the common parameter.',
- 'type' => 'string',
- 'example' => 'parameter',
- ],
- 'Constraints' => [
- 'description' => 'The constraints of the common parameter.'."\n",
- 'type' => 'string',
- 'example' => '{\\"MaxLength\\": 2}',
- ],
- 'ResourceGroupId' => [
- 'description' => 'The ID of the resource group.'."\n",
- 'type' => 'string',
- 'example' => 'rg-acfmxsn4m4******',
- ],
- 'CreatedBy' => [
- 'description' => 'The user who created the common parameter.'."\n",
- 'type' => 'string',
- 'example' => 'root(130900000)',
- ],
- 'CreatedDate' => [
- 'description' => 'The time when the common parameter was created.'."\n",
- 'type' => 'string',
- 'example' => '2020-10-22T03:30:45Z',
- ],
- 'ParameterVersion' => [
- 'description' => 'The version number of the common parameter.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'Name' => [
- 'description' => 'The name of the common parameter.'."\n",
- 'type' => 'string',
- 'example' => 'MyParameter',
- ],
- 'Id' => [
- 'description' => 'The ID of the common parameter.'."\n",
- 'type' => 'string',
- 'example' => 'p-7cdc0000000000000000',
- ],
- 'ShareType' => [
- 'description' => 'The share type of the common parameter.'."\n",
- 'type' => 'string',
- 'example' => 'Private',
+ 'Version' => ['description' => 'The version of the configuration list.'."\n", 'type' => 'string', 'example' => '1.0', 'title' => ''],
+ 'TypeName' => ['description' => 'The name of the configuration list.'."\n", 'type' => 'string', 'example' => 'ACS:Application', 'title' => ''],
+ 'Attributes' => [
+ 'description' => 'The properties of the configuration list.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Name' => ['description' => 'The name of the property.'."\n", 'type' => 'string', 'example' => 'ApplicationType', 'title' => ''],
+ 'DataType' => ['description' => 'The data type of the property.'."\n", 'type' => 'string', 'example' => 'STRING', 'title' => ''],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'title' => '',
+ 'example' => '',
],
],
- 'description' => 'The parameters.'."\n",
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
+ 'title' => '',
+ 'example' => '',
],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"2597E94B-5346-42D1-BB58-D3333EDD0975\\",\\n \\"InvalidParameters\\": [\\n \\"InvalidParameter\\"\\n ],\\n \\"Parameters\\": [\\n {\\n \\"Type\\": \\"StringList\\",\\n \\"UpdatedDate\\": \\"2020-10-22T03:30:45Z\\",\\n \\"UpdatedBy\\": \\"root(130900000)\\",\\n \\"Tags\\": {\\n \\"k1\\": \\"v1\\",\\n \\"k2\\": \\"v2\\"\\n },\\n \\"Value\\": \\"parameter,parameter1\\",\\n \\"Description\\": \\"parameter\\",\\n \\"Constraints\\": \\"{\\\\\\\\\\\\\\"MaxLength\\\\\\\\\\\\\\": 2}\\",\\n \\"ResourceGroupId\\": \\"rg-acfmxsn4m4******\\",\\n \\"CreatedBy\\": \\"root(130900000)\\",\\n \\"CreatedDate\\": \\"2020-10-22T03:30:45Z\\",\\n \\"ParameterVersion\\": 1,\\n \\"Name\\": \\"MyParameter\\",\\n \\"Id\\": \\"p-7cdc0000000000000000\\",\\n \\"ShareType\\": \\"Private\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<GetParametersResponse>\\n <Parameters>\\n <UpdatedBy>root(130900000)</UpdatedBy>\\n <Type>StringList</Type>\\n <CreatedBy>root(130900000)</CreatedBy>\\n <Description>parameter</Description>\\n <Constraints/>\\n <UpdatedDate>2020-10-22T03:30:45Z</UpdatedDate>\\n <ParameterVersion>2</ParameterVersion>\\n <CreatedDate>2020-10-22T03:30:27Z</CreatedDate>\\n <Value>parameter,parameter1</Value>\\n <Id>p-7cdc0000000000000000</Id>\\n <Name>MyParameter</Name>\\n <Tags>\\n <k1>v1</k1>\\n <k2>v2</k2>\\n </Tags>\\n <ResourceGroupId>rg-acfmxsn4m4******</ResourceGroupId>\\n <ShareType>Private</ShareType>\\n </Parameters>\\n <RequestId>2597E94B-5346-42D1-BB58-D3333EDD0975</RequestId>\\n <InvalidParameters>InInvalidParameter</InvalidParameters>\\n</GetParametersResponse>","errorExample":""}]',
- 'title' => 'GetParameters',
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"NextToken\\": \\"gAAAAABfh8MVLQI9AuKGACLgjbsXbWs-Mna47IDM6tr6wK7TZ1\\",\\n \\"RequestId\\": \\"89117642-7167-4F4D-B7F1-876582279E3E\\",\\n \\"MaxResults\\": \\"1\\",\\n \\"Schemas\\": [\\n {\\n \\"Version\\": \\"1.0\\",\\n \\"TypeName\\": \\"ACS:Application\\",\\n \\"Attributes\\": [\\n {\\n \\"Name\\": \\"ApplicationType\\",\\n \\"DataType\\": \\"STRING\\"\\n }\\n ]\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<GetInventorySchemaResponse>\\n <RequestId>FE253810-D3CF-5FB7-8F29-69B4D8525A63</RequestId>\\n <NextToken>gAAAAABhjOVCZyK6F8UtjODxmp7_-28Ctb-Yh27zmXv1QD6yIepgi42prBOMIUQ7EDAqIYKHAM1GRG9Ux5TjncdKol_84qTzKsg2qer7ceijXT-AQMC2XO4EppeAjsvXxFMUjCaBXKkZ7A30vrsTuNc0MsHjiJdqqw==</NextToken>\\n <MaxResults>1</MaxResults>\\n <Schemas>\\n <TypeName>ACS:InstanceInformation</TypeName>\\n <Version>1.0</Version>\\n <Attributes>\\n <DataType>STRING</DataType>\\n <Name>AgentType</Name>\\n </Attributes>\\n <Attributes>\\n <DataType>STRING</DataType>\\n <Name>AgentVersion</Name>\\n </Attributes>\\n <Attributes>\\n <DataType>STRING</DataType>\\n <Name>ComputerName</Name>\\n </Attributes>\\n <Attributes>\\n <DataType>STRING</DataType>\\n <Name>RamRole</Name>\\n </Attributes>\\n <Attributes>\\n <DataType>STRING</DataType>\\n <Name>InstanceId</Name>\\n </Attributes>\\n <Attributes>\\n <DataType>STRING</DataType>\\n <Name>IpAddress</Name>\\n </Attributes>\\n <Attributes>\\n <DataType>STRING</DataType>\\n <Name>PlatformName</Name>\\n </Attributes>\\n <Attributes>\\n <DataType>STRING</DataType>\\n <Name>PlatformType</Name>\\n </Attributes>\\n <Attributes>\\n <DataType>STRING</DataType>\\n <Name>PlatformVersion</Name>\\n </Attributes>\\n <Attributes>\\n <DataType>STRING</DataType>\\n <Name>ResourceType</Name>\\n </Attributes>\\n <Attributes>\\n <DataType>STRING</DataType>\\n <Name>Status</Name>\\n </Attributes>\\n </Schemas>\\n</GetInventorySchemaResponse>","errorExample":""}]',
+ 'title' => 'GetInventorySchema',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'CreateSecretParameter' => [
- 'summary' => 'Creates an encryption parameter. Make sure that you have the permissions to call the CreateSecret operation of Key Management Service (KMS) before you call this operation.',
- 'methods' => [
- 'post',
- 'get',
+ 'changeSet' => [],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'oos:GetInventorySchema',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [
+ ['conditionKey' => 'oos:TLSVersion'],
+ ],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'OOS', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GetInventorySchema'],
+ ],
],
+ ],
+ 'GetOpsItem' => [
+ 'summary' => 'Queries the details of an O\\\\\\\\\\\\\\\\\\\\&M item.',
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'write',
+ 'operationType' => 'read',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'create',
- 'abilityTreeCode' => '93943',
- 'abilityTreeNodes' => [
- 'FEATUREoosBA3MI8',
- ],
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The ID of the region.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => 'The region ID.'."\n", 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''],
],
[
- 'name' => 'Name',
+ 'name' => 'OpsItemId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The name of the parameter. The name must be 1 to 180 characters in length, and can contain letters, digits, hyphens (-), and underscores (\\_). It cannot start with ALIYUN, ACS, ALIBABA, ALICLOUD, or OOS.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'MySecretParameter',
- ],
+ 'schema' => ['description' => 'The O\\&M item ID.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'oi-d52b08695e2b46ae8413', 'title' => ''],
],
- [
- 'name' => 'Type',
- 'in' => 'query',
+ ],
+ 'responses' => [
+ 200 => [
'schema' => [
- 'description' => 'The type of the parameter. Set the value to Secret.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'docRequired' => false,
- 'example' => 'Secret',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '8BED4C16-BD30-5E27-94D4-7EBCCECF70C1', 'title' => ''],
+ 'OpsItem' => [
+ 'description' => 'The information about the O\\&M item.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'OpsItemId' => ['description' => 'The O\\&M item ID.'."\n", 'type' => 'string', 'example' => 'oi-d52b08695e2b46ae8413'."\n", 'title' => ''],
+ 'CreateDate' => ['description' => 'The time when the O\\&M item was created.'."\n", 'type' => 'string', 'example' => '2023-04-10T06:15Z', 'title' => ''],
+ 'UpdateDate' => ['description' => 'The time when the O\\&M item was updated.'."\n", 'type' => 'string', 'example' => '2023-04-10T06:15Z'."\n", 'title' => ''],
+ 'Title' => ['description' => 'The title of the O\\&M item.'."\n", 'type' => 'string', 'example' => 'test', 'title' => ''],
+ 'Status' => ['description' => 'The status of the O\\&M item.'."\n", 'type' => 'string', 'example' => 'Open', 'title' => ''],
+ 'Severity' => ['description' => 'The severity level of the O\\&M item.'."\n", 'type' => 'string', 'example' => 'Medium', 'title' => ''],
+ 'Category' => ['description' => 'The category of the O\\&M item.'."\n", 'type' => 'string', 'example' => 'Security', 'title' => ''],
+ 'Source' => ['description' => 'The source business of the O\\&M item.'."\n", 'type' => 'string', 'example' => '/aliyun/appManager', 'title' => ''],
+ 'Priority' => ['description' => 'The priority of the O\\&M item.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''],
+ 'Tags' => ['description' => 'The tags attached to the O\\&M item.'."\n", 'type' => 'object', 'example' => '{"K1":"V1"}', 'title' => ''],
+ 'Solutions' => [
+ 'description' => 'The solutions to the O\\&M item.'."\n",
+ 'type' => 'array',
+ 'items' => ['description' => 'The solution.'."\n", 'type' => 'object', 'example' => '', 'title' => ''],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'Resources' => [
+ 'description' => 'The Alibaba Cloud Resource Names (ARNs) of the associated resources.'."\n",
+ 'type' => 'array',
+ 'items' => ['description' => 'The ARN of the associated resource.'."\n", 'type' => 'string', 'example' => '[\\"arn:acs:ecs:cn-hangzhou:1770150251620858:instance/i-bp12tnoea6nwofva06e8\\"]', 'title' => ''],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'ResourceGroupId' => ['description' => 'The ID of the resource group.'."\n", 'type' => 'string', 'example' => 'rg-aekzxkofnlxtn2i', 'title' => ''],
+ 'Description' => ['description' => 'The description.'."\n", 'type' => 'string', 'example' => 'test-update', 'title' => ''],
+ 'CreateBy' => ['description' => 'The user who created the O\\&M item.'."\n", 'type' => 'string', 'example' => 'root(130900000)'."\n", 'title' => ''],
+ 'LastModifiedBy' => ['description' => 'The user who last modified the O\\&M item.'."\n", 'type' => 'string', 'example' => 'modifiedBy', 'title' => ''],
+ 'Attributes' => ['description' => 'The information about the attributes of the O\\&M item.'."\n", 'type' => 'object', 'title' => '', 'example' => ''],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
- [
- 'name' => 'Value',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The value of the encryption parameter. The value must be 1 to 4096 characters in length.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'SecretParameter',
- ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"8BED4C16-BD30-5E27-94D4-7EBCCECF70C1\\",\\n \\"OpsItem\\": {\\n \\"OpsItemId\\": \\"oi-d52b08695e2b46ae8413\\\\n\\",\\n \\"CreateDate\\": \\"2023-04-10T06:15Z\\",\\n \\"UpdateDate\\": \\"2023-04-10T06:15Z\\\\n\\",\\n \\"Title\\": \\"test\\",\\n \\"Status\\": \\"Open\\",\\n \\"Severity\\": \\"Medium\\",\\n \\"Category\\": \\"Security\\",\\n \\"Source\\": \\"/aliyun/appManager\\",\\n \\"Priority\\": 1,\\n \\"Tags\\": {\\n \\"K1\\": \\"V1\\"\\n },\\n \\"Solutions\\": [\\n {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n }\\n ],\\n \\"Resources\\": [\\n \\"[\\\\\\\\\\\\\\"arn:acs:ecs:cn-hangzhou:1770150251620858:instance/i-bp12tnoea6nwofva06e8\\\\\\\\\\\\\\"]\\"\\n ],\\n \\"ResourceGroupId\\": \\"rg-aekzxkofnlxtn2i\\",\\n \\"Description\\": \\"test-update\\",\\n \\"CreateBy\\": \\"root(130900000)\\\\n\\",\\n \\"LastModifiedBy\\": \\"modifiedBy\\",\\n \\"Attributes\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n }\\n }\\n}","type":"json"}]',
+ 'title' => 'GetOpsItem',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetOpsItem'],
],
+ ],
+ 'ramActions' => [
[
- 'name' => 'Description',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The description of the encryption parameter. The description must be 1 to 200 characters in length.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'SecretParameter',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'oos:GetOpsItem',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [
+ ['conditionKey' => 'oos:TLSVersion'],
+ ],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'OOS', 'resourceType' => 'OpsItem', 'arn' => 'acs:oos:{#regionId}:{#accountId}:opsitem/{#OpsItemId}'],
+ ],
],
],
+ ],
+ ],
+ 'GetParameter' => [
+ 'summary' => 'Queries a standard or common parameter and its value.',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
[
- 'name' => 'KeyId',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The key ID of Key Management Service (KMS) that is used to encrypt the parameter.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => '80e9409f-78fa-42ab-84bd-83f40c******',
- ],
+ 'AK' => [],
],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '93961',
+ 'abilityTreeNodes' => ['FEATUREoosMR618F'],
+ 'tenantRelevance' => 'publicInformation',
+ ],
+ 'parameters' => [
[
- 'name' => 'ClientToken',
+ 'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The client token that is used to ensure the idempotence of the request. You can use the client to generate the token, but you must make sure that the token is unique among different requests. The token can be up to 64 characters in length, and can contain letters, digits, hyphens (-), and underscores (\\_). For more information, see "How to ensure idempotence".'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => '123e4567-e89b-12d3-a456-42665544****',
- ],
+ 'schema' => ['description' => 'The region ID.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'cn-hangzhou'],
],
[
- 'name' => 'Constraints',
+ 'name' => 'Name',
'in' => 'query',
- 'schema' => [
- 'description' => 'The constraints of the encryption parameter. By default, this parameter is null. Valid values:'."\n"
- ."\n"
- .'* AllowedValues: The value that is allowed for the encryption parameter. It must be an array string.'."\n"
- .'* AllowedPattern: The pattern that is allowed for the encryption parameter. It must be a regular expression.'."\n"
- .'* MinLength: The minimum length of the encryption parameter.'."\n"
- .'* MaxLength: The maximum length of the encryption parameter.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => '\'{\'\'AllowedValues":["secretparameter"],"AllowedPattern":"secretparameter","MinLength":0,"MaxLength":20}\'',
- ],
+ 'schema' => ['description' => 'The name of the parameter. The name can be up to 200 characters in length and can contain letters, digits, hyphens (-), and underscores (\\_).', 'type' => 'string', 'required' => true, 'docRequired' => true, 'title' => '', 'example' => 'MyParameter'],
],
[
- 'name' => 'Tags',
+ 'name' => 'ParameterVersion',
'in' => 'query',
- 'style' => 'json',
- 'schema' => [
- 'description' => 'The tags.'."\n",
- 'type' => 'object',
- 'required' => false,
- 'example' => '{"k1": "v1", "k2": "v2"}',
- ],
+ 'schema' => ['description' => 'The version number of the parameter. Valid values: 1 to 100.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'title' => '', 'example' => '1'],
],
[
'name' => 'ResourceGroupId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The ID of the resource group.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'rg-acfmxsn4m4******',
- ],
- ],
- [
- 'name' => 'DKMSInstanceId',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The instance ID of the KMS instance.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'kst-hzz****',
- ],
+ 'schema' => ['description' => 'The ID of the resource group.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'rg-acfmxsn4m*****'],
],
],
'responses' => [
@@ -5918,152 +4584,92 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => 'The ID of the request.'."\n",
- 'type' => 'string',
- 'example' => '0B419FF3-ABC6-4DF0-95E5-636DC8CBB8AF',
- ],
+ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => 'BA326372-2A10-4C3B-BE3E-6439DB7557CC'],
'Parameter' => [
- 'description' => 'The information about the encryption parameter.'."\n",
+ 'description' => 'The information about the parameter.',
'type' => 'object',
'properties' => [
- 'Type' => [
- 'description' => 'The type of the parameter.'."\n",
- 'type' => 'string',
- 'example' => 'Secret',
- ],
- 'UpdatedDate' => [
- 'description' => 'The time when the encryption parameter was updated.'."\n",
- 'type' => 'string',
- 'example' => '2020-09-01T09:30:36Z',
- ],
- 'UpdatedBy' => [
- 'description' => 'The user who updated the encryption parameter.'."\n",
- 'type' => 'string',
- 'example' => 'root(130900000)',
- ],
- 'KeyId' => [
- 'description' => 'The key ID of KMS that is used to encrypt the parameter.'."\n",
- 'type' => 'string',
- 'example' => '80e9409f-78fa-42ab-84bd-83f40c******',
- ],
- 'Tags' => [
- 'description' => 'The tags.'."\n",
- 'type' => 'object',
- 'example' => '{"k1": "v1", "k2": "v2"}',
- ],
- 'Description' => [
- 'description' => 'The description of the encryption parameter.'."\n",
- 'type' => 'string',
- 'example' => 'SecretParameter',
- ],
- 'Constraints' => [
- 'description' => 'The constraints of the encryption parameter.'."\n",
- 'type' => 'string',
- 'example' => '\'{ "AllowedValues": ["secretparameter"], "AllowedPattern": "secretparameter", "MinLength": 0, "MaxLength": 20 }\'',
- ],
- 'ResourceGroupId' => [
- 'description' => 'The ID of the resource group.'."\n",
- 'type' => 'string',
- 'example' => 'rg-acfmxsn4m4******',
- ],
- 'CreatedBy' => [
- 'description' => 'The user who created the encryption parameter.'."\n",
- 'type' => 'string',
- 'example' => 'root(130900000)',
- ],
- 'CreatedDate' => [
- 'description' => 'The time when the encryption parameter was created.'."\n",
- 'type' => 'string',
- 'example' => '2020-09-01T09:30:36Z',
- ],
- 'ParameterVersion' => [
- 'description' => 'The version number of the encryption parameter.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'Name' => [
- 'description' => 'The name of the encryption parameter.'."\n",
- 'type' => 'string',
- 'example' => 'MyParameter',
- ],
- 'Id' => [
- 'description' => 'The ID of the encryption parameter.'."\n",
- 'type' => 'string',
- 'example' => 'p-0b0fff9919c946xxxxxx',
- ],
- 'ShareType' => [
- 'description' => 'The share type of the encryption parameter.'."\n",
- 'type' => 'string',
- 'example' => 'Private',
- ],
- 'DKMSInstanceId' => [
- 'description' => 'The instance ID of the KMS instance.',
- 'type' => 'string',
- 'example' => 'kst-hzz****',
- ],
+ 'Type' => ['description' => 'The type of the parameter.', 'type' => 'string', 'title' => '', 'example' => 'String'],
+ 'UpdatedDate' => ['description' => 'The time when the parameter was updated.', 'type' => 'string', 'title' => '', 'example' => '2020-09-01T08:01:43Z'],
+ 'UpdatedBy' => ['description' => 'The user who updated the parameter.', 'type' => 'string', 'title' => '', 'example' => 'root(130900000)'],
+ 'Tags' => ['description' => 'The tags.', 'type' => 'object', 'title' => '', 'example' => '{"k1":"v1","k2":"v2"}'],
+ 'Value' => ['description' => 'The value of the parameter.', 'type' => 'string', 'title' => '', 'example' => 'parameter'],
+ 'Description' => ['description' => 'The description of the parameter.', 'type' => 'string', 'title' => '', 'example' => 'parameter'],
+ 'Constraints' => ['description' => 'The constraints of the parameter.', 'type' => 'string', 'title' => '', 'example' => '\'{\'\'AllowedValues":["parameter"],"AllowedPattern":"parameter","MinLength":0,"MaxLength":20}\''],
+ 'ResourceGroupId' => ['description' => 'The ID of the resource group.', 'type' => 'string', 'title' => '', 'example' => 'rg-acfmxsn4m*****'],
+ 'CreatedBy' => ['description' => 'The user who created the parameter.', 'type' => 'string', 'title' => '', 'example' => 'root(130900000)'],
+ 'CreatedDate' => ['description' => 'The time when the parameter was created.', 'type' => 'string', 'title' => '', 'example' => '2020-09-01T08:01:43Z'],
+ 'ParameterVersion' => ['description' => 'The version number of the parameter.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '1'],
+ 'Name' => ['description' => 'The name of the parameter.', 'type' => 'string', 'title' => '', 'example' => 'MyParameter'],
+ 'Id' => ['description' => 'The ID of the parameter.', 'type' => 'string', 'title' => '', 'example' => 'p-4c4b401cab6747xxxxxx'],
+ 'ShareType' => ['description' => 'The share type of the parameter.', 'type' => 'string', 'title' => '', 'example' => 'Private'],
],
+ 'title' => '',
+ 'example' => '',
],
],
'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"0B419FF3-ABC6-4DF0-95E5-636DC8CBB8AF\\",\\n \\"Parameter\\": {\\n \\"Type\\": \\"Secret\\",\\n \\"UpdatedDate\\": \\"2020-09-01T09:30:36Z\\",\\n \\"UpdatedBy\\": \\"root(130900000)\\",\\n \\"KeyId\\": \\"80e9409f-78fa-42ab-84bd-83f40c******\\",\\n \\"Tags\\": {\\n \\"k1\\": \\"v1\\",\\n \\"k2\\": \\"v2\\"\\n },\\n \\"Description\\": \\"SecretParameter\\",\\n \\"Constraints\\": \\"\'{ \\\\t\\\\\\"AllowedValues\\\\\\": [\\\\\\"secretparameter\\\\\\"], \\\\t\\\\\\"AllowedPattern\\\\\\": \\\\\\"secretparameter\\\\\\", \\\\t\\\\\\"MinLength\\\\\\": 0, \\\\t\\\\\\"MaxLength\\\\\\": 20 }\'\\",\\n \\"ResourceGroupId\\": \\"rg-acfmxsn4m4******\\",\\n \\"CreatedBy\\": \\"root(130900000)\\",\\n \\"CreatedDate\\": \\"2020-09-01T09:30:36Z\\",\\n \\"ParameterVersion\\": 1,\\n \\"Name\\": \\"MyParameter\\",\\n \\"Id\\": \\"p-0b0fff9919c946xxxxxx\\",\\n \\"ShareType\\": \\"Private\\",\\n \\"DKMSInstanceId\\": \\"kst-hzz****\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"<CreateSecretParameterResponse>\\n <RequestId>0B419FF3-ABC6-4DF0-95E5-636DC8CBB8AF</RequestId>\\n <Parameter>\\n <Type>Secret</Type>\\n <UpdatedDate>2020-09-01T09:30:36Z</UpdatedDate>\\n <UpdatedBy>root(130900000)</UpdatedBy>\\n <KeyId>80e9409f-78fa-42ab-84bd-83f40c******</KeyId>\\n <Tags>\\n <k1>v1</k1>\\n <k2>v2</k2>\\n </Tags>\\n <Description>SecretParameter</Description>\\n <Constraints>\'{ \\t\\"AllowedValues\\": [\\"secretparameter\\"], \\t\\"AllowedPattern\\": \\"secretparameter\\", \\t\\"MinLength\\": 0, \\t\\"MaxLength\\": 20 }\'</Constraints>\\n <ResourceGroupId>rg-acfmxsn4m4******</ResourceGroupId>\\n <CreatedBy>root(130900000)</CreatedBy>\\n <CreatedDate>2020-09-01T09:30:36Z</CreatedDate>\\n <ParameterVersion>1</ParameterVersion>\\n <Name>MyParameter</Name>\\n <Id>p-0b0fff9919c946xxxxxx</Id>\\n <ShareType>Private</ShareType>\\n </Parameter>\\n</CreateSecretParameterResponse>","errorExample":""}]',
- 'title' => 'CreateSecretParameter',
+ 'title' => 'GetParameter',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'DeleteSecretParameter' => [
- 'summary' => 'Deletes an encryption parameter. Make sure that you have the permissions to call the DeleteSecret operation of Key Management Service (KMS) before you call this operation.',
- 'methods' => [
- 'post',
- 'get',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '600', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GetParameter'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'oos:GetParameter',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [
+ ['conditionKey' => 'oos:TLSVersion'],
+ ],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'OOS', 'resourceType' => 'parameter', 'arn' => 'acs:oos:{#regionId}:{#accountId}:parameter/{#parameterName}'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BA326372-2A10-4C3B-BE3E-6439DB7557CC\\",\\n \\"Parameter\\": {\\n \\"Type\\": \\"String\\",\\n \\"UpdatedDate\\": \\"2020-09-01T08:01:43Z\\",\\n \\"UpdatedBy\\": \\"root(130900000)\\",\\n \\"Tags\\": {\\n \\"k1\\": \\"v1\\",\\n \\"k2\\": \\"v2\\"\\n },\\n \\"Value\\": \\"parameter\\",\\n \\"Description\\": \\"parameter\\",\\n \\"Constraints\\": \\"\'{\'\'AllowedValues\\\\\\":[\\\\\\"parameter\\\\\\"],\\\\\\"AllowedPattern\\\\\\":\\\\\\"parameter\\\\\\",\\\\\\"MinLength\\\\\\":0,\\\\\\"MaxLength\\\\\\":20}\'\\",\\n \\"ResourceGroupId\\": \\"rg-acfmxsn4m*****\\",\\n \\"CreatedBy\\": \\"root(130900000)\\",\\n \\"CreatedDate\\": \\"2020-09-01T08:01:43Z\\",\\n \\"ParameterVersion\\": 1,\\n \\"Name\\": \\"MyParameter\\",\\n \\"Id\\": \\"p-4c4b401cab6747xxxxxx\\",\\n \\"ShareType\\": \\"Private\\"\\n }\\n}","type":"json"}]',
+ ],
+ 'GetParameters' => [
+ 'summary' => 'Queries the details of one or more parameters.',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'write',
+ 'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'delete',
+ 'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeCode' => '93951',
- 'abilityTreeNodes' => [
- 'FEATUREoosBA3MI8',
- ],
+ 'abilityTreeCode' => '93962',
+ 'abilityTreeNodes' => ['FEATUREoosMR618F'],
'tenantRelevance' => 'publicInformation',
],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The region ID.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => 'The region ID.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'cn-hangzhou'],
],
[
- 'name' => 'Name',
+ 'name' => 'Names',
'in' => 'query',
- 'schema' => [
- 'description' => 'The name of the encryption parameter. The name must be 1 to 180 characters in length and can contain letters, digits, hyphens (-), and underscores (\\_). It cannot start with ALIYUN, ACS, ALIBABA, ALICLOUD, or OOS.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'MySecretParameter',
- ],
+ 'schema' => ['description' => 'The names of the parameters. The value must be a JSON array that contains one or more parameter names. You can specify up to 10 parameter names. Format: \\`\\["name1", "name2", ...]\\`.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'title' => '', 'example' => '["parameter1","parameter2"]'],
],
],
'responses' => [
@@ -6071,109 +4677,123 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => 'The request ID.'."\n",
- 'type' => 'string',
- 'example' => 'C0D02BDF-77F6-49F2-95C9-8E87121D1944',
+ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => '2597E94B-5346-42D1-BB58-D3333EDD0975'],
+ 'InvalidParameters' => [
+ 'description' => 'A list of invalid parameters.',
+ 'type' => 'array',
+ 'items' => ['description' => 'An invalid parameter.', 'type' => 'string', 'title' => '', 'example' => 'InvalidParameter'],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'Parameters' => [
+ 'description' => 'The information about the parameters.',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Type' => ['description' => 'The type of the parameter.', 'type' => 'string', 'title' => '', 'example' => 'StringList'],
+ 'UpdatedDate' => ['description' => 'The time when the parameter was last updated.', 'type' => 'string', 'title' => '', 'example' => '2020-10-22T03:30:45Z'],
+ 'UpdatedBy' => ['description' => 'The user who last updated the parameter.', 'type' => 'string', 'title' => '', 'example' => 'root(130900000)'],
+ 'Tags' => ['description' => 'The tags of the parameter.', 'type' => 'object', 'title' => '', 'example' => '{"k1": "v1", "k2": "v2"}'],
+ 'Value' => ['description' => 'The value of the parameter.', 'type' => 'string', 'title' => '', 'example' => 'parameter,parameter1'],
+ 'Description' => ['description' => 'The description of the parameter.', 'type' => 'string', 'title' => '', 'example' => 'parameter'],
+ 'Constraints' => ['description' => 'The constraints of the parameter.', 'type' => 'string', 'title' => '', 'example' => '{\\"MaxLength\\": 2}'],
+ 'ResourceGroupId' => ['description' => 'The ID of the resource group.', 'type' => 'string', 'title' => '', 'example' => 'rg-acfmxsn4m4******'],
+ 'CreatedBy' => ['description' => 'The user who created the parameter.', 'type' => 'string', 'title' => '', 'example' => 'root(130900000)'],
+ 'CreatedDate' => ['description' => 'The time when the parameter was created.', 'type' => 'string', 'title' => '', 'example' => '2020-10-22T03:30:45Z'],
+ 'ParameterVersion' => ['description' => 'The version number of the parameter.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '1'],
+ 'Name' => ['description' => 'The name of the parameter.', 'type' => 'string', 'title' => '', 'example' => 'MyParameter'],
+ 'Id' => ['description' => 'The ID of the parameter.', 'type' => 'string', 'title' => '', 'example' => 'p-7cdc0000000000000000'],
+ 'ShareType' => ['description' => 'The share type of the parameter.', 'type' => 'string', 'title' => '', 'example' => 'Private'],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'title' => '',
+ 'example' => '',
],
],
'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"C0D02BDF-77F6-49F2-95C9-8E87121D1944\\"\\n}","errorExample":""},{"type":"xml","example":"<RequestId>C0D02BDF-77F6-49F2-95C9-8E87121D1944</RequestId>","errorExample":""}]',
- 'title' => 'DeleteSecretParameter',
+ 'title' => 'GetParameters',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'UpdateSecretParameter' => [
- 'summary' => 'Updates an encryption parameter. Make sure that you have the permissions to call the UpdateSecretValue operation of Key Management Service (KMS) before you call this operation.',
- 'methods' => [
- 'post',
- 'get',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '600', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GetParameters'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'oos:GetParameters',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [
+ ['conditionKey' => 'oos:TLSVersion'],
+ ],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'OOS', 'resourceType' => 'parameter', 'arn' => 'acs:oos:{#regionId}:{#accountId}:parameter/{#parameterName}'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"2597E94B-5346-42D1-BB58-D3333EDD0975\\",\\n \\"InvalidParameters\\": [\\n \\"InvalidParameter\\"\\n ],\\n \\"Parameters\\": [\\n {\\n \\"Type\\": \\"StringList\\",\\n \\"UpdatedDate\\": \\"2020-10-22T03:30:45Z\\",\\n \\"UpdatedBy\\": \\"root(130900000)\\",\\n \\"Tags\\": {\\n \\"k1\\": \\"v1\\",\\n \\"k2\\": \\"v2\\"\\n },\\n \\"Value\\": \\"parameter,parameter1\\",\\n \\"Description\\": \\"parameter\\",\\n \\"Constraints\\": \\"{\\\\\\\\\\\\\\"MaxLength\\\\\\\\\\\\\\": 2}\\",\\n \\"ResourceGroupId\\": \\"rg-acfmxsn4m4******\\",\\n \\"CreatedBy\\": \\"root(130900000)\\",\\n \\"CreatedDate\\": \\"2020-10-22T03:30:45Z\\",\\n \\"ParameterVersion\\": 1,\\n \\"Name\\": \\"MyParameter\\",\\n \\"Id\\": \\"p-7cdc0000000000000000\\",\\n \\"ShareType\\": \\"Private\\"\\n }\\n ]\\n}","type":"json"}]',
+ ],
+ 'GetParametersByPath' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'write',
+ 'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'update',
- 'abilityTreeCode' => '94007',
- 'abilityTreeNodes' => [
- 'FEATUREoosBA3MI8',
- ],
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '93963',
+ 'abilityTreeNodes' => ['FEATUREoosMR618F'],
+ 'tenantRelevance' => 'publicInformation',
],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The ID of the region.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => 'The region ID.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'cn-hangzhou'],
],
[
- 'name' => 'Name',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The name of the parameter. The name must be 1 to 180 characters in length, and can contain letters, digits, hyphens (-), and underscores (\\_). It cannot start with ALIYUN, ACS, ALIBABA, ALICLOUD, or OOS.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'MySecretParameter',
- ],
- ],
- [
- 'name' => 'Value',
+ 'name' => 'Path',
'in' => 'query',
- 'schema' => [
- 'description' => 'The value of the parameter. The value must be 1 to 4096 characters in length.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'update',
- ],
+ 'schema' => ['description' => 'The path of the parameter. The path must be less than 200 characters in length. For example, if the parameter is /parameter/myparameter, the path is /parameter.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'title' => '', 'example' => '/parameter'],
],
[
- 'name' => 'Description',
+ 'name' => 'Recursive',
'in' => 'query',
- 'schema' => [
- 'description' => 'The description of the parameter. The description must be 1 to 200 characters in length.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'SecretParameter',
- ],
+ 'schema' => ['description' => 'Specifies whether to recursively query the path. For example, you have two parameters: /parameter/myparameter and /parameter/prameter1/myparameter. Valid values:'."\n"
+ ."\n"
+ .'- true: The operation returns both /parameter/myparameter and /parameter/prameter1/myparameter.'."\n"
+ ."\n"
+ .'- false: The operation returns only /parameter/myparameter.', 'type' => 'boolean', 'required' => false, 'title' => '', 'example' => 'false'],
],
[
- 'name' => 'Tags',
+ 'name' => 'NextToken',
'in' => 'query',
- 'style' => 'json',
- 'schema' => [
- 'description' => 'The tags of the parameter.'."\n",
- 'type' => 'object',
- 'required' => false,
- 'example' => '{"k1": "v1", "k2": "v2"}',
- ],
+ 'schema' => ['description' => 'The pagination token.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'MTRBMDc0NjAtRUJFNy00N0NBLTk3NTctMTJDQzA'],
],
[
- 'name' => 'ResourceGroupId',
+ 'name' => 'MaxResults',
'in' => 'query',
- 'schema' => [
- 'description' => 'The ID of the resource group.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'rg-acfmxsn4m4******',
- ],
+ 'schema' => ['description' => 'The number of entries to return on each page. Valid values: 1 to 10. Default value: 10.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '100', 'minimum' => '1', 'title' => '', 'example' => '10'],
],
],
'responses' => [
@@ -6181,108 +4801,76 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => 'The ID of the request.'."\n",
- 'type' => 'string',
- 'example' => '0B419FF3-ABC6-4DF0-95E5-636DC8CBB8AF',
- ],
- 'Parameter' => [
- 'description' => 'The information about the parameter.'."\n",
- 'type' => 'object',
- 'properties' => [
- 'Type' => [
- 'description' => 'The type of the parameter.'."\n",
- 'type' => 'string',
- 'example' => 'Secret',
- ],
- 'UpdatedDate' => [
- 'description' => 'The time when the parameter was updated.'."\n",
- 'type' => 'string',
- 'example' => '2020-09-01T09:33:11Z',
- ],
- 'UpdatedBy' => [
- 'description' => 'The user who updated the parameter.'."\n",
- 'type' => 'string',
- 'example' => 'root(130900000)',
- ],
- 'KeyId' => [
- 'description' => 'The ID of customer master key (CMK) of Key Management Service (KMS) that is used for encryption.'."\n",
- 'type' => 'string',
- 'example' => '80e9409f-78fa-42ab-84bd-83f40c******',
- ],
- 'Tags' => [
- 'description' => 'The tags of the parameter.'."\n",
- 'type' => 'string',
- 'example' => '{"k1": "v1", "k2": "v2"}',
- ],
- 'Description' => [
- 'description' => 'The description of the parameter.'."\n",
- 'type' => 'string',
- 'example' => 'SecretParameter',
- ],
- 'Constraints' => [
- 'description' => 'The constraints of the parameter.'."\n",
- 'type' => 'string',
- 'example' => '\'{\'\'AllowedValues":["secretparameter"],"AllowedPattern":".*","MinLength":0,"MaxLength":20}\'',
- ],
- 'ResourceGroupId' => [
- 'description' => 'The ID of the resource group.'."\n",
- 'type' => 'string',
- 'example' => 'rg-acfmxsn4m4******',
- ],
- 'CreatedBy' => [
- 'description' => 'The user who created the parameter.'."\n",
- 'type' => 'string',
- 'example' => 'root(130900000)',
- ],
- 'CreatedDate' => [
- 'description' => 'The time when the parameter was created.'."\n",
- 'type' => 'string',
- 'example' => '2020-09-01T09:30:36Z',
- ],
- 'ParameterVersion' => [
- 'description' => 'The version number of the parameter.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '2',
- ],
- 'Name' => [
- 'description' => 'The name of the parameter.'."\n",
- 'type' => 'string',
- 'example' => 'MyParameter',
- ],
- 'Id' => [
- 'description' => 'The ID of the parameter.'."\n",
- 'type' => 'string',
- 'example' => 'p-0b0fff9919c946xxxxxx',
- ],
- 'ShareType' => [
- 'description' => 'The share type of the parameter.'."\n",
- 'type' => 'string',
- 'example' => 'Private',
+ 'NextToken' => ['description' => 'The pagination token.', 'type' => 'string', 'title' => '', 'example' => 'gAAAAABfTgv5ewUWmNdJ3g7JVLvX70sPH90GZOVGC'],
+ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => '25156E99-7437-4590-AA58-2ACA17DE405C'],
+ 'TotalCount' => ['description' => 'The total number of parameters that are found.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '1'],
+ 'MaxResults' => ['description' => 'The number of entries returned per page.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '10'],
+ 'Parameters' => [
+ 'description' => 'The information about the parameters.',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Type' => ['description' => 'The type of the parameter.', 'type' => 'string', 'title' => '', 'example' => 'StringList'],
+ 'UpdatedDate' => ['description' => 'The time when the parameter was updated.', 'type' => 'string', 'title' => '', 'example' => '2020-10-21T04:03:12Z'],
+ 'UpdatedBy' => ['description' => 'The user who updated the parameter.', 'type' => 'string', 'title' => '', 'example' => 'root(130900000)'],
+ 'Value' => ['description' => 'The value of the parameter.', 'type' => 'string', 'title' => '', 'example' => '"parameter1,parameter2"'],
+ 'Description' => ['description' => 'The description of the parameter.', 'type' => 'string', 'title' => '', 'example' => 'parameter'],
+ 'Constraints' => ['description' => 'The constraints of the parameter.', 'type' => 'string', 'title' => '', 'example' => '{\\"MaxLength\\": 2}'],
+ 'CreatedBy' => ['description' => 'The user who created the parameter.', 'type' => 'string', 'title' => '', 'example' => 'root(130900000)'],
+ 'CreatedDate' => ['description' => 'The time when the parameter was created.', 'type' => 'string', 'title' => '', 'example' => '2020-10-21T04:03:12Z'],
+ 'ParameterVersion' => ['description' => 'The version number of the parameter.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '1'],
+ 'Name' => ['description' => 'The name of the parameter.', 'type' => 'string', 'title' => '', 'example' => 'myParameter'],
+ 'Id' => ['description' => 'The ID of the parameter.', 'type' => 'string', 'title' => '', 'example' => 'p-7cdc0000000000000000'],
+ 'ShareType' => ['description' => 'The share type of the parameter.', 'type' => 'string', 'title' => '', 'example' => 'Private'],
+ 'Tags' => ['description' => 'The tags.', 'type' => 'object', 'title' => '', 'example' => '{"k1": "v1", "k2": "v2"}'],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
+ 'title' => '',
+ 'example' => '',
],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"0B419FF3-ABC6-4DF0-95E5-636DC8CBB8AF\\",\\n \\"Parameter\\": {\\n \\"Type\\": \\"Secret\\",\\n \\"UpdatedDate\\": \\"2020-09-01T09:33:11Z\\",\\n \\"UpdatedBy\\": \\"root(130900000)\\",\\n \\"KeyId\\": \\"80e9409f-78fa-42ab-84bd-83f40c******\\",\\n \\"Tags\\": \\"{\\\\\\"k1\\\\\\": \\\\\\"v1\\\\\\", \\\\\\"k2\\\\\\": \\\\\\"v2\\\\\\"}\\",\\n \\"Description\\": \\"SecretParameter\\",\\n \\"Constraints\\": \\"\'{\'\'AllowedValues\\\\\\":[\\\\\\"secretparameter\\\\\\"],\\\\\\"AllowedPattern\\\\\\":\\\\\\".*\\\\\\",\\\\\\"MinLength\\\\\\":0,\\\\\\"MaxLength\\\\\\":20}\'\\",\\n \\"ResourceGroupId\\": \\"rg-acfmxsn4m4******\\",\\n \\"CreatedBy\\": \\"root(130900000)\\",\\n \\"CreatedDate\\": \\"2020-09-01T09:30:36Z\\",\\n \\"ParameterVersion\\": 2,\\n \\"Name\\": \\"MyParameter\\",\\n \\"Id\\": \\"p-0b0fff9919c946xxxxxx\\",\\n \\"ShareType\\": \\"Private\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"<UpdateSecretParameterResponse>\\n <RequestId>0B419FF3-ABC6-4DF0-95E5-636DC8CBB8AF</RequestId>\\n <Parameter>\\n <Type>Secret</Type>\\n <UpdatedDate>2020-09-01T09:33:11Z</UpdatedDate>\\n <UpdatedBy>root(130900000)</UpdatedBy>\\n <KeyId>80e9409f-78fa-42ab-84bd-83f40c******</KeyId>\\n <Tags>{\\"k1\\": \\"v1\\", \\"k2\\": \\"v2\\"}</Tags>\\n <Description>SecretParameter</Description>\\n <Constraints>\'{\'\'AllowedValues\\":[\\"secretparameter\\"],\\"AllowedPattern\\":\\".*\\",\\"MinLength\\":0,\\"MaxLength\\":20}\'</Constraints>\\n <ResourceGroupId>rg-acfmxsn4m4******</ResourceGroupId>\\n <CreatedBy>root(130900000)</CreatedBy>\\n <CreatedDate>2020-09-01T09:30:36Z</CreatedDate>\\n <ParameterVersion>2</ParameterVersion>\\n <Name>MyParameter</Name>\\n <Id>p-0b0fff9919c946xxxxxx</Id>\\n <ShareType>Private</ShareType>\\n </Parameter>\\n</UpdateSecretParameterResponse>","errorExample":""}]',
- 'title' => 'UpdateSecretParameter',
+ 'title' => 'GetParametersByPath',
+ 'summary' => 'Queries the parameters by path.',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'GetSecretParameter' => [
- 'summary' => 'Queries the information about an encryption parameter, including the parameter value. Make sure that you have the permissions to call the GetSecretValue operation of Key Management Service (KMS) before you call this operation.',
- 'methods' => [
- 'get',
- 'post',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GetParametersByPath'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'oos:GetParametersByPath',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [
+ ['conditionKey' => 'oos:TLSVersion'],
+ ],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'OOS', 'resourceType' => 'parameter', 'arn' => 'acs:oos:{#regionId}:{#accountId}:parameter/{#parameterName}'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"NextToken\\": \\"gAAAAABfTgv5ewUWmNdJ3g7JVLvX70sPH90GZOVGC\\",\\n \\"RequestId\\": \\"25156E99-7437-4590-AA58-2ACA17DE405C\\",\\n \\"TotalCount\\": 1,\\n \\"MaxResults\\": 10,\\n \\"Parameters\\": [\\n {\\n \\"Type\\": \\"StringList\\",\\n \\"UpdatedDate\\": \\"2020-10-21T04:03:12Z\\",\\n \\"UpdatedBy\\": \\"root(130900000)\\",\\n \\"Value\\": \\"\\\\\\"parameter1,parameter2\\\\\\"\\",\\n \\"Description\\": \\"parameter\\",\\n \\"Constraints\\": \\"{\\\\\\\\\\\\\\"MaxLength\\\\\\\\\\\\\\": 2}\\",\\n \\"CreatedBy\\": \\"root(130900000)\\",\\n \\"CreatedDate\\": \\"2020-10-21T04:03:12Z\\",\\n \\"ParameterVersion\\": 1,\\n \\"Name\\": \\"myParameter\\",\\n \\"Id\\": \\"p-7cdc0000000000000000\\",\\n \\"ShareType\\": \\"Private\\",\\n \\"Tags\\": {\\n \\"k1\\": \\"v1\\",\\n \\"k2\\": \\"v2\\"\\n }\\n }\\n ]\\n}","type":"json"}]',
+ ],
+ 'GetPatchBaseline' => [
+ 'summary' => 'Queries the details of a patch baseline.',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -6294,176 +4882,128 @@
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeCode' => '93965',
- 'abilityTreeNodes' => [
- 'FEATUREoosBA3MI8',
- ],
+ 'abilityTreeCode' => '93964',
+ 'abilityTreeNodes' => ['FEATUREoosSVNQOE'],
'tenantRelevance' => 'publicInformation',
],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The ID of the region.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => 'The region ID.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'cn-hangzhou'],
],
[
'name' => 'Name',
'in' => 'query',
- 'schema' => [
- 'description' => 'The name of the parameter. The name must be 1 to 180 characters in length, and can contain letters, digits, hyphens (-), and underscores (\\_). It cannot start with ALIYUN, ACS, ALIBABA, ALICLOUD, or OOS.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'MySecretParameter',
- ],
- ],
- [
- 'name' => 'ParameterVersion',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The version number of the common parameter. Valid values: 1 to 100.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'maximum' => '200',
- 'minimum' => '1',
- 'example' => '1',
- ],
- ],
- [
- 'name' => 'WithDecryption',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'Specifies whether to decrypt the parameter value. The decrypted parameter value is returned only if this parameter is set to true. Otherwise, null is returned.'."\n",
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'false',
- ],
+ 'schema' => ['description' => 'The name of the patch baseline.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'title' => '', 'example' => 'MyPatchBaseline'],
],
],
'responses' => [
200 => [
'schema' => [
- 'description' => 'Schema of Response'."\n",
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => 'The ID of the request.'."\n",
- 'type' => 'string',
- 'example' => '7F14FB7C-C9BE-44AE-92ED-21ACC02FBFD2',
- ],
- 'Parameter' => [
- 'description' => 'The information about the encryption parameter.'."\n",
+ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => '2C630E64-7273-57AC-A598-1B2B8B35CEA5'],
+ 'PatchBaseline' => [
+ 'description' => 'The details of the patch baseline.',
'type' => 'object',
'properties' => [
- 'Type' => [
- 'description' => 'The type of the parameter.'."\n",
- 'type' => 'string',
- 'example' => 'Secret',
- ],
- 'UpdatedDate' => [
- 'description' => 'The time when the encryption parameter was updated.'."\n",
- 'type' => 'string',
- 'example' => '2020-09-01T09:35:17Z',
+ 'OperationSystem' => ['description' => 'The type of the operating system.', 'type' => 'string', 'title' => '', 'example' => 'Windows'],
+ 'IsDefault' => ['description' => 'Indicates whether the patch baseline is the default one.', 'type' => 'boolean', 'title' => '', 'example' => 'false'],
+ 'Description' => ['description' => 'The description of the patch baseline.', 'type' => 'string', 'title' => '', 'example' => 'UpdatePatchBaseline'],
+ 'UpdatedDate' => ['description' => 'The time when the patch baseline was updated.', 'type' => 'string', 'title' => '', 'example' => '2021-09-08T07:26:38Z'],
+ 'UpdatedBy' => ['description' => 'The user who updated the patch baseline.', 'type' => 'string', 'title' => '', 'example' => 'root(130900000)'],
+ 'CreatedBy' => ['description' => 'The user who created the patch baseline.', 'type' => 'string', 'title' => '', 'example' => 'root(130900000)'],
+ 'CreatedDate' => ['description' => 'The time when the patch baseline was created.', 'type' => 'string', 'title' => '', 'example' => '2021-09-07T03:42:56Z'],
+ 'Name' => ['description' => 'The name of the patch baseline.', 'type' => 'string', 'title' => '', 'example' => 'MypatchBaseline'],
+ 'ApprovalRules' => ['description' => 'The approval rules.', 'type' => 'string', 'title' => '', 'example' => '{"PatchRules":[{"PatchFilterGroup":[{"Key":"PatchSet","Values":["OS"]},{"Key":"ProductFamily","Values":["Windows"]},{"Key":"Product","Values":["Windows 10","Windows 7"]},{"Key":"Classification","Values":["Security Updates","Updates","Update Rollups","Critical Updates"]},{"Key":"Severity","Values":["Critical","Important","Moderate"]}],"ApproveAfterDays":7,"EnableNonSecurity":true,"ComplianceLevel":"Medium"}]}'],
+ 'Id' => ['description' => 'The ID of the patch baseline.', 'type' => 'string', 'title' => '', 'example' => 'pb-445340b5c6504a85a300'],
+ 'ShareType' => ['description' => 'The share type of the patch baseline.', 'type' => 'string', 'title' => '', 'example' => 'Private'],
+ 'RejectedPatches' => [
+ 'description' => 'The names of the rejected patches.',
+ 'type' => 'array',
+ 'items' => ['description' => 'The name of the rejected patch.', 'type' => 'string', 'title' => '', 'example' => 'RejectedPatch1'],
+ 'title' => '',
+ 'example' => '',
],
- 'UpdatedBy' => [
- 'description' => 'The user who updated the encryption parameter.'."\n",
- 'type' => 'string',
- 'example' => 'root(130900000)',
+ 'RejectedPatchesAction' => ['description' => 'The action for rejected patches.', 'type' => 'string', 'title' => '', 'example' => 'ALLOW_AS_DEPENDENCY'],
+ 'ApprovedPatches' => [
+ 'description' => 'A list of approved patches.',
+ 'type' => 'array',
+ 'items' => ['description' => 'The name of the approved patch.', 'type' => 'string', 'title' => '', 'example' => 'ApprovedPatch1'],
+ 'title' => '',
+ 'example' => '',
],
- 'KeyId' => [
- 'description' => 'The ID of the key of Key Management Service (KMS) that is used for encryption.'."\n",
- 'type' => 'string',
- 'example' => '80e9409f-78fa-42ab-84bd-83f40c******',
+ 'ApprovedPatchesEnableNonSecurity' => ['description' => 'Indicates whether the approved patches include updates other than security updates.', 'type' => 'boolean', 'title' => '', 'example' => 'true'],
+ 'Sources' => [
+ 'description' => 'A list of patch source configurations.',
+ 'type' => 'array',
+ 'items' => ['description' => 'The patch source configuration.', 'type' => 'string', 'title' => '', 'example' => '[main]'."\n"
+ .'name=MyCustomRepository'."\n"
+ .'baseurl=https://my-custom-repository'."\n"
+ .'enabled=1'],
+ 'title' => '',
+ 'example' => '',
],
'Tags' => [
- 'description' => 'The tags of the parameter.'."\n",
- 'type' => 'object',
- 'example' => '{"k1": "v1", "k2": "v2"}',
- ],
- 'Value' => [
- 'description' => 'The value of the encryption parameter.'."\n",
- 'type' => 'string',
- 'example' => 'SecretParameter',
- ],
- 'Description' => [
- 'description' => 'The description of the encryption parameter.'."\n",
- 'type' => 'string',
- 'example' => 'SecretParameter',
- ],
- 'Constraints' => [
- 'description' => 'The constraints of the encryption parameter.'."\n",
- 'type' => 'string',
- 'example' => '\'{\'\'AllowedValues":["secretparameter"],"AllowedPattern":".*","MinLength":0,"MaxLength":20}\'',
- ],
- 'ResourceGroupId' => [
- 'description' => 'The ID of the resource group.'."\n",
- 'type' => 'string',
- 'example' => 'rg-acfmxsn4m4******',
- ],
- 'CreatedBy' => [
- 'description' => 'The user who created the encryption parameter.'."\n",
- 'type' => 'string',
- 'example' => 'root(130900000)',
- ],
- 'CreatedDate' => [
- 'description' => 'The time when the encryption parameter was created.'."\n",
- 'type' => 'string',
- 'example' => '2020-09-01T09:28:47Z',
- ],
- 'ParameterVersion' => [
- 'description' => 'The version number of the encryption parameter.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'Name' => [
- 'description' => 'The name of the encryption parameter.'."\n",
- 'type' => 'string',
- 'example' => 'MySecretParameter',
- ],
- 'Id' => [
- 'description' => 'The ID of the encryption parameter.'."\n",
- 'type' => 'string',
- 'example' => 'p-14ed150fdcd048xxxxxx',
- ],
- 'ShareType' => [
- 'description' => 'The share type of the encryption parameter.'."\n",
- 'type' => 'string',
- 'example' => 'Private',
- ],
- 'DKMSInstanceId' => [
- 'description' => 'The instance ID of the KMS instance.',
- 'type' => 'string',
- 'example' => 'kst-hzz****',
+ 'description' => 'The tags.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The tag.',
+ 'type' => 'object',
+ 'properties' => [
+ 'TagKey' => ['description' => 'The tag key.', 'type' => 'string', 'title' => '', 'example' => 'key'],
+ 'TagValue' => ['description' => 'The tag value.', 'type' => 'string', 'title' => '', 'example' => 'value'],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'title' => '',
+ 'example' => '',
],
+ 'ResourceGroupId' => ['description' => 'The resource group ID.', 'type' => 'string', 'title' => '', 'example' => 'rg-acfmzmhzoaad5oq'],
],
+ 'title' => '',
+ 'example' => '',
],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"7F14FB7C-C9BE-44AE-92ED-21ACC02FBFD2\\",\\n \\"Parameter\\": {\\n \\"Type\\": \\"Secret\\",\\n \\"UpdatedDate\\": \\"2020-09-01T09:35:17Z\\",\\n \\"UpdatedBy\\": \\"root(130900000)\\",\\n \\"KeyId\\": \\"80e9409f-78fa-42ab-84bd-83f40c******\\",\\n \\"Tags\\": {\\n \\"k1\\": \\"v1\\",\\n \\"k2\\": \\"v2\\"\\n },\\n \\"Value\\": \\"SecretParameter\\",\\n \\"Description\\": \\"SecretParameter\\",\\n \\"Constraints\\": \\"\'{\'\'AllowedValues\\\\\\":[\\\\\\"secretparameter\\\\\\"],\\\\\\"AllowedPattern\\\\\\":\\\\\\".*\\\\\\",\\\\\\"MinLength\\\\\\":0,\\\\\\"MaxLength\\\\\\":20}\'\\",\\n \\"ResourceGroupId\\": \\"rg-acfmxsn4m4******\\",\\n \\"CreatedBy\\": \\"root(130900000)\\",\\n \\"CreatedDate\\": \\"2020-09-01T09:28:47Z\\",\\n \\"ParameterVersion\\": 1,\\n \\"Name\\": \\"MySecretParameter\\",\\n \\"Id\\": \\"p-14ed150fdcd048xxxxxx\\",\\n \\"ShareType\\": \\"Private\\",\\n \\"DKMSInstanceId\\": \\"kst-hzz****\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"<GetSecretParameterResponse>\\n <RequestId>7F14FB7C-C9BE-44AE-92ED-21ACC02FBFD2</RequestId>\\n <Parameter>\\n <Type>Secret</Type>\\n <UpdatedDate>2020-09-01T09:35:17Z</UpdatedDate>\\n <UpdatedBy>root(130900000)</UpdatedBy>\\n <KeyId>80e9409f-78fa-42ab-84bd-83f40c******</KeyId>\\n <Value>SecretParameter</Value>\\n <Description>SecretParameter</Description>\\n <Constraints>\'{\'\'AllowedValues\\":[\\"secretparameter\\"],\\"AllowedPattern\\":\\".*\\",\\"MinLength\\":0,\\"MaxLength\\":20}\'</Constraints>\\n <ResourceGroupId>rg-acfmxsn4m4******</ResourceGroupId>\\n <CreatedBy>root(130900000)</CreatedBy>\\n <CreatedDate>2020-09-01T09:28:47Z</CreatedDate>\\n <ParameterVersion>1</ParameterVersion>\\n <Name>MySecretParameter</Name>\\n <Id>p-14ed150fdcd048xxxxxx</Id>\\n <Tags>\\n <k1>v1</k1>\\n <k2>v2</k2>\\n </Tags>\\n <ShareType>Private</ShareType>\\n </Parameter>\\n</GetSecretParameterResponse>","errorExample":""}]',
- 'title' => 'GetSecretParameter',
+ 'title' => 'GetPatchBaseline',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'ListSecretParameters' => [
- 'summary' => 'Queries common parameters. Multiple types of queries are supported.',
- 'methods' => [
- 'post',
- 'get',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GetPatchBaseline'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'oos:GetPatchBaseline',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [
+ ['conditionKey' => 'oos:TLSVersion'],
+ ],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'OOS', 'resourceType' => 'patchbaseline', 'arn' => 'acs:oos:{#regionId}:{#accountId}:patchbaseline/{#patchbaselineName}'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"2C630E64-7273-57AC-A598-1B2B8B35CEA5\\",\\n \\"PatchBaseline\\": {\\n \\"OperationSystem\\": \\"Windows\\",\\n \\"IsDefault\\": false,\\n \\"Description\\": \\"UpdatePatchBaseline\\",\\n \\"UpdatedDate\\": \\"2021-09-08T07:26:38Z\\",\\n \\"UpdatedBy\\": \\"root(130900000)\\",\\n \\"CreatedBy\\": \\"root(130900000)\\",\\n \\"CreatedDate\\": \\"2021-09-07T03:42:56Z\\",\\n \\"Name\\": \\"MypatchBaseline\\",\\n \\"ApprovalRules\\": \\"{\\\\\\"PatchRules\\\\\\":[{\\\\\\"PatchFilterGroup\\\\\\":[{\\\\\\"Key\\\\\\":\\\\\\"PatchSet\\\\\\",\\\\\\"Values\\\\\\":[\\\\\\"OS\\\\\\"]},{\\\\\\"Key\\\\\\":\\\\\\"ProductFamily\\\\\\",\\\\\\"Values\\\\\\":[\\\\\\"Windows\\\\\\"]},{\\\\\\"Key\\\\\\":\\\\\\"Product\\\\\\",\\\\\\"Values\\\\\\":[\\\\\\"Windows 10\\\\\\",\\\\\\"Windows 7\\\\\\"]},{\\\\\\"Key\\\\\\":\\\\\\"Classification\\\\\\",\\\\\\"Values\\\\\\":[\\\\\\"Security Updates\\\\\\",\\\\\\"Updates\\\\\\",\\\\\\"Update Rollups\\\\\\",\\\\\\"Critical Updates\\\\\\"]},{\\\\\\"Key\\\\\\":\\\\\\"Severity\\\\\\",\\\\\\"Values\\\\\\":[\\\\\\"Critical\\\\\\",\\\\\\"Important\\\\\\",\\\\\\"Moderate\\\\\\"]}],\\\\\\"ApproveAfterDays\\\\\\":7,\\\\\\"EnableNonSecurity\\\\\\":true,\\\\\\"ComplianceLevel\\\\\\":\\\\\\"Medium\\\\\\"}]}\\",\\n \\"Id\\": \\"pb-445340b5c6504a85a300\\",\\n \\"ShareType\\": \\"Private\\",\\n \\"RejectedPatches\\": [\\n \\"RejectedPatch1\\"\\n ],\\n \\"RejectedPatchesAction\\": \\"ALLOW_AS_DEPENDENCY\\",\\n \\"ApprovedPatches\\": [\\n \\"ApprovedPatch1\\"\\n ],\\n \\"ApprovedPatchesEnableNonSecurity\\": true,\\n \\"Sources\\": [\\n \\"[main]\\\\nname=MyCustomRepository\\\\nbaseurl=https://my-custom-repository\\\\nenabled=1\\"\\n ],\\n \\"Tags\\": [\\n {\\n \\"TagKey\\": \\"key\\",\\n \\"TagValue\\": \\"value\\"\\n }\\n ],\\n \\"ResourceGroupId\\": \\"rg-acfmzmhzoaad5oq\\"\\n }\\n}","type":"json"}]',
+ ],
+ 'GetSecretParameter' => [
+ 'summary' => 'Queries an encrypted parameter, including its value. Before you call this operation, ensure that you have the permissions to call the GetSecretValue API operation of Key Management Service (KMS).',
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -6472,244 +5012,103 @@
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'list',
+ 'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeCode' => '93984',
- 'abilityTreeNodes' => [
- 'FEATUREoosBA3MI8',
- ],
+ 'abilityTreeCode' => '93965',
+ 'abilityTreeNodes' => ['FEATUREoosBA3MI8'],
'tenantRelevance' => 'publicInformation',
],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The ID of the region.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => 'The region ID.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'cn-hangzhou'],
],
[
'name' => 'Name',
'in' => 'query',
- 'schema' => [
- 'description' => 'The name of the parameter. **You can enter a keyword to query parameter names in fuzzy match mode.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'MySecretParameter',
- ],
- ],
- [
- 'name' => 'MaxResults',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The number of entries per page. Valid values: 10 to 100. Default value: 50.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'maximum' => '100',
- 'minimum' => '10',
- 'example' => '50',
- 'default' => '50',
- ],
- ],
- [
- 'name' => 'NextToken',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The token that is used to retrieve the next page of results.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'sPH90GZOVGC6KPDUL0FIIbEtMQHq_19S6_4O_XqA',
- ],
- ],
- [
- 'name' => 'SortField',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The field used to sort the query results. Valid values:'."\n"
- ."\n"
- .'* Name'."\n"
- .'* CreatedDate'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'Name',
- ],
- ],
- [
- 'name' => 'SortOrder',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The order in which the entries are sorted. Valid values:'."\n"
- ."\n"
- .'* Ascending'."\n"
- .'* Descending (Default)'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'Descending',
- ],
+ 'schema' => ['description' => 'The name of the parameter. The name can be up to 180 characters in length and can contain letters, digits, hyphens (-), and underscores (\\_). The name cannot start with ALIYUN, ACS, ALIBABA, ALICLOUD, or OOS.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'title' => '', 'example' => 'MySecretParameter'],
],
[
- 'name' => 'Path',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The path of the parameter. For example, if the name of a parameter is /path/path1/Myparameter, the path of the parameter is /path/path1/.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => '/path1/path2/',
- ],
- ],
- [
- 'name' => 'Recursive',
+ 'name' => 'ParameterVersion',
'in' => 'query',
- 'schema' => [
- 'description' => 'Specifies whether to query parameters from all levels of directories in the specified path. Default value: false.'."\n",
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'false',
- ],
+ 'schema' => ['description' => 'The version number of the parameter. Valid values: 1 to 100.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '200', 'minimum' => '1', 'title' => '', 'example' => '1'],
],
[
- 'name' => 'Tags',
+ 'name' => 'WithDecryption',
'in' => 'query',
- 'style' => 'json',
- 'schema' => [
- 'description' => 'The tags of the parameter.'."\n",
- 'type' => 'object',
- 'required' => false,
- 'example' => '{"k1": "v1", "k2": "v2"}',
- ],
- ],
- [
- 'name' => 'ResourceGroupId',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The ID of the resource group.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'rg-acfmxsn4m4******',
- ],
+ 'schema' => ['description' => 'Specifies whether to decrypt the parameter value. The Value field in the response is returned only if this parameter is set to true. Otherwise, the Value field is empty.', 'type' => 'boolean', 'required' => false, 'title' => '', 'example' => 'false'],
],
],
'responses' => [
200 => [
'schema' => [
+ 'description' => 'The information about the encrypted parameter.',
'type' => 'object',
'properties' => [
- 'NextToken' => [
- 'description' => 'The token that is used to retrieve the next page of results.'."\n",
- 'type' => 'string',
- 'example' => 'sPH90GZOVGC6KPDUL0FIIbEtMQHq_19S6_4O_XqA',
- ],
- 'RequestId' => [
- 'description' => 'The ID of the request.'."\n",
- 'type' => 'string',
- 'example' => 'CA9C6248-AF2A-4AE9-A166-88FD901BBB90',
- ],
- 'MaxResults' => [
- 'description' => 'The number of entries returned per page.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '50',
- ],
- 'Parameters' => [
- 'description' => 'The information about the parameters.'."\n",
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'Type' => [
- 'description' => 'The type of the parameter.'."\n",
- 'type' => 'string',
- 'example' => 'Secret',
- ],
- 'UpdatedDate' => [
- 'description' => 'The time when the parameter was updated.'."\n",
- 'type' => 'string',
- 'example' => '2020-09-01T09:35:17Z',
- ],
- 'UpdatedBy' => [
- 'description' => 'The user who updated the parameter.'."\n",
- 'type' => 'string',
- 'example' => 'root(130900000)',
- ],
- 'KeyId' => [
- 'description' => 'The ID of the KMS customer master key (CMK) that is used for encryption.'."\n",
- 'type' => 'string',
- 'example' => '80e9409f-78fa-42ab-84bd-83f40c******',
- ],
- 'Tags' => [
- 'description' => 'The tags of the parameter.'."\n",
- 'type' => 'object',
- 'example' => '{"k1": "v1", "k2": "v2"}',
- ],
- 'Description' => [
- 'description' => 'The description of the parameter.'."\n",
- 'type' => 'string',
- 'example' => 'SecretParameter',
- ],
- 'ResourceGroupId' => [
- 'description' => 'The ID of the resource group.'."\n",
- 'type' => 'string',
- 'example' => 'rg-acfmxsn4m4******',
- ],
- 'CreatedBy' => [
- 'description' => 'The user who created the parameter.'."\n",
- 'type' => 'string',
- 'example' => 'root(130900000)',
- ],
- 'CreatedDate' => [
- 'description' => 'The time when the parameter was created.'."\n",
- 'type' => 'string',
- 'example' => '2020-09-01T09:28:47Z',
- ],
- 'ParameterVersion' => [
- 'description' => 'The version number of the parameter.'."\n",
- 'type' => 'string',
- 'example' => '1',
- ],
- 'Name' => [
- 'description' => 'The name of the parameter.'."\n",
- 'type' => 'string',
- 'example' => 'MySecretParameter',
- ],
- 'Id' => [
- 'description' => 'The ID of the parameter.'."\n",
- 'type' => 'string',
- 'example' => 'p-14ed150fdcd048xxxxxx',
- ],
- 'ShareType' => [
- 'description' => 'The share type of the parameter.'."\n",
- 'type' => 'string',
- 'example' => 'Private',
- ],
- ],
+ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => '7F14FB7C-C9BE-44AE-92ED-21ACC02FBFD2'],
+ 'Parameter' => [
+ 'description' => 'The information about the encrypted parameter.',
+ 'type' => 'object',
+ 'properties' => [
+ 'Type' => ['description' => 'The type of the parameter.', 'type' => 'string', 'title' => '', 'example' => 'Secret'],
+ 'UpdatedDate' => ['description' => 'The time when the parameter was updated.', 'type' => 'string', 'title' => '', 'example' => '2020-09-01T09:35:17Z'],
+ 'UpdatedBy' => ['description' => 'The user who updated the parameter.', 'type' => 'string', 'title' => '', 'example' => 'root(130900000)'],
+ 'KeyId' => ['description' => 'The ID of the KMS key that is used for encryption.', 'type' => 'string', 'title' => '', 'example' => '80e9409f-78fa-42ab-84bd-83f40c******'],
+ 'Tags' => ['description' => 'The tags.', 'type' => 'object', 'title' => '', 'example' => '{"k1": "v1", "k2": "v2"}'],
+ 'Value' => ['description' => 'The value of the parameter.', 'type' => 'string', 'title' => '', 'example' => 'SecretParameter'],
+ 'Description' => ['description' => 'The description of the parameter.', 'type' => 'string', 'title' => '', 'example' => 'SecretParameter'],
+ 'Constraints' => ['description' => 'The constraints of the parameter.', 'type' => 'string', 'title' => '', 'example' => '\'{\'\'AllowedValues":["secretparameter"],"AllowedPattern":".*","MinLength":0,"MaxLength":20}\''],
+ 'ResourceGroupId' => ['description' => 'The ID of the resource group.', 'type' => 'string', 'title' => '', 'example' => 'rg-acfmxsn4m4******'],
+ 'CreatedBy' => ['description' => 'The user who created the parameter.', 'type' => 'string', 'title' => '', 'example' => 'root(130900000)'],
+ 'CreatedDate' => ['description' => 'The time when the parameter was created.', 'type' => 'string', 'title' => '', 'example' => '2020-09-01T09:28:47Z'],
+ 'ParameterVersion' => ['description' => 'The version number of the parameter.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '1'],
+ 'Name' => ['description' => 'The name of the encrypted parameter.', 'type' => 'string', 'title' => '', 'example' => 'MySecretParameter'],
+ 'Id' => ['description' => 'The ID of the encrypted parameter.', 'type' => 'string', 'title' => '', 'example' => 'p-14ed150fdcd048xxxxxx'],
+ 'ShareType' => ['description' => 'The share type of the parameter.', 'type' => 'string', 'title' => '', 'example' => 'Private'],
+ 'DKMSInstanceId' => ['description' => 'The ID of the KMS instance.', 'type' => 'string', 'title' => '', 'example' => 'kst-hzz****'],
],
+ 'title' => '',
+ 'example' => '',
],
],
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"NextToken\\": \\"sPH90GZOVGC6KPDUL0FIIbEtMQHq_19S6_4O_XqA\\",\\n \\"RequestId\\": \\"CA9C6248-AF2A-4AE9-A166-88FD901BBB90\\",\\n \\"MaxResults\\": 50,\\n \\"Parameters\\": [\\n {\\n \\"Type\\": \\"Secret\\",\\n \\"UpdatedDate\\": \\"2020-09-01T09:35:17Z\\",\\n \\"UpdatedBy\\": \\"root(130900000)\\",\\n \\"KeyId\\": \\"80e9409f-78fa-42ab-84bd-83f40c******\\",\\n \\"Tags\\": {\\n \\"k1\\": \\"v1\\",\\n \\"k2\\": \\"v2\\"\\n },\\n \\"Description\\": \\"SecretParameter\\",\\n \\"ResourceGroupId\\": \\"rg-acfmxsn4m4******\\",\\n \\"CreatedBy\\": \\"root(130900000)\\",\\n \\"CreatedDate\\": \\"2020-09-01T09:28:47Z\\",\\n \\"ParameterVersion\\": \\"1\\",\\n \\"Name\\": \\"MySecretParameter\\",\\n \\"Id\\": \\"p-14ed150fdcd048xxxxxx\\",\\n \\"ShareType\\": \\"Private\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<ListSecretParametersResponse>\\n <NextToken>sPH90GZOVGC6KPDUL0FIIbEtMQHq_19S6_4O_XqA</NextToken>\\n <RequestId>CA9C6248-AF2A-4AE9-A166-88FD901BBB90</RequestId>\\n <MaxResults>50</MaxResults>\\n <Parameters>\\n <Type>Secret</Type>\\n <UpdatedDate>2020-09-01T09:35:17Z</UpdatedDate>\\n <UpdatedBy>root(130900000)</UpdatedBy>\\n <KeyId>80e9409f-78fa-42ab-84bd-83f40c******</KeyId>\\n <Description>SecretParameter</Description>\\n <ResourceGroupId>rg-acfmxsn4m4******</ResourceGroupId>\\n <CreatedBy>root(130900000)</CreatedBy>\\n <CreatedDate>2020-09-01T09:28:47Z</CreatedDate>\\n <ParameterVersion>1</ParameterVersion>\\n <Name>MySecretParameter</Name>\\n <Id>p-14ed150fdcd048xxxxxx</Id>\\n <Tags>\\n <k1>v1</k1>\\n <k2>v2</k2>\\n </Tags>\\n <ShareType>Private</ShareType>\\n </Parameters>\\n</ListSecretParametersResponse>","errorExample":""}]',
- 'title' => 'ListSecretParameters',
- 'description' => 'Before you call this operation, make sure that you have the permission to manage Key Management Service (KMS) secrets.'."\n",
+ 'title' => 'GetSecretParameter',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'ListSecretParameterVersions' => [
- 'summary' => 'Queries versions of an encryption parameter.',
- 'methods' => [
- 'post',
- 'get',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '600', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GetSecretParameter'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'oos:GetSecretParameter',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [
+ ['conditionKey' => 'oos:TLSVersion'],
+ ],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'OOS', 'resourceType' => 'secretparameter', 'arn' => 'acs:oos:{#regionId}:{#accountId}:secretparameter/{#secretparameterName}'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"7F14FB7C-C9BE-44AE-92ED-21ACC02FBFD2\\",\\n \\"Parameter\\": {\\n \\"Type\\": \\"Secret\\",\\n \\"UpdatedDate\\": \\"2020-09-01T09:35:17Z\\",\\n \\"UpdatedBy\\": \\"root(130900000)\\",\\n \\"KeyId\\": \\"80e9409f-78fa-42ab-84bd-83f40c******\\",\\n \\"Tags\\": {\\n \\"k1\\": \\"v1\\",\\n \\"k2\\": \\"v2\\"\\n },\\n \\"Value\\": \\"SecretParameter\\",\\n \\"Description\\": \\"SecretParameter\\",\\n \\"Constraints\\": \\"\'{\'\'AllowedValues\\\\\\":[\\\\\\"secretparameter\\\\\\"],\\\\\\"AllowedPattern\\\\\\":\\\\\\".*\\\\\\",\\\\\\"MinLength\\\\\\":0,\\\\\\"MaxLength\\\\\\":20}\'\\",\\n \\"ResourceGroupId\\": \\"rg-acfmxsn4m4******\\",\\n \\"CreatedBy\\": \\"root(130900000)\\",\\n \\"CreatedDate\\": \\"2020-09-01T09:28:47Z\\",\\n \\"ParameterVersion\\": 1,\\n \\"Name\\": \\"MySecretParameter\\",\\n \\"Id\\": \\"p-14ed150fdcd048xxxxxx\\",\\n \\"ShareType\\": \\"Private\\",\\n \\"DKMSInstanceId\\": \\"kst-hzz****\\"\\n }\\n}","type":"json"}]',
+ ],
+ 'GetSecretParameters' => [
+ 'summary' => 'Queries the details of one or more encrypted parameters. You must have permission to call GetSecretValue API of Key Management Service (KMS) to use this operation.',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -6718,191 +5117,114 @@
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'list',
+ 'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeCode' => '93985',
- 'abilityTreeNodes' => [
- 'FEATUREoosLDUDPP',
- ],
+ 'abilityTreeCode' => '93966',
+ 'abilityTreeNodes' => ['FEATUREoosBA3MI8'],
'tenantRelevance' => 'publicInformation',
],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The ID of the region.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
- ],
- [
- 'name' => 'Name',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The name of the encryption parameter.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'MySecretParameter',
- ],
- ],
- [
- 'name' => 'MaxResults',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The number of entries per page. Valid values: 10 to 100. Default value: 50.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'maximum' => '100',
- 'minimum' => '10',
- 'example' => '10',
- 'default' => '50',
- ],
+ 'schema' => ['description' => 'The ID of the region.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'cn-hangzhou'],
],
[
- 'name' => 'NextToken',
+ 'name' => 'Names',
'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' => 'MTRBMDc0NjAtRUJFNy00N0NBLTk3NTctMTJDQzQ3NjFENDdB',
- ],
- ],
- [
- 'name' => 'ShareType',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The share type of the encryption parameter.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'Private',
- ],
+ 'schema' => ['description' => 'The names of the parameters. The value is a JSON array that contains 1 to 10 parameter names. The format is \\["name1", "name2", ...].', 'type' => 'string', 'required' => true, 'docRequired' => true, 'title' => '', 'example' => '["secretParameter","secretParameter1"]'],
],
[
'name' => 'WithDecryption',
'in' => 'query',
- 'schema' => [
- 'description' => 'Specifies whether to decrypt the parameter value. The decrypted parameter value is returned only if this parameter is set to true. Otherwise, null is returned.'."\n",
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'false',
- ],
+ 'schema' => ['description' => 'Specifies whether to decrypt the parameter value.'."\n"
+ .'Valid values:'."\n"
+ ."\n"
+ .'- true'."\n"
+ ."\n"
+ .'- false (default)', 'type' => 'boolean', 'required' => false, 'title' => '', 'example' => 'false'],
],
],
'responses' => [
200 => [
'schema' => [
- 'description' => 'The information about the encryption parameter.'."\n",
'type' => 'object',
'properties' => [
- 'Type' => [
- 'description' => 'The type of the encryption parameter.'."\n",
- 'type' => 'string',
- 'example' => 'Secret',
- ],
- 'NextToken' => [
- 'description' => 'The pagination token that is used in the next request to retrieve a new page of results.'."\n",
- 'type' => 'string',
- 'example' => 'MTRBMDc0NjAtRUJFNy00N0NBLTk3NTctMTJDQzQ3NjFENDdB',
- ],
- 'RequestId' => [
- 'description' => 'The ID of the request.'."\n",
- 'type' => 'string',
- 'example' => 'DBA6E6C8-F75D-41DE-AFF5-1FA03F551CA3',
- ],
- 'Description' => [
- 'description' => 'The description of the encryption parameter.'."\n",
- 'type' => 'string',
- 'example' => 'SecretParameter',
- ],
- 'MaxResults' => [
- 'description' => 'The number of entries returned per page.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '50',
- ],
- 'CreatedBy' => [
- 'description' => 'The user who created the encryption parameter.'."\n",
- 'type' => 'string',
- 'example' => 'root(130900000)',
- ],
- 'CreatedDate' => [
- 'description' => 'The time when the encryption parameter was created.'."\n",
- 'type' => 'string',
- 'example' => '2020-09-01T08:01:43Z',
- ],
- 'Name' => [
- 'description' => 'The name of the encryption parameter.'."\n",
- 'type' => 'string',
- 'example' => 'MySecretParameter',
- ],
- 'TotalCount' => [
- 'description' => 'The total number of entries returned.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'Id' => [
- 'description' => 'The ID of the encryption parameter.'."\n",
- 'type' => 'string',
- 'example' => 'p-4c4b401cab6747xxxxxx',
+ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => 'A5320F1D-92D9-44BB-A416-5FC525ED6D57'],
+ 'InvalidParameters' => [
+ 'description' => 'The parameters that are invalid.',
+ 'type' => 'array',
+ 'items' => ['description' => 'The names of the invalid parameters.', 'type' => 'string', 'title' => '', 'example' => '[ "InvalidSecretParameter"]'],
+ 'title' => '',
+ 'example' => '',
],
- 'ParameterVersions' => [
- 'description' => 'The information about the version of the encryption parameter.'."\n",
+ 'Parameters' => [
+ 'description' => 'The details of the parameters.',
'type' => 'array',
'items' => [
- 'description' => 'The version information.'."\n",
'type' => 'object',
'properties' => [
- 'ParameterVersion' => [
- 'description' => 'The version number of the encryption parameter.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'Value' => [
- 'description' => 'The value of the encryption parameter.'."\n",
- 'type' => 'string',
- 'example' => 'SecretParameter',
- ],
- 'UpdatedDate' => [
- 'description' => 'The time when the encryption parameter was updated.'."\n",
- 'type' => 'string',
- 'example' => '2020-09-01T08:01:43Z',
- ],
- 'UpdatedBy' => [
- 'description' => 'The user who updated the encryption parameter.'."\n",
- 'type' => 'string',
- 'example' => 'root(130900000)',
- ],
+ 'Type' => ['description' => 'The type of the parameter.', 'type' => 'string', 'title' => '', 'example' => 'Secret'],
+ 'UpdatedDate' => ['description' => 'The time when the parameter was last updated.', 'type' => 'string', 'title' => '', 'example' => '2020-10-22T03:11:13Z'],
+ 'UpdatedBy' => ['description' => 'The user who last updated the parameter.', 'type' => 'string', 'title' => '', 'example' => 'root(130900000)'],
+ 'KeyId' => ['description' => 'The ID of the key.', 'type' => 'string', 'title' => '', 'example' => 'ssh-bp67acfmxazb4p****'],
+ 'Tags' => ['description' => 'The tags.', 'type' => 'object', 'title' => '', 'example' => '{"k1": "v1", "k2": "v2"}'],
+ 'Value' => ['description' => 'The value of the parameter.', 'type' => 'string', 'title' => '', 'example' => 'secretParameter,secretParameter1'],
+ 'Description' => ['description' => 'The description of the parameter.', 'type' => 'string', 'title' => '', 'example' => 'secretParameter'],
+ 'Constraints' => ['description' => 'The constraints of the parameter.', 'type' => 'string', 'title' => '', 'example' => '{\\"AllowedValues\\": [\\"test\\"]}'],
+ 'ResourceGroupId' => ['description' => 'The ID of the resource group.', 'type' => 'string', 'title' => '', 'example' => 'rg-acfmxsn4m4******'],
+ 'CreatedBy' => ['description' => 'The user who created the parameter.', 'type' => 'string', 'title' => '', 'example' => 'root(130900000)'],
+ 'CreatedDate' => ['description' => 'The time when the parameter was created.', 'type' => 'string', 'title' => '', 'example' => '2020-10-22T03:11:13Z'],
+ 'ParameterVersion' => ['description' => 'The version of the parameter.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '1'],
+ 'Name' => ['description' => 'The name of the parameter.', 'type' => 'string', 'title' => '', 'example' => 'MySecretParameter'],
+ 'Id' => ['description' => 'The ID of the parameter.', 'type' => 'string', 'title' => '', 'example' => 'p-7cdc0000000000000000'],
+ 'ShareType' => ['description' => 'The share type of the parameter.', 'type' => 'string', 'title' => '', 'example' => 'Private'],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
+ 'title' => '',
+ 'example' => '',
],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"Type\\": \\"Secret\\",\\n \\"NextToken\\": \\"MTRBMDc0NjAtRUJFNy00N0NBLTk3NTctMTJDQzQ3NjFENDdB\\",\\n \\"RequestId\\": \\"DBA6E6C8-F75D-41DE-AFF5-1FA03F551CA3\\",\\n \\"Description\\": \\"SecretParameter\\",\\n \\"MaxResults\\": 50,\\n \\"CreatedBy\\": \\"root(130900000)\\",\\n \\"CreatedDate\\": \\"2020-09-01T08:01:43Z\\",\\n \\"Name\\": \\"MySecretParameter\\",\\n \\"TotalCount\\": 1,\\n \\"Id\\": \\"p-4c4b401cab6747xxxxxx\\",\\n \\"ParameterVersions\\": [\\n {\\n \\"ParameterVersion\\": 1,\\n \\"Value\\": \\"SecretParameter\\",\\n \\"UpdatedDate\\": \\"2020-09-01T08:01:43Z\\",\\n \\"UpdatedBy\\": \\"root(130900000)\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<Parameters>\\n <UpdatedBy>root(130900000)</UpdatedBy>\\n <Type>Secret</Type>\\n <CreatedBy>root(130900000)</CreatedBy>\\n <Description>secret-test</Description>\\n <UpdatedDate>2020-09-02T11:44:11Z</UpdatedDate>\\n <ParameterVersion>3</ParameterVersion>\\n <CreatedDate>2020-09-02T11:44:01Z</CreatedDate>\\n <Id>p-e4e117b5c6c941xxxxxx</Id>\\n <Name>secret-test1</Name>\\n <ShareType>Private</ShareType>\\n</Parameters>\\n<RequestId>DBA6E6C8-F75D-41DE-AFF5-1FA03F551CA3</RequestId>\\n<MaxResults>50</MaxResults>","errorExample":""}]',
- 'title' => 'ListSecretParameterVersions',
+ 'title' => 'GetSecretParameters',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'GetSecretParametersByPath' => [
- 'summary' => 'Queries encryption parameters by path. Make sure that you have the permissions to call the GetSecretValue operation of Key Management Service (KMS) before you call this operation.',
- 'methods' => [
- 'post',
- 'get',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '600', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GetSecretParameters'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'oos:GetSecretParameters',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [
+ ['conditionKey' => 'oos:TLSVersion'],
+ ],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'OOS', 'resourceType' => 'secretparameter', 'arn' => 'acs:oos:{#regionId}:{#accountId}:secretparameter/{#secretparameterName}'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A5320F1D-92D9-44BB-A416-5FC525ED6D57\\",\\n \\"InvalidParameters\\": [\\n \\"[ \\\\\\"InvalidSecretParameter\\\\\\"]\\"\\n ],\\n \\"Parameters\\": [\\n {\\n \\"Type\\": \\"Secret\\",\\n \\"UpdatedDate\\": \\"2020-10-22T03:11:13Z\\",\\n \\"UpdatedBy\\": \\"root(130900000)\\",\\n \\"KeyId\\": \\"ssh-bp67acfmxazb4p****\\",\\n \\"Tags\\": {\\n \\"k1\\": \\"v1\\",\\n \\"k2\\": \\"v2\\"\\n },\\n \\"Value\\": \\"secretParameter,secretParameter1\\",\\n \\"Description\\": \\"secretParameter\\",\\n \\"Constraints\\": \\"{\\\\\\\\\\\\\\"AllowedValues\\\\\\\\\\\\\\": [\\\\\\\\\\\\\\"test\\\\\\\\\\\\\\"]}\\",\\n \\"ResourceGroupId\\": \\"rg-acfmxsn4m4******\\",\\n \\"CreatedBy\\": \\"root(130900000)\\",\\n \\"CreatedDate\\": \\"2020-10-22T03:11:13Z\\",\\n \\"ParameterVersion\\": 1,\\n \\"Name\\": \\"MySecretParameter\\",\\n \\"Id\\": \\"p-7cdc0000000000000000\\",\\n \\"ShareType\\": \\"Private\\"\\n }\\n ]\\n}","type":"json"}]',
+ ],
+ 'GetSecretParametersByPath' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -6915,81 +5237,48 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '93967',
- 'abilityTreeNodes' => [
- 'FEATUREoosMR618F',
- ],
+ 'abilityTreeNodes' => ['FEATUREoosMR618F'],
'tenantRelevance' => 'publicInformation',
],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The region ID.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => 'The region ID.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'cn-hangzhou'],
],
[
'name' => 'Path',
'in' => 'query',
- 'schema' => [
- 'description' => 'The path of the encryption parameter. The path must be 1 to 200 characters in length. For example, if the name of an encryption parameter is /secretParameter/mySecretParameter, the path of the encryption parameter is /secretParameter.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '/secretParameter',
- ],
+ 'schema' => ['description' => 'The path of the parameter. The path must be less than 200 characters in length. For example, if the name of a parameter is /secretParameter/mySecretParameter, the path of the parameter is /secretParameter.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'title' => '', 'example' => '/secretParameter'],
],
[
'name' => 'Recursive',
'in' => 'query',
- 'schema' => [
- 'description' => 'Specifies whether to recursively query encryption parameters from all levels of directories in the specified path. Valid values: true and false. For example, if you want to query the /secretParameter/mySecretParameter and /secretParameter/secretParameter 1/mySecretParameter parameters, the valid values specify the parameters to be returned.'."\n"
- ."\n"
- .'* true: returns both of the /secretParameter/mySecretParameter and /secretParameter/secretParameter1/mySecretParameter parameters.'."\n"
- .'* false: returns only the /secretParameter/mySecretParameter parameter.'."\n",
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'false',
- ],
+ 'schema' => ['description' => 'Specifies whether to recursively query parameters in a path. For example, you have the parameters /secretParameter/mySecretParameter and /secretParameter/secretParameter1/mySecretParameter. Valid values:'."\n"
+ ."\n"
+ .'- true: Returns both /secretParameter/mySecretParameter and /secretParameter/secretParameter1/mySecretParameter.'."\n"
+ ."\n"
+ .'- false: Returns only /secretParameter/mySecretParameter.', 'type' => 'boolean', 'required' => false, 'title' => '', 'example' => 'false'],
],
[
'name' => 'NextToken',
'in' => 'query',
- 'schema' => [
- 'description' => 'A pagination token. It can be used in the next request to retrieve a new page of results.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'MTRBMDc0NjAtRUJFNy00N0NBLTk3NTctMTJDQzA',
- ],
+ 'schema' => ['description' => 'The pagination token.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'MTRBMDc0NjAtRUJFNy00N0NBLTk3NTctMTJDQzA'],
],
[
'name' => 'MaxResults',
'in' => 'query',
- 'schema' => [
- 'description' => 'The number of entries per page. Valid values: 1 to 10. Default value: 10.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'maximum' => '100',
- 'minimum' => '1',
- 'example' => '10',
- ],
+ 'schema' => ['description' => 'The number of entries to return on each page. Valid values: 1 to 10. Default value: 10.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '100', 'minimum' => '1', 'title' => '', 'example' => '10'],
],
[
'name' => 'WithDecryption',
'in' => 'query',
- 'schema' => [
- 'description' => 'Specifies whether to decrypt the parameter value. Default value: false. Valid values:'."\n"
- ."\n"
- .'* true'."\n"
- .'* false'."\n",
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'true',
- ],
+ 'schema' => ['description' => 'Specifies whether to decrypt the parameter value.'."\n"
+ .'Valid values:'."\n"
+ ."\n"
+ .'- true'."\n"
+ ."\n"
+ .'- false (Default)', 'type' => 'boolean', 'required' => false, 'title' => '', 'example' => 'true'],
],
],
'responses' => [
@@ -6997,124 +5286,75 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'NextToken' => [
- 'description' => 'A pagination token. It can be used in the next request to retrieve a new page of results.'."\n",
- 'type' => 'string',
- 'example' => 'gAAAAABfTgv5ewUWmNdJ3g7JVLvX70sPH90GZOVGC',
- ],
- 'RequestId' => [
- 'description' => 'The request ID.'."\n",
- 'type' => 'string',
- 'example' => '25156E99-7437-4590-AA58-2ACA17DE405C',
- ],
- 'TotalCount' => [
- 'description' => 'The total number of returned entries.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '10',
- ],
- 'MaxResults' => [
- 'description' => 'The number of entries per page.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '10',
- ],
+ 'NextToken' => ['description' => 'The pagination token.', 'type' => 'string', 'title' => '', 'example' => 'gAAAAABfTgv5ewUWmNdJ3g7JVLvX70sPH90GZOVGC'],
+ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => '25156E99-7437-4590-AA58-2ACA17DE405C'],
+ 'TotalCount' => ['description' => 'The total number of encrypted parameters.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '10'],
+ 'MaxResults' => ['description' => 'The number of entries returned per page.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '10'],
'Parameters' => [
- 'description' => 'The information about the encryption parameters.'."\n",
+ 'description' => 'The information about the parameters.',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'Type' => [
- 'description' => 'The data type of the encryption parameter.'."\n",
- 'type' => 'string',
- 'example' => 'Secret',
- ],
- 'UpdatedDate' => [
- 'description' => 'The time when the encryption parameter was updated.'."\n",
- 'type' => 'string',
- 'example' => '2020-10-21T06:22:48Z',
- ],
- 'UpdatedBy' => [
- 'description' => 'The user who updated the encryption parameter.'."\n",
- 'type' => 'string',
- 'example' => 'root(130900000)',
- ],
- 'KeyId' => [
- 'description' => 'The ID of the key.'."\n",
- 'type' => 'string',
- 'example' => '090xxbex-xexx-xxxx-axfc-ddxxcxxxxcex',
- ],
- 'Value' => [
- 'description' => 'The value of the encryption parameter.'."\n",
- 'type' => 'string',
- 'example' => 'secretParameter',
- ],
- 'Description' => [
- 'description' => 'The description of the encryption parameter.'."\n",
- 'type' => 'string',
- 'example' => 'secretParameter',
- ],
- 'Constraints' => [
- 'description' => 'The constraints of the encryption parameter.'."\n",
- 'type' => 'string',
- 'example' => '{\\"AllowedPattern\\": \\"^[a-g]*$\\"}',
- ],
- 'CreatedBy' => [
- 'description' => 'The user who created the encryption parameter.'."\n",
- 'type' => 'string',
- 'example' => 'root(130900000)',
- ],
- 'CreatedDate' => [
- 'description' => 'The time when the encryption parameter was updated.'."\n",
- 'type' => 'string',
- 'example' => '2020-10-21T06:22:48Z',
- ],
- 'ParameterVersion' => [
- 'description' => 'The version number of the encryption parameter.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'Name' => [
- 'description' => 'The name of the encryption parameter.'."\n",
- 'type' => 'string',
- 'example' => 'mySecretParameter',
- ],
- 'Id' => [
- 'description' => 'The ID of the encryption parameter.'."\n",
- 'type' => 'string',
- 'example' => 'p-7cdc0000000000000000',
- ],
- 'ShareType' => [
- 'description' => 'The share type of the encryption parameter.'."\n",
- 'type' => 'string',
- 'example' => 'Private',
- ],
+ 'Type' => ['description' => 'The type of the parameter.', 'type' => 'string', 'title' => '', 'example' => 'Secret'],
+ 'UpdatedDate' => ['description' => 'The time when the parameter was updated.', 'type' => 'string', 'title' => '', 'example' => '2020-10-21T06:22:48Z'],
+ 'UpdatedBy' => ['description' => 'The user who updated the parameter.', 'type' => 'string', 'title' => '', 'example' => 'root(130900000)'],
+ 'KeyId' => ['description' => 'The key ID.', 'type' => 'string', 'title' => '', 'example' => '090xxbex-xexx-xxxx-axfc-ddxxcxxxxcex'],
+ 'Value' => ['description' => 'The value of the parameter.', 'type' => 'string', 'title' => '', 'example' => 'secretParameter'],
+ 'Description' => ['description' => 'The description of the parameter.', 'type' => 'string', 'title' => '', 'example' => 'secretParameter'],
+ 'Constraints' => ['description' => 'The constraints of the parameter.', 'type' => 'string', 'title' => '', 'example' => '{\\"AllowedPattern\\": \\"^[a-g]*$\\"}'],
+ 'CreatedBy' => ['description' => 'The user who created the parameter.', 'type' => 'string', 'title' => '', 'example' => 'root(130900000)'],
+ 'CreatedDate' => ['description' => 'The time when the parameter was created.', 'type' => 'string', 'title' => '', 'example' => '2020-10-21T06:22:48Z'],
+ 'ParameterVersion' => ['description' => 'The version number of the parameter.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '1'],
+ 'Name' => ['description' => 'The name of the parameter.', 'type' => 'string', 'title' => '', 'example' => 'mySecretParameter'],
+ 'Id' => ['description' => 'The ID of the parameter.', 'type' => 'string', 'title' => '', 'example' => 'p-7cdc0000000000000000'],
+ 'ShareType' => ['description' => 'The share type of the parameter.', 'type' => 'string', 'title' => '', 'example' => 'Private'],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
+ 'title' => '',
+ 'example' => '',
],
],
'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"NextToken\\": \\"gAAAAABfTgv5ewUWmNdJ3g7JVLvX70sPH90GZOVGC\\",\\n \\"RequestId\\": \\"25156E99-7437-4590-AA58-2ACA17DE405C\\",\\n \\"TotalCount\\": 10,\\n \\"MaxResults\\": 10,\\n \\"Parameters\\": [\\n {\\n \\"Type\\": \\"Secret\\",\\n \\"UpdatedDate\\": \\"2020-10-21T06:22:48Z\\",\\n \\"UpdatedBy\\": \\"root(130900000)\\",\\n \\"KeyId\\": \\"090xxbex-xexx-xxxx-axfc-ddxxcxxxxcex\\",\\n \\"Value\\": \\"secretParameter\\",\\n \\"Description\\": \\"secretParameter\\",\\n \\"Constraints\\": \\"{\\\\\\\\\\\\\\"AllowedPattern\\\\\\\\\\\\\\": \\\\\\\\\\\\\\"^[a-g]*$\\\\\\\\\\\\\\"}\\",\\n \\"CreatedBy\\": \\"root(130900000)\\",\\n \\"CreatedDate\\": \\"2020-10-21T06:22:48Z\\",\\n \\"ParameterVersion\\": 1,\\n \\"Name\\": \\"mySecretParameter\\",\\n \\"Id\\": \\"p-7cdc0000000000000000\\",\\n \\"ShareType\\": \\"Private\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<Parameters>\\n <UpdatedBy>root(130900000)</UpdatedBy>\\n <Type>Secret</Type>\\n <CreatedBy>root(130900000)</CreatedBy>\\n <Description>secretParameter</Description>\\n <Constraints>{\\"AllowedPattern\\": \\"^[a-g]*$\\"}</Constraints>\\n <UpdatedDate>2020-10-21T06:22:48Z</UpdatedDate>\\n <ParameterVersion>3</ParameterVersion>\\n <CreatedDate>2020-10-21T03:28:33Z</CreatedDate>\\n <Value>secretParameter</Value>\\n <KeyId>090xxbex-xexx-xxxx-axfc-ddxxcxxxxcex</KeyId>\\n <Id>p-7cdc0000000000000000</Id>\\n <Name>mySecretParameter</Name>\\n <ShareType>Private</ShareType>\\n</Parameters>\\n<RequestId>14F404A1-0863-4BB3-B884-78FCE6075DA8</RequestId>\\n<MaxResults>10</MaxResults>","errorExample":""}]',
'title' => 'GetSecretParametersByPath',
+ 'summary' => 'Retrieves encrypted parameters by path. Before you call this operation, ensure that you have permission to call the GetSecretValue operation of Key Management Service (KMS).',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'GetSecretParameters' => [
- 'summary' => 'Queries the information about one or more encryption parameters. Make sure that you have the permissions to call the GetSecretValue operation of Key Management Service (KMS) before you call this operation.',
- 'methods' => [
- 'post',
- 'get',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GetSecretParametersByPath'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'oos:GetSecretParametersByPath',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [
+ ['conditionKey' => 'oos:TLSVersion'],
+ ],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'OOS', 'resourceType' => 'secretparameter', 'arn' => 'acs:oos:{#regionId}:{#accountId}:secretparameter/{#secretparameterName}'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"NextToken\\": \\"gAAAAABfTgv5ewUWmNdJ3g7JVLvX70sPH90GZOVGC\\",\\n \\"RequestId\\": \\"25156E99-7437-4590-AA58-2ACA17DE405C\\",\\n \\"TotalCount\\": 10,\\n \\"MaxResults\\": 10,\\n \\"Parameters\\": [\\n {\\n \\"Type\\": \\"Secret\\",\\n \\"UpdatedDate\\": \\"2020-10-21T06:22:48Z\\",\\n \\"UpdatedBy\\": \\"root(130900000)\\",\\n \\"KeyId\\": \\"090xxbex-xexx-xxxx-axfc-ddxxcxxxxcex\\",\\n \\"Value\\": \\"secretParameter\\",\\n \\"Description\\": \\"secretParameter\\",\\n \\"Constraints\\": \\"{\\\\\\\\\\\\\\"AllowedPattern\\\\\\\\\\\\\\": \\\\\\\\\\\\\\"^[a-g]*$\\\\\\\\\\\\\\"}\\",\\n \\"CreatedBy\\": \\"root(130900000)\\",\\n \\"CreatedDate\\": \\"2020-10-21T06:22:48Z\\",\\n \\"ParameterVersion\\": 1,\\n \\"Name\\": \\"mySecretParameter\\",\\n \\"Id\\": \\"p-7cdc0000000000000000\\",\\n \\"ShareType\\": \\"Private\\"\\n }\\n ]\\n}","type":"json"}]',
+ ],
+ 'GetServiceSettings' => [
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -7126,46 +5366,15 @@
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeCode' => '93966',
- 'abilityTreeNodes' => [
- 'FEATUREoosBA3MI8',
- ],
+ 'abilityTreeCode' => '93968',
+ 'abilityTreeNodes' => ['FEATUREoosJ7PS9L'],
'tenantRelevance' => 'publicInformation',
],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The ID of the region.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
- ],
- [
- 'name' => 'Names',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The name of the encryption parameter. Multiple encryption parameters can form a JSON array in the format of \\["xxxxxxxxx", "yyyyyyyyy", … "zzzzzzzzz"]. Each JSON array can contain a maximum of 10 encryption parameters. Multiple encryption parameters in the array are separated by commas (,).'."\n",
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '["secretParameter","secretParameter1"]',
- ],
- ],
- [
- 'name' => 'WithDecryption',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'Specifies whether to decrypt the parameter value. Default value: false. Valid values:'."\n"
- ."\n"
- .'* true'."\n"
- .'* false'."\n",
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'false',
- ],
+ 'schema' => ['description' => 'The ID of the region.', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''],
],
],
'responses' => [
@@ -7173,324 +5382,99 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => 'The ID of the request.'."\n",
- 'type' => 'string',
- 'example' => 'A5320F1D-92D9-44BB-A416-5FC525ED6D57',
- ],
- 'InvalidParameters' => [
- 'description' => 'Invalid encryption parameter.'."\n",
- 'type' => 'array',
- 'items' => [
- 'description' => 'Invalid parameters.'."\n",
- 'type' => 'string',
- 'example' => '[ "InvalidSecretParameter"]',
- ],
- ],
- 'Parameters' => [
- 'description' => 'The information about the encryption parameter.'."\n",
+ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '9F755DC9-C0CF-4598-B2E3-2CC763F18CB2', 'title' => ''],
+ 'ServiceSettings' => [
+ 'description' => 'The configuration details of the delivery feature.',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'Type' => [
- 'description' => 'The data type of the encryption parameter.'."\n",
- 'type' => 'string',
- 'example' => 'Secret',
- ],
- 'UpdatedDate' => [
- 'description' => 'The time when the encryption parameter was updated.'."\n",
- 'type' => 'string',
- 'example' => '2020-10-22T03:11:13Z',
- ],
- 'UpdatedBy' => [
- 'description' => 'The user who updated the encryption parameter.'."\n",
- 'type' => 'string',
- 'example' => 'root(130900000)',
- ],
- 'KeyId' => [
- 'description' => 'The ID of the key.'."\n",
- 'type' => 'string',
- 'example' => 'ssh-bp67acfmxazb4p****',
- ],
- 'Tags' => [
- 'description' => 'The tags.'."\n",
- 'type' => 'object',
- 'example' => '{"k1": "v1", "k2": "v2"}',
- ],
- 'Value' => [
- 'description' => 'The value of the encryption parameter.'."\n",
- 'type' => 'string',
- 'example' => 'secretParameter,secretParameter1',
- ],
- 'Description' => [
- 'description' => 'The description of the encryption parameter.'."\n",
- 'type' => 'string',
- 'example' => 'secretParameter',
- ],
- 'Constraints' => [
- 'description' => 'The constraints of the encryption parameter.'."\n",
- 'type' => 'string',
- 'example' => '{\\"AllowedValues\\": [\\"test\\"]}',
- ],
- 'ResourceGroupId' => [
- 'description' => 'The ID of the resource group.'."\n",
- 'type' => 'string',
- 'example' => 'rg-acfmxsn4m4******',
- ],
- 'CreatedBy' => [
- 'description' => 'The user who created the encryption parameter.'."\n",
- 'type' => 'string',
- 'example' => 'root(130900000)',
- ],
- 'CreatedDate' => [
- 'description' => 'The time when the encryption parameter was created.'."\n",
- 'type' => 'string',
- 'example' => '2020-10-22T03:11:13Z',
- ],
- 'ParameterVersion' => [
- 'description' => 'The version number of the encryption parameter.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'Name' => [
- 'description' => 'The name of the encryption parameter.'."\n",
- 'type' => 'string',
- 'example' => 'MySecretParameter',
- ],
- 'Id' => [
- 'description' => 'The ID of the encryption parameter.'."\n",
- 'type' => 'string',
- 'example' => 'p-7cdc0000000000000000',
- ],
- 'ShareType' => [
- 'description' => 'The share type of the encryption parameter.'."\n",
- 'type' => 'string',
- 'example' => 'Private',
- ],
+ 'DeliveryOssBucketName' => ['description' => 'The name of the OSS bucket.', 'type' => 'string', 'example' => 'OssBucketName', 'title' => ''],
+ 'DeliveryOssKeyPrefix' => ['description' => 'The key prefix for the OSS bucket, such as "oos/execution". Pass an empty string ("") if no prefix is needed or to clear an existing one.', 'type' => 'string', 'example' => 'oos/execution', 'title' => ''],
+ 'DeliveryOssEnabled' => ['description' => 'Indicates whether the delivery of executions to OSS is enabled.', 'type' => 'boolean', 'example' => 'false', 'title' => ''],
+ 'DeliverySlsEnabled' => ['description' => 'Indicates whether the delivery of executions to SLS is enabled.', 'type' => 'boolean', 'example' => 'false', 'title' => ''],
+ 'DeliverySlsProjectName' => ['description' => 'The name of the SLS project.', 'type' => 'string', 'example' => 'SlsProjectName', 'title' => ''],
+ 'RdcEnterpriseId' => ['description' => 'The ID of the Apsara DevOps enterprise.', 'type' => 'string', 'example' => 'RdcEnterpriseId', 'title' => ''],
+ 'ServiceAccessRdEnabled' => ['type' => 'boolean', 'description' => '', 'title' => '', 'example' => ''],
+ 'RdFolders' => ['type' => 'string', 'example' => 'rd-123', 'description' => '', 'title' => ''],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
+ 'title' => '',
+ 'example' => '',
],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"A5320F1D-92D9-44BB-A416-5FC525ED6D57\\",\\n \\"InvalidParameters\\": [\\n \\"[ \\\\\\"InvalidSecretParameter\\\\\\"]\\"\\n ],\\n \\"Parameters\\": [\\n {\\n \\"Type\\": \\"Secret\\",\\n \\"UpdatedDate\\": \\"2020-10-22T03:11:13Z\\",\\n \\"UpdatedBy\\": \\"root(130900000)\\",\\n \\"KeyId\\": \\"ssh-bp67acfmxazb4p****\\",\\n \\"Tags\\": {\\n \\"k1\\": \\"v1\\",\\n \\"k2\\": \\"v2\\"\\n },\\n \\"Value\\": \\"secretParameter,secretParameter1\\",\\n \\"Description\\": \\"secretParameter\\",\\n \\"Constraints\\": \\"{\\\\\\\\\\\\\\"AllowedValues\\\\\\\\\\\\\\": [\\\\\\\\\\\\\\"test\\\\\\\\\\\\\\"]}\\",\\n \\"ResourceGroupId\\": \\"rg-acfmxsn4m4******\\",\\n \\"CreatedBy\\": \\"root(130900000)\\",\\n \\"CreatedDate\\": \\"2020-10-22T03:11:13Z\\",\\n \\"ParameterVersion\\": 1,\\n \\"Name\\": \\"MySecretParameter\\",\\n \\"Id\\": \\"p-7cdc0000000000000000\\",\\n \\"ShareType\\": \\"Private\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<GetSecretParametersResponse>\\n <RequestId>A5320F1D-92D9-44BB-A416-5FC525ED6D57</RequestId>\\n <InvalidParameters>[ \\"InvalidSecretParameter\\"]</InvalidParameters>\\n <Parameters>\\n <Type>Secret</Type>\\n <UpdatedDate>2020-10-22T03:11:13Z</UpdatedDate>\\n <UpdatedBy>root(130900000)</UpdatedBy>\\n <KeyId>ssh-bp67acfmxazb4p****</KeyId>\\n <Value>secretParameter,secretParameter1</Value>\\n <Description>secretParameter</Description>\\n <Constraints>{\\\\\\"AllowedValues\\\\\\": [\\\\\\"test\\\\\\"]}</Constraints>\\n <ResourceGroupId>rg-acfmxsn4m4******</ResourceGroupId>\\n <CreatedBy>root(130900000)</CreatedBy>\\n <CreatedDate>2020-10-22T03:11:13Z</CreatedDate>\\n <ParameterVersion>1</ParameterVersion>\\n <Name>MySecretParameter</Name>\\n <Id>p-7cdc0000000000000000</Id>\\n <Tags>\\n <k1>v1</k1>\\n <k2>v2</k2>\\n </Tags>\\n <ShareType>Private</ShareType>\\n </Parameters>\\n</GetSecretParametersResponse>","errorExample":""}]',
- 'title' => 'GetSecretParameters',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => 'GetServiceSettings',
+ 'summary' => 'Retrieves the service\'s configuration settings, including the delivery configuration for executions and details about associated Apsara DevOps enterprises.',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'CreatePatchBaseline' => [
- 'summary' => 'Creates a patch baseline.',
- 'methods' => [
- 'post',
- 'get',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GetServiceSettings'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'oos:GetServiceSettings',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [
+ ['conditionKey' => 'oos:TLSVersion'],
+ ],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'OOS', 'resourceType' => 'ServiceSetting', 'arn' => 'acs:oos:{#regionId}:{#accountId}:ServiceSetting'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"9F755DC9-C0CF-4598-B2E3-2CC763F18CB2\\",\\n \\"ServiceSettings\\": [\\n {\\n \\"DeliveryOssBucketName\\": \\"OssBucketName\\",\\n \\"DeliveryOssKeyPrefix\\": \\"oos/execution\\",\\n \\"DeliveryOssEnabled\\": false,\\n \\"DeliverySlsEnabled\\": false,\\n \\"DeliverySlsProjectName\\": \\"SlsProjectName\\",\\n \\"RdcEnterpriseId\\": \\"RdcEnterpriseId\\",\\n \\"ServiceAccessRdEnabled\\": false,\\n \\"RdFolders\\": \\"rd-123\\"\\n }\\n ]\\n}","type":"json"}]',
+ ],
+ 'GetTemplate' => [
+ 'summary' => 'Retrieves a template, including its content.',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'write',
+ 'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'create',
+ 'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeCode' => '93942',
- 'abilityTreeNodes' => [
- 'FEATUREoosSVNQOE',
- ],
+ 'abilityTreeCode' => '93969',
+ 'abilityTreeNodes' => ['FEATUREoosCPYH5Z'],
'tenantRelevance' => 'publicInformation',
],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The ID of the region in which you want to create a patch baseline.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
- ],
- [
- 'name' => 'Name',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The name of the patch baseline.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'MyPatchBaseline',
- ],
- ],
- [
- 'name' => 'Description',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The description of the patch baseline.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'PatchBaseline',
- ],
- ],
- [
- 'name' => 'ClientToken',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The client token that is used to ensure the idempotence of the request.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => '-',
- ],
- ],
- [
- 'name' => 'OperationSystem',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The type of the operating system. Valid values:'."\n"
- ."\n"
- .'* Windows'."\n"
- .'* Ubuntu'."\n"
- .'* CentOS'."\n"
- .'* Debian'."\n"
- .'* AliyunLinux'."\n"
- .'* RedhatEnterpriseLinux'."\n"
- .'* Anolis'."\n"
- .'* AlmaLinux'."\n",
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'Windows',
- ],
- ],
- [
- 'name' => 'ApprovalRules',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The rules of scanning and installing patches for the specified operating system.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '{"PatchRules":[{"PatchFilterGroup":[{"Key":"PatchSet","Values":["OS"]},{"Key":"ProductFamily","Values":["Windows"]},{"Key":"Product","Values":["Windows 10","Windows 7"]},{"Key":"Classification","Values":["Security Updates","Updates","Update Rollups","Critical Updates"]},{"Key":"Severity","Values":["Critical","Important","Moderate"]}],"ApproveAfterDays":7,"ApproveUntilDate":"","EnableNonSecurity":true,"ComplianceLevel":"Medium"}]}',
- ],
- ],
- [
- 'name' => 'RejectedPatches',
- 'in' => 'query',
- 'style' => 'json',
- 'schema' => [
- 'description' => 'The rejected patches.'."\n",
- 'type' => 'array',
- 'items' => [
- 'description' => 'The name of the rejected patch.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'RejectedPatch1',
- ],
- 'required' => false,
- ],
- ],
- [
- 'name' => 'RejectedPatchesAction',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The action of the rejected patch.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'ALLOW_AS_DEPENDENCY',
- ],
- ],
- [
- 'name' => 'ApprovedPatches',
- 'in' => 'query',
- 'style' => 'json',
- 'schema' => [
- 'description' => 'The approved patches.'."\n",
- 'type' => 'array',
- 'items' => [
- 'description' => 'The name of the approved patch.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'ApprovedPatch1',
- ],
- 'required' => false,
- ],
- ],
- [
- 'name' => 'ApprovedPatchesEnableNonSecurity',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'Specifies whether the approved patch involves updates other than security-related updates.'."\n",
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'true',
- ],
+ 'schema' => ['description' => 'The ID of the region.', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''],
],
[
- 'name' => 'Sources',
+ 'name' => 'TemplateName',
'in' => 'query',
- 'style' => 'json',
- 'schema' => [
- 'description' => 'The patch source configurations.'."\n",
- 'type' => 'array',
- 'items' => [
- 'description' => 'The configuration of the patch source.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => '[main]'."\n"
- .'name=MyCustomRepository'."\n"
- .'baseurl=https://my-custom-repository'."\n"
- .'enabled=1',
- ],
- 'required' => false,
- ],
+ 'schema' => ['description' => 'The name of the template. The name can be up to 200 characters in length and can contain letters, digits, hyphens (-), and underscores (\\_).', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'MyTemplate', 'title' => ''],
],
[
- 'name' => 'Tags',
- 'in' => 'query',
- 'style' => 'json',
- 'schema' => [
- 'description' => 'The tags.'."\n",
- 'type' => 'array',
- 'items' => [
- 'description' => '',
- 'type' => 'object',
- 'properties' => [
- 'Key' => [
- 'description' => 'The key of the tag.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'key',
- ],
- 'Value' => [
- 'description' => 'The value of the tag.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'value',
- ],
- ],
- 'required' => false,
- ],
- 'required' => false,
- ],
- ],
- [
- 'name' => 'ResourceGroupId',
+ 'name' => 'TemplateVersion',
'in' => 'query',
- 'schema' => [
- 'description' => 'The ID of the resource group.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'rg-acfmxsn4m4******',
- ],
+ 'schema' => ['description' => 'The version of the template. The format is v followed by a number. Valid values: `v1` to `v200`.', 'type' => 'string', 'required' => false, 'example' => 'v1', 'title' => ''],
],
],
'responses' => [
@@ -7498,397 +5482,243 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => 'The ID of the request.'."\n",
- 'type' => 'string',
- 'example' => 'A5173FF6-D10D-5E8C-8F71-943C2A3E25C0',
- ],
- 'PatchBaseline' => [
- 'description' => 'The details of the patch baseline.'."\n",
+ 'Content' => ['description' => 'The content of the template.', 'type' => 'string', 'example' => '"FormatVersion: OOS-2019-06-01\\nDescription:\\n en: Creates an ECS image\\n zh-cn: 创建一个ECS镜像\\n name-en: Create Image\\n name-zh-cn: 创建镜像\\n categories:\\n - image_manage\\n - application_manage\\nParameters:\\n regionId:\\n Type: String\\n Label:\\n en: RegionId\\n zh-cn: 地域ID\\n AssociationProperty: RegionId\\n Default: \'{{ ACS::RegionId }}\'\\n instanceId:\\n Label:\\n en: InstanceId\\n zh-cn: ECS实例ID\\n Type: String\\n AssociationProperty: ALIYUN::ECS::Instance::InstanceId\\n AssociationPropertyMetadata:\\n RegionId: regionId\\n imageName:\\n Label:\\n en: ImageName\\n zh-cn: 新镜像的名称\\n Type: String\\n Description:\\n en: <p class=\\"p\\">Note:</p> <ul class=\\"ul\\"> <li class=\\"li\\">Length is 2~128 English or Chinese characters</li> <li class=\\"li\\"><font color=\'red\'>must start with big or small letters or Chinese, not http:// and https://. </font></li> <li class=\\"li\\">Can contain numbers, colons (:), underscores (_), or dashes (-). </li> </ul>\\n zh-cn: <p class=\\"p\\">注意:</p> <ul class=\\"ul\\"> <li class=\\"li\\">长度为2~128个英文或中文字符</li> <li class=\\"li\\"><font color=\'red\'>必须以大小字母或中文开头,不能以http://和https://开头。</font></li> <li class=\\"li\\">可以包含数字、半角冒号(:)、下划线(_)或者短划线(-)。</li> </ul>\\n tags:\\n Label:\\n en: Tags\\n zh-cn: 镜像标签\\n Type: Json\\n AssociationProperty: Tags\\n AssociationPropertyMetadata:\\n ShowSystem: false\\n Default: []\\n OOSAssumeRole:\\n Label:\\n en: OOSAssumeRole\\n zh-cn: OOS扮演的RAM角色\\n Type: String\\n Default: OOSServiceRole\\nRamRole: \'{{ OOSAssumeRole }}\'\\nTasks:\\n- Name: createImage\\n Action: ACS::ECS::CreateImage\\n Description:\\n en: Create new image with the specified image name and instance ID\\n zh-cn: 通过指定实例ID和镜像名称创建新的镜像\\n Properties:\\n regionId: \'{{ regionId }}\'\\n imageName: \'{{ imageName }}__on_{{ ACS::ExecutionId }}_at_{{ Acs::CurrentDate }}\'\\n instanceId: \'{{ instanceId }}\'\\n tags: \'{{tags}}\'\\n Outputs:\\n imageId:\\n ValueSelector: imageId\\n Type: String\\nOutputs:\\n imageId:\\n Type: String\\n Value: \'{{ createImage.imageId }}\'\\nMetadata:\\n ALIYUN::OOS::Interface:\\n ParameterGroups:\\n - Parameters:\\n - regionId\\n - instanceId\\n Label:\\n default:\\n zh-cn: 选择实例\\n en: Select Ecs Instances\\n - Parameters:\\n - imageName\\n - tags\\n Label:\\n default:\\n zh-cn: 镜像设置\\n en: Image Configure\\n - Parameters:\\n - OOSAssumeRole\\n Label:\\n default:\\n zh-cn: 高级选项\\n en: Control Options"', 'title' => ''],
+ 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => '5BBE2663-A18E-5261-9BBB-F4832F5294D9', 'title' => ''],
+ 'Template' => [
+ 'description' => 'The metadata of the template.',
'type' => 'object',
'properties' => [
- 'OperationSystem' => [
- 'description' => 'The type of the operating system.'."\n",
- 'type' => 'string',
- 'example' => 'Windows',
- ],
- 'Description' => [
- 'description' => 'The description of the patch baseline.'."\n",
- 'type' => 'string',
- 'example' => 'PatchBaseline',
- ],
- 'UpdatedDate' => [
- 'description' => 'The time when the information about the patch baseline was last modified.'."\n",
- 'type' => 'string',
- 'example' => '2021-09-08T06:25:41Z',
- ],
- 'UpdatedBy' => [
- 'description' => 'The Alibaba Cloud account that last modified the information about the patch baseline.'."\n",
- 'type' => 'string',
- 'example' => 'root(130900000)',
- ],
- 'CreatedBy' => [
- 'description' => 'The creator of the patch baseline.'."\n",
- 'type' => 'string',
- 'example' => 'root(130900000)',
- ],
- 'CreatedDate' => [
- 'description' => 'The time when the patch baseline was created.'."\n",
- 'type' => 'string',
- 'example' => '2021-09-08T06:25:41Z',
- ],
- 'Name' => [
- 'description' => 'The name of the patch baseline.'."\n",
- 'type' => 'string',
- 'example' => 'MyPatchBaseline',
- ],
- 'ApprovalRules' => [
- 'description' => 'The rules of scanning and installing patches for the specified operating system.'."\n",
- 'type' => 'string',
- 'example' => '{"PatchRules":[{"PatchFilterGroup":[{"Key":"PatchSet","Values":["OS"]},{"Key":"ProductFamily","Values":["Windows"]},{"Key":"Product","Values":["Windows 10","Windows 7"]},{"Key":"Classification","Values":["Security Updates","Updates","Update Rollups","Critical Updates"]},{"Key":"Severity","Values":["Critical","Important","Moderate"]}],"ApproveAfterDays":7,"ApproveUntilDate":"","EnableNonSecurity":true,"ComplianceLevel":"Medium"}]}',
- ],
- 'Id' => [
- 'description' => 'The ID of the patch baseline.'."\n",
- 'type' => 'string',
- 'example' => 'pb-0a0aeda72ed147eb97ea',
- ],
- 'ShareType' => [
- 'description' => 'The share type of the patch baseline.'."\n",
- 'type' => 'string',
- 'example' => 'Private',
- ],
- 'RejectedPatches' => [
- 'description' => 'The rejected patches.'."\n",
- 'type' => 'array',
- 'items' => [
- 'description' => 'The name of the rejected patch.'."\n",
- 'type' => 'string',
- 'example' => 'RejectedPatch1',
- ],
- ],
- 'RejectedPatchesAction' => [
- 'description' => 'The action of the rejected patch.'."\n",
- 'type' => 'string',
- 'example' => '"ALLOW_AS_DEPENDENCY"',
- ],
- 'ApprovedPatches' => [
- 'description' => 'The approved patches.'."\n",
- 'type' => 'array',
- 'items' => [
- 'description' => 'The name of the approved patch.'."\n",
- 'type' => 'string',
- 'example' => 'ApprovedPatch1',
- ],
- ],
- 'ApprovedPatchesEnableNonSecurity' => [
- 'description' => 'Indicates whether the approved patch involves updates other than security-related updates.'."\n",
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'Sources' => [
- 'description' => 'The patch source configurations.'."\n",
- 'type' => 'array',
- 'items' => [
- 'description' => 'The configuration of the patch source.'."\n",
- 'type' => 'string',
- 'example' => '[main]'."\n"
- .'name=MyCustomRepository'."\n"
- .'baseurl=https://my-custom-repository'."\n"
- .'enabled=1',
- ],
- ],
- 'Tags' => [
- 'description' => 'The tags.'."\n",
- 'type' => 'array',
- 'items' => [
- 'description' => '',
- 'type' => 'object',
- 'properties' => [
- 'TagKey' => [
- 'description' => 'The key of the tag.'."\n",
- 'type' => 'string',
- 'example' => 'key',
- ],
- 'TagValue' => [
- 'description' => 'The value of the tag.'."\n",
- 'type' => 'string',
- 'example' => 'value',
- ],
- ],
- ],
- ],
- 'ResourceGroupId' => [
- 'description' => 'The ID of the resource group.'."\n",
- 'type' => 'string',
- 'example' => 'rg-acfm3comlufxpva',
- ],
+ 'Hash' => ['description' => 'The SHA-256 hash of the template content.', 'type' => 'string', 'example' => '40fb5e3e08ef6c8a499ff7cd8441194f518028ad08338a84cb70c023a64576f1', 'title' => ''],
+ 'UpdatedDate' => ['description' => 'The time when the template was updated.', 'type' => 'string', 'example' => '2022-04-26T08:37:07Z', 'title' => ''],
+ 'UpdatedBy' => ['description' => 'The user who updated the template.', 'type' => 'string', 'example' => 'ACS', 'title' => ''],
+ 'TemplateType' => ['description' => 'The type of the template.', 'type' => 'string', 'example' => 'Automation', 'title' => ''],
+ 'Tags' => ['description' => 'The tags of the template. A maximum of 20 key-value pairs are supported.', 'type' => 'object', 'example' => '{"k1":"k2","k2":"v2"}', 'title' => ''],
+ 'TemplateName' => ['description' => 'The name of the template.', 'type' => 'string', 'example' => 'ACS-ECS-CreateImage', 'title' => ''],
+ 'TemplateVersion' => ['description' => 'The version of the template. The format is v followed by a number that starts from 1.', 'type' => 'string', 'example' => 'v15', 'title' => ''],
+ 'TemplateFormat' => ['description' => 'The format of the template. This is a system field. Valid values: JSON and YAML.', 'type' => 'string', 'example' => 'YAML', 'title' => ''],
+ 'Description' => ['description' => 'The description of the template.', 'type' => 'string', 'example' => '"{\\"en\\": \\"Creates an ECS image\\", \\"zh-cn\\": \\"创建一个ECS镜像\\", \\"name-en\\": \\"Create Image\\", \\"name-zh-cn\\": \\"创建镜像\\", \\"categories\\": [\\"image_manage\\", \\"application_manage\\"]}"', 'title' => ''],
+ 'ResourceGroupId' => ['description' => 'The ID of the resource group.', 'type' => 'string', 'example' => 'rg-acfmxsn4m4******', 'title' => ''],
+ 'CreatedBy' => ['description' => 'The user who created the template.', 'type' => 'string', 'example' => 'ACS', 'title' => ''],
+ 'CreatedDate' => ['description' => 'The time when the template was created.', 'type' => 'string', 'example' => '2019-05-16T10:26:14Z', 'title' => ''],
+ 'VersionName' => ['description' => 'The name of the version.', 'type' => 'string', 'example' => 'version15', 'title' => ''],
+ 'TemplateId' => ['description' => 'The ID of the template.', 'type' => 'string', 'example' => 't-4bdb1745c171401883a2', 'title' => ''],
+ 'HasTrigger' => ['description' => 'Indicates whether the template contains a trigger.', 'type' => 'boolean', 'example' => 'false', 'title' => ''],
+ 'ShareType' => ['description' => 'The share type of the template. The share type of a user-created template is Private.', 'type' => 'string', 'example' => 'Public', 'title' => ''],
+ 'SharedAccounts' => ['description' => 'The accounts with which the template is shared.', 'type' => 'string', 'example' => '["12345678"]', 'title' => ''],
],
+ 'title' => '',
+ 'example' => '',
],
],
'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"A5173FF6-D10D-5E8C-8F71-943C2A3E25C0\\",\\n \\"PatchBaseline\\": {\\n \\"OperationSystem\\": \\"Windows\\",\\n \\"Description\\": \\"PatchBaseline\\",\\n \\"UpdatedDate\\": \\"2021-09-08T06:25:41Z\\",\\n \\"UpdatedBy\\": \\"root(130900000)\\",\\n \\"CreatedBy\\": \\"root(130900000)\\",\\n \\"CreatedDate\\": \\"2021-09-08T06:25:41Z\\",\\n \\"Name\\": \\"MyPatchBaseline\\",\\n \\"ApprovalRules\\": \\"{\\\\\\"PatchRules\\\\\\":[{\\\\\\"PatchFilterGroup\\\\\\":[{\\\\\\"Key\\\\\\":\\\\\\"PatchSet\\\\\\",\\\\\\"Values\\\\\\":[\\\\\\"OS\\\\\\"]},{\\\\\\"Key\\\\\\":\\\\\\"ProductFamily\\\\\\",\\\\\\"Values\\\\\\":[\\\\\\"Windows\\\\\\"]},{\\\\\\"Key\\\\\\":\\\\\\"Product\\\\\\",\\\\\\"Values\\\\\\":[\\\\\\"Windows 10\\\\\\",\\\\\\"Windows 7\\\\\\"]},{\\\\\\"Key\\\\\\":\\\\\\"Classification\\\\\\",\\\\\\"Values\\\\\\":[\\\\\\"Security Updates\\\\\\",\\\\\\"Updates\\\\\\",\\\\\\"Update Rollups\\\\\\",\\\\\\"Critical Updates\\\\\\"]},{\\\\\\"Key\\\\\\":\\\\\\"Severity\\\\\\",\\\\\\"Values\\\\\\":[\\\\\\"Critical\\\\\\",\\\\\\"Important\\\\\\",\\\\\\"Moderate\\\\\\"]}],\\\\\\"ApproveAfterDays\\\\\\":7,\\\\\\"EnableNonSecurity\\\\\\":true,\\\\\\"ComplianceLevel\\\\\\":\\\\\\"Medium\\\\\\"}]}\\",\\n \\"Id\\": \\"pb-0a0aeda72ed147eb97ea\\",\\n \\"ShareType\\": \\"Private\\",\\n \\"RejectedPatches\\": [\\n \\"RejectedPatch1\\"\\n ],\\n \\"RejectedPatchesAction\\": \\"\\\\\\"ALLOW_AS_DEPENDENCY\\\\\\"\\",\\n \\"ApprovedPatches\\": [\\n \\"ApprovedPatch1\\"\\n ],\\n \\"ApprovedPatchesEnableNonSecurity\\": true,\\n \\"Sources\\": [\\n \\"[main]\\\\nname=MyCustomRepository\\\\nbaseurl=https://my-custom-repository\\\\nenabled=1\\"\\n ],\\n \\"Tags\\": [\\n {\\n \\"TagKey\\": \\"key\\",\\n \\"TagValue\\": \\"value\\"\\n }\\n ],\\n \\"ResourceGroupId\\": \\"rg-acfm3comlufxpva\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"<PatchBaseline>\\n <UpdatedBy>root(130900000)</UpdatedBy>\\n <CreatedBy>root(130900000)</CreatedBy>\\n <Description>PatchBaseline</Description>\\n <UpdatedDate>2021-09-08T06:25:41Z</UpdatedDate>\\n <CreatedDate>2021-02-18T03:33:50Z</CreatedDate>\\n <Id>pb-0a0aeda72ed147eb97ea</Id>\\n <OperationSystem>Windows</OperationSystem>\\n <ApprovalRules>\\n <PatchRules>\\n <ApproveUntilDate/>\\n <EnableNonSecurity>true</EnableNonSecurity>\\n <PatchFilterGroup>\\n <Values>OS</Values>\\n <Key>PatchSet</Key>\\n </PatchFilterGroup>\\n <PatchFilterGroup>\\n <Values>Windows</Values>\\n <Key>ProductFamily</Key>\\n </PatchFilterGroup>\\n <PatchFilterGroup>\\n <Values>Windows 10</Values>\\n <Values>Windows 7</Values>\\n <Key>Product</Key>\\n </PatchFilterGroup>\\n <PatchFilterGroup>\\n <Values>Security Updates</Values>\\n <Values>Updates</Values>\\n <Values>Update Rollups</Values>\\n <Values>Critical Updates</Values>\\n <Key>Classification</Key>\\n </PatchFilterGroup>\\n <PatchFilterGroup>\\n <Values>Critical</Values>\\n <Values>Important</Values>\\n <Values>Moderate</Values>\\n <Key>Severity</Key>\\n </PatchFilterGroup>\\n <ApproveAfterDays>7</ApproveAfterDays>\\n <ComplianceLevel>Medium</ComplianceLevel>\\n </PatchRules>\\n </ApprovalRules>\\n <Name>MyPatchBaseline</Name>\\n <ShareType>Private</ShareType>\\n</PatchBaseline>\\n<RequestId>A5173FF6-D10D-5E8C-8F71-943C2A3E25C0</RequestId>","errorExample":""}]',
- 'title' => 'CreatePatchBaseline',
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Content\\": \\"\\\\\\"FormatVersion: OOS-2019-06-01\\\\\\\\nDescription:\\\\\\\\n en: Creates an ECS image\\\\\\\\n zh-cn: 创建一个ECS镜像\\\\\\\\n name-en: Create Image\\\\\\\\n name-zh-cn: 创建镜像\\\\\\\\n categories:\\\\\\\\n - image_manage\\\\\\\\n - application_manage\\\\\\\\nParameters:\\\\\\\\n regionId:\\\\\\\\n Type: String\\\\\\\\n Label:\\\\\\\\n en: RegionId\\\\\\\\n zh-cn: 地域ID\\\\\\\\n AssociationProperty: RegionId\\\\\\\\n Default: \'{{ ACS::RegionId }}\'\\\\\\\\n instanceId:\\\\\\\\n Label:\\\\\\\\n en: InstanceId\\\\\\\\n zh-cn: ECS实例ID\\\\\\\\n Type: String\\\\\\\\n AssociationProperty: ALIYUN::ECS::Instance::InstanceId\\\\\\\\n AssociationPropertyMetadata:\\\\\\\\n RegionId: regionId\\\\\\\\n imageName:\\\\\\\\n Label:\\\\\\\\n en: ImageName\\\\\\\\n zh-cn: 新镜像的名称\\\\\\\\n Type: String\\\\\\\\n Description:\\\\\\\\n en: <p class=\\\\\\\\\\\\\\"p\\\\\\\\\\\\\\">Note:</p> <ul class=\\\\\\\\\\\\\\"ul\\\\\\\\\\\\\\"> <li class=\\\\\\\\\\\\\\"li\\\\\\\\\\\\\\">Length is 2~128 English or Chinese characters</li> <li class=\\\\\\\\\\\\\\"li\\\\\\\\\\\\\\"><font color=\'red\'>must start with big or small letters or Chinese, not http:// and https://. </font></li> <li class=\\\\\\\\\\\\\\"li\\\\\\\\\\\\\\">Can contain numbers, colons (:), underscores (_), or dashes (-). </li> </ul>\\\\\\\\n zh-cn: <p class=\\\\\\\\\\\\\\"p\\\\\\\\\\\\\\">注意:</p> <ul class=\\\\\\\\\\\\\\"ul\\\\\\\\\\\\\\"> <li class=\\\\\\\\\\\\\\"li\\\\\\\\\\\\\\">长度为2~128个英文或中文字符</li> <li class=\\\\\\\\\\\\\\"li\\\\\\\\\\\\\\"><font color=\'red\'>必须以大小字母或中文开头,不能以http://和https://开头。</font></li> <li class=\\\\\\\\\\\\\\"li\\\\\\\\\\\\\\">可以包含数字、半角冒号(:)、下划线(_)或者短划线(-)。</li> </ul>\\\\\\\\n tags:\\\\\\\\n Label:\\\\\\\\n en: Tags\\\\\\\\n zh-cn: 镜像标签\\\\\\\\n Type: Json\\\\\\\\n AssociationProperty: Tags\\\\\\\\n AssociationPropertyMetadata:\\\\\\\\n ShowSystem: false\\\\\\\\n Default: []\\\\\\\\n OOSAssumeRole:\\\\\\\\n Label:\\\\\\\\n en: OOSAssumeRole\\\\\\\\n zh-cn: OOS扮演的RAM角色\\\\\\\\n Type: String\\\\\\\\n Default: OOSServiceRole\\\\\\\\nRamRole: \'{{ OOSAssumeRole }}\'\\\\\\\\nTasks:\\\\\\\\n- Name: createImage\\\\\\\\n Action: ACS::ECS::CreateImage\\\\\\\\n Description:\\\\\\\\n en: Create new image with the specified image name and instance ID\\\\\\\\n zh-cn: 通过指定实例ID和镜像名称创建新的镜像\\\\\\\\n Properties:\\\\\\\\n regionId: \'{{ regionId }}\'\\\\\\\\n imageName: \'{{ imageName }}__on_{{ ACS::ExecutionId }}_at_{{ Acs::CurrentDate }}\'\\\\\\\\n instanceId: \'{{ instanceId }}\'\\\\\\\\n tags: \'{{tags}}\'\\\\\\\\n Outputs:\\\\\\\\n imageId:\\\\\\\\n ValueSelector: imageId\\\\\\\\n Type: String\\\\\\\\nOutputs:\\\\\\\\n imageId:\\\\\\\\n Type: String\\\\\\\\n Value: \'{{ createImage.imageId }}\'\\\\\\\\nMetadata:\\\\\\\\n ALIYUN::OOS::Interface:\\\\\\\\n ParameterGroups:\\\\\\\\n - Parameters:\\\\\\\\n - regionId\\\\\\\\n - instanceId\\\\\\\\n Label:\\\\\\\\n default:\\\\\\\\n zh-cn: 选择实例\\\\\\\\n en: Select Ecs Instances\\\\\\\\n - Parameters:\\\\\\\\n - imageName\\\\\\\\n - tags\\\\\\\\n Label:\\\\\\\\n default:\\\\\\\\n zh-cn: 镜像设置\\\\\\\\n en: Image Configure\\\\\\\\n - Parameters:\\\\\\\\n - OOSAssumeRole\\\\\\\\n Label:\\\\\\\\n default:\\\\\\\\n zh-cn: 高级选项\\\\\\\\n en: Control Options\\\\\\"\\",\\n \\"RequestId\\": \\"5BBE2663-A18E-5261-9BBB-F4832F5294D9\\",\\n \\"Template\\": {\\n \\"Hash\\": \\"40fb5e3e08ef6c8a499ff7cd8441194f518028ad08338a84cb70c023a64576f1\\",\\n \\"UpdatedDate\\": \\"2022-04-26T08:37:07Z\\",\\n \\"UpdatedBy\\": \\"ACS\\",\\n \\"TemplateType\\": \\"Automation\\",\\n \\"Tags\\": {\\n \\"k1\\": \\"k2\\",\\n \\"k2\\": \\"v2\\"\\n },\\n \\"TemplateName\\": \\"ACS-ECS-CreateImage\\",\\n \\"TemplateVersion\\": \\"v15\\",\\n \\"TemplateFormat\\": \\"YAML\\",\\n \\"Description\\": \\"\\\\\\"{\\\\\\\\\\\\\\"en\\\\\\\\\\\\\\": \\\\\\\\\\\\\\"Creates an ECS image\\\\\\\\\\\\\\", \\\\\\\\\\\\\\"zh-cn\\\\\\\\\\\\\\": \\\\\\\\\\\\\\"创建一个ECS镜像\\\\\\\\\\\\\\", \\\\\\\\\\\\\\"name-en\\\\\\\\\\\\\\": \\\\\\\\\\\\\\"Create Image\\\\\\\\\\\\\\", \\\\\\\\\\\\\\"name-zh-cn\\\\\\\\\\\\\\": \\\\\\\\\\\\\\"创建镜像\\\\\\\\\\\\\\", \\\\\\\\\\\\\\"categories\\\\\\\\\\\\\\": [\\\\\\\\\\\\\\"image_manage\\\\\\\\\\\\\\", \\\\\\\\\\\\\\"application_manage\\\\\\\\\\\\\\"]}\\\\\\"\\",\\n \\"ResourceGroupId\\": \\"rg-acfmxsn4m4******\\",\\n \\"CreatedBy\\": \\"ACS\\",\\n \\"CreatedDate\\": \\"2019-05-16T10:26:14Z\\",\\n \\"VersionName\\": \\"version15\\",\\n \\"TemplateId\\": \\"t-4bdb1745c171401883a2\\",\\n \\"HasTrigger\\": false,\\n \\"ShareType\\": \\"Public\\",\\n \\"SharedAccounts\\": \\"[\\\\\\"12345678\\\\\\"]\\"\\n }\\n}","type":"json"}]',
+ 'title' => 'GetTemplate',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'DeletePatchBaseline' => [
- 'summary' => 'Deletes a patch baseline.',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
- 'security' => [
- [
- 'AK' => [],
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GetTemplate'],
],
],
- 'operationType' => 'write',
- 'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'delete',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- 'abilityTreeCode' => '93950',
- 'abilityTreeNodes' => [
- 'FEATUREoosSVNQOE',
- ],
- 'tenantRelevance' => 'publicInformation',
- ],
- 'parameters' => [
+ 'ramActions' => [
[
- 'name' => 'RegionId',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The region ID.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
- ],
- [
- 'name' => 'Name',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The name of the patch baseline.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'MyPatchBaseline',
- ],
- ],
- ],
- 'responses' => [
- 200 => [
- 'schema' => [
- 'type' => 'object',
- 'properties' => [
- 'RequestId' => [
- 'description' => 'The request ID.'."\n",
- 'type' => 'string',
- 'example' => '85197066-0209-5775-BBED-99DF9DA44E48',
- ],
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'oos:GetTemplate',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [
+ ['conditionKey' => 'oos:tag', 'validationType' => 'always'],
+ ['conditionKey' => 'oos:TLSVersion'],
+ ],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'OOS', 'resourceType' => 'template', 'arn' => 'acs:oos:{#regionId}:{#accountId}:template/{#templateName}'],
],
- 'description' => '',
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"85197066-0209-5775-BBED-99DF9DA44E48\\"\\n}","errorExample":""},{"type":"xml","example":"<RequestId>85197066-0209-5775-BBED-99DF9DA44E48</RequestId>","errorExample":""}]',
- 'title' => 'DeletePatchBaseline',
],
- 'UpdatePatchBaseline' => [
- 'summary' => 'Updates a patch baseline.',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'GetTemplateParameterConstraints' => [
+ 'summary' => 'Retrieves the allowed values for parameters.',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'write',
+ 'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'update',
- 'abilityTreeCode' => '94006',
- 'abilityTreeNodes' => [
- 'FEATUREoosSVNQOE',
- ],
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '185514',
+ 'abilityTreeNodes' => ['FEATUREoosC47MF8'],
+ 'tenantRelevance' => 'publicInformation',
],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The ID of the region.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => 'The region ID.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'cn-hangzhou'],
],
[
- 'name' => 'Name',
+ 'name' => 'TemplateVersion',
'in' => 'query',
- 'schema' => [
- 'description' => 'The name of the patch baseline.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'MyPatchBaseline',
- ],
+ 'schema' => ['description' => 'The version of the template.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'v1'],
],
[
- 'name' => 'Description',
+ 'name' => 'TemplateContent',
'in' => 'query',
- 'schema' => [
- 'description' => 'The description of the patch baseline.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'UpdatePatchBaseline',
- ],
+ 'schema' => ['description' => 'The template content in JSON or YAML format.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '{'."\n"
+ .' "Description": "Example template, describe instances in some status",'."\n"
+ .' "FormatVersion": "OOS-2019-06-01",'."\n"
+ .' "Parameters": {},'."\n"
+ .' "Tasks": [{'."\n"
+ .' "Name": "describeInstances",'."\n"
+ .' "Action": "ACS::ExecuteAPI",'."\n"
+ .' "Description": "desc-en",'."\n"
+ .' "Properties": {'."\n"
+ .' "Service": "ECS",'."\n"
+ .' "API": "DescribeInstances",'."\n"
+ .' "Parameters": {'."\n"
+ .' "Status": "Running"'."\n"
+ .' }'."\n"
+ .' }'."\n"
+ .' }]'."\n"
+ .'}'],
],
[
- 'name' => 'ClientToken',
+ 'name' => 'TemplateName',
'in' => 'query',
- 'schema' => [
- 'description' => 'The client token that is used to ensure the idempotence of the request.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => '-',
- ],
+ 'schema' => ['description' => 'The name of the template. The name can contain letters, digits, hyphens (-), and underscores (\\_). The name can be up to 200 characters in length.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'MyTemplate'],
],
[
- 'name' => 'ApprovalRules',
+ 'name' => 'TemplateURL',
'in' => 'query',
- 'schema' => [
- 'description' => 'The rules of scanning and installing patches for the specified operating system.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'docRequired' => true,
- 'example' => '{"PatchRules":[{"PatchFilterGroup":[{"Key":"PatchSet","Values":["OS"]},{"Key":"ProductFamily","Values":["Windows"]},{"Key":"Product","Values":["Windows 10","Windows 7"]},{"Key":"Classification","Values":["Security Updates","Updates","Update Rollups","Critical Updates"]},{"Key":"Severity","Values":["Critical","Important","Moderate"]}],"ApproveAfterDays":7,"ApproveUntilDate":"","EnableNonSecurity":true,"ComplianceLevel":"Medium"}]}',
- ],
+ 'schema' => ['description' => 'The URL of the file that contains the template body. The URL must point to a template that is located on a web server (HTTP or HTTPS) or in an Alibaba Cloud Object Storage Service (OSS) bucket, such as oss\\://ros/template/demo or oss\\://ros/template/demo?RegionId=cn-hangzhou. The template can be up to 524,288 bytes in length. If you do not specify the region of the OSS bucket, the region specified by the RegionId parameter is used.'."\n"
+ ."\n"
+ .'> You can specify only one of the TemplateContent, TemplateURL, and TemplateId parameters.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'http://oos-template.cn-hangzhou.oss.aliyun-inc.com/oos-test-template.json'],
],
[
- 'name' => 'RejectedPatches',
+ 'name' => 'Parameters',
'in' => 'query',
- 'style' => 'json',
- 'schema' => [
- 'description' => 'The rejected patches.'."\n",
- 'type' => 'array',
- 'items' => [
- 'description' => 'The name of the rejected patch.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'RejectedPatch1',
- ],
- 'required' => false,
- ],
+ 'schema' => ['description' => 'The parameters of the template.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '{\\"endDate\\": \\"2022-04-13T03:31:20Z\\", \\"Status\\": \\"Stopped\\"}'],
],
- [
- 'name' => 'RejectedPatchesAction',
- 'in' => 'query',
+ ],
+ 'responses' => [
+ 200 => [
'schema' => [
- 'description' => 'The action of the rejected patch.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'ALLOW_AS_DEPENDENCY',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => 'CBEC8072-BEC2-478E-8EAE-E723BA79CF19'],
+ 'ParameterConstraints' => ['description' => 'The information about the parameter constraints.', 'type' => 'object', 'title' => '', 'example' => '['."\n"
+ .' {'."\n"
+ .' "Type": "String",'."\n"
+ .' "AllowedValues": ['."\n"
+ .' "ecs.n1.tiny",'."\n"
+ .' "ecs.r8a.4xlarge",'."\n"
+ .' "ecs.n2.xlarge",'."\n"
+ .' "ecs.c7.2xlarge",'."\n"
+ .' "ecs.c8i.4xlarge",'."\n"
+ .' "ecs.g8i.48xlarge",'."\n"
+ .' "ecs.c8a.4xlarge",'."\n"
+ .' "ecs.i2.4xlarge",'."\n"
+ .' "ecs.r8y.2xlarge"'."\n"
+ .' ],'."\n"
+ .' "AssociationParameterNames": ['."\n"
+ .' "RegionId",'."\n"
+ .' "zoneId"'."\n"
+ .' ],'."\n"
+ .' "ParameterKey": "instanceType"'."\n"
+ .' },'."\n"
+ .' {'."\n"
+ .' "Type": "String",'."\n"
+ .' "AllowedValues": [],'."\n"
+ .' "AssociationParameterNames": ['."\n"
+ .' "RegionId",'."\n"
+ .' "zoneId",'."\n"
+ .' "InstanceType"'."\n"
+ .' ],'."\n"
+ .' "ParameterKey": "systemDiskCategory"'."\n"
+ .' }'."\n"
+ .' ]'],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
+ ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => 'GetTemplateParameterConstraints',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GetTemplateParameterConstraints'],
+ ],
+ ],
+ 'ramActions' => [
[
- 'name' => 'ApprovedPatches',
- 'in' => 'query',
- 'style' => 'json',
- 'schema' => [
- 'description' => 'The approved patches.'."\n",
- 'type' => 'array',
- 'items' => [
- 'description' => 'The name of the approved patch.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'ApprovedPatch1',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'oos:GetTemplateParameterConstraints',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [
+ ['conditionKey' => 'oos:TLSVersion'],
+ ],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'OOS', 'resourceType' => 'Template', 'arn' => 'acs:oos:{#regionId}:{#accountId}:template/{#TemplateName}'],
],
- 'required' => false,
],
],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"CBEC8072-BEC2-478E-8EAE-E723BA79CF19\\",\\n \\"ParameterConstraints\\": [\\n {\\n \\"Type\\": \\"String\\",\\n \\"AllowedValues\\": [\\n \\"ecs.n1.tiny\\",\\n \\"ecs.r8a.4xlarge\\",\\n \\"ecs.n2.xlarge\\",\\n \\"ecs.c7.2xlarge\\",\\n \\"ecs.c8i.4xlarge\\",\\n \\"ecs.g8i.48xlarge\\",\\n \\"ecs.c8a.4xlarge\\",\\n \\"ecs.i2.4xlarge\\",\\n \\"ecs.r8y.2xlarge\\"\\n ],\\n \\"AssociationParameterNames\\": [\\n \\"RegionId\\",\\n \\"zoneId\\"\\n ],\\n \\"ParameterKey\\": \\"instanceType\\"\\n },\\n {\\n \\"Type\\": \\"String\\",\\n \\"AllowedValues\\": [],\\n \\"AssociationParameterNames\\": [\\n \\"RegionId\\",\\n \\"zoneId\\",\\n \\"InstanceType\\"\\n ],\\n \\"ParameterKey\\": \\"systemDiskCategory\\"\\n }\\n ]\\n}","type":"json"}]',
+ ],
+ 'ListActions' => [
+ 'summary' => 'Queries the available actions, including atomic actions and cloud product actions.',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
[
- 'name' => 'ApprovedPatchesEnableNonSecurity',
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'list',
+ 'abilityTreeCode' => '93970',
+ 'abilityTreeNodes' => ['FEATUREoosCPYH5Z'],
+ 'tenantRelevance' => 'publicInformation',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => 'Indicates whether the approved patch involves updates other than security-related updates.'."\n",
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'true',
- ],
+ 'schema' => ['description' => 'The ID of the region.'."\n", 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''],
],
[
- 'name' => 'Sources',
+ 'name' => 'OOSActionName',
'in' => 'query',
- 'style' => 'json',
- 'schema' => [
- 'description' => 'The patch source configurations.'."\n",
- 'type' => 'array',
- 'items' => [
- 'description' => 'The configuration of the patch source.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => '[main]'."\n"
- .'name=MyCustomRepository'."\n"
- .'baseurl=https://my-custom-repository'."\n"
- .'enabled=1',
- ],
- 'required' => false,
- ],
+ 'schema' => ['description' => 'The name of the action. All actions whose names contain the specified action name are returned.'."\n", 'type' => 'string', 'required' => false, 'example' => 'MyTemplate', 'title' => ''],
],
[
- 'name' => 'Tags',
+ 'name' => 'MaxResults',
'in' => 'query',
- 'style' => 'json',
- 'schema' => [
- 'description' => 'The tags.'."\n",
- 'type' => 'array',
- 'items' => [
- 'description' => '',
- 'type' => 'object',
- 'properties' => [
- 'Key' => [
- 'description' => 'The key of the tag.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'key',
- ],
- 'Value' => [
- 'description' => 'The value of the tag.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'value',
- ],
- ],
- 'required' => false,
- ],
- 'required' => false,
- ],
+ 'schema' => ['description' => 'The number of entries to return on each page. Valid values: 20 to 100. Default value: 50.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '50', 'title' => ''],
],
[
- 'name' => 'ResourceGroupId',
+ 'name' => 'NextToken',
'in' => 'query',
- 'schema' => [
- 'description' => 'The ID of the resource group.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'rg-acfmxsn4m4******',
- ],
+ 'schema' => ['description' => 'The token that is used to retrieve the next page of results.'."\n", 'type' => 'string', 'required' => false, 'example' => '-', 'title' => ''],
],
],
'responses' => [
@@ -7896,153 +5726,70 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => 'The ID of the request.'."\n",
- 'type' => 'string',
- 'example' => '1457F46C-7AAE-59FA-BD12-0BDB3751E6F8',
- ],
- 'PatchBaseline' => [
- 'description' => 'The details of the patch baseline.'."\n",
- 'type' => 'object',
- 'properties' => [
- 'OperationSystem' => [
- 'description' => 'The operating system.'."\n",
- 'type' => 'string',
- 'example' => 'Windows',
- ],
- 'Description' => [
- 'description' => 'The description of the patch baseline.'."\n",
- 'type' => 'string',
- 'example' => 'UpdatePatchBaseline',
- ],
- 'UpdatedDate' => [
- 'description' => 'The time when the patch baseline was updated.'."\n",
- 'type' => 'string',
- 'example' => '2021-09-08T07:26:37Z',
- ],
- 'UpdatedBy' => [
- 'description' => 'The user who updated the patch baseline.'."\n",
- 'type' => 'string',
- 'example' => 'root(130900000)',
- ],
- 'CreatedBy' => [
- 'description' => 'The creator of the patch baseline.'."\n",
- 'type' => 'string',
- 'example' => 'root(130900000)',
- ],
- 'CreatedDate' => [
- 'description' => 'The time when the patch baseline was created.'."\n",
- 'type' => 'string',
- 'example' => '2021-09-07T03:42:56Z',
- ],
- 'Name' => [
- 'description' => 'The name of the patch baseline.'."\n",
- 'type' => 'string',
- 'example' => 'MyPatchBaseline',
- ],
- 'ApprovalRules' => [
- 'description' => 'The rules of scanning and installing patches for the specified operating system.'."\n",
- 'type' => 'string',
- 'example' => '{"PatchRules":[{"PatchFilterGroup":[{"Key":"PatchSet","Values":["OS"]},{"Key":"ProductFamily","Values":["Windows"]},{"Key":"Product","Values":["Windows 10","Windows 7"]},{"Key":"Classification","Values":["Security Updates","Updates","Update Rollups","Critical Updates"]},{"Key":"Severity","Values":["Critical","Important","Moderate"]}],"ApproveAfterDays":7,"ApproveUntilDate":"","EnableNonSecurity":true,"ComplianceLevel":"Medium"}]}',
- ],
- 'Id' => [
- 'description' => 'The ID of the patch baseline.'."\n",
- 'type' => 'string',
- 'example' => 'pb-445340b5c6504a85a300',
- ],
- 'ShareType' => [
- 'description' => 'The share type of the patch baseline.'."\n",
- 'type' => 'string',
- 'example' => 'Private',
- ],
- 'RejectedPatches' => [
- 'description' => 'The rejected patches.'."\n",
- 'type' => 'array',
- 'items' => [
- 'description' => 'The name of the rejected patch.'."\n",
- 'type' => 'string',
- 'example' => 'RejectedPatch1',
- ],
- ],
- 'RejectedPatchesAction' => [
- 'description' => 'The action of the rejected patch.'."\n",
- 'type' => 'string',
- 'example' => 'ALLOW_AS_DEPENDENCY',
- ],
- 'ApprovedPatches' => [
- 'description' => 'The approved patches.'."\n",
- 'type' => 'array',
- 'items' => [
- 'description' => 'The name of the approved patch.'."\n",
- 'type' => 'string',
- 'example' => 'ApprovedPatch1',
- ],
- ],
- 'ApprovedPatchesEnableNonSecurity' => [
- 'description' => 'Indicates whether the approved patch involves updates other than security-related updates.'."\n",
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'Sources' => [
- 'description' => 'The patch source configurations.'."\n",
- 'type' => 'array',
- 'items' => [
- 'description' => 'The configuration of the patch source.'."\n",
- 'type' => 'string',
- 'example' => '[main]'."\n"
- .'name=MyCustomRepository'."\n"
- .'baseurl=https://my-custom-repository'."\n"
- .'enabled=1',
- ],
- ],
- 'Tags' => [
- 'description' => 'The tags.'."\n",
- 'type' => 'array',
- 'items' => [
- 'description' => '',
- 'type' => 'object',
- 'properties' => [
- 'TagKey' => [
- 'description' => 'The key of the tag.'."\n",
- 'type' => 'string',
- 'example' => 'key',
- ],
- 'TagValue' => [
- 'description' => 'The value of the tag.'."\n",
- 'type' => 'string',
- 'example' => 'value',
- ],
- ],
- ],
- ],
- 'ResourceGroupId' => [
- 'description' => 'The ID of the resource group.'."\n",
- 'type' => 'string',
- 'example' => 'rg-acfmy2zdbbjplii',
+ 'NextToken' => ['description' => 'The token that is used to retrieve the next page of results.'."\n", 'type' => 'string', 'example' => 'xxx', 'title' => ''],
+ 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => 'F9154C02-F847-4563-BB6A-6DD01A4F0', 'title' => ''],
+ 'MaxResults' => ['description' => 'The number of entries returned per page.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '50', 'title' => ''],
+ 'Actions' => [
+ 'description' => 'The details of the actions.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Popularity' => ['description' => 'The number of times that the action is used.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '5', 'title' => ''],
+ 'ActionType' => ['description' => 'The type of the action.'."\n"
+ ."\n"
+ .'1. Atomic actions'."\n"
+ ."\n"
+ .' * Atomic.API'."\n"
+ .' * Atomic.Trigger'."\n"
+ .' * Atomic.Control'."\n"
+ .' * Atomic.Embedded'."\n"
+ ."\n"
+ .'2. Cloud product actions'."\n"
+ ."\n"
+ .' * Product.ECS'."\n"
+ .' * Product.RDS'."\n"
+ .' * Product.VPC'."\n"
+ .' * Product.FC'."\n"
+ .' * ...'."\n", 'type' => 'string', 'example' => 'ACS::Template', 'title' => ''],
+ 'Description' => ['description' => 'The description of the action.'."\n", 'type' => 'string', 'example' => 'ReplaceSystemDisk', 'title' => ''],
+ 'CreatedDate' => ['description' => 'The time when the action was created.'."\n", 'type' => 'string', 'example' => '2019-05-16T10:26:14Z', 'title' => ''],
+ 'TemplateVersion' => ['description' => 'The version of the template that corresponds to the action.'."\n"
+ ."\n"
+ .'> For atomic actions, this parameter is not returned.'."\n", 'type' => 'string', 'example' => 'v1', 'title' => ''],
+ 'OOSActionName' => ['description' => 'The name of the action.'."\n", 'type' => 'string', 'example' => 'ACS::ECS::ReplaceSystemDisk', 'title' => ''],
+ 'Properties' => ['description' => 'The parameters of the action.'."\n", 'type' => 'string', 'example' => '{ "ImageId": { "Description": "The mirror ID you will use when resetting the system", "Type": "String" }, "InstanceId": { "Description": "the instance id that you will handle .", "Type": "String" } }', 'title' => ''],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
+ 'title' => '',
+ 'example' => '',
],
],
'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"1457F46C-7AAE-59FA-BD12-0BDB3751E6F8\\",\\n \\"PatchBaseline\\": {\\n \\"OperationSystem\\": \\"Windows\\",\\n \\"Description\\": \\"UpdatePatchBaseline\\",\\n \\"UpdatedDate\\": \\"2021-09-08T07:26:37Z\\",\\n \\"UpdatedBy\\": \\"root(130900000)\\",\\n \\"CreatedBy\\": \\"root(130900000)\\",\\n \\"CreatedDate\\": \\"2021-09-07T03:42:56Z\\",\\n \\"Name\\": \\"MyPatchBaseline\\",\\n \\"ApprovalRules\\": \\"{\\\\\\"PatchRules\\\\\\":[{\\\\\\"PatchFilterGroup\\\\\\":[{\\\\\\"Key\\\\\\":\\\\\\"PatchSet\\\\\\",\\\\\\"Values\\\\\\":[\\\\\\"OS\\\\\\"]},{\\\\\\"Key\\\\\\":\\\\\\"ProductFamily\\\\\\",\\\\\\"Values\\\\\\":[\\\\\\"Windows\\\\\\"]},{\\\\\\"Key\\\\\\":\\\\\\"Product\\\\\\",\\\\\\"Values\\\\\\":[\\\\\\"Windows 10\\\\\\",\\\\\\"Windows 7\\\\\\"]},{\\\\\\"Key\\\\\\":\\\\\\"Classification\\\\\\",\\\\\\"Values\\\\\\":[\\\\\\"Security Updates\\\\\\",\\\\\\"Updates\\\\\\",\\\\\\"Update Rollups\\\\\\",\\\\\\"Critical Updates\\\\\\"]},{\\\\\\"Key\\\\\\":\\\\\\"Severity\\\\\\",\\\\\\"Values\\\\\\":[\\\\\\"Critical\\\\\\",\\\\\\"Important\\\\\\",\\\\\\"Moderate\\\\\\"]}],\\\\\\"ApproveAfterDays\\\\\\":7,\\\\\\"EnableNonSecurity\\\\\\":true,\\\\\\"ComplianceLevel\\\\\\":\\\\\\"Medium\\\\\\"}]}\\",\\n \\"Id\\": \\"pb-445340b5c6504a85a300\\",\\n \\"ShareType\\": \\"Private\\",\\n \\"RejectedPatches\\": [\\n \\"RejectedPatch1\\"\\n ],\\n \\"RejectedPatchesAction\\": \\"ALLOW_AS_DEPENDENCY\\",\\n \\"ApprovedPatches\\": [\\n \\"ApprovedPatch1\\"\\n ],\\n \\"ApprovedPatchesEnableNonSecurity\\": true,\\n \\"Sources\\": [\\n \\"[main]\\\\nname=MyCustomRepository\\\\nbaseurl=https://my-custom-repository\\\\nenabled=1\\"\\n ],\\n \\"Tags\\": [\\n {\\n \\"TagKey\\": \\"key\\",\\n \\"TagValue\\": \\"value\\"\\n }\\n ],\\n \\"ResourceGroupId\\": \\"rg-acfmy2zdbbjplii\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"<PatchBaseline>\\n <UpdatedBy>root(130900000)</UpdatedBy>\\n <CreatedBy>root(130900000)</CreatedBy>\\n <Description>UpdatePatchBaseline</Description>\\n <UpdatedDate>2021-09-08T07:26:37Z</UpdatedDate>\\n <CreatedDate>2021-09-07T03:42:56Z</CreatedDate>\\n <Id>pb-445340b5c6504a85a300</Id>\\n <OperationSystem>Windows</OperationSystem>\\n <ApprovalRules>\\n <PatchRules>\\n <PatchFilterGroup>\\n <Key>PatchSet</Key>\\n <Values>OS</Values>\\n </PatchFilterGroup>\\n <PatchFilterGroup>\\n <Key>ProductFamily</Key>\\n <Values>Windows</Values>\\n </PatchFilterGroup>\\n <PatchFilterGroup>\\n <Key>Product</Key>\\n <Values>Windows 10</Values>\\n <Values>Windows 7</Values>\\n </PatchFilterGroup>\\n <PatchFilterGroup>\\n <Key>Classification</Key>\\n <Values>Security Updates</Values>\\n <Values>Updates</Values>\\n <Values>Update Rollups</Values>\\n <Values>Critical Updates</Values>\\n </PatchFilterGroup>\\n <PatchFilterGroup>\\n <Key>Severity</Key>\\n <Values>Critical</Values>\\n <Values>Important</Values>\\n <Values>Moderate</Values>\\n </PatchFilterGroup>\\n <ApproveAfterDays>7</ApproveAfterDays>\\n <ApproveUntilDate/>\\n <EnableNonSecurity>true</EnableNonSecurity>\\n <ComplianceLevel>Medium</ComplianceLevel>\\n </PatchRules>\\n </ApprovalRules>\\n <Name>MyPatchBaseline</Name>\\n <ShareType>Private</ShareType>\\n</PatchBaseline>\\n<RequestId>1457F46C-7AAE-59FA-BD12-0BDB3751E6F8</RequestId>","errorExample":""}]',
- 'title' => 'UpdatePatchBaseline',
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"NextToken\\": \\"xxx\\",\\n \\"RequestId\\": \\"F9154C02-F847-4563-BB6A-6DD01A4F0\\",\\n \\"MaxResults\\": 50,\\n \\"Actions\\": [\\n {\\n \\"Popularity\\": 5,\\n \\"ActionType\\": \\"ACS::Template\\",\\n \\"Description\\": \\"ReplaceSystemDisk\\",\\n \\"CreatedDate\\": \\"2019-05-16T10:26:14Z\\",\\n \\"TemplateVersion\\": \\"v1\\",\\n \\"OOSActionName\\": \\"ACS::ECS::ReplaceSystemDisk\\",\\n \\"Properties\\": \\"{ \\\\\\"ImageId\\\\\\": { \\\\\\"Description\\\\\\": \\\\\\"The mirror ID you will use when resetting the system\\\\\\", \\\\\\"Type\\\\\\": \\\\\\"String\\\\\\" }, \\\\\\"InstanceId\\\\\\": { \\\\\\"Description\\\\\\": \\\\\\"the instance id that you will handle .\\\\\\", \\\\\\"Type\\\\\\": \\\\\\"String\\\\\\" } }\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<ListActionsResponse>\\r\\n <MaxResults>50</MaxResults>\\r\\n <RequestId>F9154C02-F847-4563-BB6A-6DD2F5F0</RequestId>\\r\\n <Actions>\\r\\n <OOSActionName>ACS::ECS::ReplaceSystemDisk</OOSActionName>\\r\\n <ActionType>Product.ECS</ActionType>\\r\\n <CreatedDate>2019-05-14T07:26:39Z</CreatedDate>\\r\\n <Description>ReplaceSystemDisk</Description>\\r\\n <TemplateVersion>v1</TemplateVersion>\\r\\n <Properties>\\r\\n <ImageId>\\r\\n <Description>The mirror ID you will use when resetting the system</Description>\\r\\n <Type>String</Type>\\r\\n </ImageId>\\r\\n <InstanceId>\\r\\n <Description>the instance id that you will handle .</Description>\\r\\n <Type>String</Type>\\r\\n </InstanceId>\\r\\n </Properties>\\r\\n </Actions>\\r\\n <Actions>\\r\\n <OOSActionName>ACS::Notify</OOSActionName>\\r\\n <ActionType>Automic.Trigger</ActionType>\\r\\n <CreatedDate>2019-05-16T09:33:45Z</CreatedDate>\\r\\n <Description>Send the notification.</Description>\\r\\n <Properties>\\r\\n <NotifyType>The type of notification. Support WebHook</NotifyType>\\r\\n <WebHook>\\r\\n <Content>The body for requesting web hook. Type: Mapping.</Content>\\r\\n <Headers>The headers for requesting web hook. Type: Mapping.</Headers>\\r\\n <URI>The web hook URI.</URI>\\r\\n </WebHook>\\r\\n </Properties>\\r\\n </Actions>\\r\\n</ListActionsResponse>","errorExample":""}]',
+ 'title' => 'ListActions',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'GetPatchBaseline' => [
- 'summary' => 'Queries the information of a patch baseline.',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
+ 'changeSet' => [],
+ 'ramActions' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListActions'],
+ ],
],
+ ],
+ 'ListApplicationGroups' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -8051,36 +5798,54 @@
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'get',
+ 'operationType' => 'list',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeCode' => '93964',
- 'abilityTreeNodes' => [
- 'FEATUREoosSVNQOE',
- ],
+ 'abilityTreeCode' => '93971',
+ 'abilityTreeNodes' => ['FEATUREoos1PL94A'],
+ 'autoTest' => true,
'tenantRelevance' => 'publicInformation',
],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The ID of the region in which the patch baseline whose details you want to query resides.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => 'The region ID. Only cn-hangzhou is supported.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'cn-hangzhou'],
],
[
- 'name' => 'Name',
+ 'name' => 'ApplicationName',
'in' => 'query',
- 'schema' => [
- 'description' => 'The name of the patch baseline.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'MyPatchBaseline',
- ],
+ 'schema' => ['description' => 'The application name.', 'type' => 'string', 'required' => false, 'docRequired' => false, 'title' => '', 'example' => 'MyApplication'],
+ ],
+ [
+ 'name' => 'DeployRegionId',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The ID of the deployment region. This is the region where the resource is located.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'cn-hangzhou'],
+ ],
+ [
+ 'name' => 'MaxResults',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The page size.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'title' => '', 'example' => '10'],
+ ],
+ [
+ 'name' => 'NextToken',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The pagination token.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '-'],
+ ],
+ [
+ 'name' => 'ResourceType',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The type of the cloud resource.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'instance'],
+ ],
+ [
+ 'name' => 'ResourceId',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The ID of the cloud resource.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'i-2vcj9raxrhxb48zz3whw'],
+ ],
+ [
+ 'name' => 'ResourceProduct',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The code of the product to which the cloud resource belongs.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'ecs'],
],
],
'responses' => [
@@ -8088,158 +5853,79 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => 'The ID of the request.'."\n",
- 'type' => 'string',
- 'example' => '2C630E64-7273-57AC-A598-1B2B8B35CEA5',
- ],
- 'PatchBaseline' => [
- 'description' => 'The details of the patch baseline.'."\n",
- 'type' => 'object',
- 'properties' => [
- 'OperationSystem' => [
- 'description' => 'The type of the operating system.'."\n",
- 'type' => 'string',
- 'example' => 'Windows',
- ],
- 'IsDefault' => [
- 'description' => 'Indicates whether the patch baseline is set as the default patch baseline.'."\n",
- 'type' => 'boolean',
- 'example' => 'false',
- ],
- 'Description' => [
- 'description' => 'The description of the patch baseline.'."\n",
- 'type' => 'string',
- 'example' => 'UpdatePatchBaseline',
- ],
- 'UpdatedDate' => [
- 'description' => 'The time when the patch baseline was last modified.'."\n",
- 'type' => 'string',
- 'example' => '2021-09-08T07:26:38Z',
- ],
- 'UpdatedBy' => [
- 'description' => 'The user who last modified the patch baseline.'."\n",
- 'type' => 'string',
- 'example' => 'root(130900000)',
- ],
- 'CreatedBy' => [
- 'description' => 'The creator of the patch baseline.'."\n",
- 'type' => 'string',
- 'example' => 'root(130900000)',
- ],
- 'CreatedDate' => [
- 'description' => 'The time when the patch baseline was created.'."\n",
- 'type' => 'string',
- 'example' => '2021-09-07T03:42:56Z',
- ],
- 'Name' => [
- 'description' => 'The name of the patch baseline.'."\n",
- 'type' => 'string',
- 'example' => 'MypatchBaseline',
- ],
- 'ApprovalRules' => [
- 'description' => 'The rules of scanning and installing patches for the specified operating system.'."\n",
- 'type' => 'string',
- 'example' => '{"PatchRules":[{"PatchFilterGroup":[{"Key":"PatchSet","Values":["OS"]},{"Key":"ProductFamily","Values":["Windows"]},{"Key":"Product","Values":["Windows 10","Windows 7"]},{"Key":"Classification","Values":["Security Updates","Updates","Update Rollups","Critical Updates"]},{"Key":"Severity","Values":["Critical","Important","Moderate"]}],"ApproveAfterDays":7,"ApproveUntilDate":"","EnableNonSecurity":true,"ComplianceLevel":"Medium"}]}',
- ],
- 'Id' => [
- 'description' => 'The ID of the patch baseline.'."\n",
- 'type' => 'string',
- 'example' => 'pb-445340b5c6504a85a300',
- ],
- 'ShareType' => [
- 'description' => 'The share type of the patch baseline.'."\n",
- 'type' => 'string',
- 'example' => 'Private',
- ],
- 'RejectedPatches' => [
- 'description' => 'The rejected patches.'."\n",
- 'type' => 'array',
- 'items' => [
- 'description' => 'The name of the rejected patch.'."\n",
- 'type' => 'string',
- 'example' => 'RejectedPatch1',
- ],
- ],
- 'RejectedPatchesAction' => [
- 'description' => 'The action of the rejected patch.'."\n",
- 'type' => 'string',
- 'example' => 'ALLOW_AS_DEPENDENCY',
- ],
- 'ApprovedPatches' => [
- 'description' => 'The approved patches.'."\n",
- 'type' => 'array',
- 'items' => [
- 'description' => 'The name of the approved patch.'."\n",
- 'type' => 'string',
- 'example' => 'ApprovedPatch1',
- ],
- ],
- 'ApprovedPatchesEnableNonSecurity' => [
- 'description' => 'Indicates whether the approved patch involves updates other than security-related updates.'."\n",
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'Sources' => [
- 'description' => 'The patch source configurations.'."\n",
- 'type' => 'array',
- 'items' => [
- 'description' => 'The configuration of the patch source.'."\n",
- 'type' => 'string',
- 'example' => '[main]'."\n"
- .'name=MyCustomRepository'."\n"
- .'baseurl=https://my-custom-repository'."\n"
- .'enabled=1',
- ],
- ],
- 'Tags' => [
- 'description' => 'The tags.'."\n",
- 'type' => 'array',
- 'items' => [
- 'description' => '',
- 'type' => 'object',
- 'properties' => [
- 'TagKey' => [
- 'description' => 'The key of the tag.'."\n",
- 'type' => 'string',
- 'example' => 'key',
- ],
- 'TagValue' => [
- 'description' => 'The value of the tag.'."\n",
- 'type' => 'string',
- 'example' => 'value',
- ],
- ],
- ],
- ],
- 'ResourceGroupId' => [
- 'description' => 'The ID of the resource group.'."\n",
- 'type' => 'string',
- 'example' => 'rg-acfmzmhzoaad5oq',
+ 'NextToken' => ['description' => 'The pagination token.', 'type' => 'string', 'title' => '', 'example' => '-'],
+ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => '69D97BF2-5DF2-544C-A650-36A474E17BC3'],
+ 'MaxResults' => ['description' => 'The page size.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '10'],
+ 'ApplicationGroups' => [
+ 'description' => 'The information about the application groups.',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'CmsGroupId' => ['description' => 'The ID of the CloudMonitor application group.', 'type' => 'string', 'title' => '', 'example' => '12345678'],
+ 'DeployRegionId' => ['description' => 'The ID of the deployment region. This is the region where the resource is located.', 'type' => 'string', 'title' => '', 'example' => 'cn-hangzhou'],
+ 'UpdateDate' => ['description' => 'The update time.', 'type' => 'string', 'title' => '', 'example' => '2021-09-08T03:01:53Z'],
+ 'Description' => ['description' => 'The description of the application group.', 'type' => 'string', 'title' => '', 'example' => 'ApplicationGroup'],
+ 'ImportTagKey' => ['description' => 'The tag key.', 'type' => 'string', 'title' => '', 'example' => 'k1'],
+ 'ApplicationName' => ['description' => 'The application name.', 'type' => 'string', 'title' => '', 'example' => 'MyApplication'],
+ 'ImportTagValue' => ['description' => 'The tag value.', 'type' => 'string', 'title' => '', 'example' => 'v1'],
+ 'Name' => ['description' => 'The name of the application group.', 'type' => 'string', 'title' => '', 'example' => 'UpdateMyApplicationGroup'],
+ 'CreateDate' => ['description' => 'The creation time.', 'type' => 'string', 'title' => '', 'example' => '2021-09-07T10:28:25Z'],
+ 'Status' => ['description' => 'The status of the application group.', 'type' => 'string', 'title' => '', 'example' => 'Created'],
+ 'DeployParameters' => ['description' => 'The configuration information of the application group.', 'type' => 'string', 'title' => '', 'example' => '{ "TemplateURL": "https://ros-template.oss-cn-zhangjiakou.aliyuncs.com/App_Management_Existing_Vpc_Ecs_Instance.json", "Parameters": { "ZoneId": "cn-hangzhou-k", "ProjectName": "test", "SystemDiskSize": 40, "InstanceChargeType": "PostPaid", "SecurityGroupId": "sg-bp1a4374akk63jl8tddy", "VSwitchId": "vsw-bp1fcvc3zn0jrag86rrlm", "SystemDiskCategory": "cloud_essd", "InstancePassword": "******", "InternetChargeType": "PayByTraffic", "InstanceCount": 1, "InternetMaxBandwidthOut": 0, "VpcId": "vpc-bp1i99boyas8i8m9t3skp", "EcsImageId": "centos_8_5_x64_20G_alibase_20211228.vhd", "DataDiskSize": 100, "EcsInstanceType": "ecs.s6-c1m4.small", "DataDiskCategory": "cloud_efficiency", "EnvironmentCommandId": "c-hz028fc3g031gcg" }, "RegionId": "cn-hangzhou", "StackName": "stack-1645688523068-3no_AKhOJ", "DisableRollback": true }'],
+ 'StatusReason' => ['description' => 'The details of the application group status.', 'type' => 'string', 'title' => '', 'example' => 'ApplicationGroup is Created.'],
+ 'ErrorType' => ['type' => 'string', 'description' => 'The type of fault that occurred during a failed build.', 'title' => '', 'example' => 'Build'."\n"],
+ 'ErrorDetail' => ['type' => 'string', 'description' => 'The details of the fault that occurred during a failed build.', 'title' => '', 'example' => 'ERROR: failed to build: executing lifecycle: failed with status code: 51'],
+ 'DeployedRevisionIds' => ['type' => 'string', 'description' => 'A list of deployed revision IDs. Only the 10 most recent IDs are displayed.', 'title' => '', 'example' => '["rev-f575b688015442d28d26","rev-b9876a39cf84490db638","rev-782fc7a0c0974d89b1eb"]'."\n"],
+ 'ExecutionId' => ['type' => 'string', 'description' => 'The execution ID.', 'title' => '', 'example' => 'exec-661daf82ad024953a40a'],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
+ 'title' => '',
+ 'example' => '',
],
],
'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"2C630E64-7273-57AC-A598-1B2B8B35CEA5\\",\\n \\"PatchBaseline\\": {\\n \\"OperationSystem\\": \\"Windows\\",\\n \\"IsDefault\\": false,\\n \\"Description\\": \\"UpdatePatchBaseline\\",\\n \\"UpdatedDate\\": \\"2021-09-08T07:26:38Z\\",\\n \\"UpdatedBy\\": \\"root(130900000)\\",\\n \\"CreatedBy\\": \\"root(130900000)\\",\\n \\"CreatedDate\\": \\"2021-09-07T03:42:56Z\\",\\n \\"Name\\": \\"MypatchBaseline\\",\\n \\"ApprovalRules\\": \\"{\\\\\\"PatchRules\\\\\\":[{\\\\\\"PatchFilterGroup\\\\\\":[{\\\\\\"Key\\\\\\":\\\\\\"PatchSet\\\\\\",\\\\\\"Values\\\\\\":[\\\\\\"OS\\\\\\"]},{\\\\\\"Key\\\\\\":\\\\\\"ProductFamily\\\\\\",\\\\\\"Values\\\\\\":[\\\\\\"Windows\\\\\\"]},{\\\\\\"Key\\\\\\":\\\\\\"Product\\\\\\",\\\\\\"Values\\\\\\":[\\\\\\"Windows 10\\\\\\",\\\\\\"Windows 7\\\\\\"]},{\\\\\\"Key\\\\\\":\\\\\\"Classification\\\\\\",\\\\\\"Values\\\\\\":[\\\\\\"Security Updates\\\\\\",\\\\\\"Updates\\\\\\",\\\\\\"Update Rollups\\\\\\",\\\\\\"Critical Updates\\\\\\"]},{\\\\\\"Key\\\\\\":\\\\\\"Severity\\\\\\",\\\\\\"Values\\\\\\":[\\\\\\"Critical\\\\\\",\\\\\\"Important\\\\\\",\\\\\\"Moderate\\\\\\"]}],\\\\\\"ApproveAfterDays\\\\\\":7,\\\\\\"EnableNonSecurity\\\\\\":true,\\\\\\"ComplianceLevel\\\\\\":\\\\\\"Medium\\\\\\"}]}\\",\\n \\"Id\\": \\"pb-445340b5c6504a85a300\\",\\n \\"ShareType\\": \\"Private\\",\\n \\"RejectedPatches\\": [\\n \\"RejectedPatch1\\"\\n ],\\n \\"RejectedPatchesAction\\": \\"ALLOW_AS_DEPENDENCY\\",\\n \\"ApprovedPatches\\": [\\n \\"ApprovedPatch1\\"\\n ],\\n \\"ApprovedPatchesEnableNonSecurity\\": true,\\n \\"Sources\\": [\\n \\"[main]\\\\nname=MyCustomRepository\\\\nbaseurl=https://my-custom-repository\\\\nenabled=1\\"\\n ],\\n \\"Tags\\": [\\n {\\n \\"TagKey\\": \\"key\\",\\n \\"TagValue\\": \\"value\\"\\n }\\n ],\\n \\"ResourceGroupId\\": \\"rg-acfmzmhzoaad5oq\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"<PatchBaseline>\\n <IsDefault>false</IsDefault>\\n <UpdatedBy>root(130900000)</UpdatedBy>\\n <CreatedBy>root(130900000)</CreatedBy>\\n <Description>UpdatePatchBaseline</Description>\\n <UpdatedDate>2021-09-08T07:26:38Z</UpdatedDate>\\n <CreatedDate>2021-09-07T03:42:56Z</CreatedDate>\\n <Id>pb-445340b5c6504a85a300</Id>\\n <OperationSystem>Windows</OperationSystem>\\n <ApprovalRules>\\n <PatchRules>\\n <PatchFilterGroup>\\n <Key>PatchSet</Key>\\n <Values>OS</Values>\\n </PatchFilterGroup>\\n <PatchFilterGroup>\\n <Key>ProductFamily</Key>\\n <Values>Windows</Values>\\n </PatchFilterGroup>\\n <PatchFilterGroup>\\n <Key>Product</Key>\\n <Values>Windows 10</Values>\\n <Values>Windows 7</Values>\\n </PatchFilterGroup>\\n <PatchFilterGroup>\\n <Key>Classification</Key>\\n <Values>Security Updates</Values>\\n <Values>Updates</Values>\\n <Values>Update Rollups</Values>\\n <Values>Critical Updates</Values>\\n </PatchFilterGroup>\\n <PatchFilterGroup>\\n <Key>Severity</Key>\\n <Values>Critical</Values>\\n <Values>Important</Values>\\n <Values>Moderate</Values>\\n </PatchFilterGroup>\\n <ApproveAfterDays>7</ApproveAfterDays>\\n <ApproveUntilDate/>\\n <EnableNonSecurity>true</EnableNonSecurity>\\n <ComplianceLevel>Medium</ComplianceLevel>\\n </PatchRules>\\n </ApprovalRules>\\n <Name>MypatchBaseline</Name>\\n <ShareType>Private</ShareType>\\n</PatchBaseline>\\n<RequestId>2C630E64-7273-57AC-A598-1B2B8B35CEA5</RequestId>","errorExample":""}]',
- 'title' => 'GetPatchBaseline',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => 'ListApplicationGroups',
+ 'summary' => 'Queries a list of application groups. The Application Management feature is available only in the China (Hangzhou) region. Ensure that you use the endpoint for this region.',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'ListPatchBaselines' => [
- 'summary' => 'Queries a list of patch baselines.',
- 'methods' => [
- 'post',
- 'get',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListApplicationGroups'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'oos:ListApplicationGroups',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [
+ ['conditionKey' => 'oos:TLSVersion'],
+ ],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'OOS', 'resourceType' => 'ApplicationGroup', 'arn' => 'acs:oos:{#regionId}:{#AccountId}:application/{#applicationName}/applicationgroup/*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"NextToken\\": \\"-\\",\\n \\"RequestId\\": \\"69D97BF2-5DF2-544C-A650-36A474E17BC3\\",\\n \\"MaxResults\\": 10,\\n \\"ApplicationGroups\\": [\\n {\\n \\"CmsGroupId\\": \\"12345678\\",\\n \\"DeployRegionId\\": \\"cn-hangzhou\\",\\n \\"UpdateDate\\": \\"2021-09-08T03:01:53Z\\",\\n \\"Description\\": \\"ApplicationGroup\\",\\n \\"ImportTagKey\\": \\"k1\\",\\n \\"ApplicationName\\": \\"MyApplication\\",\\n \\"ImportTagValue\\": \\"v1\\",\\n \\"Name\\": \\"UpdateMyApplicationGroup\\",\\n \\"CreateDate\\": \\"2021-09-07T10:28:25Z\\",\\n \\"Status\\": \\"Created\\",\\n \\"DeployParameters\\": \\"{ \\\\\\"TemplateURL\\\\\\": \\\\\\"https://ros-template.oss-cn-zhangjiakou.aliyuncs.com/App_Management_Existing_Vpc_Ecs_Instance.json\\\\\\", \\\\\\"Parameters\\\\\\": { \\\\\\"ZoneId\\\\\\": \\\\\\"cn-hangzhou-k\\\\\\", \\\\\\"ProjectName\\\\\\": \\\\\\"test\\\\\\", \\\\\\"SystemDiskSize\\\\\\": 40, \\\\\\"InstanceChargeType\\\\\\": \\\\\\"PostPaid\\\\\\", \\\\\\"SecurityGroupId\\\\\\": \\\\\\"sg-bp1a4374akk63jl8tddy\\\\\\", \\\\\\"VSwitchId\\\\\\": \\\\\\"vsw-bp1fcvc3zn0jrag86rrlm\\\\\\", \\\\\\"SystemDiskCategory\\\\\\": \\\\\\"cloud_essd\\\\\\", \\\\\\"InstancePassword\\\\\\": \\\\\\"******\\\\\\", \\\\\\"InternetChargeType\\\\\\": \\\\\\"PayByTraffic\\\\\\", \\\\\\"InstanceCount\\\\\\": 1, \\\\\\"InternetMaxBandwidthOut\\\\\\": 0, \\\\\\"VpcId\\\\\\": \\\\\\"vpc-bp1i99boyas8i8m9t3skp\\\\\\", \\\\\\"EcsImageId\\\\\\": \\\\\\"centos_8_5_x64_20G_alibase_20211228.vhd\\\\\\", \\\\\\"DataDiskSize\\\\\\": 100, \\\\\\"EcsInstanceType\\\\\\": \\\\\\"ecs.s6-c1m4.small\\\\\\", \\\\\\"DataDiskCategory\\\\\\": \\\\\\"cloud_efficiency\\\\\\", \\\\\\"EnvironmentCommandId\\\\\\": \\\\\\"c-hz028fc3g031gcg\\\\\\" }, \\\\\\"RegionId\\\\\\": \\\\\\"cn-hangzhou\\\\\\", \\\\\\"StackName\\\\\\": \\\\\\"stack-1645688523068-3no_AKhOJ\\\\\\", \\\\\\"DisableRollback\\\\\\": true }\\",\\n \\"StatusReason\\": \\"ApplicationGroup is Created.\\",\\n \\"ErrorType\\": \\"Build\\\\n\\",\\n \\"ErrorDetail\\": \\"ERROR: failed to build: executing lifecycle: failed with status code: 51\\",\\n \\"DeployedRevisionIds\\": \\"[\\\\\\"rev-f575b688015442d28d26\\\\\\",\\\\\\"rev-b9876a39cf84490db638\\\\\\",\\\\\\"rev-782fc7a0c0974d89b1eb\\\\\\"]\\\\n\\",\\n \\"ExecutionId\\": \\"exec-661daf82ad024953a40a\\"\\n }\\n ]\\n}","type":"json"}]',
+ ],
+ 'ListApplications' => [
+ 'summary' => 'Queries a list of applications. You can call this operation only for the applications that reside in the China (Hangzhou) region. Use an endpoint of the China (Hangzhou) region.',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -8251,169 +5937,80 @@
'operationType' => 'list',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeCode' => '93982',
- 'abilityTreeNodes' => [
- 'FEATUREoosSVNQOE',
- ],
+ 'abilityTreeCode' => '93972',
+ 'abilityTreeNodes' => ['FEATUREoosXBZWHV'],
+ 'autoTest' => true,
'tenantRelevance' => 'publicInformation',
],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The ID of the region.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
- ],
- [
- 'name' => 'Name',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The name of the patch baseline.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'docRequired' => false,
- 'example' => 'MyPatchBaseline',
- ],
- ],
- [
- 'name' => 'OperationSystem',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The type of the operating system. Valid values:'."\n"
- ."\n"
- .'* Windows'."\n"
- .'* Ubuntu'."\n"
- .'* CentOS'."\n"
- .'* Debian'."\n"
- .'* AliyunLinux'."\n"
- .'* RedhatEnterpriseLinux'."\n"
- .'* Anolis'."\n"
- .'* AlmaLinux'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'AliyunLinux',
- ],
- ],
- [
- 'name' => 'ShareType',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The share type of the template. Valid values:'."\n"
- ."\n"
- .'* **Public**'."\n"
- .'* **Private**'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'Private',
- ],
+ 'schema' => ['description' => 'The region ID. Set the value to cn-hangzhou.'."\n", 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''],
],
[
'name' => 'MaxResults',
'in' => 'query',
- 'schema' => [
- 'description' => 'The number of entries returned per page.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '50',
- ],
+ 'schema' => ['description' => 'The number of entries to return on each page. Valid values: 10 to 100. Default value: 50.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10', 'title' => ''],
],
[
'name' => 'NextToken',
'in' => 'query',
- 'schema' => [
- 'description' => 'The token that is used to retrieve the next page of results.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => '-',
- ],
+ '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' => '-', 'title' => ''],
],
[
'name' => 'Tags',
'in' => 'query',
'style' => 'json',
- 'schema' => [
- 'description' => 'The tags.'."\n",
- 'type' => 'array',
- 'items' => [
- 'description' => 'The tag.'."\n",
- 'type' => 'object',
- 'properties' => [
- 'Key' => [
- 'description' => 'The key of the tag.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'key',
- ],
- 'Value' => [
- 'description' => 'The value of the tag.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'value',
- ],
- ],
- 'required' => false,
- ],
- 'required' => false,
- ],
- ],
- [
- 'name' => 'ApprovedPatches',
- 'in' => 'query',
- 'style' => 'json',
- 'schema' => [
- 'description' => 'The approved patches.'."\n",
- 'type' => 'array',
- 'items' => [
- 'description' => 'The name of the approved patch.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'ApprovedPatch1',
- ],
- 'required' => false,
- ],
+ 'schema' => ['description' => 'The tags.'."\n", 'type' => 'object', 'required' => false, 'example' => '{"k1": "v1","k2": "v2"}', 'title' => ''],
],
[
- 'name' => 'ApprovedPatchesEnableNonSecurity',
+ 'name' => 'Names',
'in' => 'query',
- 'schema' => [
- 'description' => 'Specifies whether the approved patch involves updates other than security-related updates.'."\n",
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'true',
- ],
+ 'schema' => ['description' => 'The names of the applications.'."\n", 'type' => 'string', 'required' => false, 'example' => '["MyApplication"]', 'title' => ''],
],
[
- 'name' => 'Sources',
+ 'name' => 'Name',
'in' => 'query',
- 'style' => 'json',
- 'schema' => [
- 'description' => 'The patch source configurations.'."\n",
- 'type' => 'array',
- 'items' => [
- 'description' => 'The configuration of the patch source.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => '[main]'."\n"
- .'name=MyCustomRepository'."\n"
- .'baseurl=https://my-custom-repository'."\n"
- .'enabled=1',
- ],
- 'required' => false,
- ],
+ 'allowEmptyValue' => true,
+ 'schema' => ['description' => 'The name of the application.'."\n", 'type' => 'string', 'required' => false, 'example' => '"MyApplications"', 'title' => ''],
],
[
- 'name' => 'ResourceGroupId',
+ 'name' => 'ApplicationType',
'in' => 'query',
'schema' => [
- 'description' => 'The ID of the resource group.'."\n",
+ 'description' => 'The type of the application.'."\n"
+ ."\n"
+ .'Valid values:'."\n"
+ ."\n"
+ .'* ComputeNest'."\n"
+ ."\n"
+ .' <!-- -->'."\n"
+ ."\n"
+ .' <!-- -->'."\n"
+ ."\n"
+ .' <!-- -->'."\n"
+ ."\n"
+ .'* Custom'."\n"
+ ."\n"
+ .' <!-- -->'."\n"
+ ."\n"
+ .' <!-- -->'."\n"
+ ."\n"
+ .' <!-- -->'."\n"
+ ."\n"
+ .'* DingTalk'."\n"
+ ."\n"
+ .' <!-- -->'."\n"
+ ."\n"
+ .' <!-- -->'."\n"
+ ."\n"
+ .' <!-- -->'."\n",
'type' => 'string',
'required' => false,
- 'example' => 'rg-acfmxsn4m4******',
+ 'enumValueTitles' => ['ComputeNest' => 'ComputeNest', 'Custom' => 'Custom', 'DingTalk' => 'DingTalk'],
+ 'example' => 'DingTalk',
+ 'title' => '',
],
],
],
@@ -8422,285 +6019,195 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'NextToken' => [
- 'description' => 'The token that is used to retrieve the next page of results.'."\n",
- 'type' => 'string',
- 'example' => 'The number of entries returned on each page.'."\n",
- ],
- 'RequestId' => [
- 'description' => 'The request ID.'."\n",
- 'type' => 'string',
- 'example' => '432996A1-03C0-5C4C-A8E6-66C4110765B8',
- ],
- 'MaxResults' => [
- 'description' => 'The number of entries per page.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '50',
- ],
- 'PatchBaselines' => [
- 'description' => 'The patch baselines.'."\n",
+ 'NextToken' => ['description' => 'The pagination token that is used in the next request to retrieve a new page of results.'."\n", 'type' => 'string', 'example' => '-', 'title' => ''],
+ 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '12067D53-56A9-561B-ADD6-61429D207117', 'title' => ''],
+ 'MaxResults' => ['description' => 'The number of entries returned per page.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => ''],
+ 'Applications' => [
+ 'description' => 'The details of the application.'."\n",
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'OperationSystem' => [
- 'description' => 'The type of the operating system.'."\n",
- 'type' => 'string',
- 'example' => 'AliyunLinux',
- ],
- 'IsDefault' => [
- 'description' => 'Indicates whether the patch baseline is set as the default patch baseline.'."\n",
- 'type' => 'boolean',
- 'example' => 'false',
- ],
- 'Description' => [
- 'description' => 'The description of the patch baseline.'."\n",
- 'type' => 'string',
- 'example' => 'ListPatchBaseline',
- ],
- 'UpdatedDate' => [
- 'description' => 'The time when the patch baseline was updated.'."\n",
- 'type' => 'string',
- 'example' => '2021-09-08T03:44:34Z',
- ],
- 'UpdatedBy' => [
- 'description' => 'The user who last updated the patch baseline.'."\n",
- 'type' => 'string',
- 'example' => 'root(130900000)',
- ],
- 'CreatedBy' => [
- 'description' => 'The user who created the patch baseline.'."\n",
- 'type' => 'string',
- 'example' => 'root(130900000)',
- ],
- 'CreatedDate' => [
- 'description' => 'The time when the patch baseline was created.'."\n",
- 'type' => 'string',
- 'example' => '2021-09-08T03:41:23Z',
- ],
- 'Name' => [
- 'description' => 'The name of the patch baseline.'."\n",
- 'type' => 'string',
- 'example' => 'MyPatchBaseline',
- ],
- 'Id' => [
- 'description' => 'The ID of the patch baseline.'."\n",
- 'type' => 'string',
- 'example' => 'pb-c2838b5d89b540e19ee6',
- ],
- 'ShareType' => [
- 'description' => 'The share type of the patch baseline.'."\n",
- 'type' => 'string',
- 'example' => 'Private',
- ],
- 'Tags' => [
- 'description' => 'The tags of the patch baseline.'."\n",
- 'type' => 'array',
- 'items' => [
- 'description' => '',
- 'type' => 'object',
- 'properties' => [
- 'TagKey' => [
- 'description' => 'The key of the tag.'."\n",
- 'type' => 'string',
- 'example' => 'key',
- ],
- 'TagValue' => [
- 'description' => 'The value of the tag.'."\n",
- 'type' => 'string',
- 'example' => 'value',
- ],
- ],
- ],
- ],
- 'ApprovedPatches' => [
- 'description' => 'The approved patches.'."\n",
- 'type' => 'array',
- 'items' => [
- 'description' => 'The name of the approved patch.'."\n",
- 'type' => 'string',
- 'example' => 'ApprovedPatch1',
- ],
- ],
- 'ApprovedPatchesEnableNonSecurity' => [
- 'description' => 'Indicates whether the approved patch involves updates other than security-related updates.'."\n",
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'Sources' => [
- 'description' => 'The configurations of patch sources.'."\n",
- 'type' => 'array',
- 'items' => [
- 'description' => 'The configurations of the patch source.'."\n",
- 'type' => 'string',
- 'example' => '[main]'."\n"
- .'name=MyCustomRepository'."\n"
- .'baseurl=https://my-custom-repository'."\n"
- .'enabled=1',
- ],
- ],
- 'ResourceGroupId' => [
- 'description' => 'The ID of the resource group.'."\n",
- 'type' => 'string',
- 'example' => 'rg-aek256ia6vhsndy',
- ],
+ 'Description' => ['description' => 'The description of the application.'."\n", 'type' => 'string', 'example' => 'Application', 'title' => ''],
+ 'UpdateDate' => ['description' => 'The time when the application was updated.'."\n", 'type' => 'string', 'example' => '2021-09-07T09:09:59Z', 'title' => ''],
+ 'ResourceGroupId' => ['description' => 'The resource group ID.'."\n", 'type' => 'string', 'example' => 'rg-acfmxsn4m******', 'title' => ''],
+ 'Tags' => ['description' => 'The tags added to the application.'."\n", 'type' => 'object', 'example' => '{"k1": "v1","k2": "v2"}', 'title' => ''],
+ 'Name' => ['description' => 'The name of the application.'."\n", 'type' => 'string', 'example' => 'MyApplication', 'title' => ''],
+ 'CreateDate' => ['description' => 'The time when the application was created.'."\n", 'type' => 'string', 'example' => '2021-09-07T09:09:59Z', 'title' => ''],
+ 'ApplicationType' => ['description' => 'The type of the application.'."\n", 'type' => 'string', 'example' => 'DingTalk', 'title' => ''],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
+ 'title' => '',
+ 'example' => '',
],
],
'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"NextToken\\": \\"-\\",\\n \\"RequestId\\": \\"432996A1-03C0-5C4C-A8E6-66C4110765B8\\",\\n \\"MaxResults\\": 50,\\n \\"PatchBaselines\\": [\\n {\\n \\"OperationSystem\\": \\"AliyunLinux\\",\\n \\"IsDefault\\": false,\\n \\"Description\\": \\"ListPatchBaseline\\",\\n \\"UpdatedDate\\": \\"2021-09-08T03:44:34Z\\",\\n \\"UpdatedBy\\": \\"root(130900000)\\",\\n \\"CreatedBy\\": \\"root(130900000)\\",\\n \\"CreatedDate\\": \\"2021-09-08T03:41:23Z\\",\\n \\"Name\\": \\"MyPatchBaseline\\",\\n \\"Id\\": \\"pb-c2838b5d89b540e19ee6\\",\\n \\"ShareType\\": \\"Private\\",\\n \\"Tags\\": [\\n {\\n \\"TagKey\\": \\"key\\",\\n \\"TagValue\\": \\"value\\"\\n }\\n ],\\n \\"ApprovedPatches\\": [\\n \\"ApprovedPatch1\\"\\n ],\\n \\"ApprovedPatchesEnableNonSecurity\\": true,\\n \\"Sources\\": [\\n \\"[main]\\\\nname=MyCustomRepository\\\\nbaseurl=https://my-custom-repository\\\\nenabled=1\\"\\n ],\\n \\"ResourceGroupId\\": \\"rg-aek256ia6vhsndy\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<RequestId>432996A1-03C0-5C4C-A8E6-66C4110765B8</RequestId>\\n<MaxResults>50</MaxResults>\\n<PatchBaselines>\\n <IsDefault>false</IsDefault>\\n <UpdatedBy>root(130900000)</UpdatedBy>\\n <CreatedBy>root(130900000)</CreatedBy>\\n <Description>ListPatchBaseline</Description>\\n <UpdatedDate>2021-09-08T03:44:34Z</UpdatedDate>\\n <CreatedDate>2021-09-08T03:41:23Z</CreatedDate>\\n <Id>pb-c2838b5d89b540e19ee6</Id>\\n <OperationSystem>AliyunLinux</OperationSystem>\\n <Name>MyPatchBaseline3</Name>\\n <ShareType>Private</ShareType>\\n</PatchBaselines>\\n<PatchBaselines>\\n <IsDefault>false</IsDefault>\\n <UpdatedBy>root(130900000)</UpdatedBy>\\n <CreatedBy>root(130900000)</CreatedBy>\\n <Description>ListPatchBaseline</Description>\\n <UpdatedDate>2021-09-08T03:39:26Z</UpdatedDate>\\n <CreatedDate>2021-09-08T03:38:46Z</CreatedDate>\\n <Id>pb-bdbeb87bc0bb40c9a8de</Id>\\n <OperationSystem>AliyunLinux</OperationSystem>\\n <Name>MyPatchBaseline2</Name>\\n <ShareType>Private</ShareType>\\n</PatchBaselines>\\n<PatchBaselines>\\n <IsDefault>false</IsDefault>\\n <UpdatedBy>root(130900000)</UpdatedBy>\\n <CreatedBy>root(130900000)</CreatedBy>\\n <Description>ListPatchBaseline</Description>\\n <UpdatedDate>2021-09-08T03:39:46Z</UpdatedDate>\\n <CreatedDate>2021-09-08T02:14:24Z</CreatedDate>\\n <Id>pb-646af3e99fac44e49ca8</Id>\\n <OperationSystem>AliyunLinux</OperationSystem>\\n <Name>MyPatchBaseline1</Name>\\n <ShareType>Private</ShareType>\\n</PatchBaselines>","errorExample":""}]',
- 'title' => 'ListPatchBaselines',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"NextToken\\": \\"-\\",\\n \\"RequestId\\": \\"12067D53-56A9-561B-ADD6-61429D207117\\",\\n \\"MaxResults\\": 10,\\n \\"Applications\\": [\\n {\\n \\"Description\\": \\"Application\\",\\n \\"UpdateDate\\": \\"2021-09-07T09:09:59Z\\",\\n \\"ResourceGroupId\\": \\"rg-acfmxsn4m******\\",\\n \\"Tags\\": {\\n \\"k1\\": \\"v1\\",\\n \\"k2\\": \\"v2\\"\\n },\\n \\"Name\\": \\"MyApplication\\",\\n \\"CreateDate\\": \\"2021-09-07T09:09:59Z\\",\\n \\"ApplicationType\\": \\"DingTalk\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<RequestId>12067D53-56A9-561B-ADD6-61429D207117</RequestId>\\n<Applications>\\n <UpdateDate>2021-09-07T09:09:59Z</UpdateDate>\\n <Description>application</Description>\\n <ResourceGroupId>rg-acfmxsn4m*****</ResourceGroupId>\\n <CreateDate>2021-09-07T09:09:59Z</CreateDate>\\n <Tags>\\n <k1>v1</k1>\\n <k2>v2</k2>\\n </Tags>\\n <Name>MyApplication</Name>\\n</Applications>","errorExample":""}]',
+ 'title' => 'ListApplications',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'RegisterDefaultPatchBaseline' => [
- 'summary' => 'Registers the default patch baseline.',
- 'methods' => [
- 'post',
- 'get',
+ 'changeSet' => [],
+ 'ramActions' => [
+ [
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'oos:ListApplications',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [
+ ['conditionKey' => 'oos:TLSVersion'],
+ ],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'OOS', 'resourceType' => 'Application', 'arn' => 'acs:oos:{#regionId}:{#accountId}:application/*'],
+ ],
+ ],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListApplications'],
+ ],
],
+ ],
+ 'ListChatConfigurations' => [
+ 'summary' => 'Creates, updates, retrieves, and deletes chat configurations for platforms such as DingTalk.',
+ 'description' => '## Description'."\n"
+ ."\n"
+ .'Use this API to manage chatbot settings for integrations with instant messaging tools, such as DingTalk. You can create, update, retrieve, and delete chat configurations. You can implement fine-grained permission control for different users or user groups and specify a Resource Access Management (RAM) role to perform operations. You can also add tags to each configuration for easier management and categorization.'."\n"
+ ."\n"
+ .'When you call this API, ensure that the `RegionId`, `ConversationId`, and all parameters in the request body are correct. Handle sensitive information, such as the `ClientId` and `ClientSecret` fields, with care to prevent unauthorized access.',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'write',
+ 'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'update',
+ 'operationType' => 'create',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeCode' => '93995',
- 'abilityTreeNodes' => [
- 'FEATUREoosSVNQOE',
- ],
+ 'abilityTreeNodes' => ['FEATUREoosQL14T7'],
+ 'autoTest' => true,
'tenantRelevance' => 'publicInformation',
],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
+ 'schema' => ['description' => 'The region ID.', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''],
+ ],
+ [
+ 'name' => 'Filters',
+ 'in' => 'query',
+ 'style' => 'repeatList',
'schema' => [
- 'description' => 'The ID of the region.'."\n",
- 'type' => 'string',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Name' => ['description' => 'The name of the filter condition.', 'type' => 'string', 'required' => false, 'example' => 'status', 'title' => ''],
+ 'Value' => ['description' => 'The value of the filter condition.', 'type' => 'string', 'required' => false, 'example' => 'inactive', 'title' => ''],
+ ],
+ 'description' => 'A filter condition that includes a name and a value.',
+ 'required' => false,
+ 'example' => '{"Name": "status", "Value": "inactive"}',
+ 'title' => '',
+ ],
+ 'maxItems' => 100,
+ 'description' => 'A list of conditions to filter chat configurations.',
'required' => false,
- 'example' => 'cn-hangzhou',
+ 'example' => '[{"Name": "status", "Value": "inactive"}, {"Name": "type", "Value": "private"}]',
+ 'title' => '',
],
],
[
- 'name' => 'Name',
+ 'name' => 'MaxResults',
'in' => 'query',
- 'schema' => [
- 'description' => 'The name of the patch baseline.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'MyPatchBaseline',
- ],
+ 'schema' => ['description' => 'The number of entries to return on each page for a paged query.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10', 'title' => ''],
+ ],
+ [
+ 'name' => 'NextToken',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The token to retrieve the next page of results. Set this parameter to the \\`NextToken\\` value from the previous response.', 'type' => 'string', 'required' => false, 'example' => 'AQEBARoBBgEAAgIBBQ==', 'title' => ''],
],
],
'responses' => [
200 => [
+ 'description' => '成功响应',
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => 'The request ID.'."\n",
- 'type' => 'string',
- 'example' => 'D6850689-348D-59FC-AE13-BB0EDB7C4BE8',
- ],
- 'PatchBaseline' => [
- 'description' => 'The details of the patch baseline.'."\n",
- 'type' => 'object',
- 'properties' => [
- 'OperationSystem' => [
- 'description' => 'The operating system.'."\n",
- 'type' => 'string',
- 'example' => 'Windows',
- ],
- 'Description' => [
- 'description' => 'The description of the patch baseline.'."\n",
- 'type' => 'string',
- 'example' => 'RegisterPatchBaseline',
- ],
- 'UpdatedDate' => [
- 'description' => 'The time when the patch baseline was last updated.'."\n",
- 'type' => 'string',
- 'example' => '2021-09-07T03:42:56Z',
- ],
- 'UpdatedBy' => [
- 'description' => 'The user who last updated the patch baseline.'."\n",
- 'type' => 'string',
- 'example' => 'root(130900000)',
- ],
- 'CreatedBy' => [
- 'description' => 'The user who created the patch baseline.'."\n",
- 'type' => 'string',
- 'example' => 'root(130900000)',
- ],
- 'CreatedDate' => [
- 'description' => 'The time when the patch baseline was created.'."\n",
- 'type' => 'string',
- 'example' => '2021-09-07T03:42:56Z',
- ],
- 'Name' => [
- 'description' => 'The name of the patch baseline.'."\n",
- 'type' => 'string',
- 'example' => 'MyPatchBaseline',
- ],
- 'ApprovalRules' => [
- 'description' => 'The rules of scanning and installing patches for the specified operating system.'."\n",
- 'type' => 'string',
- 'example' => '{"PatchRules":[{"PatchFilterGroup":[{"Key":"PatchSet","Values":["OS"]},{"Key":"ProductFamily","Values":["Windows"]},{"Key":"Product","Values":["Windows 10","Windows 7"]},{"Key":"Classification","Values":["Security Updates","Updates","Update Rollups","Critical Updates"]},{"Key":"Severity","Values":["Critical","Important","Moderate"]}],"ApproveAfterDays":7,"ApproveUntilDate":"","EnableNonSecurity":true,"ComplianceLevel":"Medium"}]}',
- ],
- 'Id' => [
- 'description' => 'The ID of the patch baseline.'."\n",
- 'type' => 'string',
- 'example' => 'pb-445340b5c6504a85a300',
- ],
- 'ShareType' => [
- 'description' => 'The share type of the patch baseline.'."\n",
- 'type' => 'string',
- 'example' => 'Private',
- ],
- 'ResourceGroupId' => [
- 'description' => 'The ID of the resource group.'."\n",
- 'type' => 'string',
- 'example' => 'rg-acfm4dpaq2yox6q',
+ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => '4DB0****1234'],
+ 'ChatConfigurations' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Name' => ['description' => 'The name of the chat configuration.', 'type' => 'string', 'example' => 'test-wechat', 'title' => ''],
+ 'CreatedDate' => ['description' => 'The time when the chat configuration was created.', 'type' => 'string', 'example' => '2025-12-10T10:09:32+00:00', 'title' => ''],
+ 'UpdatedDate' => ['description' => 'The time when the chat configuration was last updated.', 'type' => 'string', 'example' => '2025-12-28T13:59:48+00:00', 'title' => ''],
+ 'RamRole' => ['description' => 'The name of the RAM role used to perform operations.', 'type' => 'string', 'example' => 'OOSServiceRole', 'title' => ''],
+ 'Type' => ['description' => 'The type of the chat configuration. Valid values:'."\n"
+ ."\n"
+ .'- **WeChat**: WeCom.'."\n"
+ ."\n"
+ .'- **DingTalk**: DingTalk.'."\n"
+ ."\n"
+ .'**TODO: This information was generated by AI based on recent API call logs. Please confirm its accuracy!**', 'type' => 'string', 'example' => 'WeChat', 'title' => ''],
+ 'Outputs' => ['description' => 'The output information, which includes the webhook URL and the AES key.', 'type' => 'string', 'example' => '{"URL": "https://1407907063606569.appflow.aliyunnes", "AesKey": "UKAxyRabaJlaDxS3XZ6st18grPteemRtGeDVVgF"}', 'title' => ''],
],
+ 'description' => 'The details of a chat configuration.',
+ 'example' => '{"Name": "test-wechat", "CreatedDate": "2025-12-10T10:09:32+00:00", "UpdatedDate": "2025-12-28T13:59:48+00:00", "RamRole": "OOSServiceRole", "Type": "WeChat", "Outputs": "{\\"URL\\": \\"https://1407907063606569.appflow.aliyunnes\\"}"}',
+ 'title' => '',
],
+ 'description' => 'A list of chat configurations.',
+ 'example' => '[{"Name": "test-wechat", "CreatedDate": "2025-12-10T10:09:32+00:00", "UpdatedDate": "2025-12-28T13:59:48+00:00", "RamRole": "OOSServiceRole", "Type": "WeChat", "Outputs": "{\\"URL\\": \\"https://1407907063606569.appflow.aliyunnes\\"}]}',
+ 'title' => '',
],
],
- 'description' => '',
+ 'title' => '',
+ 'description' => 'The details of a successful response.',
+ 'example' => '',
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"D6850689-348D-59FC-AE13-BB0EDB7C4BE8\\",\\n \\"PatchBaseline\\": {\\n \\"OperationSystem\\": \\"Windows\\",\\n \\"Description\\": \\"RegisterPatchBaseline\\",\\n \\"UpdatedDate\\": \\"2021-09-07T03:42:56Z\\",\\n \\"UpdatedBy\\": \\"root(130900000)\\",\\n \\"CreatedBy\\": \\"root(130900000)\\",\\n \\"CreatedDate\\": \\"2021-09-07T03:42:56Z\\",\\n \\"Name\\": \\"MyPatchBaseline\\",\\n \\"ApprovalRules\\": \\"{\\\\\\"PatchRules\\\\\\":[{\\\\\\"PatchFilterGroup\\\\\\":[{\\\\\\"Key\\\\\\":\\\\\\"PatchSet\\\\\\",\\\\\\"Values\\\\\\":[\\\\\\"OS\\\\\\"]},{\\\\\\"Key\\\\\\":\\\\\\"ProductFamily\\\\\\",\\\\\\"Values\\\\\\":[\\\\\\"Windows\\\\\\"]},{\\\\\\"Key\\\\\\":\\\\\\"Product\\\\\\",\\\\\\"Values\\\\\\":[\\\\\\"Windows 10\\\\\\",\\\\\\"Windows 7\\\\\\"]},{\\\\\\"Key\\\\\\":\\\\\\"Classification\\\\\\",\\\\\\"Values\\\\\\":[\\\\\\"Security Updates\\\\\\",\\\\\\"Updates\\\\\\",\\\\\\"Update Rollups\\\\\\",\\\\\\"Critical Updates\\\\\\"]},{\\\\\\"Key\\\\\\":\\\\\\"Severity\\\\\\",\\\\\\"Values\\\\\\":[\\\\\\"Critical\\\\\\",\\\\\\"Important\\\\\\",\\\\\\"Moderate\\\\\\"]}],\\\\\\"ApproveAfterDays\\\\\\":7,\\\\\\"ApproveUntilDate\\\\\\":\\\\\\"\\\\\\",\\\\\\"EnableNonSecurity\\\\\\":true,\\\\\\"ComplianceLevel\\\\\\":\\\\\\"Medium\\\\\\"}]}\\",\\n \\"Id\\": \\"pb-445340b5c6504a85a300\\",\\n \\"ShareType\\": \\"Private\\",\\n \\"ResourceGroupId\\": \\"rg-acfm4dpaq2yox6q\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"<PatchBaseline>\\n <UpdatedBy>root(130900000)</UpdatedBy>\\n <CreatedBy>root(130900000)</CreatedBy>\\n <Description>RegisterPatchBaseline</Description>\\n <UpdatedDate>2021-09-08T07:26:38Z</UpdatedDate>\\n <CreatedDate>2021-09-07T03:42:56Z</CreatedDate>\\n <Id>pb-445340b5c6504a85a300</Id>\\n <OperationSystem>AliyunLinux</OperationSystem>\\n <ApprovalRules>\\n <PatchRules>\\n <PatchFilterGroup>\\n <Key>PatchSet</Key>\\n <Values>OS</Values>\\n </PatchFilterGroup>\\n <PatchFilterGroup>\\n <Key>ProductFamily</Key>\\n <Values>Windows</Values>\\n </PatchFilterGroup>\\n <PatchFilterGroup>\\n <Key>Product</Key>\\n <Values>Windows 10</Values>\\n <Values>Windows 7</Values>\\n </PatchFilterGroup>\\n <PatchFilterGroup>\\n <Key>Classification</Key>\\n <Values>Security Updates</Values>\\n <Values>Updates</Values>\\n <Values>Update Rollups</Values>\\n <Values>Critical Updates</Values>\\n </PatchFilterGroup>\\n <PatchFilterGroup>\\n <Key>Severity</Key>\\n <Values>Critical</Values>\\n <Values>Important</Values>\\n <Values>Moderate</Values>\\n </PatchFilterGroup>\\n <ApproveAfterDays>7</ApproveAfterDays>\\n <ApproveUntilDate/>\\n <EnableNonSecurity>true</EnableNonSecurity>\\n <ComplianceLevel>Medium</ComplianceLevel>\\n </PatchRules>\\n </ApprovalRules>\\n <Name>MyPatchBaseline</Name>\\n <ShareType>Private</ShareType>\\n</PatchBaseline>\\n<RequestId>D6850689-348D-59FC-AE13-BB0EDB7C4BE8</RequestId>","errorExample":""}]',
- 'title' => 'RegisterDefaultPatchBaseline',
- 'requestParamsDescription' => ' ',
- 'responseParamsDescription' => ' ',
- 'extraInfo' => ' ',
- ],
- 'ListInstancePatchStates' => [
- 'summary' => 'Queries the information about the patches of an instance.',
- 'methods' => [
- 'post',
- 'get',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => 'ListChatConfigurations',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'oos:ListChatConfigurations',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'OOS', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"4DB0****1234\\",\\n \\"ChatConfigurations\\": [\\n {\\n \\"Name\\": \\"test-wechat\\",\\n \\"CreatedDate\\": \\"2025-12-10T10:09:32+00:00\\",\\n \\"UpdatedDate\\": \\"2025-12-28T13:59:48+00:00\\",\\n \\"RamRole\\": \\"OOSServiceRole\\",\\n \\"Type\\": \\"WeChat\\",\\n \\"Outputs\\": \\"{\\\\\\"URL\\\\\\": \\\\\\"https://1407907063606569.appflow.aliyunnes\\\\\\", \\\\\\"AesKey\\\\\\": \\\\\\"UKAxyRabaJlaDxS3XZ6st18grPteemRtGeDVVgF\\\\\\"}\\"\\n }\\n ]\\n}","type":"json"}]',
+ ],
+ 'ListDeployRevisions' => [
+ 'summary' => 'Lists the revisions for an application.',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -8710,52 +6217,34 @@
'deprecated' => false,
'systemTags' => [
'operationType' => 'list',
- 'abilityTreeCode' => '93977',
- 'abilityTreeNodes' => [
- 'FEATUREoosP0JPSG',
- ],
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '93972',
+ 'abilityTreeNodes' => ['FEATUREoosXBZWHV'],
+ 'autoTest' => true,
+ 'tenantRelevance' => 'tenant',
],
'parameters' => [
[
- 'name' => 'RegionId',
+ 'name' => 'MaxResults',
'in' => 'query',
- 'schema' => [
- 'description' => 'The ID of the region in which the instance whose patches you want to query resides.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => 'The maximum number of results to return.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10', 'title' => ''],
],
[
- 'name' => 'MaxResults',
+ 'name' => 'NextToken',
'in' => 'query',
- 'schema' => [
- 'description' => 'The number of entries to return on each page.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '50',
- ],
+ 'schema' => ['description' => 'The token to retrieve the next page of results.', 'type' => 'string', 'required' => false, 'example' => 'MTRBMDc0NjAtRUJFNy00N0NBLTk3NTctMTJD**********', 'title' => ''],
],
[
- 'name' => 'NextToken',
+ 'name' => 'ApplicationName',
'in' => 'query',
- 'schema' => [
- 'description' => 'The token that is used to retrieve the next page of results.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => '-',
- ],
+ 'schema' => ['description' => 'The name of the application.', 'type' => 'string', 'required' => false, 'example' => 'AgentColin3', 'title' => ''],
],
[
- 'name' => 'InstanceIds',
+ 'name' => 'RevisionId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The ID of the Elastic Compute Service (ECS) instance. The value can be a JSON array that consists of up to 100 instance IDs. Separate the instance IDs with commas (,).'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => '["i-bp1jaxa2bs4bps7*****", "i-bp67acfmxazb4p****", … "i-bp67acfmxazb4p****"]',
- ],
+ 'allowEmptyValue' => true,
+ 'schema' => ['description' => 'The ID of the revision.', 'type' => 'string', 'required' => false, 'example' => 'rev-64488a5be25c4a5*****'."\n", 'title' => ''],
],
],
'responses' => [
@@ -8763,118 +6252,52 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'NextToken' => [
- 'description' => 'The token that is used to retrieve the next page of results.'."\n",
- 'type' => 'string',
- 'example' => '-',
- ],
- 'RequestId' => [
- 'description' => 'The ID of the request.'."\n",
- 'type' => 'string',
- 'example' => '9A47C086-E64D-52EE-8B2C-EFD23877C55E',
- ],
- 'MaxResults' => [
- 'description' => 'The number of entries returned on each page.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '50',
- ],
- 'InstancePatchStates' => [
- 'description' => 'The details of patches of the instance.'."\n",
+ 'NextToken' => ['description' => 'The token to retrieve the next page of results. This parameter is returned only if the response is truncated.', 'type' => 'string', 'example' => 'AHJKH-AHKJHDJK-AKHDIOWJL', 'title' => ''],
+ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '13B71887-D215-53B5-8818-4D31906*****', 'title' => ''],
+ 'MaxResults' => ['description' => 'The number of entries returned on the current page.', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => ''],
+ 'Revisions' => [
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'MissingCount' => [
- 'description' => 'The number of patches that are not installed.'."\n",
- 'type' => 'string',
- 'example' => '0',
- ],
- 'OperationEndTime' => [
- 'description' => 'The time when the operation ended.'."\n",
- 'type' => 'string',
- 'example' => '2021-09-10T11:42:22Z',
- ],
- 'OwnerInformation' => [
- 'description' => 'The information about the user.'."\n",
- 'type' => 'string',
- 'example' => '“”',
- ],
- 'InstalledOtherCount' => [
- 'description' => 'The number of patches that do not meet the baseline.'."\n",
- 'type' => 'string',
- 'example' => '0',
- ],
- 'InstanceId' => [
- 'description' => 'The ID of the ECS instance.'."\n",
- 'type' => 'string',
- 'example' => 'i-bp1jaxa2bs4bps7*****',
- ],
- 'OperationType' => [
- 'description' => 'The operation type.'."\n",
- 'type' => 'string',
- 'example' => 'scan',
- ],
- 'OperationStartTime' => [
- 'description' => 'The time when the operation was initiated.'."\n",
- 'type' => 'string',
- 'example' => '2021-09-10T11:42:22Z',
- ],
- 'FailedCount' => [
- 'description' => 'The number of patches that failed to be installed.'."\n",
- 'type' => 'string',
- 'example' => '0',
- ],
- 'BaselineId' => [
- 'description' => 'The ID of the patch baseline.'."\n",
- 'type' => 'string',
- 'example' => 'pb-f9393021b7a049e1b34e',
- ],
- 'InstalledPendingRebootCount' => [
- 'description' => 'The number of patches that have been installed but require a restart to take effect.'."\n",
- 'type' => 'string',
- 'example' => '0',
- ],
- 'InstalledRejectedCount' => [
- 'description' => 'The number of patches that are rejected by the user.'."\n",
- 'type' => 'string',
- 'example' => '0',
- ],
- 'PatchGroup' => [
- 'description' => 'The patch group.'."\n",
- 'type' => 'string',
- 'example' => 'null',
- ],
- 'InstalledCount' => [
- 'description' => 'The number of installed patches.'."\n",
- 'type' => 'string',
- 'example' => '0',
- ],
- ],
- 'description' => '',
+ 'Description' => ['description' => 'The description of the revision.', 'type' => 'string', 'example' => '2026-01-05', 'title' => ''],
+ 'ApplicationName' => ['description' => 'The name of the application that the revision belongs to.', 'type' => 'string', 'example' => 'service-d9456e4bf8e74ff*****', 'title' => ''],
+ 'RevisionType' => ['description' => 'The type of the revision.', 'type' => 'string', 'example' => 'Oss', 'title' => ''],
+ 'Hooks' => ['description' => 'The deployment lifecycle hooks.', 'type' => 'string', 'example' => '{"applicationStart": "python3 main.py &", "workingDir": "/root", "applicationStop": "pkill -f main.py 2>/dev/null || true"}', 'title' => ''],
+ 'RevisionId' => ['description' => 'The ID of the revision.', 'type' => 'string', 'example' => 'rev-35bce89a16824f7*****', 'title' => ''],
+ 'Location' => ['description' => 'The storage location of the revision file.', 'type' => 'string', 'example' => '{"bucketName":"ecs-application-ui-test","objectName":"task-cmd-exec.log","regionId":"cn-hangzhou"}', 'title' => ''],
+ 'UpdateDate' => ['description' => 'The time the revision was last updated.', 'type' => 'string', 'example' => '2025-02-25 14:09:41', 'title' => ''],
+ 'CreateDate' => ['description' => 'The time the revision was created.', 'type' => 'string', 'example' => '2025-02-25 14:09:41', 'title' => ''],
+ 'DeployResourceType' => ['description' => 'The cloud resource type of the deployment target.', 'type' => 'string', 'example' => 'Ecs', 'title' => ''],
+ ],
+ 'description' => 'Details about a revision.',
+ 'title' => '',
+ 'example' => '',
],
+ 'description' => 'A list of revisions for the application.',
+ 'title' => '',
+ 'example' => '',
],
],
'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"NextToken\\": \\"-\\",\\n \\"RequestId\\": \\"9A47C086-E64D-52EE-8B2C-EFD23877C55E\\",\\n \\"MaxResults\\": 50,\\n \\"InstancePatchStates\\": [\\n {\\n \\"MissingCount\\": \\"0\\",\\n \\"OperationEndTime\\": \\"2021-09-10T11:42:22Z\\",\\n \\"OwnerInformation\\": \\"“”\\",\\n \\"InstalledOtherCount\\": \\"0\\",\\n \\"InstanceId\\": \\"i-bp1jaxa2bs4bps7*****\\",\\n \\"OperationType\\": \\"scan\\",\\n \\"OperationStartTime\\": \\"2021-09-10T11:42:22Z\\",\\n \\"FailedCount\\": \\"0\\",\\n \\"BaselineId\\": \\"pb-f9393021b7a049e1b34e\\",\\n \\"InstalledPendingRebootCount\\": \\"0\\",\\n \\"InstalledRejectedCount\\": \\"0\\",\\n \\"PatchGroup\\": \\"null\\",\\n \\"InstalledCount\\": \\"0\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<RequestId>9A47C086-E64D-52EE-8B2C-EFD23877C55E</RequestId>\\n<MaxResults>50</MaxResults>\\n<InstancePatchStates>\\n <BaselineId>pb-f9393021b7a049e1b34e</BaselineId>\\n <MissingCount>0</MissingCount>\\n <OperationStartTime>2021-09-10T11:42:22Z</OperationStartTime>\\n <InstanceId>i-bp1jaxa2bs4bps7dgs7v</InstanceId>\\n <InstalledOtherCount>0</InstalledOtherCount>\\n <OperationEndTime>2021-09-10T11:42:22Z</OperationEndTime>\\n <FailedCount>0</FailedCount>\\n <OperationType>scan</OperationType>\\n <InstalledCount>0</InstalledCount>\\n <PatchGroup>null</PatchGroup>\\n <OwnerInformation/>\\n <InstalledPendingRebootCount>0</InstalledPendingRebootCount>\\n <InstalledRejectedCount>0</InstalledRejectedCount>\\n</InstancePatchStates>","errorExample":""}]',
- 'title' => 'ListInstancePatchStates',
- 'requestParamsDescription' => ' ',
- 'responseParamsDescription' => ' ',
- 'extraInfo' => ' ',
- ],
- 'ListInstancePatches' => [
- 'summary' => 'Queries the patches of an instance.',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => 'ListDeployRevisions',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
],
+ 'ramActions' => [],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"NextToken\\": \\"AHJKH-AHKJHDJK-AKHDIOWJL\\",\\n \\"RequestId\\": \\"13B71887-D215-53B5-8818-4D31906*****\\",\\n \\"MaxResults\\": 10,\\n \\"Revisions\\": [\\n {\\n \\"Description\\": \\"2026-01-05\\",\\n \\"ApplicationName\\": \\"service-d9456e4bf8e74ff*****\\",\\n \\"RevisionType\\": \\"Oss\\",\\n \\"Hooks\\": \\"{\\\\\\"applicationStart\\\\\\": \\\\\\"python3 main.py &\\\\\\", \\\\\\"workingDir\\\\\\": \\\\\\"/root\\\\\\", \\\\\\"applicationStop\\\\\\": \\\\\\"pkill -f main.py 2>/dev/null || true\\\\\\"}\\",\\n \\"RevisionId\\": \\"rev-35bce89a16824f7*****\\",\\n \\"Location\\": \\"{\\\\\\"bucketName\\\\\\":\\\\\\"ecs-application-ui-test\\\\\\",\\\\\\"objectName\\\\\\":\\\\\\"task-cmd-exec.log\\\\\\",\\\\\\"regionId\\\\\\":\\\\\\"cn-hangzhou\\\\\\"}\\",\\n \\"UpdateDate\\": \\"2025-02-25 14:09:41\\",\\n \\"CreateDate\\": \\"2025-02-25 14:09:41\\",\\n \\"DeployResourceType\\": \\"Ecs\\"\\n }\\n ]\\n}","type":"json"}]',
+ ],
+ 'ListExecutionLogs' => [
+ 'summary' => 'Returns the logs for an execution.',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -8883,63 +6306,47 @@
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'list',
- 'abilityTreeCode' => '93976',
- 'abilityTreeNodes' => [
- 'FEATUREoosP0JPSG',
- ],
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '93973',
+ 'abilityTreeNodes' => ['FEATUREoosQL14T7'],
],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The ID of the region in which the instance whose patches you want to query resides.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => 'The ID of the region.', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''],
],
[
- 'name' => 'InstanceId',
+ 'name' => 'ExecutionId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The ID of the instance.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'i-bp1jaxa2bs4bps7*****',
- ],
+ 'schema' => ['description' => 'The ID of the execution.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'exec-xxx', 'title' => ''],
+ ],
+ [
+ 'name' => 'TaskExecutionId',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The ID of the task execution.', 'type' => 'string', 'required' => false, 'example' => 'exec-1234567zxcvb.t0010', 'title' => ''],
+ ],
+ [
+ 'name' => 'LogType',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The log type.', 'type' => 'string', 'required' => false, 'example' => 'System', 'title' => ''],
],
[
'name' => 'MaxResults',
'in' => 'query',
- 'schema' => [
- 'description' => 'The number of entries to return on each page.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '50',
- ],
+ 'schema' => ['description' => 'The maximum number of execution logs to return per page.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '50', 'title' => ''],
],
[
'name' => 'NextToken',
'in' => 'query',
- 'schema' => [
- 'description' => 'The token that is used to retrieve the next page of results.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'gAAAAABfTgv5ewUWmNdJ3g7JVLvX70sPH90GZOVGC6KPDUL0FIIb',
- ],
+ 'schema' => ['description' => 'The pagination token to retrieve the next page of results.', 'type' => 'string', 'required' => false, 'example' => 'MTRBMDc0NjAtRUJFNy00N0NBLTk3NTctMTJDQzQ3NjFENDdB', 'title' => ''],
],
[
- 'name' => 'PatchStatuses',
+ 'name' => 'AccountId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The status of the patches that you want to query. If you do not set this parameter, patches are not filtered.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'Installed',
- ],
+ 'schema' => ['type' => 'string', 'example' => '123456789', 'description' => '', 'title' => ''],
],
],
'responses' => [
@@ -8947,213 +6354,91 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'NextToken' => [
- 'description' => 'The token that is used to retrieve the next page of results.'."\n",
- 'type' => 'string',
- 'example' => '-',
- ],
- 'RequestId' => [
- 'description' => 'The ID of the request.'."\n",
- 'type' => 'string',
- 'example' => '0A615755-9C86-5EA6-BF9E-6E8F1AFF9403',
- ],
- 'MaxResults' => [
- 'description' => 'The number of entries returned on each page.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '50',
- ],
- 'Patches' => [
- 'description' => 'The information about the patch.'."\n",
+ 'NextToken' => ['description' => 'The pagination token to retrieve the next page of results. This parameter is omitted when no more results are available.', 'type' => 'string', 'example' => 'gAAAAABdpsGWjX8dJ-a6dl_pvoS7AFxNHSNJKHLCAJ:J0ylgA53nWW5V4HTEZKCYTaEPNOrxFir4z43UTOjE150cFr8AGTifA==', 'title' => ''],
+ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '14A07460-EBE7-47CA-9757-12CC4761D47A', 'title' => ''],
+ 'IsTruncated' => ['description' => 'Indicates whether the results are truncated. A value of `true` indicates that not all results are returned.', 'type' => 'boolean', 'example' => 'true', 'title' => ''],
+ 'MaxResults' => ['description' => 'The maximum number of execution logs to return per page.', 'type' => 'integer', 'format' => 'int32', 'example' => '50', 'title' => ''],
+ 'ExecutionLogs' => [
+ 'description' => 'The list of execution logs.',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'Severity' => [
- 'description' => 'The level of the severity.'."\n",
- 'type' => 'string',
- 'example' => 'important',
- ],
- 'Status' => [
- 'description' => 'The status of the installation.'."\n",
- 'type' => 'string',
- 'example' => 'Installed',
- ],
- 'InstalledTime' => [
- 'description' => 'The time when the patch was installed.'."\n",
- 'type' => 'string',
- 'example' => '2021-01-28T07:07:20Z',
- ],
- 'KBId' => [
- 'description' => 'The Id of KBId.',
- 'type' => 'string',
- 'example' => 'apt-utils.amd64',
- ],
- 'Title' => [
- 'description' => 'The name of the patch.'."\n",
- 'type' => 'string',
- 'example' => 'isc-dhcp-common.amd64:4.3.5-3ubuntu7.3',
- ],
- 'Classification' => [
- 'description' => 'The classification of the patch.'."\n",
- 'type' => 'string',
- 'example' => '“”',
- ],
+ 'TaskExecutionId' => ['description' => 'The ID of the task execution.', 'type' => 'string', 'example' => 'exec-1234567zxcvb.t0010', 'title' => ''],
+ 'Message' => ['description' => 'The log message.', 'type' => 'string', 'example' => 'The task CheckDiskCategory completed.', 'title' => ''],
+ 'LogType' => ['description' => 'The log type.', 'type' => 'string', 'example' => ' System', 'title' => ''],
+ 'Timestamp' => ['description' => 'The timestamp of the log entry.', 'type' => 'string', 'example' => '2019-05-24T:02:29:07Z', 'title' => ''],
],
'description' => '',
+ 'title' => '',
+ 'example' => '',
],
+ 'title' => '',
+ 'example' => '',
],
],
'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"NextToken\\": \\"-\\",\\n \\"RequestId\\": \\"0A615755-9C86-5EA6-BF9E-6E8F1AFF9403\\",\\n \\"MaxResults\\": 50,\\n \\"Patches\\": [\\n {\\n \\"Severity\\": \\"important\\",\\n \\"Status\\": \\"Installed\\",\\n \\"InstalledTime\\": \\"2021-01-28T07:07:20Z\\",\\n \\"KBId\\": \\"apt-utils.amd64\\",\\n \\"Title\\": \\"isc-dhcp-common.amd64:4.3.5-3ubuntu7.3\\",\\n \\"Classification\\": \\"“”\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<NextToken>gAAAAABhRD9bBho0d6-YdrQgww0bsuOJZ9JeEK4v022ZMvgEog5FJW9mMYPZkeSglRrN2IxXWjADx8gefw9sQJ5sL2d3R4IxztxS_rhBftY2317dkOtX0UE3IFIBguQxdYuisDZ52Ycbj-ocjgOG_wrpK-kEO3w64UarmmZX2WrJXRo6yywR2HtfmoaD4qCTiVUtv5Vp_codHcVOLa4m4WrDWnGDrD2srA==</NextToken>\\n<RequestId>0A615755-9C86-5EA6-BF9E-6E8F1AFF9403</RequestId>\\n<MaxResults>50</MaxResults>\\n<Patches>\\n <Status>Installed</Status>\\n <KBId>apt-utils.amd64</KBId>\\n <InstalledTime>2021-01-28T07:07:20Z</InstalledTime>\\n <Classification/>\\n <Title>apt-utils.amd64:1.6.12ubuntu0.2</Title>\\n <Severity>important</Severity>\\n</Patches>\\n<Patches>\\n <Status>Installed</Status>\\n <KBId>apt.amd64</KBId>\\n <InstalledTime>2021-01-28T07:07:20Z</InstalledTime>\\n <Classification/>\\n <Title>apt.amd64:1.6.12ubuntu0.2</Title>\\n <Severity>important</Severity>\\n</Patches>\\n<Patches>\\n <Status>Installed</Status>\\n <KBId>bsdutils.amd64</KBId>\\n <InstalledTime>2021-01-28T07:07:12Z</InstalledTime>\\n <Classification/>\\n <Title>bsdutils.amd64:1:2.31.1-0.4ubuntu3.7</Title>\\n <Severity>required</Severity>\\n</Patches>\\n<Patches>\\n <Status>Installed</Status>\\n <KBId>busybox-initramfs.amd64</KBId>\\n <InstalledTime>2021-01-28T07:07:18Z</InstalledTime>\\n <Classification/>\\n <Title>busybox-initramfs.amd64:1:1.27.2-2ubuntu3.3</Title>\\n <Severity>important</Severity>\\n</Patches>\\n<Patches>\\n <Status>Installed</Status>\\n <KBId>bzip2.amd64</KBId>\\n <InstalledTime>2019-08-05T18:30:59Z</InstalledTime>\\n <Classification/>\\n <Title>bzip2.amd64:1.0.6-8.1ubuntu0.2</Title>\\n <Severity>important</Severity>\\n</Patches>\\n<Patches>\\n <Status>Installed</Status>\\n <KBId>ca-certificates.amd64</KBId>\\n <InstalledTime>2021-09-17T06:59:25Z</InstalledTime>\\n <Classification/>\\n <Title>ca-certificates.amd64:20210119~18.04.1</Title>\\n <Severity>important</Severity>\\n</Patches>\\n<Patches>\\n <Status>Installed</Status>\\n <KBId>cpio.amd64</KBId>\\n <InstalledTime>2021-09-17T06:59:25Z</InstalledTime>\\n <Classification/>\\n <Title>cpio.amd64:2.12+dfsg-6ubuntu0.18.04.4</Title>\\n <Severity>important</Severity>\\n</Patches>\\n<Patches>\\n <Status>Installed</Status>\\n <KBId>dbus.amd64</KBId>\\n <InstalledTime>2021-01-28T07:07:15Z</InstalledTime>\\n <Classification/>\\n <Title>dbus.amd64:1.12.2-1ubuntu1.2</Title>\\n <Severity>important</Severity>\\n</Patches>\\n<Patches>\\n <Status>Installed</Status>\\n <KBId>distro-info-data.amd64</KBId>\\n <InstalledTime>2021-09-17T06:59:25Z</InstalledTime>\\n <Classification/>\\n <Title>distro-info-data.amd64:0.37ubuntu0.11</Title>\\n <Severity>important</Severity>\\n</Patches>","errorExample":""}]',
- 'title' => 'ListInstancePatches',
+ 'title' => 'ListExecutionLogs',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'ListInventoryEntries' => [
- 'summary' => 'Queries the configurations of an Elastic Compute Service (ECS) instance.',
- 'methods' => [
- 'post',
- 'get',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListExecutionLogs'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'oos:ListExecutionLogs',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [
+ ['conditionKey' => 'oos:tag', 'validationType' => 'always'],
+ ['conditionKey' => 'oos:TLSVersion'],
+ ],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'OOS', 'resourceType' => 'execution', 'arn' => 'acs:oos:{#regionId}:{#accountId}:execution/{#executionId}'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"NextToken\\": \\"gAAAAABdpsGWjX8dJ-a6dl_pvoS7AFxNHSNJKHLCAJ:J0ylgA53nWW5V4HTEZKCYTaEPNOrxFir4z43UTOjE150cFr8AGTifA==\\",\\n \\"RequestId\\": \\"14A07460-EBE7-47CA-9757-12CC4761D47A\\",\\n \\"IsTruncated\\": true,\\n \\"MaxResults\\": 50,\\n \\"ExecutionLogs\\": [\\n {\\n \\"TaskExecutionId\\": \\"exec-1234567zxcvb.t0010\\",\\n \\"Message\\": \\"The task CheckDiskCategory completed.\\",\\n \\"LogType\\": \\" System\\",\\n \\"Timestamp\\": \\"2019-05-24T:02:29:07Z\\"\\n }\\n ]\\n}","type":"json"}]',
+ ],
+ 'ListExecutionRiskyTasks' => [
+ 'summary' => 'Lists the high-risk tasks in a template.',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
- 'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeCode' => '93979',
- 'abilityTreeNodes' => [
- 'FEATUREoosNNSDK6',
- ],
+ 'abilityTreeCode' => '93974',
+ 'abilityTreeNodes' => ['FEATUREoosQL14T7'],
'tenantRelevance' => 'publicInformation',
],
'parameters' => [
[
- 'name' => 'InstanceId',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The ID of the instance.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'i-bp1cpoxxxwxxxxxxxxxx',
- ],
- ],
- [
- 'name' => 'TypeName',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The name of the component. Valid values:'."\n"
- ."\n"
- .'* ACS:InstanceInformation'."\n"
- .'* ACS:Application'."\n"
- .'* ACS:File'."\n"
- .'* ACS:Network'."\n"
- .'* ACS:WindowsRole'."\n"
- .'* ACS:Service'."\n"
- .'* ACS:WindowsRegistry'."\n"
- .'* ACS:WindowsUpdate'."\n",
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'ACS:InstanceInformation',
- ],
- ],
- [
- 'name' => 'MaxResults',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The number of entries per page. Valid values: 1 to 100. Default value: 50.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'maximum' => '100',
- 'minimum' => '1',
- 'example' => '50',
- 'default' => '50',
- ],
- ],
- [
- '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.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'MTRBMDc0NjAtRUJFNy00N0NBLTk3NTctMTJDQzA',
- ],
- ],
- [
- 'name' => 'Filter',
+ 'name' => 'RegionId',
'in' => 'query',
- 'style' => 'repeatList',
- 'schema' => [
- 'description' => 'The filter rules for the component.'."\n",
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'Value' => [
- 'description' => 'The values of properties. Valid values of the first N: 1 to 5. Valid values of the second N: 1 to 20.'."\n",
- 'type' => 'array',
- 'items' => [
- 'description' => 'The value of the component property.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'ubuntu',
- ],
- 'required' => false,
- 'example' => 'test',
- 'maxItems' => 20,
- ],
- 'Operator' => [
- 'description' => 'The comparison operator that is used to filter property values. Valid values of N: 1 to 5. Valid values:'."\n"
- ."\n"
- .'* Equal'."\n"
- .'* NotEqual'."\n"
- .'* BeginWith'."\n"
- .'* LessThan'."\n"
- .'* GreaterThan'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'Equal',
- ],
- 'Name' => [
- 'description' => 'The name of the component property. Valid values of N: 1 to 5.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'PlatformName',
- ],
- ],
- 'required' => false,
- ],
- 'required' => false,
- 'maxItems' => 5,
- ],
+ 'schema' => ['description' => 'The region ID.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'cn-hangzhou'],
],
[
- 'name' => 'RegionId',
+ 'name' => 'TemplateName',
'in' => 'query',
- 'schema' => [
- 'description' => 'The ID of the region in which the instance resides.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => 'The name of the template.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'title' => '', 'example' => 'myTemplate'],
],
],
'responses' => [
@@ -9161,71 +6446,75 @@
'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' => 'gAAAAABfTgv5ewUWmNdJ3g7JVLvX70sPH90GZOVGC',
- ],
- 'RequestId' => [
- 'description' => 'The ID of the request.'."\n",
- 'type' => 'string',
- 'example' => 'A81E4B2E-6B33-4BAE-9856-55DB7C893E01',
- ],
- 'SchemaVersion' => [
- 'description' => 'The version number of the component.'."\n",
- 'type' => 'string',
- 'example' => '1.0',
- ],
- 'MaxResults' => [
- 'description' => 'The number of entries returned per page.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '50',
- ],
- 'CaptureTime' => [
- 'description' => 'The time when the request was sent.'."\n",
- 'type' => 'string',
- 'example' => '2020-09-17T12:28:13Z',
- ],
- 'TypeName' => [
- 'description' => 'The name of the component.'."\n",
- 'type' => 'string',
- 'example' => 'ACS:InstanceInformation',
- ],
- 'InstanceId' => [
- 'description' => 'The ID of the ECS instance.'."\n",
- 'type' => 'string',
- 'example' => 'i-bp1cpoxxxwxxxxxxxxxx',
- ],
- 'Entries' => [
- 'description' => 'The configurations of the component.'."\n",
+ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => 'C04B668D-D2DD-4B40-B6E9-0E3C4F53D5B5'],
+ 'RiskyTasks' => [
+ 'description' => 'The high-risk tasks.',
'type' => 'array',
'items' => [
- 'description' => 'The detailed configurations of the component.'."\n",
'type' => 'object',
- 'example' => '{ "RequestId": "1DF96445-5E18-4524-A4AE-3A218D0C345A", "Entries": [ { "PlatformName": "ubuntu", "PlatformVersion": "20.04", "Status": "Running", "InstanceId": "i-bp1cpoxxxwxxxxxxxxxx", "AgentVersion": "v1.5", "ComputerName": "i-bp1cpoxxxwxxxxxxxxxx", "IpAddress": "192.000.00.000", "AgentName": "oosutil", "PlatformType": "linux" } ]}',
+ 'properties' => [
+ 'Service' => ['description' => 'The cloud service to which the high-risk API operation belongs.', 'type' => 'string', 'title' => '', 'example' => 'ECS'],
+ 'API' => ['description' => 'The name of the high-risk API operation.', 'type' => 'string', 'title' => '', 'example' => 'DeleteInstance'],
+ 'Task' => [
+ 'description' => 'The list of tasks that contain the high-risk API operation.',
+ 'type' => 'array',
+ 'items' => ['description' => 'The task that contains the high-risk API operation.', 'type' => 'string', 'title' => '', 'example' => 'parenttask1'],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'Template' => [
+ 'description' => 'The list of templates that contain the high-risk task.',
+ 'type' => 'array',
+ 'items' => ['description' => 'The template that contains the high-risk task.', 'type' => 'string', 'title' => '', 'example' => 'deleteInstanceTask1'],
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
+ 'title' => '',
+ 'example' => '',
],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"NextToken\\": \\"gAAAAABfTgv5ewUWmNdJ3g7JVLvX70sPH90GZOVGC\\",\\n \\"RequestId\\": \\"A81E4B2E-6B33-4BAE-9856-55DB7C893E01\\",\\n \\"SchemaVersion\\": \\"1.0\\",\\n \\"MaxResults\\": 50,\\n \\"CaptureTime\\": \\"2020-09-17T12:28:13Z\\",\\n \\"TypeName\\": \\"ACS:InstanceInformation\\",\\n \\"InstanceId\\": \\"i-bp1cpoxxxwxxxxxxxxxx\\",\\n \\"Entries\\": [\\n {\\n \\"RequestId\\": \\"1DF96445-5E18-4524-A4AE-3A218D0C345A\\",\\n \\"Entries\\": [\\n {\\n \\"PlatformName\\": \\"ubuntu\\",\\n \\"PlatformVersion\\": \\"20.04\\",\\n \\"Status\\": \\"Running\\",\\n \\"InstanceId\\": \\"i-bp1cpoxxxwxxxxxxxxxx\\",\\n \\"AgentVersion\\": \\"v1.5\\",\\n \\"ComputerName\\": \\"i-bp1cpoxxxwxxxxxxxxxx\\",\\n \\"IpAddress\\": \\"192.000.00.000\\",\\n \\"AgentName\\": \\"oosutil\\",\\n \\"PlatformType\\": \\"linux\\"\\n }\\n ]\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<TypeName>ACS:InstanceInformation</TypeName>\\n<CaptureTime>2020-09-17T12:28:13Z</CaptureTime>\\n<RequestId>F2727F63-CDC5-45A1-995E-4F1127E001CE</RequestId>\\n<SchemaVersion>1.0</SchemaVersion>\\n<InstanceId>i-bp1cpoxxxwxxxxxxxxxx</InstanceId>\\n<MaxResults>50</MaxResults>\\n<Entries>\\n <PlatformName>centos</PlatformName>\\n <PlatformVersion>8.2.2004</PlatformVersion>\\n <Status>Running</Status>\\n <InstanceId>i-bp1cpoxxxwxxxxxxxxxx</InstanceId>\\n <AgentVersion>v1.0.4</AgentVersion>\\n <ComputerName>i-bp1cpoxxxwxxxxxxxxxx</ComputerName>\\n <IpAddress>192.168.00.000</IpAddress>\\n <AgentName>oosutil</AgentName>\\n <PlatformType>linux</PlatformType>\\n</Entries>","errorExample":""}]',
- 'title' => 'ListInventoryEntries',
+ 'title' => 'ListExecutionRiskyTasks',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'GetInventorySchema' => [
- 'summary' => 'Queries the properties of a configuration list.',
- 'methods' => [
- 'post',
- 'get',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListExecutionRiskyTasks'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'oos:ListExecutionRiskyTasks',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [
+ ['conditionKey' => 'oos:tag', 'validationType' => 'always'],
+ ['conditionKey' => 'oos:TLSVersion'],
+ ],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'OOS', 'resourceType' => 'template', 'arn' => 'acs:oos:{#regionId}:{#accountId}:template/{#templateName}'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"C04B668D-D2DD-4B40-B6E9-0E3C4F53D5B5\\",\\n \\"RiskyTasks\\": [\\n {\\n \\"Service\\": \\"ECS\\",\\n \\"API\\": \\"DeleteInstance\\",\\n \\"Task\\": [\\n \\"parenttask1\\"\\n ],\\n \\"Template\\": [\\n \\"deleteInstanceTask1\\"\\n ]\\n }\\n ]\\n}","type":"json"}]',
+ ],
+ 'ListExecutions' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -9234,164 +6523,292 @@
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'get',
+ 'operationType' => 'list',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeCode' => '93960',
- 'abilityTreeNodes' => [
- 'FEATUREoosNNSDK6',
- ],
- 'tenantRelevance' => 'publicInformation',
+ 'abilityTreeCode' => '93975',
+ 'abilityTreeNodes' => ['FEATUREoosQL14T7'],
],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The region ID.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => 'The ID of the region.', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''],
],
[
- 'name' => 'Aggregator',
+ 'name' => 'TemplateName',
'in' => 'query',
- 'schema' => [
- 'description' => 'Specifies whether to return only properties that support the aggregate feature in the configuration list. Valid values:'."\n"
- ."\n"
- .'* true: only returns properties that support the aggregate feature in the configuration list.'."\n"
- .'* false: returns all properties in the configuration list.'."\n",
- 'type' => 'boolean',
- 'required' => false,
- 'docRequired' => false,
- 'example' => 'false',
- ],
+ 'schema' => ['description' => 'The name of the template. This parameter supports fuzzy search. The operation returns executions of templates whose names contain the value you specify.', 'type' => 'string', 'required' => false, 'example' => 'MyTemplate', 'title' => ''],
],
[
- 'name' => 'TypeName',
+ 'name' => 'Status',
'in' => 'query',
- 'schema' => [
- 'description' => 'The configuration list type name. Valid values:'."\n"
- ."\n"
- .'* ACS:InstanceInformation'."\n"
- .'* ACS:Application'."\n"
- .'* ACS:File'."\n"
- .'* ACS:Network'."\n"
- .'* ACS:WindowsRole'."\n"
- .'* ACS:Service'."\n"
- .'* ACS:WindowsUpdate'."\n"
- .'* ACS:WindowsRegistry'."\n",
- 'type' => 'string',
- 'required' => false,
- 'docRequired' => false,
- 'example' => 'ACS:Application',
- ],
+ 'schema' => ['description' => 'The status of the execution. Valid values: `Running`, `Started`, `Success`, `Failed`, `Waiting`, `Cancelled`, `Pending`, and `Skipped`.', 'type' => 'string', 'required' => false, 'example' => 'Running', 'title' => ''],
+ ],
+ [
+ 'name' => 'ExecutionId',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The ID of the execution.', 'type' => 'string', 'required' => false, 'example' => 'exec-xxx', 'title' => ''],
+ ],
+ [
+ 'name' => 'StartDateBefore',
+ 'in' => 'query',
+ 'schema' => ['description' => 'Specifies a filter to return only executions that started at or before this time.', 'type' => 'string', 'required' => false, 'example' => '2019-05-16T10:26:14Z', 'title' => ''],
+ ],
+ [
+ 'name' => 'StartDateAfter',
+ 'in' => 'query',
+ 'schema' => ['description' => 'Specifies a filter to return only executions that started at or after this time.', 'type' => 'string', 'required' => false, 'example' => '2019-05-16T10:26:14Z', 'title' => ''],
+ ],
+ [
+ 'name' => 'EndDateBefore',
+ 'in' => 'query',
+ 'schema' => ['description' => 'Specifies a filter to return only executions that ended at or before this time.', 'type' => 'string', 'required' => false, 'example' => '2019-05-16T10:26:14Z', 'title' => ''],
+ ],
+ [
+ 'name' => 'EndDateAfter',
+ 'in' => 'query',
+ 'schema' => ['description' => 'Specifies a filter to return only executions that ended at or after this time.', 'type' => 'string', 'required' => false, 'example' => '2019-05-16T10:26:14Z', 'title' => ''],
+ ],
+ [
+ 'name' => 'Mode',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The execution mode. Valid values:'."\n"
+ ."\n"
+ .'- **Automatic**'."\n"
+ ."\n"
+ .'- **Debug**', 'type' => 'string', 'required' => false, 'example' => 'Automatic', 'title' => ''],
+ ],
+ [
+ 'name' => 'ExecutedBy',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The user who started the execution.', 'type' => 'string', 'required' => false, 'example' => 'vme', 'title' => ''],
+ ],
+ [
+ 'name' => 'ParentExecutionId',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The ID of the parent execution.', 'type' => 'string', 'required' => false, 'example' => 'exec-xxx', 'title' => ''],
+ ],
+ [
+ 'name' => 'RamRole',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The RAM role.', 'type' => 'string', 'required' => false, 'example' => 'OOSServiceRole', 'title' => ''],
+ ],
+ [
+ 'name' => 'IncludeChildExecution',
+ 'in' => 'query',
+ 'schema' => ['description' => 'Specifies whether to include child executions in the results. The default is False.', 'type' => 'boolean', 'required' => false, 'example' => 'true', 'title' => ''],
+ ],
+ [
+ 'name' => 'Category',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The category of the template. Valid values: `Other`, `TimerTrigger`, `EventTrigger`, and `AlarmTrigger`.', 'type' => 'string', 'required' => false, 'example' => 'Other', 'title' => ''],
+ ],
+ [
+ 'name' => 'Tags',
+ 'in' => 'query',
+ 'style' => 'json',
+ 'schema' => ['description' => 'The tags attached to the execution.', 'type' => 'object', 'required' => false, 'example' => '{'."\n"
+ .' "k1": "v1",'."\n"
+ .' "k2": "v2"'."\n"
+ .'}', 'title' => ''],
],
[
'name' => 'MaxResults',
'in' => 'query',
- 'schema' => [
- 'description' => 'The number of entries per page. Valid values: 1 to 100. Default value: 50.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'maximum' => '100',
- 'minimum' => '1',
- 'example' => '50',
- 'default' => '50',
- ],
+ 'schema' => ['description' => 'The number of entries to return on each page. Valid values: 10 to 100. The default is 50.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '50', 'title' => ''],
],
[
'name' => 'NextToken',
'in' => 'query',
+ 'schema' => ['description' => 'The pagination token returned from a previous call that you can use to retrieve the next page of results.', 'type' => 'string', 'required' => false, 'example' => 'MTRBMDc0NjAtRUJFNy00N0NBLTk3NTctMTJDQzQ', 'title' => ''],
+ ],
+ [
+ 'name' => 'SortField',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The field to use for sorting the returned executions. Valid values:'."\n"
+ ."\n"
+ .'- **StartDate** (default): the time when the execution was created'."\n"
+ ."\n"
+ .'- **EndDate**: the end time of the execution'."\n"
+ ."\n"
+ .'- **Status**: the status of the execution', 'type' => 'string', 'required' => false, 'example' => 'StartDate', 'title' => ''],
+ ],
+ [
+ 'name' => 'SortOrder',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The sort order. Valid values:'."\n"
+ ."\n"
+ .'- **Ascending**: ascending order'."\n"
+ ."\n"
+ .'- **Descending** (default): descending order', 'type' => 'string', 'required' => false, 'example' => 'Ascending', 'title' => ''],
+ ],
+ [
+ 'name' => 'ResourceId',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The ID of the ECS resource.', 'type' => 'string', 'required' => false, 'example' => 'i-xxx', 'title' => ''],
+ ],
+ [
+ 'name' => 'ResourceTemplateName',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The name of the resource\'s template.', 'type' => 'string', 'required' => false, 'example' => 'ACS-ECS-TEST', 'title' => ''],
+ ],
+ [
+ 'name' => 'ResourceGroupId',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The ID of the resource group.', 'type' => 'string', 'required' => false, 'example' => 'rg-acfmxsn4m4******', 'title' => ''],
+ ],
+ [
+ 'name' => 'Description',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The description of the execution.', 'type' => 'string', 'required' => false, 'example' => 'MyDescription', 'title' => ''],
+ ],
+ [
+ 'name' => 'Depth',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The level of execution data to return. Valid values: `RootDepth` and `FirstChildDepth`. `RootDepth` returns only parent executions. `FirstChildDepth` returns only first-level child executions. You can specify either this parameter or `IncludeChildExecution`, but not both. We recommend that you use `Depth`.', 'type' => 'string', 'required' => false, 'example' => 'RootDepth', 'title' => ''],
+ ],
+ [
+ 'name' => 'Categories',
+ 'in' => 'query',
+ 'schema' => ['description' => 'A list of template categories. Valid values: `Other`, `TimerTrigger`, `EventTrigger`, and `AlarmTrigger`. You can specify either this parameter or `Category`, but not both. We recommend that you use `Categories`.', 'type' => 'string', 'required' => false, 'example' => '["TimerTrigger"、"EventTrigger"]', 'title' => ''],
+ ],
+ [
+ 'name' => 'RdFolderIds',
+ 'in' => 'query',
+ 'style' => 'json',
'schema' => [
- 'description' => 'A pagination token. It can be used in the next request to retrieve a new page of results.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'gAAAAABfh8MVLQI9AuKGACLgjbsXbWs-Mna47IDM6tr6wK7TZ1',
+ 'type' => 'array',
+ 'items' => ['description' => 'The ID of a folder in Resource Directory.', 'type' => 'string', 'example' => 'rd-xxx', 'title' => ''],
+ 'description' => 'The IDs of folders in Resource Directory. Use this parameter to query executions within specific folders.',
+ 'title' => '',
+ 'example' => '',
],
],
+ [
+ 'name' => 'AccountId',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'example' => '123456789', 'description' => '', 'title' => ''],
+ ],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
- 'NextToken' => [
- 'description' => 'The pagination token that was used in the next request to retrieve a new page of results.'."\n",
- 'type' => 'string',
- 'example' => 'gAAAAABfh8MVLQI9AuKGACLgjbsXbWs-Mna47IDM6tr6wK7TZ1',
- ],
- 'RequestId' => [
- 'description' => 'The request ID.'."\n",
- 'type' => 'string',
- 'example' => '89117642-7167-4F4D-B7F1-876582279E3E',
- ],
- 'MaxResults' => [
- 'description' => 'The number of entries per page.'."\n",
- 'type' => 'string',
- 'example' => '1',
- ],
- 'Schemas' => [
- 'description' => 'The detailed configurations of the configuration list.'."\n",
+ 'NextToken' => ['description' => 'The token to retrieve the next page of results.', 'type' => 'string', 'example' => 'MTRBMDc0NjAtRUJFNy00N0NBLTk3NTctMTJDQzQ', 'title' => ''],
+ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '14A074-47CA-9757-12CC4761D47A', 'title' => ''],
+ 'MaxResults' => ['description' => 'The number of entries returned per page.', 'type' => 'integer', 'format' => 'int32', 'example' => '50', 'title' => ''],
+ 'Executions' => [
+ 'description' => 'The list of executions.',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'Version' => [
- 'description' => 'The version of the configuration list.'."\n",
- 'type' => 'string',
- 'example' => '1.0',
- ],
- 'TypeName' => [
- 'description' => 'The name of the configuration list.'."\n",
- 'type' => 'string',
- 'example' => 'ACS:Application',
- ],
- 'Attributes' => [
- 'description' => 'The properties of the configuration list.'."\n",
+ 'Status' => ['description' => 'The status of the execution. Valid values: Started, Queued, Running, Waiting, Success, Failed, and Cancelled.', 'type' => 'string', 'example' => 'Success', 'title' => ''],
+ 'WaitingStatus' => ['description' => 'The waiting status of the execution.', 'type' => 'string', 'example' => '""', 'title' => ''],
+ 'Targets' => ['description' => 'The execution\'s target resources.', 'type' => 'string', 'example' => '"{"ResourceType": "ALIYUN::ECS::Instance", "Filters": [{"ResourceIds": ["i-bp14z07dg3464980x72o"], "RegionId": "cn-hangzhou", "Type": "ResourceIds"}]}"', 'title' => ''],
+ 'StatusReason' => ['description' => 'The reason for the current status.', 'type' => 'string', 'example' => '""', 'title' => ''],
+ 'Tags' => ['description' => 'The execution\'s tags.', 'type' => 'object', 'example' => '{}', 'title' => ''],
+ 'LastSuccessfulTriggerTime' => ['description' => 'The last time the template was successfully triggered.', 'type' => 'string', 'example' => '2019-05-27T09:29:18Z', 'title' => ''],
+ 'Mode' => ['description' => 'The execution mode.', 'type' => 'string', 'example' => 'Automatic', 'title' => ''],
+ 'SafetyCheck' => ['description' => 'The safety check mode. Valid values: Skip and ConfirmEveryHighRiskAction.', 'type' => 'string', 'example' => 'Skip', 'title' => ''],
+ 'TemplateName' => ['description' => 'The name of the template.', 'type' => 'string', 'example' => 'MyTemplate', 'title' => ''],
+ 'TemplateVersion' => ['description' => 'The version of the template.', 'type' => 'string', 'example' => 'v1', 'title' => ''],
+ 'CreateDate' => ['description' => 'The time the execution was created.', 'type' => 'string', 'example' => '2019-05-16T10:26:14Z', 'title' => ''],
+ 'UpdateDate' => ['description' => 'The time the execution was last updated.', 'type' => 'string', 'example' => '2019-05-16T10:26:14Z', 'title' => ''],
+ 'Description' => ['description' => 'The execution\'s description.', 'type' => 'string', 'example' => 'MyDescription', 'title' => ''],
+ 'LastTriggerTime' => ['description' => 'The last time the template was triggered.', 'type' => 'string', 'example' => '2019-05-27T09:29:18Z', 'title' => ''],
+ 'ParentExecutionId' => ['description' => 'The parent execution\'s ID.', 'type' => 'string', 'example' => 'exec-xxx', 'title' => ''],
+ 'LastTriggerStatus' => ['description' => 'The status of the last triggered execution.', 'type' => 'string', 'example' => 'Success', 'title' => ''],
+ 'StatusMessage' => ['description' => 'The status message of the execution.', 'type' => 'string', 'example' => '“”', 'title' => ''],
+ 'Outputs' => ['description' => 'The execution\'s outputs.', 'type' => 'string', 'example' => '{ "InstanceId":"i-xxx" }', 'title' => ''],
+ 'ExecutedBy' => ['description' => 'The user who initiated the execution.', 'type' => 'string', 'example' => '1309252800', 'title' => ''],
+ 'EndDate' => ['description' => 'The execution\'s end time.', 'type' => 'string', 'example' => '2019-05-16T10:26:14Z', 'title' => ''],
+ 'IsParent' => ['description' => 'Indicates whether the execution includes child tasks.', 'type' => 'boolean', 'example' => 'false', 'title' => ''],
+ 'StartDate' => ['description' => 'The execution\'s start time.', 'type' => 'string', 'example' => '2019-05-16T10:26:14Z', 'title' => ''],
+ 'ExecutionId' => ['description' => 'The execution\'s unique ID.', 'type' => 'string', 'example' => 'exec-44d32b45d2a449e', 'title' => ''],
+ 'Parameters' => ['description' => 'The execution\'s input parameters.', 'type' => 'object', 'example' => '{ "Status":"Running" }', 'title' => ''],
+ 'Counters' => ['description' => 'A collection of task counts, categorized by status.', 'type' => 'object', 'example' => '{"Failed": 0,"Success": 1,"Total": 2}', 'title' => ''],
+ 'ResourceGroupId' => ['description' => 'The resource group\'s ID.', 'type' => 'string', 'example' => 'rg-acfmxsn4m4******', 'title' => ''],
+ 'Category' => ['description' => 'The category of the associated template. Valid values: Other, TimerTrigger, EventTrigger, and AlarmTrigger.', 'type' => 'string', 'example' => 'Other', 'title' => ''],
+ 'TemplateId' => ['description' => 'The template\'s ID.', 'type' => 'string', 'example' => '123', 'title' => ''],
+ 'RamRole' => ['description' => 'The RAM role used to execute the template.', 'type' => 'string', 'example' => 'OOSServiceRole', 'title' => ''],
+ 'ResourceStatus' => ['description' => 'The status of the target resources.', 'type' => 'string', 'example' => '{ "Success": 1 }', 'title' => ''],
+ 'CurrentTasks' => [
+ 'description' => 'The tasks currently running.',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'Name' => [
- 'description' => 'The name of the property.'."\n",
- 'type' => 'string',
- 'example' => 'ApplicationType',
- ],
- 'DataType' => [
- 'description' => 'The data type of the property.'."\n",
- 'type' => 'string',
- 'example' => 'STRING',
- ],
+ 'TaskExecutionId' => ['description' => 'The task execution ID.', 'type' => 'string', 'example' => 'task-exec-44d32b45d2a49899#1', 'title' => ''],
+ 'TaskName' => ['description' => 'The task name.', 'type' => 'string', 'example' => 'installSLSILogtail', 'title' => ''],
+ 'TaskAction' => ['description' => 'The task\'s action.', 'type' => 'string', 'example' => 'acs::Template', 'title' => ''],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
+ 'title' => '',
+ 'example' => '',
],
+ 'LastTriggerStatusMessage' => ['description' => 'The status message of the last triggered execution. For executions that are triggered by a timer, event, or alarm, this indicates the status of the most recent execution. For other types of executions, this value is the same as StatusMessage.', 'type' => 'string', 'example' => '""', 'title' => ''],
+ 'LastTriggerOutputs' => ['description' => 'The outputs of the last triggered execution. For executions that are triggered by a timer, event, or alarm, this indicates the outputs of the most recent execution. For other types of executions, this value is the same as Outputs.', 'type' => 'string', 'example' => '{'."\n"
+ .' "InstanceId": "i-xxx"'."\n"
+ .'}', 'title' => ''],
+ 'NextScheduleTime' => ['description' => 'The next trigger time for a timer-triggered execution.', 'type' => 'string', 'example' => '2019-05-16T10:26:14Z', 'title' => ''],
+ 'AccountId' => ['description' => 'The ID of the owning account.', 'type' => 'string', 'example' => '123456789', 'title' => ''],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
+ 'title' => '',
+ 'example' => '',
],
+ 'TotalCount' => ['description' => 'The total number of executions.', 'type' => 'integer', 'format' => 'int32', 'example' => '30', 'title' => ''],
],
'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"NextToken\\": \\"gAAAAABfh8MVLQI9AuKGACLgjbsXbWs-Mna47IDM6tr6wK7TZ1\\",\\n \\"RequestId\\": \\"89117642-7167-4F4D-B7F1-876582279E3E\\",\\n \\"MaxResults\\": \\"1\\",\\n \\"Schemas\\": [\\n {\\n \\"Version\\": \\"1.0\\",\\n \\"TypeName\\": \\"ACS:Application\\",\\n \\"Attributes\\": [\\n {\\n \\"Name\\": \\"ApplicationType\\",\\n \\"DataType\\": \\"STRING\\"\\n }\\n ]\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<GetInventorySchemaResponse>\\n <RequestId>FE253810-D3CF-5FB7-8F29-69B4D8525A63</RequestId>\\n <NextToken>gAAAAABhjOVCZyK6F8UtjODxmp7_-28Ctb-Yh27zmXv1QD6yIepgi42prBOMIUQ7EDAqIYKHAM1GRG9Ux5TjncdKol_84qTzKsg2qer7ceijXT-AQMC2XO4EppeAjsvXxFMUjCaBXKkZ7A30vrsTuNc0MsHjiJdqqw==</NextToken>\\n <MaxResults>1</MaxResults>\\n <Schemas>\\n <TypeName>ACS:InstanceInformation</TypeName>\\n <Version>1.0</Version>\\n <Attributes>\\n <DataType>STRING</DataType>\\n <Name>AgentType</Name>\\n </Attributes>\\n <Attributes>\\n <DataType>STRING</DataType>\\n <Name>AgentVersion</Name>\\n </Attributes>\\n <Attributes>\\n <DataType>STRING</DataType>\\n <Name>ComputerName</Name>\\n </Attributes>\\n <Attributes>\\n <DataType>STRING</DataType>\\n <Name>RamRole</Name>\\n </Attributes>\\n <Attributes>\\n <DataType>STRING</DataType>\\n <Name>InstanceId</Name>\\n </Attributes>\\n <Attributes>\\n <DataType>STRING</DataType>\\n <Name>IpAddress</Name>\\n </Attributes>\\n <Attributes>\\n <DataType>STRING</DataType>\\n <Name>PlatformName</Name>\\n </Attributes>\\n <Attributes>\\n <DataType>STRING</DataType>\\n <Name>PlatformType</Name>\\n </Attributes>\\n <Attributes>\\n <DataType>STRING</DataType>\\n <Name>PlatformVersion</Name>\\n </Attributes>\\n <Attributes>\\n <DataType>STRING</DataType>\\n <Name>ResourceType</Name>\\n </Attributes>\\n <Attributes>\\n <DataType>STRING</DataType>\\n <Name>Status</Name>\\n </Attributes>\\n </Schemas>\\n</GetInventorySchemaResponse>","errorExample":""}]',
- 'title' => 'GetInventorySchema',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => 'ListExecutions',
+ 'summary' => 'Lists query executions and supports multiple filters.',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'SearchInventory' => [
- 'summary' => 'Queries the details or aggregate information of a configuration inventory.',
- 'methods' => [
- 'post',
- 'get',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '600', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListExecutions'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'oos:ListExecutions',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [
+ ['conditionKey' => 'oos:tag', 'validationType' => 'always'],
+ ['conditionKey' => 'oos:TLSVersion'],
+ ],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'OOS', 'resourceType' => 'Execution', 'arn' => 'acs:oos:{#regionId}:{#accountId}:execution/*'],
+ ['validationType' => 'always', 'product' => 'OOS', 'resourceType' => 'Execution', 'arn' => 'acs:oos:{#regionId}:{#accountId}:execution/{#executionId}'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"NextToken\\": \\"MTRBMDc0NjAtRUJFNy00N0NBLTk3NTctMTJDQzQ\\",\\n \\"RequestId\\": \\"14A074-47CA-9757-12CC4761D47A\\",\\n \\"MaxResults\\": 50,\\n \\"Executions\\": [\\n {\\n \\"Status\\": \\"Success\\",\\n \\"WaitingStatus\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Targets\\": \\"\\\\\\"{\\\\\\"ResourceType\\\\\\": \\\\\\"ALIYUN::ECS::Instance\\\\\\", \\\\\\"Filters\\\\\\": [{\\\\\\"ResourceIds\\\\\\": [\\\\\\"i-bp14z07dg3464980x72o\\\\\\"], \\\\\\"RegionId\\\\\\": \\\\\\"cn-hangzhou\\\\\\", \\\\\\"Type\\\\\\": \\\\\\"ResourceIds\\\\\\"}]}\\\\\\"\\",\\n \\"StatusReason\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Tags\\": {},\\n \\"LastSuccessfulTriggerTime\\": \\"2019-05-27T09:29:18Z\\",\\n \\"Mode\\": \\"Automatic\\",\\n \\"SafetyCheck\\": \\"Skip\\",\\n \\"TemplateName\\": \\"MyTemplate\\",\\n \\"TemplateVersion\\": \\"v1\\",\\n \\"CreateDate\\": \\"2019-05-16T10:26:14Z\\",\\n \\"UpdateDate\\": \\"2019-05-16T10:26:14Z\\",\\n \\"Description\\": \\"MyDescription\\",\\n \\"LastTriggerTime\\": \\"2019-05-27T09:29:18Z\\",\\n \\"ParentExecutionId\\": \\"exec-xxx\\",\\n \\"LastTriggerStatus\\": \\"Success\\",\\n \\"StatusMessage\\": \\"“”\\",\\n \\"Outputs\\": \\"{ \\\\\\"InstanceId\\\\\\":\\\\\\"i-xxx\\\\\\" }\\",\\n \\"ExecutedBy\\": \\"1309252800\\",\\n \\"EndDate\\": \\"2019-05-16T10:26:14Z\\",\\n \\"IsParent\\": false,\\n \\"StartDate\\": \\"2019-05-16T10:26:14Z\\",\\n \\"ExecutionId\\": \\"exec-44d32b45d2a449e\\",\\n \\"Parameters\\": {\\n \\"Status\\": \\"Running\\"\\n },\\n \\"Counters\\": {\\n \\"Failed\\": 0,\\n \\"Success\\": 1,\\n \\"Total\\": 2\\n },\\n \\"ResourceGroupId\\": \\"rg-acfmxsn4m4******\\",\\n \\"Category\\": \\"Other\\",\\n \\"TemplateId\\": \\"123\\",\\n \\"RamRole\\": \\"OOSServiceRole\\",\\n \\"ResourceStatus\\": \\"{ \\\\t\\\\t\\\\t\\\\\\"Success\\\\\\": 1 \\\\t\\\\t}\\",\\n \\"CurrentTasks\\": [\\n {\\n \\"TaskExecutionId\\": \\"task-exec-44d32b45d2a49899#1\\",\\n \\"TaskName\\": \\"installSLSILogtail\\",\\n \\"TaskAction\\": \\"acs::Template\\"\\n }\\n ],\\n \\"LastTriggerStatusMessage\\": \\"\\\\\\"\\\\\\"\\",\\n \\"LastTriggerOutputs\\": \\"{\\\\n \\\\\\"InstanceId\\\\\\": \\\\\\"i-xxx\\\\\\"\\\\n}\\",\\n \\"NextScheduleTime\\": \\"2019-05-16T10:26:14Z\\",\\n \\"AccountId\\": \\"123456789\\"\\n }\\n ],\\n \\"TotalCount\\": 30\\n}","type":"json"}]',
+ ],
+ 'ListGitAccounts' => [
+ 'summary' => 'Lists the Git accounts authorized by the current Alibaba Cloud user for Application Management.',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -9400,118 +6817,50 @@
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'get',
+ 'operationType' => 'list',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeCode' => '93996',
- 'abilityTreeNodes' => [
- 'FEATUREoosLDUDPP',
- ],
+ 'abilityTreeCode' => '208781',
+ 'abilityTreeNodes' => ['FEATUREoosCPYH5Z'],
+ 'autoTest' => false,
+ 'notSupportAutoTestReason' => '需要进行Github/Gitee平台的Oauth授权',
'tenantRelevance' => 'publicInformation',
],
'parameters' => [
[
- 'name' => 'RegionId',
+ 'name' => 'ClientToken',
'in' => 'query',
- 'schema' => [
- 'description' => 'The ID of the region.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => 'A token to ensure the idempotence of the request.', 'type' => 'string', 'required' => false, 'example' => '550e8400-e29b-41d4-a716-446655440000', 'title' => ''],
],
[
- 'name' => 'NextToken',
+ 'name' => 'Platform',
'in' => 'query',
- 'schema' => [
- 'description' => 'The token that is used to retrieve the next page of results.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'gAAAAABfTgv5ewUWmNdJ3g7JVLvX70sPH90GZOVGC',
- ],
+ 'schema' => ['description' => 'The Git platform. Valid value:'."\n"
+ ."\n"
+ .'- github: The GitHub platform.', 'type' => 'string', 'required' => true, 'example' => 'github', 'title' => ''],
],
[
- 'name' => 'MaxResults',
+ 'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The number of entries per page. Valid values: 1 to 100. Default value: 50.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'maximum' => '100',
- 'minimum' => '1',
- 'example' => '50',
- 'default' => '50',
- ],
+ 'schema' => ['description' => 'The region ID.', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''],
],
[
- 'name' => 'Filter',
+ 'name' => 'RoleName',
'in' => 'query',
- 'style' => 'repeatList',
- 'schema' => [
- 'description' => 'The filter rules for the component.'."\n",
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'Value' => [
- 'description' => 'The property values to query.'."\n",
- 'type' => 'array',
- 'items' => [
- 'description' => 'The property value to query.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'i-bp1cpoxxxxxxxxxxxxxx',
- ],
- 'required' => false,
- 'example' => 'i-bp1cpoxxxxxxxxxxxxxx',
- 'maxItems' => 20,
- ],
- 'Operator' => [
- 'description' => 'The comparison operator that is used to filter property values. Valid values of N: 1 to 5. Valid values:'."\n"
- ."\n"
- .'* Equal'."\n"
- .'* NotEqual'."\n"
- .'* BeginWith'."\n"
- .'* LessThan'."\n"
- .'* GreaterThan'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'Equal',
- ],
- 'Name' => [
- 'description' => 'The name of the component property. Valid values of N: 1 to 5. Different components have different property names. You can call the [GetInventorySchema](https://api.aliyun.com/#/?product=oos\\&version=2019-06-01\\&api=GetInventorySchema) operation to query the property names of different components. For example, the ACS:InstanceInformation component has the InstanceId property. Therefore, you can set this parameter to ACS:InstanceInformation.InstanceId.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'ACS:InstanceInformation.InstanceId',
- ],
- ],
- 'required' => false,
- ],
- 'required' => false,
- 'maxItems' => 5,
- ],
+ 'schema' => ['description' => 'The name of the role. This parameter specifies the attachment type of the Git account. The default value is account. Valid values:'."\n"
+ ."\n"
+ .'- role: The Git account is attached to a role.'."\n"
+ ."\n"
+ .'- account: The Git account is attached to an account.', 'type' => 'string', 'required' => false, 'example' => 'role', 'title' => ''],
],
[
- 'name' => 'Aggregator',
+ 'name' => 'BindType',
'in' => 'query',
- 'style' => 'repeatList',
- 'schema' => [
- 'description' => 'The information about aggregators. You can use one or more aggregators to query the aggregate information of an instance. Valid values:'."\n"
- ."\n"
- .'* ACS:Application.Name'."\n"
- .'* ACS:Application.Version'."\n",
- 'type' => 'array',
- 'items' => [
- 'description' => 'The aggregator.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'ACS:Application.Name',
- ],
- 'required' => false,
- 'example' => 'ACS:Application.Name',
- 'maxItems' => 5,
- ],
+ 'schema' => ['description' => 'The attachment type. The default value is user. Valid values:'."\n"
+ ."\n"
+ .'- user: Attachment in a regular user scenario.'."\n"
+ ."\n"
+ .'- lingo: Attachment in a lingo scenario.', 'type' => 'string', 'required' => false, 'example' => 'user', 'title' => ''],
],
],
'responses' => [
@@ -9519,188 +6868,221 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'NextToken' => [
- 'description' => 'The token that is used to retrieve the next page of results.'."\n",
- 'type' => 'string',
- 'example' => 'gAAAAABfTgv5ewUWmNdJ3g7JVLvX70sPH90GZOVGC',
- ],
- 'RequestId' => [
- 'description' => 'The ID of the request.'."\n",
- 'type' => 'string',
- 'example' => 'A81E4B2E-6B33-4BAE-9856-55DB7C893E01',
- ],
- 'MaxResults' => [
- 'description' => 'The number of entries returned per page.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '50',
- ],
- 'Entities' => [
+ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '1457F46C-7AAE-59FA-BD12-0BDB3751E6F8', 'title' => ''],
+ 'GitAccounts' => [
'type' => 'array',
'items' => [
- 'description' => 'The details or aggregate information of the configuration inventory.'."\n",
'type' => 'object',
- 'example' => '[ { "ACS:InstanceInformation": { "CaptureTime": "2020-10-13T08:55:06Z", "SchemaVersion": "1.0", "Content": { "PlatformName": "ubuntu", "PlatformVersion": "20.04", "Status": "Running", "InstanceId": "i-bp1cpoxxxxxxxxxxxxxx", "AgentVersion": "v1.5", "ComputerName": "iZbp1cpoxxxw111jcv94drZ", "IpAddress": "192.168.10.245", "AgentName": "oosutil", "PlatformType": "linux" }, "RegionId": "cn-hangzhou" }, "Id": "i-bp1cpoxxxxxxxxxxxxxx" } ]}',
+ 'properties' => [
+ 'Owner' => ['description' => 'The name of the attached account.', 'type' => 'string', 'example' => 'LYH-RAIN', 'title' => ''],
+ 'IsActive' => ['description' => 'Indicates whether the account is active.', 'type' => 'boolean', 'example' => 'true', 'title' => ''],
+ ],
+ 'description' => 'An attached Git account.',
+ 'title' => '',
+ 'example' => '',
],
+ 'description' => 'The attached Git accounts.',
+ 'title' => '',
+ 'example' => '',
],
+ 'Count' => ['description' => 'The number of entries.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"NextToken\\": \\"gAAAAABfTgv5ewUWmNdJ3g7JVLvX70sPH90GZOVGC\\",\\n \\"RequestId\\": \\"A81E4B2E-6B33-4BAE-9856-55DB7C893E01\\",\\n \\"MaxResults\\": 50,\\n \\"Entities\\": [\\n {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<RequestId>5B694097-E7C7-4231-858C-B979CEC3A0AC</RequestId>\\n<MaxResults>50</MaxResults>\\n<Entities>\\n <Data>\\n <ACS:Application>\\n <Content>\\n <ACS:Application.Name>NetworkManager</ACS:Application.Name>\\n <ACS:Application.Version>1.22.8</ACS:Application.Version>\\n <Count>1</Count>\\n </Content>\\n <Content>\\n <ACS:Application.Name>NetworkManager-libnm</ACS:Application.Name>\\n <ACS:Application.Version>1.22.8</ACS:Application.Version>\\n <Count>1</Count>\\n </Content>\\n <Content>\\n <ACS:Application.Name>NetworkManager-team</ACS:Application.Name>\\n <ACS:Application.Version>1.22.8</ACS:Application.Version>\\n <Count>1</Count>\\n </Content>\\n <Content>\\n <ACS:Application.Name>NetworkManager-tui</ACS:Application.Name>\\n <ACS:Application.Version>1.22.8</ACS:Application.Version>\\n <Count>1</Count>\\n </Content>\\n <Content>\\n <ACS:Application.Name>PackageKit</ACS:Application.Name>\\n <ACS:Application.Version>1.1.12</ACS:Application.Version>\\n <Count>1</Count>\\n </Content>\\n <Content>\\n <ACS:Application.Name>PackageKit-glib</ACS:Application.Name>\\n <ACS:Application.Version>1.1.12</ACS:Application.Version>\\n <Count>1</Count>\\n </Content>\\n <Content>\\n <ACS:Application.Name>abattis-cantarell-fonts</ACS:Application.Name>\\n <ACS:Application.Version>0.0.25</ACS:Application.Version>\\n <Count>1</Count>\\n </Content>\\n <Content>\\n <ACS:Application.Name>acl</ACS:Application.Name>\\n <ACS:Application.Version>2.2.53</ACS:Application.Version>\\n <Count>1</Count>\\n </Content>\\n <Content>\\n <ACS:Application.Name>adcli</ACS:Application.Name>\\n <ACS:Application.Version>0.8.2</ACS:Application.Version>\\n <Count>1</Count>\\n </Content>\\n <Content>\\n <ACS:Application.Name>aliyun_assist</ACS:Application.Name>\\n <ACS:Application.Version>1.0.2.493</ACS:Application.Version>\\n <Count>1</Count>\\n </Content>\\n </ACS:Application>\\n </Data>\\n</Entities>","errorExample":""}]',
- 'title' => 'SearchInventory',
- 'requestParamsDescription' => ' ',
- 'responseParamsDescription' => ' ',
- 'extraInfo' => ' ',
- ],
- 'CreateStateConfiguration' => [
- 'summary' => 'Creates a desired-state configuration.',
- 'methods' => [
- 'post',
- 'get',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => 'ListGitAccounts',
+ 'description' => 'Ensure that you have the required permissions to manage the relevant KMS secret before you call this operation.',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'oos:ListGitAccounts',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [
+ ['conditionKey' => 'oos:TLSVersion'],
+ ],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'OOS', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"1457F46C-7AAE-59FA-BD12-0BDB3751E6F8\\",\\n \\"GitAccounts\\": [\\n {\\n \\"Owner\\": \\"LYH-RAIN\\",\\n \\"IsActive\\": true\\n }\\n ],\\n \\"Count\\": 1\\n}","type":"json"}]',
+ ],
+ 'ListGitBranches' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'write',
+ 'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'create',
- 'abilityTreeCode' => '93944',
- 'abilityTreeNodes' => [
- 'FEATUREoosLDUDPP',
- ],
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '212981',
+ 'abilityTreeNodes' => ['FEATUREoosCPYH5Z'],
+ 'autoTest' => true,
+ 'tenantRelevance' => 'publicInformation',
],
'parameters' => [
[
- 'name' => 'RegionId',
+ 'name' => 'ClientToken',
'in' => 'query',
- 'schema' => [
- 'description' => 'The region ID.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['type' => 'string', 'required' => false, 'description' => 'The idempotence token.', 'title' => '', 'example' => 'TF-CreateApplication-1647587475-84104b89-eba5-47a8-b2fd-807b8b7d'],
],
[
- 'name' => 'Description',
+ 'name' => 'Platform',
'in' => 'query',
- 'schema' => [
- 'description' => 'The description of the desired-state configuration.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'The region ID.'."\n",
- ],
+ 'schema' => ['type' => 'string', 'required' => true, 'description' => 'The Git platform.', 'title' => '', 'example' => 'gitee'],
],
[
- 'name' => 'TemplateName',
+ 'name' => 'Owner',
'in' => 'query',
- 'schema' => [
- 'description' => 'The name of the template. The name must be 1 to 200 characters in length and can contain letters, digits, hyphens (-), and underscores (\\_).'."\n",
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'ACS-ECS-InventoryDataCollection',
- ],
+ 'schema' => ['type' => 'string', 'required' => true, 'description' => 'The logon username.', 'title' => '', 'example' => 'geegenw-j-imwinmtuej'],
],
[
- 'name' => 'TemplateVersion',
+ 'name' => 'RepoFullName',
'in' => 'query',
- 'schema' => [
- 'description' => 'The version number of the template. If you do not specify this parameter, the latest version of the template is used.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'v1',
- ],
+ 'schema' => ['type' => 'string', 'required' => true, 'description' => 'The full name of the Git repository.', 'title' => '', 'example' => 'alibaba/fastjson'],
],
[
- 'name' => 'Parameters',
+ 'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The parameters.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => '{ "policy": { "ACS:Application": { "Collection": "Enabled" }, "ACS:Network": { "Collection": "Enabled" } } }',
- ],
+ 'schema' => ['type' => 'string', 'description' => 'The region ID.', 'required' => false, 'title' => '', 'example' => 'cn-hangzhou'],
],
[
- 'name' => 'ConfigureMode',
+ 'name' => 'OrgId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The configuration mode. Valid values: ApplyOnce: The configuration is applied only once. After a configuration is updated, the new configuration is applied. ApplyAndMonitor: The configuration is applied only once. After the configuration is applied, the system only checks whether the configuration is migrated in the future. ApplyAndAutoCorrect: The configuration is always applied.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'ApplyOnce',
- ],
+ 'schema' => ['type' => 'string', 'description' => 'The organization ID. This parameter is required only for Codeup.', 'required' => false, 'title' => '', 'example' => '6fekfmnfll135123kdf33'],
],
[
- 'name' => 'ScheduleType',
+ 'name' => 'RepoId',
'in' => 'query',
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'description' => 'The repository ID. This parameter is required only for Codeup.', 'required' => false, 'title' => '', 'example' => '2642213'],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
'schema' => [
- 'description' => 'The schedule type. Set the value to rate.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'rate',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['type' => 'string', 'description' => 'The request ID.', 'title' => '', 'example' => 'DBA6E6C8-F75D-41DE-AFF5-1FA03F551CA3'],
+ 'GitBranches' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Name' => ['type' => 'string', 'description' => 'The branch name.', 'title' => '', 'example' => 'master'],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'description' => 'The branch information.',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'Count' => ['type' => 'integer', 'format' => 'int32', 'description' => 'The number of branches.', 'title' => '', 'example' => '1'],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
+ ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => 'ListGitBranches',
+ 'summary' => 'Lists all branches of a specified Git repository.',
+ 'description' => 'Before you call this operation, ensure that you have the permissions to manage KMS secrets.',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [
[
- 'name' => 'ScheduleExpression',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The schedule expression. The interval between two schedules must be a minimum of 30 minutes.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'The ID of the resource group.'."\n",
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'oos:ListGitBranches',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [
+ ['conditionKey' => 'oos:TLSVersion'],
+ ],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'OOS', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
],
],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"DBA6E6C8-F75D-41DE-AFF5-1FA03F551CA3\\",\\n \\"GitBranches\\": [\\n {\\n \\"Name\\": \\"master\\"\\n }\\n ],\\n \\"Count\\": 1\\n}","type":"json"}]',
+ ],
+ 'ListGitOrganizations' => [
+ 'summary' => 'Retrieves the Git organizations for an authorized user.',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
[
- 'name' => 'Targets',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The resources to be queried.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '{ "ResourceType": "ALIYUN::ECS::Instance", "Filters": [ { "Type": "All", "RegionId": "cn-hangzhou", "Parameters": { "RegionId": "cn-hangzhou", "Status": "Running" } } ] }',
- ],
+ 'AK' => [],
],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '214403',
+ 'abilityTreeNodes' => ['FEATUREoosCPYH5Z'],
+ 'autoTest' => false,
+ 'notSupportAutoTestReason' => '需要先进行Github/Gitee的OAuth授权',
+ 'tenantRelevance' => 'publicInformation',
+ ],
+ 'parameters' => [
[
'name' => 'ClientToken',
'in' => 'query',
- 'schema' => [
- 'description' => 'The client token that is used to ensure the idempotence of the request.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'DASKJJLKADS-AHKLJHJSAKL-AJK',
- ],
+ 'schema' => ['description' => 'A client-generated token that ensures the idempotence of the request.', 'type' => 'string', 'required' => false, 'example' => '550e8400-e29b-41d4-a716-446655440000', 'title' => ''],
],
[
- 'name' => 'Tags',
+ 'name' => 'Platform',
'in' => 'query',
- 'style' => 'json',
- 'schema' => [
- 'description' => 'The tags to be added to the configuration.'."\n",
- 'type' => 'object',
- 'required' => false,
- 'example' => '{"Key": "oos", "Value": "inventory"}',
- ],
+ 'schema' => ['description' => 'The Git platform. Valid values: GitHub and GitLab.', 'type' => 'string', 'required' => true, 'example' => 'github', 'title' => ''],
],
[
- 'name' => 'ResourceGroupId',
+ 'name' => 'Owner',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The logon account name.', 'type' => 'string', 'required' => true, 'example' => 'geegenw-j-imwinmtuej', 'title' => ''],
+ ],
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The region ID.', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''],
+ ],
+ [
+ 'name' => 'BindType',
'in' => 'query',
'schema' => [
- 'description' => 'The resource group ID.'."\n",
+ 'description' => 'The attach type. The default value is user. Valid values:'."\n"
+ ."\n"
+ .'- user: Attach in a regular user scenario.'."\n"
+ ."\n"
+ .'- lingo: Attach in a lingo scenario.',
+ 'enumValueTitles' => ['lingo' => 'lingo', 'user' => 'user'],
'type' => 'string',
'required' => false,
- 'example' => 'rg-acfmxsn4m4******',
+ 'example' => 'user',
+ 'title' => '',
],
],
],
@@ -9709,148 +7091,120 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => 'The request ID.'."\n",
- 'type' => 'string',
- 'example' => '1306108F-610C-40FD-AAD5-DA13E8B00BE9',
- ],
- 'StateConfiguration' => [
- 'description' => 'The information about the desired-state configuration.'."\n",
- 'type' => 'object',
- 'properties' => [
- 'CreateTime' => [
- 'description' => 'The time when the desired-state configuration was created.'."\n",
- 'type' => 'string',
- 'example' => '2021-03-22T03:13:32Z',
- ],
- 'Targets' => [
- 'description' => 'The queried resources.'."\n",
- 'type' => 'string',
- 'example' => '{ "ResourceType": "ALIYUN::ECS::Instance", "Filters": [ { "Type": "All", "RegionId": "cn-hangzhou", "Parameters": { "RegionId": "cn-hangzhou", "Status": "Running" } } ] }',
- ],
- 'Tags' => [
- 'description' => 'The tags added to the configuration.'."\n",
- 'type' => 'object',
- 'example' => '{"Key": "oos", "Value": "inventory"}',
- ],
- 'StateConfigurationId' => [
- 'description' => 'The ID of the desired-state configuration.'."\n",
- 'type' => 'string',
- 'example' => 'sc-a538febe18fabcdef',
- ],
- 'ScheduleExpression' => [
- 'description' => 'The schedule expression.'."\n",
- 'type' => 'string',
- 'example' => '1 hour',
- ],
- 'TemplateName' => [
- 'description' => 'The name of the template.'."\n",
- 'type' => 'string',
- 'example' => 'ACS-ECS-InventoryDataCollection',
- ],
- 'TemplateVersion' => [
- 'description' => 'The name of the template version.'."\n",
- 'type' => 'string',
- 'example' => 'v1',
- ],
- 'ConfigureMode' => [
- 'description' => 'The configuration mode. Valid values:'."\n",
- 'type' => 'string',
- 'example' => 'ApplyAndAutoCorrect',
- ],
- 'ScheduleType' => [
- 'description' => 'The schedule type.'."\n",
- 'type' => 'string',
- 'example' => 'rate',
- ],
- 'Parameters' => [
- 'description' => 'The parameters.'."\n",
- 'type' => 'object',
- 'example' => '{"policy": {"ACS:Network": {"Collection": "Enabled"}, "ACS:Application": {"Collection": "Enabled"}}}',
- ],
- 'Description' => [
- 'description' => 'The description.'."\n",
- 'type' => 'string',
- 'example' => 'collect inventory data'."\n",
- ],
- 'ResourceGroupId' => [
- 'description' => 'The resource group ID.'."\n",
- 'type' => 'string',
- 'example' => 'rg-acfmxsn4m4******',
- ],
- 'TemplateId' => [
- 'description' => 'The template ID.'."\n",
- 'type' => 'string',
- 'example' => 't-1234asadf',
+ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '9E011F98-4EE5-5E3A-8FA3-D38F2C531C1F', 'title' => ''],
+ 'GitOrgs' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'OrgName' => ['description' => 'The name of the organization.', 'type' => 'string', 'example' => 'aliyun-computenest', 'title' => ''],
+ 'OrgId' => ['description' => 'The ID of the organization.', 'type' => 'string', 'example' => 'dfj3535', 'title' => ''],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
+ 'description' => 'The list of organizations.',
+ 'title' => '',
+ 'example' => '',
],
+ 'Count' => ['description' => 'The number of returned organizations.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''],
],
'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"1306108F-610C-40FD-AAD5-DA13E8B00BE9\\",\\n \\"StateConfiguration\\": {\\n \\"CreateTime\\": \\"2021-03-22T03:13:32Z\\",\\n \\"Targets\\": \\"{ \\\\\\"ResourceType\\\\\\": \\\\\\"ALIYUN::ECS::Instance\\\\\\", \\\\\\"Filters\\\\\\": [ { \\\\\\"Type\\\\\\": \\\\\\"All\\\\\\", \\\\\\"RegionId\\\\\\": \\\\\\"cn-hangzhou\\\\\\", \\\\\\"Parameters\\\\\\": { \\\\\\"RegionId\\\\\\": \\\\\\"cn-hangzhou\\\\\\", \\\\\\"Status\\\\\\": \\\\\\"Running\\\\\\" } } ] }\\",\\n \\"Tags\\": {\\n \\"Key\\": \\"oos\\",\\n \\"Value\\": \\"inventory\\"\\n },\\n \\"StateConfigurationId\\": \\"sc-a538febe18fabcdef\\",\\n \\"ScheduleExpression\\": \\"1 hour\\",\\n \\"TemplateName\\": \\"ACS-ECS-InventoryDataCollection\\",\\n \\"TemplateVersion\\": \\"v1\\",\\n \\"ConfigureMode\\": \\"ApplyAndAutoCorrect\\",\\n \\"ScheduleType\\": \\"rate\\",\\n \\"Parameters\\": {\\n \\"policy\\": {\\n \\"ACS:Network\\": {\\n \\"Collection\\": \\"Enabled\\"\\n },\\n \\"ACS:Application\\": {\\n \\"Collection\\": \\"Enabled\\"\\n }\\n }\\n },\\n \\"Description\\": \\"collect inventory data\\",\\n \\"ResourceGroupId\\": \\"rg-acfmxsn4m4******\\",\\n \\"TemplateId\\": \\"t-1234asadf\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"<CreateStateConfigurationResponse>\\n <RequestId>1306108F-610C-40FD-AAD5-DA13E8B00BE9</RequestId>\\n <StateConfiguration>\\n <CreateTime>2021-03-22T03:13:32Z</CreateTime>\\n <Targets>{ \\"ResourceType\\": \\"ALIYUN::ECS::Instance\\", \\"Filters\\": [ { \\"Type\\": \\"All\\", \\"RegionId\\": \\"cn-hangzhou\\", \\"Parameters\\": { \\"RegionId\\": \\"cn-hangzhou\\", \\"Status\\": \\"Running\\" } } ] }</Targets>\\n <StateConfigurationId>sc-a538febe18fabcdef</StateConfigurationId>\\n <ScheduleExpression>1 hour</ScheduleExpression>\\n <TemplateName>ACS-ECS-InventoryDataCollection</TemplateName>\\n <TemplateVersion>v1</TemplateVersion>\\n <ConfigureMode>ApplyAndAutoCorrect</ConfigureMode>\\n <ScheduleType>rate</ScheduleType>\\n <Description>收集Inventory数据</Description>\\n <ResourceGroupId>rg-acfmxsn4m4******</ResourceGroupId>\\n <Tags>\\n <oos>inventory</oos>\\n </Tags>\\n <TemplateId>t-1234asadf</TemplateId>\\n </StateConfiguration>\\n</CreateStateConfigurationResponse>","errorExample":""}]',
- 'title' => 'CreateStateConfiguration',
- 'requestParamsDescription' => ' ',
- 'responseParamsDescription' => ' ',
- 'extraInfo' => ' ',
- ],
- 'DeleteStateConfigurations' => [
- 'summary' => 'Deletes multiple desired-state configurations at a time.',
- 'methods' => [
- 'post',
- 'get',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => 'ListGitOrganizations',
+ 'description' => 'This API is used in the following scenarios:'."\n"
+ ."\n"
+ .'- A task execution is pending approval. If a template contains an Approve task, the status of the task execution changes to Pending when it reaches that task. You can then use this API to confirm whether to continue the execution.'."\n"
+ ."\n"
+ .'- When you are debugging a template, you can use this API to specify the next task to execute after a task execution is created or completed.'."\n"
+ ."\n"
+ .'- A risky operation task is pending approval. You can use this API to confirm whether to continue the execution.',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'oos:ListGitOrganizations',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [
+ ['conditionKey' => 'oos:TLSVersion'],
+ ],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'OOS', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"9E011F98-4EE5-5E3A-8FA3-D38F2C531C1F\\",\\n \\"GitOrgs\\": [\\n {\\n \\"OrgName\\": \\"aliyun-computenest\\",\\n \\"OrgId\\": \\"dfj3535\\"\\n }\\n ],\\n \\"Count\\": 1\\n}","type":"json"}]',
+ ],
+ 'ListGitRepositories' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'write',
+ 'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'delete',
- 'abilityTreeCode' => '93952',
- 'abilityTreeNodes' => [
- 'FEATUREoosLDUDPP',
- ],
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '212980',
+ 'abilityTreeNodes' => ['FEATUREoosCPYH5Z'],
+ 'autoTest' => true,
+ 'tenantRelevance' => 'publicInformation',
],
'parameters' => [
[
- 'name' => 'RegionId',
+ 'name' => 'ClientToken',
'in' => 'query',
- 'schema' => [
- 'description' => 'The region ID.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['type' => 'string', 'required' => false, 'description' => 'A token that ensures the idempotence of the request.', 'title' => '', 'example' => 'TF-CreateApplication-1647587475-84104b89-eba5-47a8-b2fd-807b8b7d'],
],
[
- 'name' => 'StateConfigurationIds',
+ 'name' => 'Platform',
'in' => 'query',
- 'schema' => [
- 'description' => 'The IDs of desired-state configurations.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '["sc-asfgdhj12345"]',
- ],
+ 'schema' => ['type' => 'string', 'required' => true, 'description' => 'The Git platform.', 'title' => '', 'example' => 'github'],
],
[
- 'name' => 'ClientToken',
+ 'name' => 'Owner',
'in' => 'query',
- 'schema' => [
- 'description' => 'The client token that is used to ensure the idempotence of the request.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'abcde3OARpx77No54nv6',
- ],
+ 'schema' => ['type' => 'string', 'required' => true, 'description' => 'The logon username.', 'title' => '', 'example' => 'dhuai'],
+ ],
+ [
+ 'name' => 'PageNumber',
+ 'in' => 'query',
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'description' => 'The page number.', 'required' => false, 'title' => '', 'example' => '1'],
+ ],
+ [
+ 'name' => 'PageSize',
+ 'in' => 'query',
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'description' => 'The number of entries per page.', 'required' => false, 'title' => '', 'example' => '1'],
+ ],
+ [
+ 'name' => 'OrgName',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'description' => 'The organization name.', 'required' => false, 'title' => '', 'example' => 'aliyun-computenest'],
+ ],
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'description' => 'The region ID.', 'required' => false, 'title' => '', 'example' => 'cn-hangzhou'],
+ ],
+ [
+ 'name' => 'OrgId',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'description' => 'The organization ID. This parameter is required only for Codeup.', 'required' => false, 'title' => '', 'example' => '6fekfmnfll135123kdf33'],
],
],
'responses' => [
@@ -9858,160 +7212,129 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => 'The request ID.'."\n",
- 'type' => 'string',
- 'example' => '12345B731-0FCE-48BA-8D42-605abcde',
+ 'RequestId' => ['type' => 'string', 'description' => 'The request ID.', 'title' => '', 'example' => 'DBA6E6C8-F75D-41DE-AFF5-1FA03F551CA3'],
+ 'GitRepos' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'FullName' => ['type' => 'string', 'description' => 'The full name of the repository.', 'title' => '', 'example' => 'aliyun/repo'],
+ 'Description' => ['type' => 'string', 'description' => 'The description of the repository.', 'title' => '', 'example' => 'Test secret parameter for vulnerability testing - 1757298077.453695'],
+ 'HtmlUrl' => ['type' => 'string', 'description' => 'The URL of the repository.', 'title' => '', 'example' => 'https://github.com/alibaba/fastjson'],
+ 'IsPrivate' => ['type' => 'boolean', 'description' => 'Indicates whether the repository is private.', 'title' => '', 'example' => 'False'],
+ 'RepoId' => ['type' => 'integer', 'format' => 'int64', 'description' => 'The repository ID.', 'title' => '', 'example' => '22351123'],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'description' => 'The information about the repositories.',
+ 'title' => '',
+ 'example' => '',
],
+ 'Count' => ['type' => 'integer', 'format' => 'int32', 'description' => 'The total number of repositories.', 'title' => '', 'example' => '1'],
],
'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"12345B731-0FCE-48BA-8D42-605abcde\\"\\n}","errorExample":""},{"type":"xml","example":"<RequestId>12345B731-0FCE-48BA-8D42-605abcde</RequestId>","errorExample":""}]',
- 'title' => 'DeleteStateConfigurations',
- 'requestParamsDescription' => ' ',
- 'responseParamsDescription' => ' ',
- 'extraInfo' => ' ',
- ],
- 'UpdateStateConfiguration' => [
- 'summary' => 'Updates a desired-state configuration.',
- 'methods' => [
- 'post',
- 'get',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => 'ListGitRepositories',
+ 'summary' => 'Lists Git repositories.',
+ 'description' => 'Before you call this operation, ensure that you have the required permissions to manage the corresponding KMS secret.',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'oos:ListGitRepositories',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [
+ ['conditionKey' => 'oos:TLSVersion'],
+ ],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'OOS', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"DBA6E6C8-F75D-41DE-AFF5-1FA03F551CA3\\",\\n \\"GitRepos\\": [\\n {\\n \\"FullName\\": \\"aliyun/repo\\",\\n \\"Description\\": \\"Test secret parameter for vulnerability testing - 1757298077.453695\\",\\n \\"HtmlUrl\\": \\"https://github.com/alibaba/fastjson\\",\\n \\"IsPrivate\\": true,\\n \\"RepoId\\": 22351123\\n }\\n ],\\n \\"Count\\": 1\\n}","type":"json"}]',
+ ],
+ 'ListGitRepositoryContents' => [
+ 'summary' => 'Lists the files and directories in a repository.',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'write',
+ 'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'update',
- 'abilityTreeCode' => '94008',
- 'abilityTreeNodes' => [
- 'FEATUREoosLDUDPP',
- ],
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '249153',
+ 'abilityTreeNodes' => ['FEATUREoosCPYH5Z'],
+ 'autoTest' => true,
+ 'tenantRelevance' => 'publicInformation',
],
'parameters' => [
[
- 'name' => 'RegionId',
+ 'name' => 'ClientToken',
'in' => 'query',
- 'schema' => [
- 'description' => 'The region ID.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['type' => 'string', 'required' => false, 'description' => 'The idempotence token.', 'title' => '', 'example' => '-'],
],
[
- 'name' => 'Description',
+ 'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The description.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'ACS-ECS-InventoryDataCollection',
- ],
+ 'schema' => ['type' => 'string', 'description' => 'The region ID.', 'required' => false, 'title' => '', 'example' => 'cn-hangzhou'],
],
[
- 'name' => 'Parameters',
+ 'name' => 'Platform',
'in' => 'query',
- 'style' => 'json',
- 'schema' => [
- 'description' => 'The parameters.'."\n",
- 'type' => 'object',
- 'required' => false,
- 'example' => '{ "policy": { "ACS:Application": { "Collection": "Enabled" }, "ACS:Network": { "Collection": "Enabled" } } }',
- ],
+ 'schema' => ['type' => 'string', 'required' => true, 'description' => 'The Git platform.', 'title' => '', 'example' => 'gitee'],
],
[
- 'name' => 'ConfigureMode',
+ 'name' => 'Owner',
'in' => 'query',
- 'schema' => [
- 'description' => 'The configuration mode. Valid values: ApplyOnce: The configuration is applied only once. After a configuration is updated, the new configuration is applied. ApplyAndMonitor: The configuration is applied only once. After the configuration is applied, the system only checks whether the configuration is migrated in the future. ApplyAndAutoCorrect: The configuration is always applied.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'ApplyOnce',
- ],
+ 'schema' => ['type' => 'string', 'required' => true, 'description' => 'The logon account.', 'title' => '', 'example' => 'dhuai'],
],
[
- 'name' => 'ScheduleType',
+ 'name' => 'OrgId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The schedule type.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'rate',
- ],
+ 'schema' => ['type' => 'string', 'description' => 'The organization ID. This parameter is required only for Codeup.', 'required' => false, 'title' => '', 'example' => '6fekfmnfll135123kdf33'],
],
[
- 'name' => 'ScheduleExpression',
+ 'name' => 'RepoFullName',
'in' => 'query',
- 'schema' => [
- 'description' => 'The schedule expression.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => '1 hour',
- ],
+ 'schema' => ['type' => 'string', 'description' => 'The full name of the repository.', 'required' => false, 'title' => '', 'example' => 'LYH-RAIN/vue-color-avatar'],
],
[
- 'name' => 'Targets',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The resources to be queried.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'docRequired' => false,
- 'example' => '{ "ResourceType": "ALIYUN::ECS::Instance", "Filters": [ { "Type": "All", "RegionId": "cn-hangzhou", "Parameters": { "RegionId": "cn-hangzhou", "Status": "Running" } } ] }',
- ],
- ],
- [
- 'name' => 'ClientToken',
+ 'name' => 'Branch',
'in' => 'query',
- 'schema' => [
- 'description' => 'The client token that is used to ensure the idempotence of the request.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'DASKJJLKADS-AHKLJHJSAKL-AJK',
- ],
+ 'schema' => ['type' => 'string', 'description' => 'The name of the branch.', 'required' => false, 'title' => '', 'example' => 'dev'],
],
[
- 'name' => 'StateConfigurationId',
+ 'name' => 'Path',
'in' => 'query',
- 'schema' => [
- 'description' => 'The ID of the desired-state configuration.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'sc-asfgdhj12345',
- ],
+ 'schema' => ['type' => 'string', 'description' => 'The path of the file or folder in the repository.', 'required' => false, 'title' => '', 'example' => 'dir1'],
],
[
- 'name' => 'Tags',
+ 'name' => 'ContentType',
'in' => 'query',
- 'style' => 'json',
- 'schema' => [
- 'description' => 'The tags to be added to the configuration.'."\n",
- 'type' => 'object',
- 'required' => false,
- 'example' => '{"Key": "oos", "Value": "sc"}',
- ],
+ 'schema' => ['type' => 'string', 'description' => 'The type of content to retrieve.', 'required' => false, 'title' => '', 'example' => 'dir'],
],
[
- 'name' => 'ResourceGroupId',
+ 'name' => 'RepoId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The resource group ID.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'rg-acfmxsn4m4******',
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'description' => 'The ID of the image repository.', 'required' => false, 'title' => '', 'example' => '2642213'],
],
],
'responses' => [
@@ -10019,569 +7342,323 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => 'The request ID.'."\n",
- 'type' => 'string',
- 'example' => '1306108F-610C-40FD-AAD5-DA13E8B00BE9',
- ],
- 'StateConfiguration' => [
- 'description' => 'The details of the configuration.'."\n",
+ 'RequestId' => ['type' => 'string', 'description' => 'The request ID.', 'title' => '', 'example' => '2075899A-585D-4A41-A9B2-28DA8534'],
+ 'Contents' => [
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'UpdateTime' => [
- 'description' => 'The time when the configuration was updated.'."\n",
- 'type' => 'string',
- 'example' => '2021-03-22T03:13:32Z',
- ],
- 'CreateTime' => [
- 'description' => 'The time when the configuration was created.'."\n",
- 'type' => 'string',
- 'example' => '2021-03-22T03:13:32Z',
- ],
- 'Targets' => [
- 'description' => 'The queried resources.'."\n",
- 'type' => 'string',
- 'example' => '{ "ResourceType": "ALIYUN::ECS::Instance", "Filters": [ { "Type": "All", "RegionId": "cn-hangzhou", "Parameters": { "RegionId": "cn-hangzhou", "Status": "Running" } } ] }',
- ],
- 'Tags' => [
- 'description' => 'The tags added to the configuration.'."\n",
- 'type' => 'object',
- 'example' => '{"Key": "oos", "Value": "inventory"}',
- ],
- 'StateConfigurationId' => [
- 'description' => 'The ID of the desired-state configuration.'."\n",
- 'type' => 'string',
- 'example' => 'StateConfigurationId',
- ],
- 'ScheduleExpression' => [
- 'description' => 'The CRON expression.'."\n",
- 'type' => 'string',
- 'example' => '1 hour',
- ],
- 'TemplateName' => [
- 'description' => 'The name of the template.'."\n",
- 'type' => 'string',
- 'example' => 'ACS-ECS-InventoryDataCollection',
- ],
- 'TemplateVersion' => [
- 'description' => 'The name of the template version.'."\n",
- 'type' => 'string',
- 'example' => 'v1',
- ],
- 'ConfigureMode' => [
- 'description' => 'The configuration mode. Valid values:'."\n",
- 'type' => 'string',
- 'example' => 'ApplyAndAutoCorrect',
- ],
- 'ScheduleType' => [
- 'description' => 'The schedule type.'."\n",
- 'type' => 'string',
- 'example' => 'rate',
- ],
- 'Parameters' => [
- 'description' => 'The parameters.'."\n",
- 'type' => 'string',
- 'example' => '{"policy": {"ACS:Network": {"Collection": "Enabled"}, "ACS:Application": {"Collection": "Enabled"}}}',
- ],
- 'Description' => [
- 'description' => 'The description of the desired-state configuration.'."\n",
- 'type' => 'string',
- 'example' => 'collect inventory data',
- ],
- 'ResourceGroupId' => [
- 'description' => 'The resource group ID.'."\n",
- 'type' => 'string',
- 'example' => 'rg-acfmxsn4m4******',
- ],
- 'TemplateId' => [
- 'description' => 'The template ID.'."\n",
- 'type' => 'string',
- 'example' => 't-1234asadf',
- ],
- ],
+ 'Name' => ['type' => 'string', 'description' => 'The name of the file or folder.', 'title' => '', 'example' => 'mydir'],
+ 'Path' => ['type' => 'string', 'description' => 'The path of the file or folder.', 'title' => '', 'example' => 'dir1'],
+ 'Type' => ['type' => 'string', 'description' => 'The content type.', 'title' => '', 'example' => 'dir'],
+ 'Content' => ['type' => 'string', 'description' => 'The details of the content.', 'title' => '', 'example' => 'mydir'],
+ ],
+ 'description' => 'The content.',
+ 'title' => '',
+ 'example' => '',
],
+ 'description' => 'The details of the content.',
+ 'title' => '',
+ 'example' => '',
],
+ 'Count' => ['type' => 'integer', 'format' => 'int32', 'description' => 'The number of entries.', 'title' => '', 'example' => '1'],
],
'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"1306108F-610C-40FD-AAD5-DA13E8B00BE9\\",\\n \\"StateConfiguration\\": [\\n {\\n \\"UpdateTime\\": \\"2021-03-22T03:13:32Z\\",\\n \\"CreateTime\\": \\"2021-03-22T03:13:32Z\\",\\n \\"Targets\\": \\"{ \\\\\\"ResourceType\\\\\\": \\\\\\"ALIYUN::ECS::Instance\\\\\\", \\\\\\"Filters\\\\\\": [ { \\\\\\"Type\\\\\\": \\\\\\"All\\\\\\", \\\\\\"RegionId\\\\\\": \\\\\\"cn-hangzhou\\\\\\", \\\\\\"Parameters\\\\\\": { \\\\\\"RegionId\\\\\\": \\\\\\"cn-hangzhou\\\\\\", \\\\\\"Status\\\\\\": \\\\\\"Running\\\\\\" } } ] }\\",\\n \\"Tags\\": {\\n \\"Key\\": \\"oos\\",\\n \\"Value\\": \\"inventory\\"\\n },\\n \\"StateConfigurationId\\": \\"StateConfigurationId\\",\\n \\"ScheduleExpression\\": \\"1 hour\\",\\n \\"TemplateName\\": \\"ACS-ECS-InventoryDataCollection\\",\\n \\"TemplateVersion\\": \\"v1\\",\\n \\"ConfigureMode\\": \\"ApplyAndAutoCorrect\\",\\n \\"ScheduleType\\": \\"rate\\",\\n \\"Parameters\\": \\"{\\\\\\"policy\\\\\\": {\\\\\\"ACS:Network\\\\\\": {\\\\\\"Collection\\\\\\": \\\\\\"Enabled\\\\\\"}, \\\\\\"ACS:Application\\\\\\": {\\\\\\"Collection\\\\\\": \\\\\\"Enabled\\\\\\"}}}\\",\\n \\"Description\\": \\"收集Inventory数据\\",\\n \\"ResourceGroupId\\": \\"rg-acfmxsn4m4******\\",\\n \\"TemplateId\\": \\"t-1234asadf\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<UpdateStateConfigurationResponse>\\n <RequestId>1306108F-610C-40FD-AAD5-DA13E8B00BE9</RequestId>\\n <StateConfiguration>\\n <UpdateTime>2021-03-22T03:13:32Z</UpdateTime>\\n <CreateTime>2021-03-22T03:13:32Z</CreateTime>\\n <Targets>{ \\"ResourceType\\": \\"ALIYUN::ECS::Instance\\", \\"Filters\\": [ { \\"Type\\": \\"All\\", \\"RegionId\\": \\"cn-hangzhou\\", \\"Parameters\\": { \\"RegionId\\": \\"cn-hangzhou\\", \\"Status\\": \\"Running\\" } } ] }</Targets>\\n <StateConfigurationId>StateConfigurationId</StateConfigurationId>\\n <ScheduleExpression>1 hour</ScheduleExpression>\\n <TemplateName>ACS-ECS-InventoryDataCollection</TemplateName>\\n <TemplateVersion>v1</TemplateVersion>\\n <ConfigureMode>ApplyAndAutoCorrect</ConfigureMode>\\n <ScheduleType>rate</ScheduleType>\\n <Parameters>{\\"policy\\": {\\"ACS:Network\\": {\\"Collection\\": \\"Enabled\\"}, \\"ACS:Application\\": {\\"Collection\\": \\"Enabled\\"}}}</Parameters>\\n <Description>收集Inventory数据</Description>\\n <ResourceGroupId>rg-acfmxsn4m4******</ResourceGroupId>\\n <TemplateId>t-1234asadf</TemplateId>\\n </StateConfiguration>\\n</UpdateStateConfigurationResponse>","errorExample":""}]',
- 'title' => 'UpdateStateConfiguration',
- 'requestParamsDescription' => ' ',
- 'responseParamsDescription' => ' ',
- 'extraInfo' => ' ',
- ],
- 'ListStateConfigurations' => [
- 'summary' => 'Queries desired-state configurations.',
- 'methods' => [
- 'post',
- 'get',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => 'ListGitRepositoryContents',
+ 'description' => 'Ensure that you have the required permissions to manage KMS secrets before you call this operation.',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'oos:ListGitRepositoryContents',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [
+ ['conditionKey' => 'oos:TLSVersion'],
+ ],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'OOS', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"2075899A-585D-4A41-A9B2-28DA8534\\",\\n \\"Contents\\": [\\n {\\n \\"Name\\": \\"mydir\\",\\n \\"Path\\": \\"dir1\\",\\n \\"Type\\": \\"dir\\",\\n \\"Content\\": \\"mydir\\"\\n }\\n ],\\n \\"Count\\": 1\\n}","type":"json"}]',
+ ],
+ 'ListInstancePackageStates' => [
+ 'summary' => 'Lists the status of each package on an instance.',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
- 'deprecated' => false,
'systemTags' => [
- 'operationType' => 'get',
- 'abilityTreeCode' => '93986',
- 'abilityTreeNodes' => [
- 'FEATUREoosLDUDPP',
- ],
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '201404',
+ 'abilityTreeNodes' => ['FEATUREoosPUWKNA'],
],
'parameters' => [
[
- 'name' => 'RegionId',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The region ID.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
- ],
- [
- 'name' => 'TemplateName',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The name of the template. The name must be 1 to 200 characters in length and can contain letters, digits, hyphens (-), and underscores (\\_).'."\n",
- 'type' => 'string',
- 'required' => false,
- 'docRequired' => false,
- 'example' => 'ACS-ECS-InventoryDataCollection',
- ],
- ],
- [
- 'name' => 'TemplateVersion',
+ 'name' => 'TemplateNames',
'in' => 'query',
- 'schema' => [
- 'description' => 'The version number of the template. If you do not specify this parameter, the latest version of the template is used.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'v1',
- ],
+ 'schema' => ['description' => 'A list of extension names.', 'type' => 'string', 'required' => false, 'docRequired' => true, 'title' => '', 'example' => '["template1","template2"]'],
],
[
- 'name' => 'StateConfigurationIds',
+ 'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The ID of the desired-state configuration.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'docRequired' => false,
- 'example' => '["sc-asfgdhj12345"]',
- ],
+ 'schema' => ['description' => 'The region ID.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'cn-hangzhou'],
],
[
- 'name' => 'Tags',
+ 'name' => 'InstanceId',
'in' => 'query',
- 'style' => 'json',
- 'schema' => [
- 'description' => 'The tags to be added to the configuration.'."\n",
- 'type' => 'object',
- 'required' => false,
- 'docRequired' => false,
- 'example' => '{"Key": "oos", "Value": "inventory"}',
- ],
+ 'schema' => ['description' => 'The ID of the ECS instance.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'i-bp1cpoxxxwxxxxxxxxxx'],
],
[
'name' => 'MaxResults',
'in' => 'query',
- 'schema' => [
- 'description' => 'The maximum number of entries per page.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '50',
- ],
+ 'schema' => ['description' => 'The page size.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'title' => '', 'example' => '50'],
],
[
'name' => 'NextToken',
'in' => 'query',
- 'schema' => [
- 'description' => 'A pagination token. It can be used in the next request to retrieve a new page of results.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'AHJKH-AHKJHDJK-AKHDIOWJL',
- ],
- ],
- [
- 'name' => 'ResourceGroupId',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The resource group ID.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'rg-acfmxsn4m4******',
- ],
+ 'schema' => ['description' => 'The pagination token.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'MTRBMDc0NjAtRUJFNy00N0NBLTk3NTctzxxxxxxx'],
],
],
'responses' => [
200 => [
'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => 'The request ID.'."\n",
- 'type' => 'string',
- 'example' => '1306108F-610C-40FD-AAD5-DA13E8B00BE9',
- ],
- 'StateConfigurations' => [
- 'description' => 'The information about the desired-state configurations.'."\n",
+ 'RequestId' => ['title' => 'Id of the request', 'description' => 'ID of the request', 'type' => 'string', 'example' => '1306108F-610C-40FD-AAD5-XXXXXX'],
+ 'MaxResults' => ['description' => 'The page size.', 'type' => 'string', 'title' => '', 'example' => '50'],
+ 'NextToken' => ['description' => 'The token that is used for pagination.', 'type' => 'string', 'title' => '', 'example' => 'MTRBMDc0NjAtRUJFNy00N0NBLTk3NTctzxxxxxxx'],
+ 'PackageStates' => [
+ 'description' => 'A list of extensions.',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'UpdateTime' => [
- 'description' => 'The time when the configuration was updated.'."\n",
- 'type' => 'string',
- 'example' => '2021-04-22T03:13:32Z',
- ],
- 'CreateTime' => [
- 'description' => 'The time when the desired-state configuration was created.'."\n",
- 'type' => 'string',
- 'example' => '2021-03-22T03:13:32Z',
- ],
- 'Targets' => [
- 'description' => 'The queried resources.'."\n",
- 'type' => 'string',
- 'example' => '{ "ResourceType": "ALIYUN::ECS::Instance", "Filters": [ { "Type": "All", "RegionId": "cn-hangzhou", "Parameters": { "RegionId": "cn-hangzhou", "Status": "Running" } } ] }',
- ],
- 'Tags' => [
- 'description' => 'The tags added to the configuration.'."\n",
- 'type' => 'object',
- 'example' => '{"Key": "oos", "Value": "inventory"}',
- ],
- 'StateConfigurationId' => [
- 'description' => 'The ID of the desired-state configuration.'."\n",
- 'type' => 'string',
- 'example' => 'sc-a538febe18fabcdef',
- ],
- 'ScheduleExpression' => [
- 'description' => 'The schedule expression.'."\n",
- 'type' => 'string',
- 'example' => '1 hour',
- ],
- 'TemplateName' => [
- 'description' => 'The name of the template.'."\n",
- 'type' => 'string',
- 'example' => 'ACS-ECS-InventoryDataCollection',
- ],
- 'TemplateVersion' => [
- 'description' => 'The version of the template.'."\n",
- 'type' => 'string',
- 'example' => 'v2',
- ],
- 'ConfigureMode' => [
- 'description' => 'The configuration mode. Valid values:'."\n",
- 'type' => 'string',
- 'example' => 'ApplyAndAutoCorrect',
- ],
- 'ScheduleType' => [
- 'description' => 'The schedule type.'."\n",
- 'type' => 'string',
- 'example' => 'rate',
- ],
- 'Parameters' => [
- 'description' => 'The parameters.'."\n",
- 'type' => 'string',
- 'example' => '{"policy": {"ACS:Network": {"Collection": "Enabled"}, "ACS:Application": {"Collection": "Enabled"}}}',
- ],
- 'Description' => [
- 'description' => 'The description.'."\n",
- 'type' => 'string',
- 'example' => 'Collect inventory data',
- ],
- 'ResourceGroupId' => [
- 'description' => 'The resource group ID.'."\n",
- 'type' => 'string',
- 'example' => 'rg-acfmxsn4m4******',
- ],
- 'TemplateId' => [
- 'description' => 'The template ID.'."\n",
- 'type' => 'string',
- 'example' => 't-ajshjalscfhjk2214',
- ],
+ 'TemplateId' => ['description' => 'The template ID.', 'type' => 'string', 'title' => '', 'example' => '087b1e11072a40259f6fxxxxxxxxx'],
+ 'TemplateName' => ['description' => 'The template name.', 'type' => 'string', 'title' => '', 'example' => 'ACS-ECS-Docker'],
+ 'TemplateVersion' => ['description' => 'The version number of the template.', 'type' => 'string', 'title' => '', 'example' => 'v3'],
+ 'TemplateVersionName' => ['description' => 'The version name of the template.', 'type' => 'string', 'title' => '', 'example' => 'fix bug'],
+ 'TemplateCategory' => ['description' => 'The type of the template.', 'type' => 'string', 'title' => '', 'example' => 'Package'],
+ 'UpdateTime' => ['description' => 'The time when the template was updated.', 'type' => 'string', 'title' => '', 'example' => '2024-05-04T11:17:28'],
+ 'Description' => ['description' => 'The description.', 'type' => 'string', 'title' => '', 'example' => 'template description'],
+ 'Publisher' => ['description' => 'The publisher.', 'type' => 'string', 'title' => '', 'example' => 'Alibaba Cloud'],
+ 'Parameters' => ['description' => 'The parameters.', 'type' => 'string', 'title' => '', 'example' => '{}'],
+ 'ConfigurationInfo' => ['type' => 'string', 'description' => 'The configuration information of the extension.', 'title' => '', 'example' => '{\\"publicUrl\\": \\"https://47.110.64.186:8888/5eff94f8\\", \\"privateUrl\\": \\"https://172.20.160.110:8888/5eff94f8\\", \\"username\\": \\"user\\", \\"password\\": \\"baotaOSuaOHt\\"}\\n'],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
- ],
- 'NextToken' => [
- 'description' => 'The pagination token that was used in the next request to retrieve a new page of results.'."\n",
- 'type' => 'string',
- 'example' => 'AAAAASO3cL82+b5iji7bfPNpMh8=',
+ 'title' => '',
+ 'example' => '',
],
],
- 'description' => '',
+ 'example' => '',
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"1306108F-610C-40FD-AAD5-DA13E8B00BE9\\",\\n \\"StateConfigurations\\": [\\n {\\n \\"UpdateTime\\": \\"2021-04-22T03:13:32Z\\",\\n \\"CreateTime\\": \\"2021-03-22T03:13:32Z\\",\\n \\"Targets\\": \\"{ \\\\\\"ResourceType\\\\\\": \\\\\\"ALIYUN::ECS::Instance\\\\\\", \\\\\\"Filters\\\\\\": [ { \\\\\\"Type\\\\\\": \\\\\\"All\\\\\\", \\\\\\"RegionId\\\\\\": \\\\\\"cn-hangzhou\\\\\\", \\\\\\"Parameters\\\\\\": { \\\\\\"RegionId\\\\\\": \\\\\\"cn-hangzhou\\\\\\", \\\\\\"Status\\\\\\": \\\\\\"Running\\\\\\" } } ] }\\",\\n \\"Tags\\": {\\n \\"Key\\": \\"oos\\",\\n \\"Value\\": \\"inventory\\"\\n },\\n \\"StateConfigurationId\\": \\"sc-a538febe18fabcdef\\",\\n \\"ScheduleExpression\\": \\"1 hour\\",\\n \\"TemplateName\\": \\"ACS-ECS-InventoryDataCollection\\",\\n \\"TemplateVersion\\": \\"v2\\",\\n \\"ConfigureMode\\": \\"ApplyAndAutoCorrect\\",\\n \\"ScheduleType\\": \\"rate\\",\\n \\"Parameters\\": \\"{\\\\\\"policy\\\\\\": {\\\\\\"ACS:Network\\\\\\": {\\\\\\"Collection\\\\\\": \\\\\\"Enabled\\\\\\"}, \\\\\\"ACS:Application\\\\\\": {\\\\\\"Collection\\\\\\": \\\\\\"Enabled\\\\\\"}}}\\",\\n \\"Description\\": \\" inventory数据收集\\",\\n \\"ResourceGroupId\\": \\"rg-acfmxsn4m4******\\",\\n \\"TemplateId\\": \\"t-ajshjalscfhjk2214\\"\\n }\\n ],\\n \\"NextToken\\": \\"AAAAASO3cL82+b5iji7bfPNpMh8=\\"\\n}","errorExample":""},{"type":"xml","example":"<ListStateConfigurationsResponse>\\n <RequestId>1306108F-610C-40FD-AAD5-DA13E8B00BE9</RequestId>\\n <StateConfigurations>\\n <UpdateTime>2021-04-22T03:13:32Z</UpdateTime>\\n <CreateTime>2021-03-22T03:13:32Z</CreateTime>\\n <Targets>{ \\"ResourceType\\": \\"ALIYUN::ECS::Instance\\", \\"Filters\\": [ { \\"Type\\": \\"All\\", \\"RegionId\\": \\"cn-hangzhou\\", \\"Parameters\\": { \\"RegionId\\": \\"cn-hangzhou\\", \\"Status\\": \\"Running\\" } } ] }</Targets>\\n <StateConfigurationId>sc-a538febe18fabcdef</StateConfigurationId>\\n <ScheduleExpression>1 hour</ScheduleExpression>\\n <TemplateName>ACS-ECS-InventoryDataCollection</TemplateName>\\n <TemplateVersion>v2</TemplateVersion>\\n <ConfigureMode>ApplyAndAutoCorrect</ConfigureMode>\\n <ScheduleType>rate</ScheduleType>\\n <Parameters>{\\"policy\\": {\\"ACS:Network\\": {\\"Collection\\": \\"Enabled\\"}, \\"ACS:Application\\": {\\"Collection\\": \\"Enabled\\"}}}</Parameters>\\n <Description> inventory数据收集</Description>\\n <ResourceGroupId>rg-acfmxsn4m4******</ResourceGroupId>\\n <TemplateId>t-ajshjalscfhjk2214</TemplateId>\\n </StateConfigurations>\\n</ListStateConfigurationsResponse>","errorExample":""}]',
- 'title' => 'ListStateConfigurations',
- 'requestParamsDescription' => ' ',
- 'responseParamsDescription' => ' ',
- 'extraInfo' => ' ',
- ],
- 'CreateOpsItem' => [
- 'summary' => 'Creates an O\\\\\\\\\\\\\\\\\\\\&M Item.',
- 'methods' => [
- 'post',
- 'get',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"1306108F-610C-40FD-AAD5-XXXXXX\\",\\n \\"MaxResults\\": \\"50\\",\\n \\"NextToken\\": \\"MTRBMDc0NjAtRUJFNy00N0NBLTk3NTctzxxxxxxx\\",\\n \\"PackageStates\\": [\\n {\\n \\"TemplateId\\": \\"087b1e11072a40259f6fxxxxxxxxx\\",\\n \\"TemplateName\\": \\"ACS-ECS-Docker\\",\\n \\"TemplateVersion\\": \\"v3\\",\\n \\"TemplateVersionName\\": \\"fix bug\\",\\n \\"TemplateCategory\\": \\"Package\\",\\n \\"UpdateTime\\": \\"2024-05-04T11:17:28\\",\\n \\"Description\\": \\"template description\\",\\n \\"Publisher\\": \\"Alibaba Cloud\\",\\n \\"Parameters\\": \\"{}\\",\\n \\"ConfigurationInfo\\": \\"{\\\\\\\\\\\\\\"publicUrl\\\\\\\\\\\\\\": \\\\\\\\\\\\\\"https://47.110.64.186:8888/5eff94f8\\\\\\\\\\\\\\", \\\\\\\\\\\\\\"privateUrl\\\\\\\\\\\\\\": \\\\\\\\\\\\\\"https://172.20.160.110:8888/5eff94f8\\\\\\\\\\\\\\", \\\\\\\\\\\\\\"username\\\\\\\\\\\\\\": \\\\\\\\\\\\\\"user\\\\\\\\\\\\\\", \\\\\\\\\\\\\\"password\\\\\\\\\\\\\\": \\\\\\\\\\\\\\"baotaOSuaOHt\\\\\\\\\\\\\\"}\\\\\\\\n\\"\\n }\\n ]\\n}","type":"json"}]',
+ 'title' => 'ListInstancePackageStates',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListInstancePackageStates'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'oos:ListInstancePackageStates',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [
+ ['conditionKey' => 'oos:tag', 'validationType' => 'always'],
+ ['conditionKey' => 'oos:TLSVersion'],
+ ],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'OOS', 'resourceType' => 'Template', 'arn' => 'acs:oos:{#regionId}:{#accountId}:template/{#templateNames}'],
+ ],
+ ],
+ ],
],
+ ],
+ 'ListInstancePatchStates' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'readAndWrite',
+ 'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'create',
+ 'operationType' => 'list',
+ 'abilityTreeCode' => '93977',
+ 'abilityTreeNodes' => ['FEATUREoosP0JPSG'],
],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The region ID.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => 'The ID of the region.', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''],
],
[
- 'name' => 'Title',
+ 'name' => 'MaxResults',
'in' => 'query',
- 'schema' => [
- 'description' => 'The title of the O\\&M item.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'ECS reboot is scheduled',
- ],
+ 'schema' => ['description' => 'The maximum number of entries to return on each page. The service may return fewer than this value.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '50', 'title' => ''],
],
[
- 'name' => 'Description',
+ 'name' => 'NextToken',
'in' => 'query',
- 'schema' => [
- 'description' => 'The description of the operation.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'OpsItem',
- ],
+ 'schema' => ['description' => 'The token returned from a previous call that is used to retrieve the next page of results.', 'type' => 'string', 'required' => false, 'example' => '-', 'title' => ''],
],
[
- 'name' => 'ResourceGroupId',
+ 'name' => 'InstanceIds',
'in' => 'query',
- 'schema' => [
- 'description' => 'The ID of the resource group.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'rg-acfmxsn4m4******',
- ],
+ 'schema' => ['description' => 'A JSON array of up to 100 ECS instance IDs.', 'type' => 'string', 'required' => false, 'example' => '["i-bp1jaxa2bs4bps7*****", "i-bp67acfmxazb4p****", … "i-bp67acfmxazb4p****"]', 'title' => ''],
],
[
- 'name' => 'Tags',
+ 'name' => 'AccountId',
'in' => 'query',
- 'style' => 'json',
+ 'schema' => ['type' => 'string', 'example' => '123456789', 'description' => '', 'title' => ''],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
'schema' => [
- 'description' => 'The tags.'."\n",
'type' => 'object',
- 'required' => false,
- 'example' => '{'."\n"
- .' "k1": "v1",'."\n"
- .' "k2": "v2"'."\n"
- .'}',
+ 'properties' => [
+ 'NextToken' => ['description' => 'The token to use in a subsequent request to retrieve the next page of results. This value is null if all results have been returned.', 'type' => 'string', 'example' => '-', 'title' => ''],
+ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '9A47C086-E64D-52EE-8B2C-EFD23877C55E', 'title' => ''],
+ 'MaxResults' => ['description' => 'The number of entries returned on the current page.', 'type' => 'integer', 'format' => 'int32', 'example' => '50', 'title' => ''],
+ 'InstancePatchStates' => [
+ 'description' => 'The patch states of the instances.',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'MissingCount' => ['description' => 'The number of missing patches.', 'type' => 'string', 'example' => '0', 'title' => ''],
+ 'OperationEndTime' => ['description' => 'The time when the operation ended.', 'type' => 'string', 'example' => '2021-09-10T11:42:22Z', 'title' => ''],
+ 'OwnerInformation' => ['description' => 'Information about the owner.', 'type' => 'string', 'example' => '“”', 'title' => ''],
+ 'InstalledOtherCount' => ['description' => 'The number of installed patches that do not comply with the patch baseline.', 'type' => 'string', 'example' => '0', 'title' => ''],
+ 'InstanceId' => ['description' => 'The ID of the ECS instance.', 'type' => 'string', 'example' => 'i-bp1jaxa2bs4bps7*****', 'title' => ''],
+ 'OperationType' => ['description' => 'The type of operation performed. For example, scan.', 'type' => 'string', 'example' => 'scan', 'title' => ''],
+ 'OperationStartTime' => ['description' => 'The time when the operation started.', 'type' => 'string', 'example' => '2021-09-10T11:42:22Z', 'title' => ''],
+ 'FailedCount' => ['description' => 'The number of patches that failed to install.', 'type' => 'string', 'example' => '0', 'title' => ''],
+ 'BaselineId' => ['description' => 'The ID of the patch baseline.', 'type' => 'string', 'example' => 'pb-f9393021b7a049e1b34e', 'title' => ''],
+ 'InstalledPendingRebootCount' => ['description' => 'The number of installed patches that require a system reboot.', 'type' => 'string', 'example' => '0', 'title' => ''],
+ 'InstalledRejectedCount' => ['description' => 'The number of installed patches that were rejected by the user.', 'type' => 'string', 'example' => '0', 'title' => ''],
+ 'PatchGroup' => ['description' => 'The patch group to which the instance belongs.', 'type' => 'string', 'example' => 'null', 'title' => ''],
+ 'InstalledCount' => ['description' => 'The number of installed patches.', 'type' => 'string', 'example' => '0', 'title' => ''],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
- [
- 'name' => 'ClientToken',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The client token that is used to ensure the idempotence of the request.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => '123e56767-e89b-12d3-a456-426655440000',
- ],
+ ],
+ 'title' => 'ListInstancePatchStates',
+ 'summary' => 'Retrieves the patch state of one or more instances.',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListInstancePatchStates'],
],
+ ],
+ 'ramActions' => [
[
- 'name' => 'Severity',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The severity level.'."\n"
- ."\n"
- .'Valid values:'."\n"
- ."\n"
- .'* High'."\n"
- ."\n"
- .' <!-- -->'."\n"
- ."\n"
- .' <!-- -->'."\n"
- ."\n"
- .' <!-- -->'."\n"
- ."\n"
- .'* Low'."\n"
- ."\n"
- .' <!-- -->'."\n"
- ."\n"
- .' <!-- -->'."\n"
- ."\n"
- .' <!-- -->'."\n"
- ."\n"
- .'* Medium'."\n"
- ."\n"
- .' <!-- -->'."\n"
- ."\n"
- .' <!-- -->'."\n"
- ."\n"
- .' <!-- -->'."\n"
- ."\n"
- .'* Critical'."\n"
- ."\n"
- .' <!-- -->'."\n"
- ."\n"
- .' <!-- -->'."\n"
- ."\n"
- .' <!-- -->'."\n",
- 'type' => 'string',
- 'required' => true,
- 'enumValueTitles' => [
- 'High' => 'High',
- 'Low' => 'Low',
- 'Medium' => 'Medium',
- 'Critical' => 'Critical',
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'oos:ListInstancePatchStates',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [
+ ['conditionKey' => 'oos:TLSVersion'],
+ ],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'OOS', 'resourceType' => 'All Resource', 'arn' => '*'],
],
- 'example' => 'Medium',
],
],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"NextToken\\": \\"-\\",\\n \\"RequestId\\": \\"9A47C086-E64D-52EE-8B2C-EFD23877C55E\\",\\n \\"MaxResults\\": 50,\\n \\"InstancePatchStates\\": [\\n {\\n \\"MissingCount\\": \\"0\\",\\n \\"OperationEndTime\\": \\"2021-09-10T11:42:22Z\\",\\n \\"OwnerInformation\\": \\"“”\\",\\n \\"InstalledOtherCount\\": \\"0\\",\\n \\"InstanceId\\": \\"i-bp1jaxa2bs4bps7*****\\",\\n \\"OperationType\\": \\"scan\\",\\n \\"OperationStartTime\\": \\"2021-09-10T11:42:22Z\\",\\n \\"FailedCount\\": \\"0\\",\\n \\"BaselineId\\": \\"pb-f9393021b7a049e1b34e\\",\\n \\"InstalledPendingRebootCount\\": \\"0\\",\\n \\"InstalledRejectedCount\\": \\"0\\",\\n \\"PatchGroup\\": \\"null\\",\\n \\"InstalledCount\\": \\"0\\"\\n }\\n ]\\n}","type":"json"}]',
+ ],
+ 'ListInstancePatches' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'list',
+ 'abilityTreeCode' => '93976',
+ 'abilityTreeNodes' => ['FEATUREoosP0JPSG'],
+ ],
+ 'parameters' => [
[
- 'name' => 'Source',
+ 'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The source business.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'example' => '/aliyun/ecs',
- ],
+ 'schema' => ['description' => 'The ID of the region.', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''],
],
[
- 'name' => 'Category',
+ 'name' => 'InstanceId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The category.'."\n"
- ."\n"
- .'Valid values:'."\n"
- ."\n"
- .'* Availability'."\n"
- ."\n"
- .' <!-- -->'."\n"
- ."\n"
- .' <!-- -->'."\n"
- ."\n"
- .' <!-- -->'."\n"
- ."\n"
- .'* Performance'."\n"
- ."\n"
- .' <!-- -->'."\n"
- ."\n"
- .' <!-- -->'."\n"
- ."\n"
- .' <!-- -->'."\n"
- ."\n"
- .'* Security'."\n"
- ."\n"
- .' <!-- -->'."\n"
- ."\n"
- .' <!-- -->'."\n"
- ."\n"
- .' <!-- -->'."\n"
- ."\n"
- .'* Cost'."\n"
- ."\n"
- .' <!-- -->'."\n"
- ."\n"
- .' <!-- -->'."\n"
- ."\n"
- .' <!-- -->'."\n"
- ."\n"
- .'* Recovery'."\n"
- ."\n"
- .' <!-- -->'."\n"
- ."\n"
- .' <!-- -->'."\n"
- ."\n"
- .' <!-- -->'."\n",
- 'type' => 'string',
- 'required' => true,
- 'enumValueTitles' => [
- 'Availability' => 'Availability',
- 'Performance' => 'Performance',
- 'Security' => 'Security',
- 'Cost' => 'Cost',
- 'Recovery' => 'Recovery',
- ],
- 'example' => 'Security',
- ],
+ 'schema' => ['description' => 'The ID of the instance.', 'type' => 'string', 'required' => false, 'example' => 'i-bp1jaxa2bs4bps7*****', 'title' => ''],
],
[
- 'name' => 'Priority',
+ 'name' => 'MaxResults',
'in' => 'query',
- 'schema' => [
- 'description' => 'The priority. Valid values: 1 to 5. 1 indicates the highest priority.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'enumValueTitles' => [
- 1 => '1',
- '2',
- '3',
- '4',
- '5',
- ],
- 'example' => '4',
- ],
+ 'schema' => ['description' => 'The number of entries to return per page.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '50', 'title' => ''],
],
[
- 'name' => 'Solutions',
+ 'name' => 'NextToken',
'in' => 'query',
- 'schema' => [
- 'description' => 'The solutions.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => '\\[{\\n \\\\"priority\\\\":3,\\n \\\\"type\\\\":\\\\"SingleAZEcs\\\\",\\n \\\\"url\\\\":\\\\"http://ecs.consle.aliyuncs.com\\\\",\\n \\\\"description\\\\":\\\\"Create Elastic Compute Service (ECS) instances in different zones and import them to an application group.\\\\"\\n}]'."\n",
- ],
+ 'schema' => ['description' => 'The token used to retrieve the next page of results.', 'type' => 'string', 'required' => false, 'example' => '-', 'title' => ''],
],
[
- 'name' => 'DedupString',
+ 'name' => 'PatchStatuses',
'in' => 'query',
- 'schema' => [
- 'description' => 'The string to be deduplicated.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'ecs_instance_Sys',
- ],
+ 'schema' => ['description' => 'The status of the patch. If you do not specify this parameter, the operation returns patches in all statuses.', 'type' => 'string', 'required' => false, 'example' => 'Installed', 'title' => ''],
],
[
- 'name' => 'Resources',
+ 'name' => 'AccountId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The Alibaba Cloud Resource Names (ARNs) of the associated resources.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => '[\\"acs:oos:cn-hangzhou:1563457855438522:application/test-33333/applicationgroup/default-cn-hangzhou-1\\"]',
- ],
+ 'schema' => ['type' => 'string', 'example' => '123456789', 'description' => '', 'title' => ''],
],
],
'responses' => [
@@ -10589,121 +7666,68 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => 'The request ID.'."\n",
- 'type' => 'string',
- 'example' => 'DA4F08D4-DA54-5407-84B9-108C71D75B17',
- ],
- 'OpsItem' => [
- 'description' => 'The information about the O\\&M item.'."\n",
- 'type' => 'object',
- 'properties' => [
- 'Tags' => [
- 'description' => 'The tags of the O\\&M item.'."\n",
- 'type' => 'object',
- 'example' => '{"k1": "v1"}',
- ],
- 'UpdateDate' => [
- 'description' => 'The time when the O\\&M item was updated.'."\n",
- 'type' => 'string',
- 'example' => '2023-03-24T03:55Z',
- ],
- 'Description' => [
- 'description' => 'The description of the O\\&M item.'."\n",
- 'type' => 'string',
- 'example' => 'OpsItem',
- ],
- 'OpsItemId' => [
- 'description' => 'The ID of the O\\&M item.'."\n",
- 'type' => 'string',
- 'example' => 'oi-dba9c6eec9254a4d87c1',
- ],
- 'CreateDate' => [
- 'description' => 'The time when the O\\&M item was created.'."\n",
- 'type' => 'string',
- 'example' => '2023-03-24T03:55Z',
- ],
- 'Title' => [
- 'description' => 'The title of the O\\&M item.'."\n",
- 'type' => 'string',
- 'example' => 'ECS reboot is scheduled',
- ],
- 'Status' => [
- 'description' => 'The state of the O\\&M item.'."\n",
- 'type' => 'string',
- 'example' => 'Running',
- ],
- 'Severity' => [
- 'description' => 'The severity level of the O\\&M item.'."\n",
- 'type' => 'string',
- 'example' => 'Medium',
- ],
- 'Category' => [
- 'description' => 'The category of the O\\&M item.'."\n",
- 'type' => 'string',
- 'example' => 'Security',
- ],
- 'Source' => [
- 'description' => 'The source business of the O\\&M item.'."\n",
- 'type' => 'string',
- 'example' => '/aliyun/ecs',
- ],
- 'Priority' => [
- 'description' => 'The priority of the O\\&M item.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '2',
- ],
- 'Solutions' => [
- 'description' => 'The solutions.'."\n",
- 'type' => 'string',
- 'example' => '\\[{\\n \\\\"priority\\\\":3,\\n \\\\"type\\\\":\\\\"url\\\\",\\n \\\\"url\\\\":\\\\"https://example..com\\\\",\\n \\\\"description\\\\":\\\\"Specify a cross-zone high availability cluster. \\\\"\\n}]'."\n",
- ],
- 'Resources' => [
- 'description' => 'The ARNs of the associated resources.'."\n",
- 'type' => 'string',
- 'example' => '[\\"acs:oos:cn-hangzhou:1563457855438522:application/dingTest/applicationgroup/fltest\\"]',
- ],
- 'Attributes' => [
- 'description' => 'The attributes of the O\\&M item.'."\n",
- 'type' => 'string',
- 'example' => '{\\"regionId\\":\\"cn-zhangjiakou\\",\\"appId\\":\\"992BKO1X75GRQ4E8\\",\\"instanceId\\":\\"i-8vbcymxagqsyyyjppbr4\\",\\"instance_name\\":\\"cdae\\"}',
- ],
- 'CreatedBy' => [
- 'description' => 'The user who created the O\\&M item.'."\n",
- 'type' => 'string',
- 'example' => 'root(130900000)'."\n",
- ],
- 'LastModifiedBy' => [
- 'description' => 'The user who last modified the O\\&M item.'."\n",
- 'type' => 'string',
- 'example' => 'root(130900000)'."\n",
- ],
- 'ResourceGroupId' => [
- 'description' => 'The ID of the resource group.'."\n",
- 'type' => 'string',
- 'example' => 'rg-acfmxsn4m4******',
+ 'NextToken' => ['description' => 'The token for the next page of results.', 'type' => 'string', 'example' => '-', 'title' => ''],
+ 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => '0A615755-9C86-5EA6-BF9E-6E8F1AFF9403', 'title' => ''],
+ 'MaxResults' => ['description' => 'The number of entries returned per page.', 'type' => 'integer', 'format' => 'int32', 'example' => '50', 'title' => ''],
+ 'Patches' => [
+ 'description' => 'A list of patches.',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Severity' => ['description' => 'The severity level of the patch.', 'type' => 'string', 'example' => 'important', 'title' => ''],
+ 'Status' => ['description' => 'The installation status of the patch.', 'type' => 'string', 'example' => 'Installed', 'title' => ''],
+ 'InstalledTime' => ['description' => 'The time the patch was installed.', 'type' => 'string', 'example' => '2021-01-28T07:07:20Z', 'title' => ''],
+ 'KBId' => ['description' => 'The KB ID of the patch.', 'type' => 'string', 'example' => 'apt-utils.amd64', 'title' => ''],
+ 'Title' => ['description' => 'The title of the patch.', 'type' => 'string', 'example' => 'isc-dhcp-common.amd64:4.3.5-3ubuntu7.3', 'title' => ''],
+ 'Classification' => ['description' => 'The classification of the patch.', 'type' => 'string', 'example' => '“”', 'title' => ''],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
+ 'title' => '',
+ 'example' => '',
],
],
'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"DA4F08D4-DA54-5407-84B9-108C71D75B17\\",\\n \\"OpsItem\\": {\\n \\"Tags\\": {\\n \\"k1\\": \\"v1\\"\\n },\\n \\"UpdateDate\\": \\"2023-03-24T03:55Z\\",\\n \\"Description\\": \\"OpsItem\\",\\n \\"OpsItemId\\": \\"oi-dba9c6eec9254a4d87c1\\",\\n \\"CreateDate\\": \\"2023-03-24T03:55Z\\",\\n \\"Title\\": \\"ECS reboot is scheduled\\",\\n \\"Status\\": \\"Running\\",\\n \\"Severity\\": \\"Medium\\",\\n \\"Category\\": \\"Security\\",\\n \\"Source\\": \\"/aliyun/ecs\\",\\n \\"Priority\\": 2,\\n \\"Solutions\\": \\"[{\\\\\\\\n \\\\\\\\\\\\\\"priority\\\\\\\\\\\\\\":3,\\\\\\\\n \\\\\\\\\\\\\\"type\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"url\\\\\\\\\\\\\\",\\\\\\\\n \\\\\\\\\\\\\\"url\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"https://example.com\\\\\\\\\\\\\\",\\\\\\\\n \\\\\\\\\\\\\\"description\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"请对集群设置跨可用区高可用。\\\\\\\\\\\\\\"\\\\\\\\n}]\\",\\n \\"Resources\\": \\"[\\\\\\\\\\\\\\"acs:oos:cn-hangzhou:1563457855438522:application/dingTest/applicationgroup/fltest\\\\\\\\\\\\\\"]\\",\\n \\"Attributes\\": \\"{\\\\\\\\\\\\\\"regionId\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"cn-zhangjiakou\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"appId\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"992BKO1X75GRQ4E8\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"instanceId\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"i-8vbcymxagqsyyyjppbr4\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"instance_name\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"cdae\\\\\\\\\\\\\\"}\\",\\n \\"CreatedBy\\": \\"root(130900000)\\\\n\\",\\n \\"LastModifiedBy\\": \\"root(130900000)\\\\n\\",\\n \\"ResourceGroupId\\": \\"rg-acfmxsn4m4******\\"\\n }\\n}","type":"json"}]',
- 'title' => 'CreateOpsItem',
- ],
- 'GetOpsItem' => [
- 'summary' => 'Queries the details of an O\\\\\\\\\\\\\\\\\\\\&M item.',
- 'methods' => [
- 'get',
- 'post',
+ 'title' => 'ListInstancePatches',
+ 'summary' => 'Lists the patches for a specified instance.',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListInstancePatches'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'oos:ListInstancePatches',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [
+ ['conditionKey' => 'oos:TLSVersion'],
+ ],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'OOS', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"NextToken\\": \\"-\\",\\n \\"RequestId\\": \\"0A615755-9C86-5EA6-BF9E-6E8F1AFF9403\\",\\n \\"MaxResults\\": 50,\\n \\"Patches\\": [\\n {\\n \\"Severity\\": \\"important\\",\\n \\"Status\\": \\"Installed\\",\\n \\"InstalledTime\\": \\"2021-01-28T07:07:20Z\\",\\n \\"KBId\\": \\"apt-utils.amd64\\",\\n \\"Title\\": \\"isc-dhcp-common.amd64:4.3.5-3ubuntu7.3\\",\\n \\"Classification\\": \\"“”\\"\\n }\\n ]\\n}","type":"json"}]',
+ ],
+ 'ListInventoryEntries' => [
+ 'summary' => 'Queries the configurations of an Elastic Compute Service (ECS) instance.',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -10713,28 +7737,85 @@
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '93979',
+ 'abilityTreeNodes' => ['FEATUREoosNNSDK6'],
+ 'tenantRelevance' => 'publicInformation',
],
'parameters' => [
[
- 'name' => 'RegionId',
+ 'name' => 'InstanceId',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The ID of the instance.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'i-bp1cpoxxxwxxxxxxxxxx', 'title' => ''],
+ ],
+ [
+ 'name' => 'TypeName',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The name of the component. Valid values:'."\n"
+ ."\n"
+ .'* ACS:InstanceInformation'."\n"
+ .'* ACS:Application'."\n"
+ .'* ACS:File'."\n"
+ .'* ACS:Network'."\n"
+ .'* ACS:WindowsRole'."\n"
+ .'* ACS:Service'."\n"
+ .'* ACS:WindowsRegistry'."\n"
+ .'* ACS:WindowsUpdate'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'ACS:InstanceInformation', 'title' => ''],
+ ],
+ [
+ 'name' => 'MaxResults',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The number of entries per page. Valid values: 1 to 100. Default value: 50.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '100', 'minimum' => '1', 'example' => '50', 'default' => '50', 'title' => ''],
+ ],
+ [
+ 'name' => 'NextToken',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The pagination token that is used in the next request to retrieve a new page of results. You do not need to specify this parameter for the first request.'."\n", 'type' => 'string', 'required' => false, 'example' => 'MTRBMDc0NjAtRUJFNy00N0NBLTk3NTctMTJDQzA', 'title' => ''],
+ ],
+ [
+ 'name' => 'Filter',
'in' => 'query',
+ 'style' => 'repeatList',
'schema' => [
- 'description' => 'The region ID.'."\n",
- 'type' => 'string',
+ 'description' => 'The filter rules for the component.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Value' => [
+ 'description' => 'The values of properties. Valid values of the first N: 1 to 5. Valid values of the second N: 1 to 20.'."\n",
+ 'type' => 'array',
+ 'items' => ['description' => 'The value of the component property.'."\n", 'type' => 'string', 'required' => false, 'example' => 'ubuntu', 'title' => ''],
+ 'required' => false,
+ 'example' => 'test',
+ 'maxItems' => 20,
+ 'title' => '',
+ ],
+ 'Operator' => ['description' => 'The comparison operator that is used to filter property values. Valid values of N: 1 to 5. Valid values:'."\n"
+ ."\n"
+ .'* Equal'."\n"
+ .'* NotEqual'."\n"
+ .'* BeginWith'."\n"
+ .'* LessThan'."\n"
+ .'* GreaterThan'."\n", 'type' => 'string', 'required' => false, 'example' => 'Equal', 'title' => ''],
+ 'Name' => ['description' => 'The name of the component property. Valid values of N: 1 to 5.'."\n", 'type' => 'string', 'required' => false, 'example' => 'PlatformName', 'title' => ''],
+ ],
+ 'required' => false,
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
'required' => false,
- 'example' => 'cn-hangzhou',
+ 'maxItems' => 5,
+ 'title' => '',
+ 'example' => '',
],
],
[
- 'name' => 'OpsItemId',
+ 'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The O\\&M item ID.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'oi-d52b08695e2b46ae8413',
- ],
+ 'schema' => ['description' => 'The ID of the region in which the instance resides.'."\n", 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''],
],
],
'responses' => [
@@ -10742,128 +7823,58 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => 'The request ID.'."\n",
- 'type' => 'string',
- 'example' => '8BED4C16-BD30-5E27-94D4-7EBCCECF70C1',
- ],
- 'OpsItem' => [
- 'description' => 'The information about the O\\&M item.'."\n",
- 'type' => 'object',
- 'properties' => [
- 'OpsItemId' => [
- 'description' => 'The O\\&M item ID.'."\n",
- 'type' => 'string',
- 'example' => 'oi-d52b08695e2b46ae8413'."\n",
- ],
- 'CreateDate' => [
- 'description' => 'The time when the O\\&M item was created.'."\n",
- 'type' => 'string',
- 'example' => '2023-04-10T06:15Z',
- ],
- 'UpdateDate' => [
- 'description' => 'The time when the O\\&M item was updated.'."\n",
- 'type' => 'string',
- 'example' => '2023-04-10T06:15Z'."\n",
- ],
- 'Title' => [
- 'description' => 'The title of the O\\&M item.'."\n",
- 'type' => 'string',
- 'example' => 'test',
- ],
- 'Status' => [
- 'description' => 'The status of the O\\&M item.'."\n",
- 'type' => 'string',
- 'example' => 'Open',
- ],
- 'Severity' => [
- 'description' => 'The severity level of the O\\&M item.'."\n",
- 'type' => 'string',
- 'example' => 'Medium',
- ],
- 'Category' => [
- 'description' => 'The category of the O\\&M item.'."\n",
- 'type' => 'string',
- 'example' => 'Security',
- ],
- 'Source' => [
- 'description' => 'The source business of the O\\&M item.'."\n",
- 'type' => 'string',
- 'example' => '/aliyun/appManager',
- ],
- 'Priority' => [
- 'description' => 'The priority of the O\\&M item.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'Tags' => [
- 'description' => 'The tags attached to the O\\&M item.'."\n",
- 'type' => 'object',
- 'example' => '{"K1":"V1"}',
- ],
- 'Solutions' => [
- 'description' => 'The solutions to the O\\&M item.'."\n",
- 'type' => 'array',
- 'items' => [
- 'description' => 'The solution.'."\n",
- 'type' => 'object',
- 'example' => '',
- ],
- ],
- 'Resources' => [
- 'description' => 'The Alibaba Cloud Resource Names (ARNs) of the associated resources.'."\n",
- 'type' => 'array',
- 'items' => [
- 'description' => 'The ARN of the associated resource.'."\n",
- 'type' => 'string',
- 'example' => '[\\"arn:acs:ecs:cn-hangzhou:1770150251620858:instance/i-bp12tnoea6nwofva06e8\\"]',
- ],
- ],
- 'ResourceGroupId' => [
- 'description' => 'The ID of the resource group.'."\n",
- 'type' => 'string',
- 'example' => 'rg-aekzxkofnlxtn2i',
- ],
- 'Description' => [
- 'description' => 'The description.'."\n",
- 'type' => 'string',
- 'example' => 'test-update',
- ],
- 'CreateBy' => [
- 'description' => 'The user who created the O\\&M item.'."\n",
- 'type' => 'string',
- 'example' => 'root(130900000)'."\n",
- ],
- 'LastModifiedBy' => [
- 'description' => 'The user who last modified the O\\&M item.'."\n",
- 'type' => 'string',
- 'example' => 'modifiedBy',
- ],
- 'Attributes' => [
- 'description' => 'The information about the attributes of the O\\&M item.'."\n",
- 'type' => 'object',
- ],
- ],
+ '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' => 'gAAAAABfTgv5ewUWmNdJ3g7JVLvX70sPH90GZOVGC', 'title' => ''],
+ 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => 'A81E4B2E-6B33-4BAE-9856-55DB7C893E01', 'title' => ''],
+ 'SchemaVersion' => ['description' => 'The version number of the component.'."\n", 'type' => 'string', 'example' => '1.0', 'title' => ''],
+ 'MaxResults' => ['description' => 'The number of entries returned per page.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '50', 'title' => ''],
+ 'CaptureTime' => ['description' => 'The time when the request was sent.'."\n", 'type' => 'string', 'example' => '2020-09-17T12:28:13Z', 'title' => ''],
+ 'TypeName' => ['description' => 'The name of the component.'."\n", 'type' => 'string', 'example' => 'ACS:InstanceInformation', 'title' => ''],
+ 'InstanceId' => ['description' => 'The ID of the ECS instance.'."\n", 'type' => 'string', 'example' => 'i-bp1cpoxxxwxxxxxxxxxx', 'title' => ''],
+ 'Entries' => [
+ 'description' => 'The configurations of the component.'."\n",
+ 'type' => 'array',
+ 'items' => ['description' => 'The detailed configurations of the component.'."\n", 'type' => 'object', 'example' => '{ "RequestId": "1DF96445-5E18-4524-A4AE-3A218D0C345A", "Entries": [ { "PlatformName": "ubuntu", "PlatformVersion": "20.04", "Status": "Running", "InstanceId": "i-bp1cpoxxxwxxxxxxxxxx", "AgentVersion": "v1.5", "ComputerName": "i-bp1cpoxxxwxxxxxxxxxx", "IpAddress": "192.000.00.000", "AgentName": "oosutil", "PlatformType": "linux" } ]}', 'title' => ''],
+ 'title' => '',
+ 'example' => '',
],
],
'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"8BED4C16-BD30-5E27-94D4-7EBCCECF70C1\\",\\n \\"OpsItem\\": {\\n \\"OpsItemId\\": \\"oi-d52b08695e2b46ae8413\\\\n\\",\\n \\"CreateDate\\": \\"2023-04-10T06:15Z\\",\\n \\"UpdateDate\\": \\"2023-04-10T06:15Z\\\\n\\",\\n \\"Title\\": \\"test\\",\\n \\"Status\\": \\"Open\\",\\n \\"Severity\\": \\"Medium\\",\\n \\"Category\\": \\"Security\\",\\n \\"Source\\": \\"/aliyun/appManager\\",\\n \\"Priority\\": 1,\\n \\"Tags\\": {\\n \\"K1\\": \\"V1\\"\\n },\\n \\"Solutions\\": [\\n {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n }\\n ],\\n \\"Resources\\": [\\n \\"[\\\\\\\\\\\\\\"arn:acs:ecs:cn-hangzhou:1770150251620858:instance/i-bp12tnoea6nwofva06e8\\\\\\\\\\\\\\"]\\"\\n ],\\n \\"ResourceGroupId\\": \\"rg-aekzxkofnlxtn2i\\",\\n \\"Description\\": \\"test-update\\",\\n \\"CreateBy\\": \\"root(130900000)\\\\n\\",\\n \\"LastModifiedBy\\": \\"modifiedBy\\",\\n \\"Attributes\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n }\\n }\\n}","type":"json"}]',
- 'title' => 'GetOpsItem',
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"NextToken\\": \\"gAAAAABfTgv5ewUWmNdJ3g7JVLvX70sPH90GZOVGC\\",\\n \\"RequestId\\": \\"A81E4B2E-6B33-4BAE-9856-55DB7C893E01\\",\\n \\"SchemaVersion\\": \\"1.0\\",\\n \\"MaxResults\\": 50,\\n \\"CaptureTime\\": \\"2020-09-17T12:28:13Z\\",\\n \\"TypeName\\": \\"ACS:InstanceInformation\\",\\n \\"InstanceId\\": \\"i-bp1cpoxxxwxxxxxxxxxx\\",\\n \\"Entries\\": [\\n {\\n \\"RequestId\\": \\"1DF96445-5E18-4524-A4AE-3A218D0C345A\\",\\n \\"Entries\\": [\\n {\\n \\"PlatformName\\": \\"ubuntu\\",\\n \\"PlatformVersion\\": \\"20.04\\",\\n \\"Status\\": \\"Running\\",\\n \\"InstanceId\\": \\"i-bp1cpoxxxwxxxxxxxxxx\\",\\n \\"AgentVersion\\": \\"v1.5\\",\\n \\"ComputerName\\": \\"i-bp1cpoxxxwxxxxxxxxxx\\",\\n \\"IpAddress\\": \\"192.000.00.000\\",\\n \\"AgentName\\": \\"oosutil\\",\\n \\"PlatformType\\": \\"linux\\"\\n }\\n ]\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<TypeName>ACS:InstanceInformation</TypeName>\\n<CaptureTime>2020-09-17T12:28:13Z</CaptureTime>\\n<RequestId>F2727F63-CDC5-45A1-995E-4F1127E001CE</RequestId>\\n<SchemaVersion>1.0</SchemaVersion>\\n<InstanceId>i-bp1cpoxxxwxxxxxxxxxx</InstanceId>\\n<MaxResults>50</MaxResults>\\n<Entries>\\n <PlatformName>centos</PlatformName>\\n <PlatformVersion>8.2.2004</PlatformVersion>\\n <Status>Running</Status>\\n <InstanceId>i-bp1cpoxxxwxxxxxxxxxx</InstanceId>\\n <AgentVersion>v1.0.4</AgentVersion>\\n <ComputerName>i-bp1cpoxxxwxxxxxxxxxx</ComputerName>\\n <IpAddress>192.168.00.000</IpAddress>\\n <AgentName>oosutil</AgentName>\\n <PlatformType>linux</PlatformType>\\n</Entries>","errorExample":""}]',
+ 'title' => 'ListInventoryEntries',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ 'changeSet' => [],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'oos:ListInventoryEntries',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [
+ ['conditionKey' => 'oos:TLSVersion'],
+ ],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'OOS', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListInventoryEntries'],
+ ],
+ ],
],
'ListOpsItems' => [
'summary' => 'Queries O\\\\\\&M items.',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -10876,45 +7887,24 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '124650',
- 'abilityTreeNodes' => [
- 'FEATUREoosU53HTK',
- ],
+ 'abilityTreeNodes' => ['FEATUREoosU53HTK'],
'tenantRelevance' => 'publicInformation',
],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The region ID.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => 'The region ID.'."\n", 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''],
],
[
'name' => 'MaxResults',
'in' => 'query',
- 'schema' => [
- 'description' => 'The number of entries to return on each page. Valid values: 10 to 100. Default value: 50.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'maximum' => '100',
- 'minimum' => '1',
- 'example' => '50',
- 'default' => '50',
- ],
+ 'schema' => ['description' => 'The number of entries to return on each page. Valid values: 10 to 100. Default value: 50.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '100', 'minimum' => '1', 'example' => '50', 'default' => '50', 'title' => ''],
],
[
'name' => 'NextToken',
'in' => 'query',
- 'schema' => [
- 'description' => 'The token that is used to retrieve the next page of results.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'MTRBMDc0NjAtRUJFNy00N0NBLTk3NTctMTJDQzQ3NjFENDdB',
- ],
+ 'schema' => ['description' => 'The token that is used to retrieve the next page of results.'."\n", 'type' => 'string', 'required' => false, 'example' => 'MTRBMDc0NjAtRUJFNy00N0NBLTk3NTctMTJDQzQ3NjFENDdB', 'title' => ''],
],
[
'name' => 'Filter',
@@ -10929,58 +7919,40 @@
'Value' => [
'description' => 'The parameter values of the filter.'."\n",
'type' => 'array',
- 'items' => [
- 'description' => 'The parameter value of the filter.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'Open',
- ],
+ 'items' => ['description' => 'The parameter value of the filter.'."\n", 'type' => 'string', 'required' => false, 'example' => 'Open', 'title' => ''],
'required' => false,
'maxItems' => 100,
+ 'title' => '',
+ 'example' => '',
],
- 'Operator' => [
- 'description' => 'The comparison operator that is used to filter property values.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'Equal',
- ],
- 'Name' => [
- 'description' => 'The parameter name of the filter.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'Status',
- ],
+ 'Operator' => ['description' => 'The comparison operator that is used to filter property values.'."\n", 'type' => 'string', 'required' => false, 'example' => 'Equal', 'title' => ''],
+ 'Name' => ['description' => 'The parameter name of the filter.'."\n", 'type' => 'string', 'required' => false, 'example' => 'Status', 'title' => ''],
],
'required' => false,
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
'required' => false,
'maxItems' => 5,
+ 'title' => '',
+ 'example' => '',
],
],
[
'name' => 'Tags',
'in' => 'query',
'style' => 'json',
- 'schema' => [
- 'description' => 'The tags.'."\n",
- 'type' => 'object',
- 'required' => false,
- 'example' => '{"k1": "v1", "k2": "v2"}',
- ],
+ 'schema' => ['description' => 'The tags.'."\n", 'type' => 'object', 'required' => false, 'example' => '{"k1": "v1", "k2": "v2"}', 'title' => ''],
],
[
'name' => 'ResourceTags',
'in' => 'query',
'style' => 'json',
- 'schema' => [
- 'description' => 'The information about resource tags.'."\n",
- 'type' => 'object',
- 'required' => false,
- 'example' => '{'."\n"
- .' "k1": "v1",'."\n"
- .' "k2": "v2"'."\n"
- .'}',
- ],
+ 'schema' => ['description' => 'The information about resource tags.'."\n", 'type' => 'object', 'required' => false, 'example' => '{'."\n"
+ .' "k1": "v1",'."\n"
+ .' "k2": "v2"'."\n"
+ .'}', 'title' => ''],
],
],
'responses' => [
@@ -10988,288 +7960,277 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'NextToken' => [
- 'description' => 'The pagination token that can be used in the next request to retrieve a new page of results.'."\n",
- 'type' => 'string',
- 'example' => 'gAAAAABfTgv5ewUWmNdJ3g7JVLvX70sPH90GZOVGC6KPDUL0FIIb',
- ],
- 'RequestId' => [
- 'description' => 'The request ID.'."\n",
- 'type' => 'string',
- 'example' => '113DD533-389C-5F83-9C69-F64D5BAB10B2',
- ],
- 'MaxResults' => [
- 'description' => 'The number of entries returned on each page.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '50',
- ],
+ 'NextToken' => ['description' => 'The pagination token that can be used in the next request to retrieve a new page of results.'."\n", 'type' => 'string', 'example' => 'gAAAAABfTgv5ewUWmNdJ3g7JVLvX70sPH90GZOVGC6KPDUL0FIIb', 'title' => ''],
+ 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '113DD533-389C-5F83-9C69-F64D5BAB10B2', 'title' => ''],
+ 'MaxResults' => ['description' => 'The number of entries returned on each page.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '50', 'title' => ''],
'OpsItems' => [
'description' => 'The list of O\\&M items.'."\n",
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'OpsItemId' => [
- 'description' => 'The ID of the O\\&M item.'."\n",
- 'type' => 'string',
- 'example' => 'oi-d52b08695e2b46ae8413',
- ],
- 'CreateDate' => [
- 'description' => 'The time when the O\\&M item was created.'."\n",
- 'type' => 'string',
- 'example' => '2023-07-09T10:01Z',
- ],
- 'UpdateDate' => [
- 'description' => 'The time when the O\\&M item was updated.'."\n",
- 'type' => 'string',
- 'example' => '2023-07-09T10:01Z',
- ],
- 'Title' => [
- 'description' => 'The title of the O\\&M item.'."\n",
- 'type' => 'string',
- 'example' => 'Test',
- ],
- 'Status' => [
- 'description' => 'The status of the O\\&M item.'."\n",
- 'type' => 'string',
- 'example' => 'Open',
- ],
- 'Severity' => [
- 'description' => 'The severity level.'."\n",
- 'type' => 'string',
- 'example' => 'Medium',
- ],
- 'Category' => [
- 'description' => 'The category.'."\n",
- 'type' => 'string',
- 'example' => 'Security',
- ],
- 'Source' => [
- 'description' => 'The source business.'."\n",
- 'type' => 'string',
- 'example' => '/aliyun/ecs',
- ],
- 'Priority' => [
- 'description' => 'The priority.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'Tags' => [
- 'description' => 'The tags.'."\n",
- 'type' => 'object',
- 'example' => '{"k1":"v1"}',
- ],
+ 'OpsItemId' => ['description' => 'The ID of the O\\&M item.'."\n", 'type' => 'string', 'example' => 'oi-d52b08695e2b46ae8413', 'title' => ''],
+ 'CreateDate' => ['description' => 'The time when the O\\&M item was created.'."\n", 'type' => 'string', 'example' => '2023-07-09T10:01Z', 'title' => ''],
+ 'UpdateDate' => ['description' => 'The time when the O\\&M item was updated.'."\n", 'type' => 'string', 'example' => '2023-07-09T10:01Z', 'title' => ''],
+ 'Title' => ['description' => 'The title of the O\\&M item.'."\n", 'type' => 'string', 'example' => 'Test', 'title' => ''],
+ 'Status' => ['description' => 'The status of the O\\&M item.'."\n", 'type' => 'string', 'example' => 'Open', 'title' => ''],
+ 'Severity' => ['description' => 'The severity level.'."\n", 'type' => 'string', 'example' => 'Medium', 'title' => ''],
+ 'Category' => ['description' => 'The category.'."\n", 'type' => 'string', 'example' => 'Security', 'title' => ''],
+ 'Source' => ['description' => 'The source business.'."\n", 'type' => 'string', 'example' => '/aliyun/ecs', 'title' => ''],
+ 'Priority' => ['description' => 'The priority.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''],
+ 'Tags' => ['description' => 'The tags.'."\n", 'type' => 'object', 'example' => '{"k1":"v1"}', 'title' => ''],
'Resources' => [
'description' => 'The Alibaba Resource Names (ARNs) of the associated resources.'."\n",
'type' => 'array',
- 'items' => [
- 'description' => 'The ARN of the associated resource.'."\n",
- 'type' => 'string',
- 'example' => '[\\"arn:acs:ecs:cn-beijing:1770150251620858:instance/i-2zef6yild47noprhuzv4\\",\\"arn:acs:ecs:cn-beijing:1770150251620858:instance/i-2zef6yild47noprhuzv3\\"]',
- ],
+ 'items' => ['description' => 'The ARN of the associated resource.'."\n", 'type' => 'string', 'example' => '[\\"arn:acs:ecs:cn-beijing:1770150251620858:instance/i-2zef6yild47noprhuzv4\\",\\"arn:acs:ecs:cn-beijing:1770150251620858:instance/i-2zef6yild47noprhuzv3\\"]', 'title' => ''],
+ 'title' => '',
+ 'example' => '',
],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
+ 'title' => '',
+ 'example' => '',
],
- 'TotalCount' => [
- 'description' => 'The total number of entries returned.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
+ 'TotalCount' => ['description' => 'The total number of entries returned.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''],
],
'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"NextToken\\": \\"gAAAAABfTgv5ewUWmNdJ3g7JVLvX70sPH90GZOVGC6KPDUL0FIIb\\",\\n \\"RequestId\\": \\"113DD533-389C-5F83-9C69-F64D5BAB10B2\\",\\n \\"MaxResults\\": 50,\\n \\"OpsItems\\": [\\n {\\n \\"OpsItemId\\": \\"oi-d52b08695e2b46ae8413\\",\\n \\"CreateDate\\": \\"2023-07-09T10:01Z\\",\\n \\"UpdateDate\\": \\"2023-07-09T10:01Z\\",\\n \\"Title\\": \\"Test\\",\\n \\"Status\\": \\"Open\\",\\n \\"Severity\\": \\"Medium\\",\\n \\"Category\\": \\"Security\\",\\n \\"Source\\": \\"/aliyun/ecs\\",\\n \\"Priority\\": 1,\\n \\"Tags\\": {\\n \\"k1\\": \\"v1\\"\\n },\\n \\"Resources\\": [\\n \\"[\\\\\\\\\\\\\\"arn:acs:ecs:cn-beijing:1770150251620858:instance/i-2zef6yild47noprhuzv4\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"arn:acs:ecs:cn-beijing:1770150251620858:instance/i-2zef6yild47noprhuzv3\\\\\\\\\\\\\\"]\\"\\n ]\\n }\\n ],\\n \\"TotalCount\\": 1\\n}","type":"json"}]',
'title' => 'ListOpsItems',
- ],
- 'UpdateOpsItem' => [
- 'summary' => 'Modifies an O\\\\\\\\\\\\\\\\\\\\&M item.',
- 'methods' => [
- 'post',
- 'get',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListOpsItems'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'oos:ListOpsItems',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [
+ ['conditionKey' => 'oos:TLSVersion'],
+ ],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'OOS', 'resourceType' => 'OpsItem', 'arn' => 'acs:oos:{#regionId}:{#accountId}:opsitem/*'],
+ ],
+ ],
+ ],
],
+ ],
+ 'ListParameterVersions' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'readAndWrite',
+ 'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'update',
- 'abilityTreeCode' => '129525',
- 'abilityTreeNodes' => [
- 'FEATUREoosU53HTK',
- ],
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '93981',
+ 'abilityTreeNodes' => ['FEATUREoosCPYH5Z'],
+ 'tenantRelevance' => 'publicInformation',
],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The region ID.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => 'The region ID.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'cn-hangzhou'],
],
[
- 'name' => 'Title',
+ 'name' => 'Name',
'in' => 'query',
- 'schema' => [
- 'description' => 'The title of the O\\&M item.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'docRequired' => false,
- 'example' => 'Test',
- ],
+ 'schema' => ['description' => 'The name of the parameter.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'title' => '', 'example' => 'MyParameter'],
],
[
- 'name' => 'Description',
+ 'name' => 'MaxResults',
'in' => 'query',
- 'schema' => [
- 'description' => 'The description of the O\\&M item.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'test-update',
- ],
+ 'schema' => ['description' => 'The number of entries to return on each page. Valid values: 10 to 100. Default value: 50.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '100', 'minimum' => '10', 'default' => '50', 'title' => '', 'example' => '50'],
],
[
- 'name' => 'ResourceGroupId',
+ 'name' => 'NextToken',
'in' => 'query',
- 'schema' => [
- 'description' => 'The ID of the resource group.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'rg-acfmxsn4m4******',
- ],
+ 'schema' => ['description' => 'The pagination token.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'MTRBMDc0NjAtRUJFNy00N0NBLTk3NTctMTJDQzQ3NjFENDdB'],
],
[
- 'name' => 'Tags',
+ 'name' => 'ShareType',
'in' => 'query',
- 'style' => 'json',
+ 'schema' => ['description' => 'The share type of the parameter.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'Private'],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
'schema' => [
- 'description' => 'The tags.'."\n",
'type' => 'object',
- 'required' => false,
- 'example' => '{'."\n"
- .' "k1": "v1",'."\n"
- .' "k2": "v2"'."\n"
- .'}',
+ 'properties' => [
+ 'Type' => ['description' => 'The type of the parameter.', 'type' => 'string', 'title' => '', 'example' => 'String'],
+ 'NextToken' => ['description' => 'The pagination token.', 'type' => 'string', 'title' => '', 'example' => 'MTRBMDc0NjAtRUJFNy00N0NBLTk3NTctMTJDQzQ3NjFENDdB'],
+ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => 'FD08D89D-B6C8-4AA2-A2B4-521D3F4A39FA'],
+ 'Description' => ['description' => 'The description of the parameter.', 'type' => 'string', 'title' => '', 'example' => 'parameter-description'],
+ 'MaxResults' => ['description' => 'The number of entries returned per page.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '50'],
+ 'CreatedBy' => ['description' => 'The user who created the parameter.', 'type' => 'string', 'title' => '', 'example' => 'root(130900000)'],
+ 'CreatedDate' => ['description' => 'The time when the parameter was created.', 'type' => 'string', 'title' => '', 'example' => '2020-09-07T11:37:29Z'],
+ 'Name' => ['description' => 'The name of the parameter.', 'type' => 'string', 'title' => '', 'example' => 'MyParameter'],
+ 'TotalCount' => ['description' => 'The total number of entries.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '50'],
+ 'Id' => ['description' => 'The ID of the parameter.', 'type' => 'string', 'title' => '', 'example' => 'p-a483b520e0axxxxxxxxx'],
+ 'ParameterVersions' => [
+ 'description' => 'The details about the parameter versions.',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'ParameterVersion' => ['description' => 'The version of the parameter.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '1'],
+ 'Value' => ['description' => 'The value of the parameter.', 'type' => 'string', 'title' => '', 'example' => 'MyParameter'],
+ 'UpdatedDate' => ['description' => 'The time when the parameter was updated.', 'type' => 'string', 'title' => '', 'example' => '2020-09-07T11:37:29Z'],
+ 'UpdatedBy' => ['description' => 'The user who updated the parameter.', 'type' => 'string', 'title' => '', 'example' => 'root(130900000)'],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ ],
+ 'title' => 'ListParameterVersions',
+ 'summary' => 'Lists the versions of a specified standard parameter.',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListParameterVersions'],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'oos:ListParameterVersions',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [
+ ['conditionKey' => 'oos:TLSVersion'],
+ ],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'OOS', 'resourceType' => 'parameter', 'arn' => 'acs:oos:{#regionId}:{#accountId}:parameter/{#parameterName}'],
+ ],
],
],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Type\\": \\"String\\",\\n \\"NextToken\\": \\"MTRBMDc0NjAtRUJFNy00N0NBLTk3NTctMTJDQzQ3NjFENDdB\\",\\n \\"RequestId\\": \\"FD08D89D-B6C8-4AA2-A2B4-521D3F4A39FA\\",\\n \\"Description\\": \\"parameter-description\\",\\n \\"MaxResults\\": 50,\\n \\"CreatedBy\\": \\"root(130900000)\\",\\n \\"CreatedDate\\": \\"2020-09-07T11:37:29Z\\",\\n \\"Name\\": \\"MyParameter\\",\\n \\"TotalCount\\": 50,\\n \\"Id\\": \\"p-a483b520e0axxxxxxxxx\\",\\n \\"ParameterVersions\\": [\\n {\\n \\"ParameterVersion\\": 1,\\n \\"Value\\": \\"MyParameter\\",\\n \\"UpdatedDate\\": \\"2020-09-07T11:37:29Z\\",\\n \\"UpdatedBy\\": \\"root(130900000)\\"\\n }\\n ]\\n}","type":"json"}]',
+ ],
+ 'ListParameters' => [
+ 'summary' => 'Queries common parameters. Multiple methods are supported to filter common parameters.',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
[
- 'name' => 'ClientToken',
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '93980',
+ 'abilityTreeNodes' => ['FEATUREoosMR618F'],
+ 'tenantRelevance' => 'publicInformation',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The client token that is used to ensure the idempotence of the request.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'DASKJJLKADS-AHKLJHJSAKL-AJK',
- ],
+ 'schema' => ['description' => 'The region ID.'."\n", 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''],
],
[
- 'name' => 'Severity',
+ 'name' => 'Name',
'in' => 'query',
- 'schema' => [
- 'description' => 'The severity level.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'Medium',
- ],
+ 'schema' => ['description' => 'The name of the common parameter.'."\n", 'type' => 'string', 'required' => false, 'example' => 'MyParameter', 'title' => ''],
],
[
- 'name' => 'Source',
+ 'name' => 'MaxResults',
'in' => 'query',
- 'schema' => [
- 'description' => 'The source business.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => '/aliyun/ecs',
- ],
+ 'schema' => ['description' => 'The number of entries per page. Valid values: 10 to 100. Default value: 50.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '100', 'minimum' => '10', 'example' => '50', 'default' => '50', 'title' => ''],
],
[
- 'name' => 'Category',
+ 'name' => 'NextToken',
'in' => 'query',
- 'schema' => [
- 'description' => 'The category.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'Security',
- ],
+ 'schema' => ['description' => 'The pagination token that can be used in the next request to retrieve a new page of results.'."\n", 'type' => 'string', 'required' => false, 'example' => 'MTRBMDc0NjAtRUJFNy00N0NBLTk3NTctMTJDQzA', 'title' => ''],
],
[
- 'name' => 'Priority',
+ 'name' => 'SortField',
'in' => 'query',
- 'schema' => [
- 'description' => 'The priority.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '2',
- ],
+ 'schema' => ['description' => 'The field used to sort the query results. Valid values:'."\n"
+ ."\n"
+ .'* Name'."\n"
+ .'* CreatedDate'."\n", 'type' => 'string', 'required' => false, 'example' => 'Name', 'title' => ''],
],
[
- 'name' => 'Solutions',
+ 'name' => 'SortOrder',
'in' => 'query',
- 'schema' => [
- 'description' => 'The solutions.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => '\\[{\\n \\\\"priority\\\\":3,\\n \\\\"type\\\\":\\\\"url\\\\",\\n \\\\"url\\\\":\\\\"https://example.com\\\\",\\n \\\\"description\\\\":\\\\"Specify a cross-zone high availability cluster. \\\\"\\n}]'."\n",
- ],
+ 'schema' => ['description' => 'The order in which the entries are sorted. Valid values:'."\n"
+ ."\n"
+ .'* Ascending'."\n"
+ .'* Descending (Default)'."\n", 'type' => 'string', 'required' => false, 'example' => 'Descending', 'title' => ''],
],
[
- 'name' => 'DedupString',
+ 'name' => 'Type',
'in' => 'query',
- 'schema' => [
- 'description' => 'The string to be deduplicated.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'ecs_instance_SystemMaintenance.Reboot',
- ],
+ 'schema' => ['description' => 'The data type of the common parameter.'."\n", 'type' => 'string', 'required' => false, 'example' => 'String', 'title' => ''],
],
[
- 'name' => 'Resources',
+ 'name' => 'Path',
'in' => 'query',
- 'schema' => [
- 'description' => 'The Alibaba Resource Names (ARNs) of the associated resources.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => '[\\"arn:acs:ecs:cn-heyuan:1139354755361920:instance/i-f8z928h7aqotd3o65032\\"]',
- ],
+ 'schema' => ['description' => 'The path of the parameter. For example, if the name of a parameter is /path/path1/Myparameter, the path of the parameter is /path/path1/.'."\n", 'type' => 'string', 'required' => false, 'example' => '/path1/path2/', 'title' => ''],
],
[
- 'name' => 'OpsItemId',
+ 'name' => 'Recursive',
'in' => 'query',
- 'schema' => [
- 'description' => 'The ID of the O\\&M item.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'oi-e2264dcf040c472598e9',
- ],
+ 'schema' => ['description' => 'Specifies whether to query parameters from all levels of directories in the specified path. Default value: false.'."\n", 'type' => 'boolean', 'required' => false, 'example' => 'false', 'title' => ''],
],
[
- 'name' => 'Status',
+ 'name' => 'Tags',
'in' => 'query',
- 'schema' => [
- 'description' => 'The status.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'Open',
- ],
+ 'style' => 'json',
+ 'schema' => ['description' => 'The tags.'."\n", 'type' => 'object', 'required' => false, 'example' => '{"k1": "v1", "k2": "v2"}', 'title' => ''],
+ ],
+ [
+ 'name' => 'ResourceGroupId',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The resource group ID.'."\n", 'type' => 'string', 'required' => false, 'example' => 'rg-acfmxsn4m4******', 'title' => ''],
+ ],
+ [
+ 'name' => 'ShareType',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The share type of the common parameter. Valid values:'."\n"
+ ."\n"
+ .'* Public'."\n"
+ .'* Private'."\n"
+ ."\n"
+ .'Default value: Private.'."\n", 'type' => 'string', 'required' => false, 'example' => '‘Private’', 'title' => ''],
],
],
'responses' => [
@@ -11277,372 +8238,301 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => 'The request ID.'."\n",
- 'type' => 'string',
- 'example' => 'C996DECB-3D2B-5321-B359-BE7031B6399E',
- ],
- 'OpsItem' => [
- 'description' => 'The information about the O\\&M item.'."\n",
- 'type' => 'object',
- 'properties' => [
- 'Tags' => [
- 'description' => 'The tags.'."\n",
- 'type' => 'object',
- 'example' => '{'."\n"
- .' "k1": "v1",'."\n"
- .' "k2": "v2"'."\n"
- .'}'."\n",
- ],
- 'UpdateDate' => [
- 'description' => 'The time when the O\\&M item was updated.'."\n",
- 'type' => 'string',
- 'example' => '2023-03-16T08:04Z',
- ],
- 'Description' => [
- 'description' => 'The description.'."\n",
- 'type' => 'string',
- 'example' => 'test-update',
- ],
- 'OpsItemId' => [
- 'description' => 'The ID of the O\\&M item.'."\n",
- 'type' => 'string',
- 'example' => 'oi-e2264dcf040c472598e9',
- ],
- 'CreateDate' => [
- 'description' => 'The time when the O\\&M item was created.'."\n",
- 'type' => 'string',
- 'example' => '2023-03-16T07:04Z',
- ],
- 'Title' => [
- 'description' => 'The title of the O\\&M item.'."\n",
- 'type' => 'string',
- 'example' => 'Test',
- ],
- 'Status' => [
- 'description' => 'The status.'."\n",
- 'type' => 'string',
- 'example' => 'Open',
- ],
- 'Severity' => [
- 'description' => 'The severity level.'."\n",
- 'type' => 'string',
- 'example' => 'Medium',
- ],
- 'Category' => [
- 'description' => 'The category.'."\n",
- 'type' => 'string',
- 'example' => 'Security',
- ],
- 'Source' => [
- 'description' => 'The source business.'."\n",
- 'type' => 'string',
- 'example' => '/aliyun/ecs',
- ],
- 'Priority' => [
- 'description' => 'The priority.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '2',
- ],
- 'Solutions' => [
- 'description' => 'The solutions.'."\n",
- 'type' => 'array',
- 'items' => [
- 'description' => 'The solution.'."\n",
- 'type' => 'string',
- 'example' => '\\[{\\n \\\\"priority\\\\":2,\\n \\\\"type\\\\":\\\\"SlbNeedEcs\\\\",\\n \\\\"url\\\\":\\\\"https://computenest.console.aliyun.com/app\\\\",\\n \\\\"description\\\\":\\\\"Import all Elastic Compute Service (ECS) instances that are associated with a Server Load Balancer (SLB) instance to an application group.\\\\"\\n}]'."\n",
- ],
- ],
- 'Resources' => [
- 'description' => 'The ARNs of the associated resources.'."\n",
- 'type' => 'array',
- 'items' => [
- 'description' => 'The ARN of the associated resource.'."\n",
- 'type' => 'string',
- 'example' => '[\\"arn:acs:ecs:cn-heyuan:1139354755361920:instance/i-f8z928h7aqotd3o65032\\"]',
- ],
- ],
- 'Attributes' => [
- 'description' => 'The attributes of the O\\&M item.'."\n",
- 'type' => 'string',
- 'example' => '[{\'Attribute\': {\'Weight\': 100}, \'RealServer\': \'uaejc8hnqzqz5valyh8dibolpvza48ik.yundunwaf5.com\'}]',
- ],
- 'CreatedBy' => [
- 'description' => 'The user who created the patch baseline.'."\n",
- 'type' => 'string',
- 'example' => 'root(130900000)'."\n",
- ],
- 'LastModifiedBy' => [
- 'description' => 'The user who modified the O\\&M item.'."\n",
- 'type' => 'string',
- 'example' => 'root(130900000)'."\n",
- ],
- 'ResourceGroupId' => [
- 'description' => 'The ID of the resource group.'."\n",
- 'type' => 'string',
- 'example' => 'rg-acfmxsn4m4******',
+ 'NextToken' => ['description' => 'A pagination token. It can be used in the next request to retrieve a new page of results.'."\n", 'type' => 'string', 'example' => 'gAAAAABfTgv5ewUWmNdJ3g7JVLvX70sPH90GZOVGC6KPDUL0FIIb', 'title' => ''],
+ 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => 'A81E4B2E-6B33-4BAE-9856-55DB7C893E01', 'title' => ''],
+ 'TotalCount' => ['description' => 'The total number of entries returned.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '5', 'title' => ''],
+ 'MaxResults' => ['description' => 'The number of entries per page. Valid values: 10 to 100. Default value: 50.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '50', 'title' => ''],
+ 'Parameters' => [
+ 'description' => 'The information about the common parameter.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Type' => ['description' => 'The data type of the common parameter.'."\n", 'type' => 'string', 'example' => 'String', 'title' => ''],
+ 'UpdatedDate' => ['description' => 'The time when the common parameter was updated.'."\n", 'type' => 'string', 'example' => '2020-09-01T08:01:43Z', 'title' => ''],
+ 'UpdatedBy' => ['description' => 'The user who updated the common parameter.'."\n", 'type' => 'string', 'example' => 'root(130900000)', 'title' => ''],
+ 'Tags' => ['description' => 'The tags added to the common parameter.'."\n", 'type' => 'object', 'example' => '{"k1": "v1", "k2": "v2"}', 'title' => ''],
+ 'Description' => ['description' => 'The description of the common parameter.'."\n", 'type' => 'string', 'example' => 'parameter', 'title' => ''],
+ 'CreatedBy' => ['description' => 'The user who created the common parameter.'."\n", 'type' => 'string', 'example' => 'root(130900000)', 'title' => ''],
+ 'ResourceGroupId' => ['description' => 'The resource group ID.'."\n", 'type' => 'string', 'example' => 'rg-acfmxsn4m4******', 'title' => ''],
+ 'CreatedDate' => ['description' => 'The time when the common parameter was created.'."\n", 'type' => 'string', 'example' => '2020-09-01T08:01:43Z', 'title' => ''],
+ 'ParameterVersion' => ['description' => 'The version number of the common parameter.'."\n", 'type' => 'string', 'example' => '1', 'title' => ''],
+ 'Name' => ['description' => 'The name of the common parameter.'."\n", 'type' => 'string', 'example' => 'MyParameter', 'title' => ''],
+ 'Id' => ['description' => 'The common parameter ID.'."\n", 'type' => 'string', 'example' => 'p-4c4b401cab6747xxxxxx', 'title' => ''],
+ 'ShareType' => ['description' => 'The share type of the common parameter.'."\n", 'type' => 'string', 'example' => 'Private', 'title' => ''],
],
+ 'description' => 'The information about the parameters.'."\n",
+ 'title' => '',
+ 'example' => '',
],
+ 'title' => '',
+ 'example' => '',
],
],
'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"C996DECB-3D2B-5321-B359-BE7031B6399E\\",\\n \\"OpsItem\\": {\\n \\"Tags\\": {\\n \\"k1\\": \\"v1\\",\\n \\"k2\\": \\"v2\\"\\n },\\n \\"UpdateDate\\": \\"2023-03-16T08:04Z\\",\\n \\"Description\\": \\"test-update\\",\\n \\"OpsItemId\\": \\"oi-e2264dcf040c472598e9\\",\\n \\"CreateDate\\": \\"2023-03-16T07:04Z\\",\\n \\"Title\\": \\"Test\\",\\n \\"Status\\": \\"Open\\",\\n \\"Severity\\": \\"Medium\\",\\n \\"Category\\": \\"Security\\",\\n \\"Source\\": \\"/aliyun/ecs\\",\\n \\"Priority\\": 2,\\n \\"Solutions\\": [\\n \\"[{\\\\\\\\n \\\\\\\\\\\\\\"priority\\\\\\\\\\\\\\":2,\\\\\\\\n \\\\\\\\\\\\\\"type\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"SlbNeedEcs\\\\\\\\\\\\\\",\\\\\\\\n \\\\\\\\\\\\\\"url\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"https://computenest.console.aliyun.com/app\\\\\\\\\\\\\\",\\\\\\\\n \\\\\\\\\\\\\\"description\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"请将SLB实例下所有的ECS实例导入到应用分组中\\\\\\\\\\\\\\"\\\\\\\\n}]\\"\\n ],\\n \\"Resources\\": [\\n \\"[\\\\\\\\\\\\\\"arn:acs:ecs:cn-heyuan:1139354755361920:instance/i-f8z928h7aqotd3o65032\\\\\\\\\\\\\\"]\\"\\n ],\\n \\"Attributes\\": \\"[{\'Attribute\': {\'Weight\': 100}, \'RealServer\': \'uaejc8hnqzqz5valyh8dibolpvza48ik.yundunwaf5.com\'}]\\",\\n \\"CreatedBy\\": \\"root(130900000)\\\\n\\",\\n \\"LastModifiedBy\\": \\"root(130900000)\\\\n\\",\\n \\"ResourceGroupId\\": \\"rg-acfmxsn4m4******\\"\\n }\\n}","type":"json"}]',
- 'title' => 'UpdateOpsItem',
- ],
- 'DeleteOpsItems' => [
- 'summary' => 'Deletes O\\\\\\&M Items.',
- 'methods' => [
- 'post',
- 'get',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"NextToken\\": \\"gAAAAABfTgv5ewUWmNdJ3g7JVLvX70sPH90GZOVGC6KPDUL0FIIb\\",\\n \\"RequestId\\": \\"A81E4B2E-6B33-4BAE-9856-55DB7C893E01\\",\\n \\"TotalCount\\": 5,\\n \\"MaxResults\\": 50,\\n \\"Parameters\\": [\\n {\\n \\"Type\\": \\"String\\",\\n \\"UpdatedDate\\": \\"2020-09-01T08:01:43Z\\",\\n \\"UpdatedBy\\": \\"root(130900000)\\",\\n \\"Tags\\": {\\n \\"k1\\": \\"v1\\",\\n \\"k2\\": \\"v2\\"\\n },\\n \\"Description\\": \\"parameter\\",\\n \\"CreatedBy\\": \\"root(130900000)\\",\\n \\"ResourceGroupId\\": \\"rg-acfmxsn4m4******\\",\\n \\"CreatedDate\\": \\"2020-09-01T08:01:43Z\\",\\n \\"ParameterVersion\\": \\"1\\",\\n \\"Name\\": \\"MyParameter\\",\\n \\"Id\\": \\"p-4c4b401cab6747xxxxxx\\",\\n \\"ShareType\\": \\"Private\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<ListParametersResponse>\\n <NextToken>gAAAAABfTgv5ewUWmNdJ3g7JVLvX70sPH90GZOVGC6KPDUL0FIIb</NextToken>\\n <RequestId>A81E4B2E-6B33-4BAE-9856-55DB7C893E01</RequestId>\\n <TotalCount>5</TotalCount>\\n <MaxResults>50</MaxResults>\\n <Parameters>\\n <Type>String</Type>\\n <UpdatedDate>2020-09-01T08:01:43Z</UpdatedDate>\\n <UpdatedBy>root(130900000)</UpdatedBy>\\n <Description>parameter</Description>\\n <CreatedBy>root(130900000)</CreatedBy>\\n <ResourceGroupId>rg-acfmxsn4m4******</ResourceGroupId>\\n <CreatedDate>2020-09-01T08:01:43Z</CreatedDate>\\n <ParameterVersion>1</ParameterVersion>\\n <Name>MyParameter</Name>\\n <Id>p-4c4b401cab6747xxxxxx</Id>\\n <Tags>\\n <k1>v1</k1>\\n <k2>v2</k2>\\n </Tags>\\n <ShareType>Private</ShareType>\\n </Parameters>\\n</ListParametersResponse>","errorExample":""}]',
+ 'title' => 'ListParameters',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ 'changeSet' => [],
+ 'ramActions' => [
+ [
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'oos:ListParameters',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [
+ ['conditionKey' => 'oos:TLSVersion'],
+ ],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'OOS', 'resourceType' => 'Parameter', 'arn' => 'acs:oos:{#regionId}:{#accountId}:parameter/*'],
+ ],
+ ],
+ ],
],
- 'schemes' => [
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListParameters'],
+ ],
],
+ ],
+ 'ListPatchBaselines' => [
+ 'summary' => 'Queries a list of patch baselines.',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'write',
+ 'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'delete',
+ 'operationType' => 'list',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeCode' => '267489',
- 'abilityTreeNodes' => [
- 'FEATUREoosWQ256S',
- ],
+ 'abilityTreeCode' => '93982',
+ 'abilityTreeNodes' => ['FEATUREoosSVNQOE'],
'tenantRelevance' => 'publicInformation',
],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The region ID.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => 'The ID of the region.'."\n", 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''],
],
[
- 'name' => 'OpsItemIds',
+ 'name' => 'Name',
'in' => 'query',
- 'style' => 'repeatList',
- 'schema' => [
- 'description' => 'The IDs of O\\&M items.'."\n",
- 'type' => 'array',
- 'items' => [
- 'description' => 'The ID of the O\\&M item.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => '[\'oi-54ad6ec45fbd4ec1a100\']',
- ],
- 'required' => true,
- 'docRequired' => true,
- 'maxItems' => 100,
- ],
- ],
- ],
- 'responses' => [
- 200 => [
- 'schema' => [
- 'type' => 'object',
- 'properties' => [
- 'RequestId' => [
- 'description' => 'The request ID.'."\n",
- 'type' => 'string',
- 'example' => 'DBA6E6C8-F75D-41DE-AFF5-1FA03F551CA3',
- ],
- ],
- 'description' => '',
- ],
+ 'schema' => ['description' => 'The name of the patch baseline.'."\n", 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => 'MyPatchBaseline', 'title' => ''],
],
- ],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"DBA6E6C8-F75D-41DE-AFF5-1FA03F551CA3\\"\\n}","type":"json"}]',
- 'title' => 'DeleteOpsItems',
- ],
- 'SetServiceSettings' => [
- 'summary' => 'Enables or disables the feature of delivering template execution records and sets the storage location and organization ID.',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
- 'security' => [
[
- 'AK' => [],
+ 'name' => 'OperationSystem',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The type of the operating system. Valid values:'."\n"
+ ."\n"
+ .'* Windows'."\n"
+ .'* Ubuntu'."\n"
+ .'* CentOS'."\n"
+ .'* Debian'."\n"
+ .'* AliyunLinux'."\n"
+ .'* RedhatEnterpriseLinux'."\n"
+ .'* Anolis'."\n"
+ .'* AlmaLinux'."\n", 'type' => 'string', 'required' => false, 'example' => 'AliyunLinux', 'title' => ''],
],
[
- 'APP' => [],
- ],
- ],
- 'operationType' => 'write',
- 'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'update',
- 'abilityTreeCode' => '93997',
- 'abilityTreeNodes' => [
- 'FEATUREoosJ7PS9L',
- 'FEATUREoosB33AG0',
+ 'name' => 'ShareType',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The share type of the template. Valid values:'."\n"
+ ."\n"
+ .'* **Public**'."\n"
+ .'* **Private**'."\n", 'type' => 'string', 'required' => false, 'example' => 'Private', 'title' => ''],
],
- 'autoTest' => true,
- 'tenantRelevance' => 'publicInformation',
- ],
- 'parameters' => [
[
- 'name' => 'DeliveryOssEnabled',
+ 'name' => 'MaxResults',
'in' => 'query',
- 'schema' => [
- 'description' => 'Whether to enable OSS delivery.',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'false',
- ],
+ 'schema' => ['description' => 'The number of entries returned per page.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '50', 'title' => ''],
],
[
- 'name' => 'DeliveryOssBucketName',
+ 'name' => 'NextToken',
'in' => 'query',
- 'schema' => [
- 'description' => 'The name of OSS bucket to deliver.',
- 'type' => 'string',
- 'required' => false,
- 'docRequired' => false,
- 'example' => 'OssBucketName',
- ],
+ 'schema' => ['description' => 'The token that is used to retrieve the next page of results.'."\n", 'type' => 'string', 'required' => false, 'example' => '-', 'title' => ''],
],
[
- 'name' => 'DeliveryOssKeyPrefix',
+ 'name' => 'Tags',
'in' => 'query',
+ 'style' => 'json',
'schema' => [
- 'description' => 'The key prefix of OSS to deliver.',
- 'type' => 'string',
+ 'description' => 'The tags.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The tag.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'Key' => ['description' => 'The key of the tag.'."\n", 'type' => 'string', 'required' => false, 'example' => 'key', 'title' => ''],
+ 'Value' => ['description' => 'The value of the tag.'."\n", 'type' => 'string', 'required' => false, 'example' => 'value', 'title' => ''],
+ ],
+ 'required' => false,
+ 'title' => '',
+ 'example' => '',
+ ],
'required' => false,
- 'example' => 'oos/execution',
+ 'title' => '',
+ 'example' => '',
],
],
[
- 'name' => 'DeliverySlsProjectName',
+ 'name' => 'ApprovedPatches',
'in' => 'query',
+ 'style' => 'json',
'schema' => [
- 'description' => 'The name of SLS project to deliver.',
- 'type' => 'string',
+ 'description' => 'The approved patches.'."\n",
+ 'type' => 'array',
+ 'items' => ['description' => 'The name of the approved patch.'."\n", 'type' => 'string', 'required' => false, 'example' => 'ApprovedPatch1', 'title' => ''],
'required' => false,
- 'example' => 'SlsProjectName',
+ 'title' => '',
+ 'example' => '',
],
],
[
- 'name' => 'DeliverySlsEnabled',
+ 'name' => 'ApprovedPatchesEnableNonSecurity',
'in' => 'query',
- 'schema' => [
- 'description' => 'Whether to enable SLS delivery.',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'false',
- ],
+ 'schema' => ['description' => 'Specifies whether the approved patch involves updates other than security-related updates.'."\n", 'type' => 'boolean', 'required' => false, 'example' => 'true', 'title' => ''],
],
[
- 'name' => 'RegionId',
+ 'name' => 'Sources',
'in' => 'query',
+ 'style' => 'json',
'schema' => [
- 'description' => 'The region ID.'."\n",
- 'type' => 'string',
+ 'description' => 'The patch source configurations.'."\n",
+ 'type' => 'array',
+ 'items' => ['description' => 'The configuration of the patch source.'."\n", 'type' => 'string', 'required' => false, 'example' => '[main]'."\n"
+ .'name=MyCustomRepository'."\n"
+ .'baseurl=https://my-custom-repository'."\n"
+ .'enabled=1', 'title' => ''],
'required' => false,
- 'example' => 'cn-hangzhou',
+ 'title' => '',
+ 'example' => '',
],
],
[
- 'name' => 'RdcEnterpriseId',
+ 'name' => 'ResourceGroupId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The id of RDC Enterprise.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'RdcEnterpriseId',
- ],
+ 'schema' => ['description' => 'The ID of the resource group.'."\n", 'type' => 'string', 'required' => false, 'example' => 'rg-acfmxsn4m4******', 'title' => ''],
],
],
'responses' => [
200 => [
'schema' => [
- 'description' => '',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => 'The ID of the request.'."\n",
- 'type' => 'string',
- 'example' => 'CBEC8072-BEC2-478E-8EAE-E723BA79CF19',
- ],
- 'ServiceSettings' => [
- 'description' => 'The information of service settings.',
+ 'NextToken' => ['description' => 'The token that is used to retrieve the next page of results.'."\n", 'type' => 'string', 'example' => '-', 'title' => ''],
+ 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '432996A1-03C0-5C4C-A8E6-66C4110765B8', 'title' => ''],
+ 'MaxResults' => ['description' => 'The number of entries per page.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '50', 'title' => ''],
+ 'PatchBaselines' => [
+ 'description' => 'The patch baselines.'."\n",
'type' => 'array',
'items' => [
- 'description' => '',
'type' => 'object',
'properties' => [
- 'DeliveryOssBucketName' => [
- 'description' => 'The name of OSS bucket to deliver.',
- 'type' => 'string',
- 'example' => 'OssBucketName',
- ],
- 'DeliveryOssKeyPrefix' => [
- 'description' => 'The key prefix of OSS to deliver.',
- 'type' => 'string',
- 'example' => 'oos/execution',
- ],
- 'DeliveryOssEnabled' => [
- 'description' => 'Whether to enable OSS delivery.',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'DeliverySlsEnabled' => [
- 'description' => 'Whether to enable SLS delivery.',
- 'type' => 'boolean',
- 'example' => 'false',
+ 'OperationSystem' => ['description' => 'The type of the operating system.'."\n", 'type' => 'string', 'example' => 'AliyunLinux', 'title' => ''],
+ 'IsDefault' => ['description' => 'Indicates whether the patch baseline is set as the default patch baseline.'."\n", 'type' => 'boolean', 'example' => 'false', 'title' => ''],
+ 'Description' => ['description' => 'The description of the patch baseline.'."\n", 'type' => 'string', 'example' => 'ListPatchBaseline', 'title' => ''],
+ 'UpdatedDate' => ['description' => 'The time when the patch baseline was updated.'."\n", 'type' => 'string', 'example' => '2021-09-08T03:44:34Z', 'title' => ''],
+ 'UpdatedBy' => ['description' => 'The user who last updated the patch baseline.'."\n", 'type' => 'string', 'example' => 'root(130900000)', 'title' => ''],
+ 'CreatedBy' => ['description' => 'The user who created the patch baseline.'."\n", 'type' => 'string', 'example' => 'root(130900000)', 'title' => ''],
+ 'CreatedDate' => ['description' => 'The time when the patch baseline was created.'."\n", 'type' => 'string', 'example' => '2021-09-08T03:41:23Z', 'title' => ''],
+ 'Name' => ['description' => 'The name of the patch baseline.'."\n", 'type' => 'string', 'example' => 'MyPatchBaseline', 'title' => ''],
+ 'Id' => ['description' => 'The ID of the patch baseline.'."\n", 'type' => 'string', 'example' => 'pb-c2838b5d89b540e19ee6', 'title' => ''],
+ 'ShareType' => ['description' => 'The share type of the patch baseline.'."\n", 'type' => 'string', 'example' => 'Private', 'title' => ''],
+ 'Tags' => [
+ 'description' => 'The tags of the patch baseline.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'TagKey' => ['description' => 'The key of the tag.'."\n", 'type' => 'string', 'example' => 'key', 'title' => ''],
+ 'TagValue' => ['description' => 'The value of the tag.'."\n", 'type' => 'string', 'example' => 'value', 'title' => ''],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'title' => '',
+ 'example' => '',
],
- 'DeliverySlsProjectName' => [
- 'description' => 'The name of SLS project to deliver.',
- 'type' => 'string',
- 'example' => 'SlsProjectName',
+ 'ApprovedPatches' => [
+ 'description' => 'The approved patches.'."\n",
+ 'type' => 'array',
+ 'items' => ['description' => 'The name of the approved patch.'."\n", 'type' => 'string', 'example' => 'ApprovedPatch1', 'title' => ''],
+ 'title' => '',
+ 'example' => '',
],
- 'RdcEnterpriseId' => [
- 'description' => 'The id of RDC Enterprise.',
- 'type' => 'string',
- 'example' => 'RdcEnterpriseId',
+ 'ApprovedPatchesEnableNonSecurity' => ['description' => 'Indicates whether the approved patch involves updates other than security-related updates.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''],
+ 'Sources' => [
+ 'description' => 'The configurations of patch sources.'."\n",
+ 'type' => 'array',
+ 'items' => ['description' => 'The configurations of the patch source.'."\n", 'type' => 'string', 'example' => '[main]'."\n"
+ .'name=MyCustomRepository'."\n"
+ .'baseurl=https://my-custom-repository'."\n"
+ .'enabled=1', 'title' => ''],
+ 'title' => '',
+ 'example' => '',
],
+ 'ResourceGroupId' => ['description' => 'The ID of the resource group.'."\n", 'type' => 'string', 'example' => 'rg-aek256ia6vhsndy', 'title' => ''],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
+ 'title' => '',
+ 'example' => '',
],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"CBEC8072-BEC2-478E-8EAE-E723BA79CF19\\",\\n \\"ServiceSettings\\": [\\n {\\n \\"DeliveryOssBucketName\\": \\"OssBucketName\\",\\n \\"DeliveryOssKeyPrefix\\": \\"oos/execution\\",\\n \\"DeliveryOssEnabled\\": true,\\n \\"DeliverySlsEnabled\\": false,\\n \\"DeliverySlsProjectName\\": \\"SlsProjectName\\",\\n \\"RdcEnterpriseId\\": \\"RdcEnterpriseId\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<SetServiceSettingsResponse>\\n <RequestId>CBEC8072-BEC2-478E-8EAE-E723BA79CF19</RequestId>\\n <ServiceSettings>\\n <DeliveryOssBucketName>OssBucketName</DeliveryOssBucketName>\\n <DeliveryOssKeyPrefix>oos/execution</DeliveryOssKeyPrefix>\\n <DeliveryOssEnabled>true</DeliveryOssEnabled>\\n <DeliverySlsEnabled>false</DeliverySlsEnabled>\\n <DeliverySlsProjectName>SlsProjectName</DeliverySlsProjectName>\\n <RdcEnterpriseId>RdcEnterpriseId</RdcEnterpriseId>\\n </ServiceSettings>\\n</SetServiceSettingsResponse>","errorExample":""}]',
- 'title' => 'SetServiceSettings',
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"NextToken\\": \\"-\\",\\n \\"RequestId\\": \\"432996A1-03C0-5C4C-A8E6-66C4110765B8\\",\\n \\"MaxResults\\": 50,\\n \\"PatchBaselines\\": [\\n {\\n \\"OperationSystem\\": \\"AliyunLinux\\",\\n \\"IsDefault\\": false,\\n \\"Description\\": \\"ListPatchBaseline\\",\\n \\"UpdatedDate\\": \\"2021-09-08T03:44:34Z\\",\\n \\"UpdatedBy\\": \\"root(130900000)\\",\\n \\"CreatedBy\\": \\"root(130900000)\\",\\n \\"CreatedDate\\": \\"2021-09-08T03:41:23Z\\",\\n \\"Name\\": \\"MyPatchBaseline\\",\\n \\"Id\\": \\"pb-c2838b5d89b540e19ee6\\",\\n \\"ShareType\\": \\"Private\\",\\n \\"Tags\\": [\\n {\\n \\"TagKey\\": \\"key\\",\\n \\"TagValue\\": \\"value\\"\\n }\\n ],\\n \\"ApprovedPatches\\": [\\n \\"ApprovedPatch1\\"\\n ],\\n \\"ApprovedPatchesEnableNonSecurity\\": true,\\n \\"Sources\\": [\\n \\"[main]\\\\nname=MyCustomRepository\\\\nbaseurl=https://my-custom-repository\\\\nenabled=1\\"\\n ],\\n \\"ResourceGroupId\\": \\"rg-aek256ia6vhsndy\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<RequestId>432996A1-03C0-5C4C-A8E6-66C4110765B8</RequestId>\\n<MaxResults>50</MaxResults>\\n<PatchBaselines>\\n <IsDefault>false</IsDefault>\\n <UpdatedBy>root(130900000)</UpdatedBy>\\n <CreatedBy>root(130900000)</CreatedBy>\\n <Description>ListPatchBaseline</Description>\\n <UpdatedDate>2021-09-08T03:44:34Z</UpdatedDate>\\n <CreatedDate>2021-09-08T03:41:23Z</CreatedDate>\\n <Id>pb-c2838b5d89b540e19ee6</Id>\\n <OperationSystem>AliyunLinux</OperationSystem>\\n <Name>MyPatchBaseline3</Name>\\n <ShareType>Private</ShareType>\\n</PatchBaselines>\\n<PatchBaselines>\\n <IsDefault>false</IsDefault>\\n <UpdatedBy>root(130900000)</UpdatedBy>\\n <CreatedBy>root(130900000)</CreatedBy>\\n <Description>ListPatchBaseline</Description>\\n <UpdatedDate>2021-09-08T03:39:26Z</UpdatedDate>\\n <CreatedDate>2021-09-08T03:38:46Z</CreatedDate>\\n <Id>pb-bdbeb87bc0bb40c9a8de</Id>\\n <OperationSystem>AliyunLinux</OperationSystem>\\n <Name>MyPatchBaseline2</Name>\\n <ShareType>Private</ShareType>\\n</PatchBaselines>\\n<PatchBaselines>\\n <IsDefault>false</IsDefault>\\n <UpdatedBy>root(130900000)</UpdatedBy>\\n <CreatedBy>root(130900000)</CreatedBy>\\n <Description>ListPatchBaseline</Description>\\n <UpdatedDate>2021-09-08T03:39:46Z</UpdatedDate>\\n <CreatedDate>2021-09-08T02:14:24Z</CreatedDate>\\n <Id>pb-646af3e99fac44e49ca8</Id>\\n <OperationSystem>AliyunLinux</OperationSystem>\\n <Name>MyPatchBaseline1</Name>\\n <ShareType>Private</ShareType>\\n</PatchBaselines>","errorExample":""}]',
+ 'title' => 'ListPatchBaselines',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'GetServiceSettings' => [
- 'summary' => 'Queries the service settings, including the configuration of delivering template execution records and the associated organization ID.',
- 'methods' => [
- 'get',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListPatchBaselines'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'oos:ListPatchBaselines',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [
+ ['conditionKey' => 'oos:TLSVersion'],
+ ],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'OOS', 'resourceType' => 'PatchBaseline', 'arn' => 'acs:oos:{#regionId}:{#accountId}:patchbaseline/{#PatchBaselineName}'],
+ ],
+ ],
+ ],
],
+ ],
+ 'ListResourceExecutionStatus' => [
+ 'summary' => 'Queries the information about a scheduled execution that involves O\\&M operations on Elastic Compute Service (ECS) instances.',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -11652,22 +8542,29 @@
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
- 'abilityTreeCode' => '93968',
- 'abilityTreeNodes' => [
- 'FEATUREoosJ7PS9L',
- ],
- 'tenantRelevance' => 'publicInformation',
+ 'abilityTreeCode' => '93983',
+ 'abilityTreeNodes' => ['FEATUREoosQL14T7'],
],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The ID of the region.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => 'The ID of the region.'."\n", 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'cn-hangzhou', 'title' => ''],
+ ],
+ [
+ 'name' => 'ExecutionId',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The ID of the execution.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'exec-xxxxxxxxxxxx', 'title' => ''],
+ ],
+ [
+ 'name' => 'MaxResults',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The number of entries to return on each page. Valid values: 10 to 100. Default value: 50.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'docRequired' => false, 'maximum' => '100', 'minimum' => '10', 'example' => '50', 'title' => ''],
+ ],
+ [
+ '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' => 'MTRBMDc0NjAtRUJFNy00N0NBLTk3NTctMTJDQzQ', 'title' => ''],
],
],
'responses' => [
@@ -11675,351 +8572,265 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => 'The ID of the request.'."\n",
- 'type' => 'string',
- 'example' => '9F755DC9-C0CF-4598-B2E3-2CC763F18CB2',
- ],
- 'ServiceSettings' => [
- 'description' => 'The information of service settings.',
+ 'NextToken' => ['description' => 'The pagination token that is used in the next request to retrieve a new page of results.'."\n", 'type' => 'string', 'example' => 'MTRBMDc0NjAtRUJFNy00N0NBLTk3NTctMTJDQzQ', 'title' => ''],
+ 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => 'ED571CBD-9F96-419D-B919-CF340BBCA157', 'title' => ''],
+ 'MaxResults' => ['description' => 'The number of entries returned on each page.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '50', 'title' => ''],
+ 'ResourceExecutionStatus' => [
+ 'description' => 'The execution information of the resource.'."\n",
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'DeliveryOssBucketName' => [
- 'description' => 'The name of OSS bucket to deliver.',
- 'type' => 'string',
- 'example' => 'OssBucketName',
- ],
- 'DeliveryOssKeyPrefix' => [
- 'description' => 'The key prefix of OSS to deliver.',
- 'type' => 'string',
- 'example' => 'oos/execution',
- ],
- 'DeliveryOssEnabled' => [
- 'description' => 'Whether to enable OSS delivery.',
- 'type' => 'boolean',
- 'example' => 'false',
- ],
- 'DeliverySlsEnabled' => [
- 'description' => 'Whether to enable SLS delivery.',
- 'type' => 'boolean',
- 'example' => 'false',
- ],
- 'DeliverySlsProjectName' => [
- 'description' => 'The name of SLS project to deliver.',
- 'type' => 'string',
- 'example' => 'SlsProjectName',
- ],
- 'RdcEnterpriseId' => [
- 'description' => 'The id of RDC Enterprise.',
- 'type' => 'string',
- 'example' => 'RdcEnterpriseId',
- ],
+ 'Outputs' => ['description' => 'The output of the template.'."\n", 'type' => 'string', 'example' => '{ "commandOutput": "hello\\n" }', 'title' => ''],
+ 'Status' => ['description' => 'The status of the execution.'."\n", 'type' => 'string', 'example' => 'Success', 'title' => ''],
+ 'ExecutionTime' => ['description' => 'The time when the execution started running.'."\n", 'type' => 'string', 'example' => '2020-11-13T08:48:34Z', 'title' => ''],
+ 'ResourceId' => ['description' => 'The ID of the resource.'."\n", 'type' => 'string', 'example' => 'i-bp1e1bxxxxxxxxxxxxxx', 'title' => ''],
+ 'ExecutionId' => ['description' => 'The ID of the execution.'."\n", 'type' => 'string', 'example' => 'exec-6be6d6ff805349d9ac13', 'title' => ''],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
+ 'title' => '',
+ 'example' => '',
],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
+ 'errorCodes' => [
+ 400 => [
+ ['errorCode' => 'InvalidParameter', 'errorMessage' => 'The parameter is invalid.', 'description' => 'The specified parameter is invalid.'],
+ ],
+ 404 => [
+ ['errorCode' => 'EntityNotExists.Execution', 'errorMessage' => 'The specified execution does not exist.', 'description' => 'The specified execution does not exist.'],
+ ],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"9F755DC9-C0CF-4598-B2E3-2CC763F18CB2\\",\\n \\"ServiceSettings\\": [\\n {\\n \\"DeliveryOssBucketName\\": \\"OssBucketName\\",\\n \\"DeliveryOssKeyPrefix\\": \\"oos/execution\\",\\n \\"DeliveryOssEnabled\\": false,\\n \\"DeliverySlsEnabled\\": false,\\n \\"DeliverySlsProjectName\\": \\"SlsProjectName\\",\\n \\"RdcEnterpriseId\\": \\"RdcEnterpriseId\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<RequestId>9F755DC9-C0CF-4598-B2E3-2CC763F18CB2</RequestId>\\n<ServiceSettings>\\n <DeliverySlsEnabled>false</DeliverySlsEnabled>\\n <DeliveryOssKeyPrefix>oos/execution</DeliveryOssKeyPrefix>\\n <DeliveryOssEnabled>true</DeliveryOssEnabled>\\n <DeliveryOssBucketName>OssBucketName</DeliveryOssBucketName>\\n <DeliverySlsProjectName>SlsProjectName</DeliverySlsProjectName>\\n</ServiceSettings>","errorExample":""}]',
- 'title' => 'GetServiceSettings',
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"NextToken\\": \\"MTRBMDc0NjAtRUJFNy00N0NBLTk3NTctMTJDQzQ\\",\\n \\"RequestId\\": \\"ED571CBD-9F96-419D-B919-CF340BBCA157\\",\\n \\"MaxResults\\": 50,\\n \\"ResourceExecutionStatus\\": [\\n {\\n \\"Outputs\\": \\"{ \\\\t\\\\t\\\\t\\\\t\\\\\\"commandOutput\\\\\\": \\\\\\"hello\\\\\\\\n\\\\\\" \\\\t\\\\t\\\\t}\\",\\n \\"Status\\": \\"Success\\",\\n \\"ExecutionTime\\": \\"2020-11-13T08:48:34Z\\",\\n \\"ResourceId\\": \\"i-bp1e1bxxxxxxxxxxxxxx\\",\\n \\"ExecutionId\\": \\"exec-6be6d6ff805349d9ac13\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<RequestId>ED571CBD-9F96-419D-B919-CF340BBCA157</RequestId>\\n<ResourceExecutionStatus>\\n <Status>Success</Status>\\n <ExecutionTime>2020-11-13T08:48:34Z</ExecutionTime>\\n <ResourceId>i-bp1e1bxxxxxxxxxxxxxx</ResourceId>\\n <Outputs>\\n <commandOutput>hello\\n</commandOutput>\\n </Outputs>\\n <ExecutionId>exec-6be6d6ff805349d9ac13</ExecutionId>\\n</ResourceExecutionStatus>\\n<MaxResults>50</MaxResults>","errorExample":""}]',
+ 'title' => 'ListResourceExecutionStatus',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'CreateApplication' => [
- 'summary' => 'Creates an application. You can call this operation only for the applications that reside in the China (Hangzhou) region. Use an endpoint of the China (Hangzhou) region.',
- 'methods' => [
- 'post',
- 'get',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListResourceExecutionStatus'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'oos:ListResourceExecutionStatus',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [
+ ['conditionKey' => 'oos:tag', 'validationType' => 'always'],
+ ['conditionKey' => 'oos:TLSVersion'],
+ ],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'OOS', 'resourceType' => 'execution', 'arn' => 'acs:oos:{#regionId}:{#accountId}:execution/{#executionId}'],
+ ],
+ ],
+ ],
],
+ ],
+ 'ListSecretParameterVersions' => [
+ 'summary' => 'Queries multiple versions of a encrypted parameter.',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'write',
+ 'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'create',
+ 'operationType' => 'list',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeCode' => '93939',
- 'abilityTreeNodes' => [
- 'FEATUREoosXBZWHV',
- ],
- 'autoTest' => true,
+ 'abilityTreeCode' => '93985',
+ 'abilityTreeNodes' => ['FEATUREoosLDUDPP'],
'tenantRelevance' => 'publicInformation',
],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The region ID. Set the value to cn-hangzhou.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => 'The ID of the region.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'cn-hangzhou'],
],
[
'name' => 'Name',
'in' => 'query',
- 'schema' => [
- 'description' => 'The application name.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'MyApplication',
- ],
- ],
- [
- 'name' => 'Description',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The description of the application.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'application',
- ],
+ 'schema' => ['description' => 'The name of the parameter.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'title' => '', 'example' => 'MySecretParameter'],
],
[
- 'name' => 'ResourceGroupId',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The ID of the resource group.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'rg-acfmxsn4m******',
- ],
- ],
- [
- 'name' => 'Tags',
- 'in' => 'query',
- 'style' => 'json',
- 'schema' => [
- 'description' => 'The tags.'."\n",
- 'type' => 'object',
- 'required' => false,
- 'example' => '{"k1":"v1","k2":"v2"}',
- ],
- ],
- [
- 'name' => 'ClientToken',
+ 'name' => 'MaxResults',
'in' => 'query',
- 'schema' => [
- 'description' => 'The client token that is used to ensure the idempotence of the request.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'TF-CreateApplication-1647587475-84104b89-eba5-47a8-b2fd-807b8b7d',
- ],
+ 'schema' => ['description' => 'The number of entries to return on each page. Valid values: 10 to 100. Default value: 50.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '100', 'minimum' => '10', 'default' => '50', 'title' => '', 'example' => '10'],
],
[
- 'name' => 'AlarmConfig',
+ 'name' => 'NextToken',
'in' => 'query',
- 'style' => 'json',
- 'schema' => [
- 'description' => 'The configurations of application alerts.'."\n",
- 'type' => 'object',
- 'properties' => [
- 'ContactGroups' => [
- 'description' => 'The alert contact groups.'."\n",
- 'type' => 'array',
- 'items' => [
- 'description' => 'The name of the alert contact group.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'AlertContactgroup',
- ],
- 'required' => false,
- ],
- 'TemplateIds' => [
- 'description' => 'The alert templates.'."\n",
- 'type' => 'array',
- 'items' => [
- 'description' => 'The ID of the alert template.'."\n"
- ."\n"
- .'For information about how to obtain the ID of an alert template, see [DescribeMetricRuleTemplateList](~~114982~~).'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => '6c7372e9e237463bb9efcb1acd91358d',
- ],
- 'required' => false,
- ],
- 'HealthCheckUrl' => [
- 'description' => 'The health check URL of the application.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => '/healthcheck/tcp50122',
- ],
- ],
- 'required' => false,
- ],
+ 'schema' => ['description' => 'The pagination token.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'MTRBMDc0NjAtRUJFNy00N0NBLTk3NTctMTJDQzQ3NjFENDdB'],
],
[
- 'name' => 'ServiceId',
+ 'name' => 'ShareType',
'in' => 'query',
- 'schema' => [
- 'description' => 'The ID of the Compute Nest service that corresponds to the application template.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'service-79538e30e44541b699d8',
- ],
+ 'schema' => ['description' => 'The share type of the parameter.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'Private'],
],
[
- 'name' => 'ApplicationSource',
+ 'name' => 'WithDecryption',
'in' => 'query',
- 'schema' => [
- 'description' => 'The source of application.',
- 'type' => 'string',
- 'required' => false,
- 'example' => '{"Platform":"github","Owner":"githubUser","RepoName":"githubUser/repoName"}',
- ],
+ 'schema' => ['description' => 'Specifies whether to decrypt the parameter value. The parameter value is returned in the Value response parameter only if this parameter is set to true. Otherwise, the Value response parameter is empty.', 'type' => 'boolean', 'required' => false, 'title' => '', 'example' => 'false'],
],
],
'responses' => [
200 => [
'schema' => [
+ 'description' => 'The information about the secret parameter.',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => 'The ID of the request.'."\n",
- 'type' => 'string',
- 'example' => '274917E8-8E74-5928-A82F-4940F52F7ACB',
- ],
- 'Application' => [
- 'description' => 'The information about the application.'."\n",
- 'type' => 'object',
- 'properties' => [
- 'Tags' => [
- 'description' => 'The tags.'."\n",
- 'type' => 'object',
- 'additionalProperties' => [
- 'type' => 'string',
- 'example' => '{"k1":"v1","k2":"v2"}',
- 'description' => 'The tags.'."\n",
- ],
- 'example' => '{"k1":"v1","k2":"v2"}',
- ],
- 'Name' => [
- 'description' => 'The application name.'."\n",
- 'type' => 'string',
- 'example' => 'Myapplication',
- ],
- 'UpdateDate' => [
- 'description' => 'The time when the application was updated.'."\n",
- 'type' => 'string',
- 'example' => '2021-09-07T09:17:46Z',
- ],
- 'Description' => [
- 'description' => 'The description of the application.'."\n",
- 'type' => 'string',
- 'example' => 'application',
- ],
- 'CreateDate' => [
- 'description' => 'The time when the application was created.'."\n",
- 'type' => 'string',
- 'example' => '2021-09-07T09:17:46Z',
+ 'Type' => ['description' => 'The type of the parameter.', 'type' => 'string', 'title' => '', 'example' => 'Secret'],
+ 'NextToken' => ['description' => 'The pagination token.', 'type' => 'string', 'title' => '', 'example' => 'MTRBMDc0NjAtRUJFNy00N0NBLTk3NTctMTJDQzQ3NjFENDdB'],
+ 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'title' => '', 'example' => 'DBA6E6C8-F75D-41DE-AFF5-1FA03F551CA3'],
+ 'Description' => ['description' => 'The description of the parameter.', 'type' => 'string', 'title' => '', 'example' => 'SecretParameter'],
+ 'MaxResults' => ['description' => 'The number of entries returned per page.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '50'],
+ 'CreatedBy' => ['description' => 'The user who created the parameter.', 'type' => 'string', 'title' => '', 'example' => 'root(130900000)'],
+ 'CreatedDate' => ['description' => 'The time when the parameter was created.', 'type' => 'string', 'title' => '', 'example' => '2020-09-01T08:01:43Z'],
+ 'Name' => ['description' => 'The name of the parameter.', 'type' => 'string', 'title' => '', 'example' => 'MySecretParameter'],
+ 'TotalCount' => ['description' => 'The total number of entries returned.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '1'],
+ 'Id' => ['description' => 'The ID of the parameter.', 'type' => 'string', 'title' => '', 'example' => 'p-4c4b401cab6747xxxxxx'],
+ 'ParameterVersions' => [
+ 'description' => 'The versions of the parameter.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The details of a version.',
+ 'type' => 'object',
+ 'properties' => [
+ 'ParameterVersion' => ['description' => 'The version number of the parameter.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '1'],
+ 'Value' => ['description' => 'The value of the parameter.', 'type' => 'string', 'title' => '', 'example' => 'SecretParameter'],
+ 'UpdatedDate' => ['description' => 'The time when the parameter was last updated.', 'type' => 'string', 'title' => '', 'example' => '2020-09-01T08:01:43Z'],
+ 'UpdatedBy' => ['description' => 'The user who last updated the parameter.', 'type' => 'string', 'title' => '', 'example' => 'root(130900000)'],
],
+ 'title' => '',
+ 'example' => '',
],
+ 'title' => '',
+ 'example' => '',
],
],
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"274917E8-8E74-5928-A82F-4940F52F7ACB\\",\\n \\"Application\\": {\\n \\"Tags\\": {\\n \\"key\\": \\"{\\\\\\"k1\\\\\\":\\\\\\"v1\\\\\\",\\\\\\"k2\\\\\\":\\\\\\"v2\\\\\\"}\\"\\n },\\n \\"Name\\": \\"Myapplication\\",\\n \\"UpdateDate\\": \\"2021-09-07T09:17:46Z\\",\\n \\"Description\\": \\"application\\",\\n \\"CreateDate\\": \\"2021-09-07T09:17:46Z\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"<RequestId>274917E8-8E74-5928-A82F-4940F52F7ACB</RequestId>\\n<Application>\\n <UpdateDate>2021-09-07T09:17:46Z</UpdateDate>\\n <Description>application</Description>\\n <CreateDate>2021-09-07T09:17:46Z</CreateDate>\\n <Tags>\\n <k1>v1</k1>\\n <k2>v2</k2>\\n </Tags>\\n <Name>MyApplication</Name>\\n</Application>","errorExample":""}]',
- 'title' => 'CreateApplication',
+ 'title' => 'ListSecretParameterVersions',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'DeleteApplication' => [
- 'summary' => 'Deletes an application. You can call this operation only for the applications that reside in the China (Hangzhou) region. Use an endpoint of the China (Hangzhou) region.',
- 'methods' => [
- 'post',
- 'get',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListSecretParameterVersions'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'oos:ListSecretParameterVersions',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [
+ ['conditionKey' => 'oos:TLSVersion'],
+ ],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'OOS', 'resourceType' => 'secretparameter', 'arn' => 'acs:oos:{#regionId}:{#accountId}:secretparameter/{#secretparameterName}'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Type\\": \\"Secret\\",\\n \\"NextToken\\": \\"MTRBMDc0NjAtRUJFNy00N0NBLTk3NTctMTJDQzQ3NjFENDdB\\",\\n \\"RequestId\\": \\"DBA6E6C8-F75D-41DE-AFF5-1FA03F551CA3\\",\\n \\"Description\\": \\"SecretParameter\\",\\n \\"MaxResults\\": 50,\\n \\"CreatedBy\\": \\"root(130900000)\\",\\n \\"CreatedDate\\": \\"2020-09-01T08:01:43Z\\",\\n \\"Name\\": \\"MySecretParameter\\",\\n \\"TotalCount\\": 1,\\n \\"Id\\": \\"p-4c4b401cab6747xxxxxx\\",\\n \\"ParameterVersions\\": [\\n {\\n \\"ParameterVersion\\": 1,\\n \\"Value\\": \\"SecretParameter\\",\\n \\"UpdatedDate\\": \\"2020-09-01T08:01:43Z\\",\\n \\"UpdatedBy\\": \\"root(130900000)\\"\\n }\\n ]\\n}","type":"json"}]',
+ ],
+ 'ListSecretParameters' => [
+ 'summary' => 'Queries common parameters. Multiple types of queries are supported.',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'write',
+ 'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'delete',
+ 'operationType' => 'list',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeCode' => '93946',
- 'abilityTreeNodes' => [
- 'FEATUREoosXBZWHV',
- ],
- 'autoTest' => true,
+ 'abilityTreeCode' => '93984',
+ 'abilityTreeNodes' => ['FEATUREoosBA3MI8'],
'tenantRelevance' => 'publicInformation',
],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The region ID. Set the value to cn-hangzhou.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'enumValueTitles' => [],
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => 'The ID of the region.'."\n", 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''],
],
[
'name' => 'Name',
'in' => 'query',
- 'schema' => [
- 'description' => 'The application name.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'MyApplication',
- ],
+ 'schema' => ['description' => 'The name of the parameter. **You can enter a keyword to query parameter names in fuzzy match mode.'."\n", 'type' => 'string', 'required' => false, 'example' => 'MySecretParameter', 'title' => ''],
],
[
- 'name' => 'Force',
+ 'name' => 'MaxResults',
'in' => 'query',
- 'schema' => [
- 'description' => 'Specifies whether to forcibly delete the application. Valid values:'."\n"
- ."\n"
- .'* true'."\n"
- .'* false'."\n",
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'False',
- ],
+ 'schema' => ['description' => 'The number of entries per page. Valid values: 10 to 100. Default value: 50.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '100', 'minimum' => '10', 'example' => '50', 'default' => '50', 'title' => ''],
],
[
- 'name' => 'RetainResource',
+ 'name' => 'NextToken',
'in' => 'query',
- 'schema' => [
- 'description' => 'Specifies whether to retain resources created by application manager when deleting the application. Valid values:'."\n"
- .'- true'."\n"
- .'- false',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'false',
- ],
+ 'schema' => ['description' => 'The token that is used to retrieve the next page of results.'."\n", 'type' => 'string', 'required' => false, 'example' => 'sPH90GZOVGC6KPDUL0FIIbEtMQHq_19S6_4O_XqA', 'title' => ''],
+ ],
+ [
+ 'name' => 'SortField',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The field used to sort the query results. Valid values:'."\n"
+ ."\n"
+ .'* Name'."\n"
+ .'* CreatedDate'."\n", 'type' => 'string', 'required' => false, 'example' => 'Name', 'title' => ''],
+ ],
+ [
+ 'name' => 'SortOrder',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The order in which the entries are sorted. Valid values:'."\n"
+ ."\n"
+ .'* Ascending'."\n"
+ .'* Descending (Default)'."\n", 'type' => 'string', 'required' => false, 'example' => 'Descending', 'title' => ''],
+ ],
+ [
+ 'name' => 'Path',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The path of the parameter. For example, if the name of a parameter is /path/path1/Myparameter, the path of the parameter is /path/path1/.'."\n", 'type' => 'string', 'required' => false, 'example' => '/path1/path2/', 'title' => ''],
+ ],
+ [
+ 'name' => 'Recursive',
+ 'in' => 'query',
+ 'schema' => ['description' => 'Specifies whether to query parameters from all levels of directories in the specified path. Default value: false.'."\n", 'type' => 'boolean', 'required' => false, 'example' => 'false', 'title' => ''],
+ ],
+ [
+ 'name' => 'Tags',
+ 'in' => 'query',
+ 'style' => 'json',
+ 'schema' => ['description' => 'The tags of the parameter.'."\n", 'type' => 'object', 'required' => false, 'example' => '{"k1": "v1", "k2": "v2"}', 'title' => ''],
+ ],
+ [
+ 'name' => 'ResourceGroupId',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The ID of the resource group.'."\n", 'type' => 'string', 'required' => false, 'example' => 'rg-acfmxsn4m4******', 'title' => ''],
],
],
'responses' => [
@@ -12027,143 +8838,128 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => 'The ID of the request.'."\n",
- 'type' => 'string',
- 'example' => '37A9F0FD-51D0-58D5-B91F-DF570281556B',
+ 'NextToken' => ['description' => 'The token that is used to retrieve the next page of results.'."\n", 'type' => 'string', 'example' => 'sPH90GZOVGC6KPDUL0FIIbEtMQHq_19S6_4O_XqA', 'title' => ''],
+ 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => 'CA9C6248-AF2A-4AE9-A166-88FD901BBB90', 'title' => ''],
+ 'MaxResults' => ['description' => 'The number of entries returned per page.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '50', 'title' => ''],
+ 'Parameters' => [
+ 'description' => 'The information about the parameters.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Type' => ['description' => 'The type of the parameter.'."\n", 'type' => 'string', 'example' => 'Secret', 'title' => ''],
+ 'UpdatedDate' => ['description' => 'The time when the parameter was updated.'."\n", 'type' => 'string', 'example' => '2020-09-01T09:35:17Z', 'title' => ''],
+ 'UpdatedBy' => ['description' => 'The user who updated the parameter.'."\n", 'type' => 'string', 'example' => 'root(130900000)', 'title' => ''],
+ 'KeyId' => ['description' => 'The ID of the KMS customer master key (CMK) that is used for encryption.'."\n", 'type' => 'string', 'example' => '80e9409f-78fa-42ab-84bd-83f40c******', 'title' => ''],
+ 'Tags' => ['description' => 'The tags of the parameter.'."\n", 'type' => 'object', 'example' => '{"k1": "v1", "k2": "v2"}', 'title' => ''],
+ 'Description' => ['description' => 'The description of the parameter.'."\n", 'type' => 'string', 'example' => 'SecretParameter', 'title' => ''],
+ 'ResourceGroupId' => ['description' => 'The ID of the resource group.'."\n", 'type' => 'string', 'example' => 'rg-acfmxsn4m4******', 'title' => ''],
+ 'CreatedBy' => ['description' => 'The user who created the parameter.'."\n", 'type' => 'string', 'example' => 'root(130900000)', 'title' => ''],
+ 'CreatedDate' => ['description' => 'The time when the parameter was created.'."\n", 'type' => 'string', 'example' => '2020-09-01T09:28:47Z', 'title' => ''],
+ 'ParameterVersion' => ['description' => 'The version number of the parameter.'."\n", 'type' => 'string', 'example' => '1', 'title' => ''],
+ 'Name' => ['description' => 'The name of the parameter.'."\n", 'type' => 'string', 'example' => 'MySecretParameter', 'title' => ''],
+ 'Id' => ['description' => 'The ID of the parameter.'."\n", 'type' => 'string', 'example' => 'p-14ed150fdcd048xxxxxx', 'title' => ''],
+ 'ShareType' => ['description' => 'The share type of the parameter.'."\n", 'type' => 'string', 'example' => 'Private', 'title' => ''],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'title' => '',
+ 'example' => '',
],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"37A9F0FD-51D0-58D5-B91F-DF570281556B\\"\\n}","type":"json"}]',
- 'title' => 'DeleteApplication',
- ],
- 'UpdateApplication' => [
- 'summary' => 'Updates an application. You can call this operation only for the applications that reside in the China (Hangzhou) region. Use an endpoint of the China (Hangzhou) region.',
- 'methods' => [
- 'post',
- 'get',
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"NextToken\\": \\"sPH90GZOVGC6KPDUL0FIIbEtMQHq_19S6_4O_XqA\\",\\n \\"RequestId\\": \\"CA9C6248-AF2A-4AE9-A166-88FD901BBB90\\",\\n \\"MaxResults\\": 50,\\n \\"Parameters\\": [\\n {\\n \\"Type\\": \\"Secret\\",\\n \\"UpdatedDate\\": \\"2020-09-01T09:35:17Z\\",\\n \\"UpdatedBy\\": \\"root(130900000)\\",\\n \\"KeyId\\": \\"80e9409f-78fa-42ab-84bd-83f40c******\\",\\n \\"Tags\\": {\\n \\"k1\\": \\"v1\\",\\n \\"k2\\": \\"v2\\"\\n },\\n \\"Description\\": \\"SecretParameter\\",\\n \\"ResourceGroupId\\": \\"rg-acfmxsn4m4******\\",\\n \\"CreatedBy\\": \\"root(130900000)\\",\\n \\"CreatedDate\\": \\"2020-09-01T09:28:47Z\\",\\n \\"ParameterVersion\\": \\"1\\",\\n \\"Name\\": \\"MySecretParameter\\",\\n \\"Id\\": \\"p-14ed150fdcd048xxxxxx\\",\\n \\"ShareType\\": \\"Private\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<ListSecretParametersResponse>\\n <NextToken>sPH90GZOVGC6KPDUL0FIIbEtMQHq_19S6_4O_XqA</NextToken>\\n <RequestId>CA9C6248-AF2A-4AE9-A166-88FD901BBB90</RequestId>\\n <MaxResults>50</MaxResults>\\n <Parameters>\\n <Type>Secret</Type>\\n <UpdatedDate>2020-09-01T09:35:17Z</UpdatedDate>\\n <UpdatedBy>root(130900000)</UpdatedBy>\\n <KeyId>80e9409f-78fa-42ab-84bd-83f40c******</KeyId>\\n <Description>SecretParameter</Description>\\n <ResourceGroupId>rg-acfmxsn4m4******</ResourceGroupId>\\n <CreatedBy>root(130900000)</CreatedBy>\\n <CreatedDate>2020-09-01T09:28:47Z</CreatedDate>\\n <ParameterVersion>1</ParameterVersion>\\n <Name>MySecretParameter</Name>\\n <Id>p-14ed150fdcd048xxxxxx</Id>\\n <Tags>\\n <k1>v1</k1>\\n <k2>v2</k2>\\n </Tags>\\n <ShareType>Private</ShareType>\\n </Parameters>\\n</ListSecretParametersResponse>","errorExample":""}]',
+ 'title' => 'ListSecretParameters',
+ 'description' => 'Before you call this operation, make sure that you have the permission to manage Key Management Service (KMS) secrets.'."\n",
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListSecretParameters'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'oos:ListSecretParameters',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [
+ ['conditionKey' => 'oos:TLSVersion'],
+ ],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'OOS', 'resourceType' => 'SecretParameter', 'arn' => 'acs:oos:{#regionId}:{#accountId}:secretparameter/*'],
+ ],
+ ],
+ ],
],
+ ],
+ 'ListStateConfigurations' => [
+ 'summary' => 'Queries desired-state configurations.',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'write',
+ 'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'update',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- 'abilityTreeCode' => '100765',
- 'abilityTreeNodes' => [
- 'FEATUREoosUN7HBV',
- ],
- 'autoTest' => true,
- 'tenantRelevance' => 'publicInformation',
+ 'operationType' => 'get',
+ 'abilityTreeCode' => '93986',
+ 'abilityTreeNodes' => ['FEATUREoosLDUDPP'],
],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The region ID. Set the value to cn-hangzhou.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => 'The region ID.'."\n", 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''],
],
[
- 'name' => 'Name',
+ 'name' => 'TemplateName',
'in' => 'query',
- 'schema' => [
- 'description' => 'The application name.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'My-Application',
- ],
+ 'schema' => ['description' => 'The name of the template. The name must be 1 to 200 characters in length and can contain letters, digits, hyphens (-), and underscores (\\_).'."\n", 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => 'ACS-ECS-InventoryDataCollection', 'title' => ''],
],
[
- 'name' => 'Description',
+ 'name' => 'TemplateVersion',
'in' => 'query',
- 'schema' => [
- 'description' => 'The description to be updated for the application.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'test application',
- ],
+ 'schema' => ['description' => 'The version number of the template. If you do not specify this parameter, the latest version of the template is used.'."\n", 'type' => 'string', 'required' => false, 'example' => 'v1', 'title' => ''],
+ ],
+ [
+ 'name' => 'StateConfigurationIds',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The ID of the desired-state configuration.'."\n", 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => '["sc-asfgdhj12345"]', 'title' => ''],
],
[
'name' => 'Tags',
'in' => 'query',
'style' => 'json',
- 'schema' => [
- 'description' => 'The tags.'."\n",
- 'type' => 'object',
- 'required' => false,
- 'example' => '{"k1":"v1","k2":"v2"}',
- ],
+ 'schema' => ['description' => 'The tags to be added to the configuration.'."\n", 'type' => 'object', 'required' => false, 'docRequired' => false, 'example' => '{"Key": "oos", "Value": "inventory"}', 'title' => ''],
],
[
- 'name' => 'AlarmConfig',
+ 'name' => 'MaxResults',
'in' => 'query',
- 'style' => 'json',
- 'schema' => [
- 'description' => 'The configurations of application alerts.'."\n",
- 'type' => 'object',
- 'properties' => [
- 'ContactGroups' => [
- 'description' => 'The alert contact groups.'."\n",
- 'type' => 'array',
- 'items' => [
- 'description' => 'The name of the alert contact group.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'AlertContactGroup',
- ],
- 'required' => false,
- ],
- 'TemplateIds' => [
- 'description' => 'The alert templates.'."\n",
- 'type' => 'array',
- 'items' => [
- 'description' => 'The ID of the alert template.'."\n"
- ."\n"
- .'For more information about how to query the IDs of alert templates, see [DescribeMetricRuleTemplateList](~~114982~~).'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'd8d1153c517f4971a37350ba8c021c26',
- ],
- 'required' => false,
- ],
- 'HealthCheckUrl' => [
- 'description' => 'The health check URL of the application.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => '/healthcheck/tcp50122',
- ],
- ],
- 'required' => false,
- ],
+ 'schema' => ['description' => 'The maximum number of entries per page.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '50', 'title' => ''],
],
[
- 'name' => 'DeleteAlarmRulesBeforeUpdate',
+ 'name' => 'NextToken',
'in' => 'query',
- 'schema' => [
- 'description' => 'Specifies whether to delete existing alert rules before applying the alert template. Default value: false.'."\n",
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'false',
- ],
+ 'schema' => ['description' => 'A pagination token. It can be used in the next request to retrieve a new page of results.'."\n", 'type' => 'string', 'required' => false, 'example' => 'AHJKH-AHKJHDJK-AKHDIOWJL', 'title' => ''],
+ ],
+ [
+ 'name' => 'ResourceGroupId',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The resource group ID.'."\n", 'type' => 'string', 'required' => false, 'example' => 'rg-acfmxsn4m4******', 'title' => ''],
],
],
'responses' => [
@@ -12171,67 +8967,75 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => 'The ID of the request.'."\n",
- 'type' => 'string',
- 'example' => 'F1F00F41-D24C-5377-831B-C97F739CE1AB',
- ],
- 'Application' => [
- 'description' => 'The information about the application.'."\n",
- 'type' => 'object',
- 'properties' => [
- 'Description' => [
- 'description' => 'The description of the application.'."\n",
- 'type' => 'string',
- 'example' => 'test application',
- ],
- 'UpdatedDate' => [
- 'description' => 'The time when the application was updated.'."\n",
- 'type' => 'string',
- 'example' => '2021-09-07T10:17:46Z',
- ],
- 'ResourceGroupId' => [
- 'description' => 'The ID of the resource group.'."\n",
- 'type' => 'string',
- 'example' => 'rg-acfmxsn4m*****',
- ],
- 'CreatedDate' => [
- 'description' => 'The time when the application was created.'."\n",
- 'type' => 'string',
- 'example' => '2021-09-07T09:17:46Z',
- ],
- 'Tags' => [
- 'description' => 'The tags.'."\n",
- 'type' => 'object',
- 'example' => '{"k1":"v1","k2":"v2"}',
- ],
- 'Name' => [
- 'description' => 'The application name.'."\n",
- 'type' => 'string',
- 'example' => 'My-Application',
+ 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '1306108F-610C-40FD-AAD5-DA13E8B00BE9', 'title' => ''],
+ 'StateConfigurations' => [
+ 'description' => 'The information about the desired-state configurations.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'UpdateTime' => ['description' => 'The time when the configuration was updated.'."\n", 'type' => 'string', 'example' => '2021-04-22T03:13:32Z', 'title' => ''],
+ 'CreateTime' => ['description' => 'The time when the desired-state configuration was created.'."\n", 'type' => 'string', 'example' => '2021-03-22T03:13:32Z', 'title' => ''],
+ 'Targets' => ['description' => 'The queried resources.'."\n", 'type' => 'string', 'example' => '{ "ResourceType": "ALIYUN::ECS::Instance", "Filters": [ { "Type": "All", "RegionId": "cn-hangzhou", "Parameters": { "RegionId": "cn-hangzhou", "Status": "Running" } } ] }', 'title' => ''],
+ 'Tags' => ['description' => 'The tags added to the configuration.'."\n", 'type' => 'object', 'example' => '{"Key": "oos", "Value": "inventory"}', 'title' => ''],
+ 'StateConfigurationId' => ['description' => 'The ID of the desired-state configuration.'."\n", 'type' => 'string', 'example' => 'sc-a538febe18fabcdef', 'title' => ''],
+ 'ScheduleExpression' => ['description' => 'The schedule expression.'."\n", 'type' => 'string', 'example' => '1 hour', 'title' => ''],
+ 'TemplateName' => ['description' => 'The name of the template.'."\n", 'type' => 'string', 'example' => 'ACS-ECS-InventoryDataCollection', 'title' => ''],
+ 'TemplateVersion' => ['description' => 'The version of the template.'."\n", 'type' => 'string', 'example' => 'v2', 'title' => ''],
+ 'ConfigureMode' => ['description' => 'The configuration mode. Valid values:'."\n", 'type' => 'string', 'example' => 'ApplyAndAutoCorrect', 'title' => ''],
+ 'ScheduleType' => ['description' => 'The schedule type.'."\n", 'type' => 'string', 'example' => 'rate', 'title' => ''],
+ 'Parameters' => ['description' => 'The parameters.'."\n", 'type' => 'string', 'example' => '{"policy": {"ACS:Network": {"Collection": "Enabled"}, "ACS:Application": {"Collection": "Enabled"}}}', 'title' => ''],
+ 'Description' => ['description' => 'The description.'."\n", 'type' => 'string', 'example' => ' inventory数据收集', 'title' => ''],
+ 'ResourceGroupId' => ['description' => 'The resource group ID.'."\n", 'type' => 'string', 'example' => 'rg-acfmxsn4m4******', 'title' => ''],
+ 'TemplateId' => ['description' => 'The template ID.'."\n", 'type' => 'string', 'example' => 't-ajshjalscfhjk2214', 'title' => ''],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
+ 'title' => '',
+ 'example' => '',
],
+ 'NextToken' => ['description' => 'The pagination token that was used in the next request to retrieve a new page of results.'."\n", 'type' => 'string', 'example' => 'AAAAASO3cL82+b5iji7bfPNpMh8=', 'title' => ''],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"F1F00F41-D24C-5377-831B-C97F739CE1AB\\",\\n \\"Application\\": {\\n \\"Description\\": \\"test application\\",\\n \\"UpdatedDate\\": \\"2021-09-07T10:17:46Z\\",\\n \\"ResourceGroupId\\": \\"rg-acfmxsn4m*****\\",\\n \\"CreatedDate\\": \\"2021-09-07T09:17:46Z\\",\\n \\"Tags\\": {\\n \\"k1\\": \\"v1\\",\\n \\"k2\\": \\"v2\\"\\n },\\n \\"Name\\": \\"My-Application\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"<UpdateApplicationResponse>\\n <RequestId>F1F00F41-D24C-5377-831B-C97F739CE1AB</RequestId>\\n <Application>\\n <Description>test application</Description>\\n <UpdatedDate>2021-09-07T10:17:46Z</UpdatedDate>\\n <ResourceGroupId>rg-acfmxsn4m*****</ResourceGroupId>\\n <CreatedDate>2021-09-07T09:17:46Z</CreatedDate>\\n <Tags>\\n <k1>v1</k1>\\n <k2>v2</k2>\\n </Tags>\\n <Name>My-Application</Name>\\n </Application>\\n</UpdateApplicationResponse>","errorExample":""}]',
- 'title' => 'UpdateApplication',
- ],
- 'GetApplication' => [
- 'summary' => 'Queries the information of an application. You can call this operation only for the applications that reside in the China (Hangzhou) region. Use an endpoint of the China (Hangzhou) region.',
- 'methods' => [
- 'post',
- 'get',
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"1306108F-610C-40FD-AAD5-DA13E8B00BE9\\",\\n \\"StateConfigurations\\": [\\n {\\n \\"UpdateTime\\": \\"2021-04-22T03:13:32Z\\",\\n \\"CreateTime\\": \\"2021-03-22T03:13:32Z\\",\\n \\"Targets\\": \\"{ \\\\\\"ResourceType\\\\\\": \\\\\\"ALIYUN::ECS::Instance\\\\\\", \\\\\\"Filters\\\\\\": [ { \\\\\\"Type\\\\\\": \\\\\\"All\\\\\\", \\\\\\"RegionId\\\\\\": \\\\\\"cn-hangzhou\\\\\\", \\\\\\"Parameters\\\\\\": { \\\\\\"RegionId\\\\\\": \\\\\\"cn-hangzhou\\\\\\", \\\\\\"Status\\\\\\": \\\\\\"Running\\\\\\" } } ] }\\",\\n \\"Tags\\": {\\n \\"Key\\": \\"oos\\",\\n \\"Value\\": \\"inventory\\"\\n },\\n \\"StateConfigurationId\\": \\"sc-a538febe18fabcdef\\",\\n \\"ScheduleExpression\\": \\"1 hour\\",\\n \\"TemplateName\\": \\"ACS-ECS-InventoryDataCollection\\",\\n \\"TemplateVersion\\": \\"v2\\",\\n \\"ConfigureMode\\": \\"ApplyAndAutoCorrect\\",\\n \\"ScheduleType\\": \\"rate\\",\\n \\"Parameters\\": \\"{\\\\\\"policy\\\\\\": {\\\\\\"ACS:Network\\\\\\": {\\\\\\"Collection\\\\\\": \\\\\\"Enabled\\\\\\"}, \\\\\\"ACS:Application\\\\\\": {\\\\\\"Collection\\\\\\": \\\\\\"Enabled\\\\\\"}}}\\",\\n \\"Description\\": \\" inventory数据收集\\",\\n \\"ResourceGroupId\\": \\"rg-acfmxsn4m4******\\",\\n \\"TemplateId\\": \\"t-ajshjalscfhjk2214\\"\\n }\\n ],\\n \\"NextToken\\": \\"AAAAASO3cL82+b5iji7bfPNpMh8=\\"\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]',
+ 'title' => 'ListStateConfigurations',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListStateConfigurations'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'oos:ListStateConfigurations',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [
+ ['conditionKey' => 'oos:TLSVersion'],
+ ],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'OOS', 'resourceType' => 'StateConfiguration', 'arn' => 'acs:oos:{#regionId}:{#accountId}:stateconfiguration/*'],
+ ['validationType' => 'always', 'product' => 'OOS', 'resourceType' => 'StateConfiguration', 'arn' => 'acs:oos:{#regionId}:{#accountId}:stateconfiguration/{#StateConfigurationId}'],
+ ],
+ ],
+ ],
],
+ ],
+ 'ListTagKeys' => [
+ 'summary' => 'Queries the tags.',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -12243,298 +9047,123 @@
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeCode' => '93957',
- 'abilityTreeNodes' => [
- 'FEATUREoosXBZWHV',
- ],
- 'autoTest' => true,
+ 'abilityTreeCode' => '93987',
+ 'abilityTreeNodes' => ['FEATUREoosB33AG0'],
'tenantRelevance' => 'publicInformation',
],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The region ID. Set the value to cn-hangzhou.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => 'The ID of the region.'."\n", 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''],
],
[
- 'name' => 'Name',
+ 'name' => 'MaxResults',
'in' => 'query',
- 'schema' => [
- 'description' => 'The application name.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'MyApplication',
- ],
+ 'schema' => ['description' => 'The maximum number of entries to return on each page. Valid value: 10 to 100. Default value: 50.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '50', 'title' => ''],
+ ],
+ [
+ 'name' => 'NextToken',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The token that is used to retrieve the next page.'."\n", 'type' => 'string', 'required' => false, 'example' => 'djsdlkasd', 'title' => ''],
+ ],
+ [
+ 'name' => 'ResourceType',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The type of the resource to which the tag is added.'."\n", 'type' => 'string', 'required' => false, 'example' => 'template', 'title' => ''],
],
],
'responses' => [
200 => [
'schema' => [
- 'description' => 'The response parameters.'."\n",
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => 'The ID of the request.'."\n",
- 'type' => 'string',
- 'example' => '51004B8A-6D9A-5ACB-9158-6C6794496AD0',
- ],
- 'Application' => [
- 'description' => 'The information about the application.'."\n",
- 'type' => 'object',
- 'properties' => [
- 'Description' => [
- 'description' => 'The description of the application.'."\n",
- 'type' => 'string',
- 'example' => 'Application',
- ],
- 'UpdateDate' => [
- 'description' => 'The time when the application was updated.'."\n",
- 'type' => 'string',
- 'example' => '2021-09-07T09:17:46Z',
- ],
- 'ResourceGroupId' => [
- 'description' => 'The ID of the resource group.'."\n",
- 'type' => 'string',
- 'example' => 'rg-acfmxsn4m******',
- ],
- 'Tags' => [
- 'description' => 'The tags.'."\n",
- 'type' => 'object',
- 'example' => '{"k1": "v1", "k2": "v2"}',
- ],
- 'Name' => [
- 'description' => 'The application name.'."\n",
- 'type' => 'string',
- 'example' => 'MyApplication',
- ],
- 'CreateDate' => [
- 'description' => 'The time when the application was created.'."\n",
- 'type' => 'string',
- 'example' => '2021-09-07T09:17:46Z',
- ],
- 'ApplicationType' => [
- 'description' => 'The type of the application.'."\n"
- ."\n"
- .'Valid values:'."\n"
- ."\n"
- .'* ComputeNest'."\n"
- ."\n"
- .' <!-- -->'."\n"
- ."\n"
- .' <!-- -->'."\n"
- ."\n"
- .' <!-- -->'."\n"
- ."\n"
- .'* Custom'."\n"
- ."\n"
- .' <!-- -->'."\n"
- ."\n"
- .' <!-- -->'."\n"
- ."\n"
- .' <!-- -->'."\n"
- ."\n"
- .'* DingTalk'."\n"
- ."\n"
- .' <!-- -->'."\n"
- ."\n"
- .' <!-- -->'."\n"
- ."\n"
- .' <!-- -->'."\n",
- 'type' => 'string',
- 'example' => 'DingTalk',
- ],
- 'AlarmConfig' => [
- 'description' => 'The configurations of application alerts.'."\n",
- 'type' => 'object',
- 'properties' => [
- 'ContactGroups' => [
- 'description' => 'The alert contact list.'."\n",
- 'type' => 'array',
- 'items' => [
- 'description' => 'The alert contact group.',
- 'type' => 'string',
- 'example' => 'group_name',
- ],
- ],
- 'TemplateIds' => [
- 'description' => 'The ID of the alert template.',
- 'type' => 'array',
- 'items' => [
- 'description' => 'The ID of the alert template.',
- 'type' => 'string',
- 'example' => '18ad7c9ddff24d1ba34aa76ec3944507',
- ],
- ],
- 'HealthCheckUrl' => [
- 'description' => 'The health check URL of the application.',
- 'type' => 'string',
- 'example' => '/api/health/',
- ],
- ],
- ],
- 'ServiceId' => [
- 'description' => 'The ID of the Compute Nest service that corresponds to the application template.'."\n",
- 'type' => 'string',
- 'example' => 'service-79538e30e44541b699d8',
- ],
- 'ApplicationSource' => [
- 'description' => 'The source of application.',
- 'type' => 'string',
- 'example' => '{"Platform":"gitee","Owner":"aliyun-computenest","RepoName":"aliyun-computenest/java-springboot-demo","Name":"java-springboot-demo"}',
- ],
- ],
+ 'NextToken' => ['description' => 'The token that is used to retrieve the next page.'."\n", 'type' => 'string', 'example' => '87y29h80h20h3f2', 'title' => ''],
+ 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '36210B73-8262-4D08-9D3A-7F96789733C8', 'title' => ''],
+ 'MaxResults' => ['description' => 'The maximum number of entries to return on each page.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '50', 'title' => ''],
+ 'Keys' => [
+ 'description' => 'The tag keys.'."\n",
+ 'type' => 'array',
+ 'items' => ['description' => 'The key of the tag.'."\n", 'type' => 'string', 'example' => 'k3', 'title' => ''],
+ 'title' => '',
+ 'example' => '',
],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"51004B8A-6D9A-5ACB-9158-6C6794496AD0\\",\\n \\"Application\\": {\\n \\"Description\\": \\"Application\\",\\n \\"UpdateDate\\": \\"2021-09-07T09:17:46Z\\",\\n \\"ResourceGroupId\\": \\"rg-acfmxsn4m******\\",\\n \\"Tags\\": {\\n \\"k1\\": \\"v1\\",\\n \\"k2\\": \\"v2\\"\\n },\\n \\"Name\\": \\"MyApplication\\",\\n \\"CreateDate\\": \\"2021-09-07T09:17:46Z\\",\\n \\"ApplicationType\\": \\"DingTalk\\",\\n \\"AlarmConfig\\": {\\n \\"ContactGroups\\": [\\n \\"报警联系人组名称\\\\n\\"\\n ],\\n \\"TemplateIds\\": [\\n \\"18ad7c9ddff24d1ba34aa76ec3944507\\"\\n ],\\n \\"HealthCheckUrl\\": \\"/api/health/\\"\\n },\\n \\"ServiceId\\": \\"service-79538e30e44541b699d8\\",\\n \\"ApplicationSource\\": \\"{\\\\\\"Platform\\\\\\":\\\\\\"gitee\\\\\\",\\\\\\"Owner\\\\\\":\\\\\\"aliyun-computenest\\\\\\",\\\\\\"RepoName\\\\\\":\\\\\\"aliyun-computenest/java-springboot-demo\\\\\\",\\\\\\"Name\\\\\\":\\\\\\"java-springboot-demo\\\\\\"}\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"<RequestId>51004B8A-6D9A-5ACB-9158-6C6794496AD0</RequestId>\\n<Application>\\n <Description>Application</Description>\\n <UpdateDate>2021-09-07T09:17:46Z</UpdateDate>\\n <CreateDate>2021-09-07T09:17:46Z</CreateDate>\\n <ResourceGroupId>rg-acfmxsn4m******</ResourceGroupId>\\n <Tags>\\n <k1>v1</k1>\\n <k2>v2</k2>\\n </Tags>\\n <Name>MyApplication</Name>\\n</Application>","errorExample":""}]',
- 'title' => 'GetApplication',
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"NextToken\\": \\"87y29h80h20h3f2\\",\\n \\"RequestId\\": \\"36210B73-8262-4D08-9D3A-7F96789733C8\\",\\n \\"MaxResults\\": 50,\\n \\"Keys\\": [\\n \\"k3\\"\\n ]\\n}","errorExample":""},{"type":"xml","example":"<ListTagKeysResponse>\\n<RequestId>36210B73-8262-4D08-9D3A-7F96789733C8</RequestId>\\n<NextToken>e16333dsads3058fc897878ae</NextToken>\\n<Keys>k3</Keys>\\n<Keys>k2</Keys>\\n<Keys>k1</Keys>\\n<Keys>k4</Keys>\\n<Keys>key55</Keys>\\n<Keys>ew</Keys>\\n<Keys>oos</Keys>\\n<Keys>scaling_group</Keys>\\n<Keys>aa</Keys>\\n</ListTagKeyseResponse>","errorExample":""}]',
+ 'title' => 'ListTagKeys',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'ListApplications' => [
- 'summary' => 'Queries a list of applications. You can call this operation only for the applications that reside in the China (Hangzhou) region. Use an endpoint of the China (Hangzhou) region.',
- 'methods' => [
- 'post',
- 'get',
+ 'changeSet' => [],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'oos:ListTagKeys',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [
+ ['conditionKey' => 'oos:TLSVersion'],
+ ],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'OOS', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListTagKeys'],
+ ],
],
+ ],
+ 'ListTagResources' => [
+ 'summary' => 'Queries the tags that are added to one or more resources.',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
- 'deprecated' => false,
'systemTags' => [
- 'operationType' => 'list',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- 'abilityTreeCode' => '93972',
- 'abilityTreeNodes' => [
- 'FEATUREoosXBZWHV',
- ],
- 'autoTest' => true,
- 'tenantRelevance' => 'publicInformation',
+ 'operationType' => 'get',
+ 'abilityTreeCode' => '93988',
+ 'abilityTreeNodes' => ['FEATUREoosB33AG0'],
],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The region ID. Set the value to cn-hangzhou.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => 'The ID of the region.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cn-hangzhou', 'title' => ''],
],
[
- 'name' => 'MaxResults',
+ 'name' => 'ResourceIds',
'in' => 'query',
- 'schema' => [
- 'description' => 'The number of entries to return on each page. Valid values: 10 to 100. Default value: 50.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '10',
- ],
+ 'style' => 'json',
+ 'schema' => ['description' => 'The IDs of resources. The number of resource IDs ranges from 1 to 50.'."\n", 'type' => 'object', 'required' => false, 'example' => '["templateNam1","templateName2"]', 'title' => ''],
],
[
- 'name' => 'NextToken',
+ 'name' => 'ResourceType',
'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' => '-',
- ],
+ 'schema' => ['description' => 'The type of the resource. Valid values: template execution'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'template', 'title' => ''],
],
[
'name' => 'Tags',
'in' => 'query',
'style' => 'json',
- 'schema' => [
- 'description' => 'The tags.'."\n",
- 'type' => 'object',
- 'required' => false,
- 'example' => '{"k1": "v1","k2": "v2"}',
- ],
+ 'schema' => ['description' => 'The tag keys and values. The number of key-value pairs ranges from 1 to 20.'."\n", 'type' => 'object', 'required' => false, 'example' => '{"k1":"v2","k2":"v2"}', 'title' => ''],
],
[
- 'name' => 'Names',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The names of the applications.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => '["MyApplication"]',
- ],
- ],
- [
- 'name' => 'Name',
- 'in' => 'query',
- 'allowEmptyValue' => true,
- 'schema' => [
- 'description' => 'The name of the application.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => '"MyApplications"',
- ],
- ],
- [
- 'name' => 'ApplicationType',
+ 'name' => 'NextToken',
'in' => 'query',
- 'schema' => [
- 'description' => 'The type of the application.'."\n"
- ."\n"
- .'Valid values:'."\n"
- ."\n"
- .'* ComputeNest'."\n"
- ."\n"
- .' <!-- -->'."\n"
- ."\n"
- .' <!-- -->'."\n"
- ."\n"
- .' <!-- -->'."\n"
- ."\n"
- .'* Custom'."\n"
- ."\n"
- .' <!-- -->'."\n"
- ."\n"
- .' <!-- -->'."\n"
- ."\n"
- .' <!-- -->'."\n"
- ."\n"
- .'* DingTalk'."\n"
- ."\n"
- .' <!-- -->'."\n"
- ."\n"
- .' <!-- -->'."\n"
- ."\n"
- .' <!-- -->'."\n",
- 'type' => 'string',
- 'required' => false,
- 'enumValueTitles' => [
- 'ComputeNest' => 'ComputeNest',
- 'Custom' => 'Custom',
- 'DingTalk' => 'DingTalk',
- ],
- 'example' => 'DingTalk',
- ],
+ '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.'."\n", 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => 'MTRBMDc0NjAtRUJFNy00N0NBLTk3NTctMTJDQzQ', 'title' => ''],
],
],
'responses' => [
@@ -12542,202 +9171,126 @@
'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' => '-',
- ],
- 'RequestId' => [
- 'description' => 'The ID of the request.'."\n",
- 'type' => 'string',
- 'example' => '12067D53-56A9-561B-ADD6-61429D207117',
- ],
- 'MaxResults' => [
- 'description' => 'The number of entries returned per page.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '10',
- ],
- 'Applications' => [
- 'description' => 'The details of the application.'."\n",
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'Description' => [
- 'description' => 'The description of the application.'."\n",
- 'type' => 'string',
- 'example' => 'Application',
- ],
- 'UpdateDate' => [
- 'description' => 'The time when the application was updated.'."\n",
- 'type' => 'string',
- 'example' => '2021-09-07T09:09:59Z',
- ],
- 'ResourceGroupId' => [
- 'description' => 'The resource group ID.'."\n",
- 'type' => 'string',
- 'example' => 'rg-acfmxsn4m******',
- ],
- 'Tags' => [
- 'description' => 'The tags added to the application.'."\n",
+ '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. If the return value of the NextToken parameter is empty, the next page does not exist.'."\n", 'type' => 'string', 'example' => 'MTRBMDc0NjAtRUJFNy00N0NBLTk3NTctMTJDQzQ', 'title' => ''],
+ 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => 'A5EF78C1-67FC-4E36-A6A8-7DF9C51726DF', 'title' => ''],
+ 'TagResources' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'TagResource' => [
+ 'description' => 'The set of resources and the tags that are added to the resources.'."\n",
+ 'type' => 'array',
+ 'items' => [
'type' => 'object',
- 'example' => '{"k1": "v1","k2": "v2"}',
- ],
- 'Name' => [
- 'description' => 'The name of the application.'."\n",
- 'type' => 'string',
- 'example' => 'MyApplication',
- ],
- 'CreateDate' => [
- 'description' => 'The time when the application was created.'."\n",
- 'type' => 'string',
- 'example' => '2021-09-07T09:09:59Z',
- ],
- 'ApplicationType' => [
- 'description' => 'The type of the application.'."\n",
- 'type' => 'string',
- 'example' => 'DingTalk',
+ 'properties' => [
+ 'ResourceType' => ['description' => 'The type of the resource.'."\n", 'type' => 'string', 'example' => 'template', 'title' => ''],
+ 'TagValue' => ['description' => 'The tag value.'."\n", 'type' => 'string', 'example' => 'v1', 'title' => ''],
+ 'ResourceId' => ['description' => 'The ID of the resource.'."\n", 'type' => 'string', 'example' => 'TagTest2', 'title' => ''],
+ 'TagKey' => ['description' => 'The tag key.'."\n", 'type' => 'string', 'example' => 'k1', 'title' => ''],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
+ 'title' => '',
+ 'example' => '',
],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"NextToken\\": \\"-\\",\\n \\"RequestId\\": \\"12067D53-56A9-561B-ADD6-61429D207117\\",\\n \\"MaxResults\\": 10,\\n \\"Applications\\": [\\n {\\n \\"Description\\": \\"Application\\",\\n \\"UpdateDate\\": \\"2021-09-07T09:09:59Z\\",\\n \\"ResourceGroupId\\": \\"rg-acfmxsn4m******\\",\\n \\"Tags\\": {\\n \\"k1\\": \\"v1\\",\\n \\"k2\\": \\"v2\\"\\n },\\n \\"Name\\": \\"MyApplication\\",\\n \\"CreateDate\\": \\"2021-09-07T09:09:59Z\\",\\n \\"ApplicationType\\": \\"DingTalk\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<RequestId>12067D53-56A9-561B-ADD6-61429D207117</RequestId>\\n<Applications>\\n <UpdateDate>2021-09-07T09:09:59Z</UpdateDate>\\n <Description>application</Description>\\n <ResourceGroupId>rg-acfmxsn4m*****</ResourceGroupId>\\n <CreateDate>2021-09-07T09:09:59Z</CreateDate>\\n <Tags>\\n <k1>v1</k1>\\n <k2>v2</k2>\\n </Tags>\\n <Name>MyApplication</Name>\\n</Applications>","errorExample":""}]',
- 'title' => 'ListApplications',
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"NextToken\\": \\"MTRBMDc0NjAtRUJFNy00N0NBLTk3NTctMTJDQzQ\\",\\n \\"RequestId\\": \\"A5EF78C1-67FC-4E36-A6A8-7DF9C51726DF\\",\\n \\"TagResources\\": {\\n \\"TagResource\\": [\\n {\\n \\"ResourceType\\": \\"template\\",\\n \\"TagValue\\": \\"v1\\",\\n \\"ResourceId\\": \\"TagTest2\\",\\n \\"TagKey\\": \\"k1\\"\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<ListTagResourcesResponse> \\n<TagResources>\\n <TagResource>\\n <ResourceType>template</ResourceType>\\n <TagValue>v1</TagValue>\\n <ResourceId>TagTest2</ResourceId>\\n <TagKey>k1</TagKey>\\n </TagResource>\\n <TagResource>\\n <ResourceType>template</ResourceType>\\n <TagValue>v1</TagValue>\\n <ResourceId>TagTest3</ResourceId>\\n <TagKey>k1</TagKey>\\n </TagResource>\\n <TagResource>\\n <ResourceType>template</ResourceType>\\n <TagValue>v1</TagValue>\\n <ResourceId>TagTest4</ResourceId>\\n <TagKey>k1</TagKey>\\n </TagResource>\\n <TagResource>\\n <ResourceType>template</ResourceType>\\n <TagValue>v1</TagValue>\\n <ResourceId>TagTest5</ResourceId>\\n <TagKey>k1</TagKey>\\n </TagResource>\\n</TagResources>\\n<NextToken/>\\n<RequestId>A5EF78C1-67FC-4E36-A6A8-7DF9C51726DF</RequestId>\\n</ListTagResourcesResponse> ","errorExample":""}]',
+ 'title' => 'ListTagResources',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'CreateApplicationGroup' => [
- 'summary' => 'Creates an application group. You can call this operation only for the application groups that reside in the China (Hangzhou) region. Use an endpoint of the China (Hangzhou) region.',
- 'methods' => [
- 'post',
- 'get',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListTagResources'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'oos:ListTagResources',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [
+ ['conditionKey' => 'oos:tag', 'validationType' => 'always'],
+ ['conditionKey' => 'oos:TLSVersion'],
+ ],
+ 'resources' => [
+ ['validationType' => 'conditional', 'product' => 'OOS', 'resourceType' => 'Execution', 'arn' => 'acs:oos:{#regionId}:{#accountId}:execution/{#executionId}'],
+ ['validationType' => 'conditional', 'product' => 'OOS', 'resourceType' => 'Template', 'arn' => 'acs:oos:{#regionId}:{#accountId}:template/{#TemplateName}'],
+ ['validationType' => 'conditional', 'product' => 'OOS', 'resourceType' => 'StateConfiguration', 'arn' => 'acs:oos:{#regionId}:{#accountId}:stateconfiguration/{#StateConfigurationId}'],
+ ['validationType' => 'conditional', 'product' => 'OOS', 'resourceType' => 'Parameter', 'arn' => 'acs:oos:{#regionId}:{#accountId}:parameter/{#ParameterName}'],
+ ['validationType' => 'conditional', 'product' => 'OOS', 'resourceType' => 'SecretParameter', 'arn' => 'acs:oos:{#regionId}:{#accountId}:secretparameter/{#SecretParameterName}'],
+ ['validationType' => 'conditional', 'product' => 'OOS', 'resourceType' => 'OpsItem', 'arn' => 'acs:oos:{#regionId}:{#accountId}:opsitem/{#OpsItemId}'],
+ ['validationType' => 'conditional', 'product' => 'OOS', 'resourceType' => 'PatchBaseline', 'arn' => 'acs:oos:{#regionId}:{#accountId}:patchbaseline/{#PatchBaselineName}'],
+ ['validationType' => 'conditional', 'product' => 'OOS', 'resourceType' => 'Execution', 'arn' => 'acs:oos:{#regionId}:{#accountId}:execution/*'],
+ ['validationType' => 'conditional', 'product' => 'OOS', 'resourceType' => 'Template', 'arn' => 'acs:oos:{#regionId}:{#accountId}:template/*'],
+ ['validationType' => 'conditional', 'product' => 'OOS', 'resourceType' => 'OpsItem', 'arn' => 'acs:oos:{#regionId}:{#accountId}:opsitem/*'],
+ ['validationType' => 'conditional', 'product' => 'OOS', 'resourceType' => 'SecretParameter', 'arn' => 'acs:oos:{#regionId}:{#accountId}:secretparameter/*'],
+ ['validationType' => 'conditional', 'product' => 'OOS', 'resourceType' => 'PatchBaseline', 'arn' => 'acs:oos:{#regionId}:{#accountId}:patchbaseline/*'],
+ ['validationType' => 'conditional', 'product' => 'OOS', 'resourceType' => 'StateConfiguration', 'arn' => 'acs:oos:{#regionId}:{#accountId}:stateconfiguration/*'],
+ ['validationType' => 'conditional', 'product' => 'OOS', 'resourceType' => 'Parameter', 'arn' => 'acs:oos:{#regionId}:{#accountId}:parameter/*'],
+ ],
+ ],
+ ],
],
+ ],
+ 'ListTagValues' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'write',
+ 'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'create',
+ 'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeCode' => '93940',
- 'abilityTreeNodes' => [
- 'FEATUREoos1PL94A',
- ],
- 'autoTest' => true,
+ 'abilityTreeCode' => '93989',
+ 'abilityTreeNodes' => ['FEATUREoosB33AG0'],
'tenantRelevance' => 'publicInformation',
],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The region ID. Set the value to cn-hangzhou.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
- ],
- [
- 'name' => 'Description',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The description of the application group.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'ApplicationGroup',
- ],
- ],
- [
- 'name' => 'DeployRegionId',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The ID of the region in which the related sources reside.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'cn-hangzhou',
- ],
- ],
- [
- 'name' => 'ImportTagKey',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The key of the tag. You must set both the ImportTagKey and the ImportTagValue parameters, or leave both of them empty. If you do not set the ImportTagKey and ImportTagValue parameters, the application name is used for this parameter by default.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'docRequired' => true,
- 'example' => 'k1',
- ],
- ],
- [
- 'name' => 'ImportTagValue',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The value of the tag. You must set both the ImportTagKey and the ImportTagValue parameters, or leave both of them empty. If you do not set the ImportTagKey and ImportTagValue parameters, the application group name is used for this parameter by default.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'docRequired' => true,
- 'example' => 'v1',
- ],
+ 'schema' => ['description' => 'The ID of the region.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'cn-hangzhou'],
],
[
- 'name' => 'Name',
+ 'name' => 'MaxResults',
'in' => 'query',
- 'schema' => [
- 'description' => 'The name of the application group.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'MyApplicationGroup',
- ],
+ 'schema' => ['description' => 'The maximum number of entries to return on each page.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'title' => '', 'example' => '50'],
],
[
- 'name' => 'ClientToken',
+ 'name' => 'NextToken',
'in' => 'query',
- 'schema' => [
- 'description' => 'The client token that is used to ensure the idempotence of the request.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => '-',
- ],
+ 'schema' => ['description' => 'The token that is used to retrieve the next page of results.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '3272h923879hsaksad'],
],
[
- 'name' => 'ApplicationName',
+ 'name' => 'ResourceType',
'in' => 'query',
- 'schema' => [
- 'description' => 'The application name.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'example' => 'MyApplication',
- ],
+ 'schema' => ['description' => 'The resource type.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'template'],
],
[
- 'name' => 'CmsGroupId',
+ 'name' => 'Key',
'in' => 'query',
- 'schema' => [
- 'description' => 'The ID of the application group in CloudMonitor.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => '218026174',
- ],
+ 'schema' => ['description' => 'The tag key.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'k1'],
],
],
'responses' => [
@@ -12745,147 +9298,84 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => 'The ID of the request.'."\n",
- 'type' => 'string',
- 'example' => '0E6BEBD3-7F9E-5878-834B-097633AB5F33',
- ],
- 'ApplicationGroup' => [
- 'description' => 'The information about the application group.'."\n",
- 'type' => 'object',
- 'properties' => [
- 'CmsGroupId' => [
- 'description' => 'The ID of the application group in CloudMonitor.'."\n",
- 'type' => 'string',
- 'example' => '1245768',
- ],
- 'DeployRegionId' => [
- 'description' => 'The ID of the region in which the related sources reside.'."\n",
- 'type' => 'string',
- 'example' => 'cn-hangzhou',
- ],
- 'Description' => [
- 'description' => 'The description of the application group.'."\n",
- 'type' => 'string',
- 'example' => 'ApplicationGroup',
- ],
- 'UpdateDate' => [
- 'description' => 'The time when the application group was updated.'."\n",
- 'type' => 'string',
- 'example' => '2021-09-07T10:28:25Z',
- ],
- 'ImportTagKey' => [
- 'description' => 'The key of the tag.'."\n",
- 'type' => 'string',
- 'example' => 'k1',
- ],
- 'ApplicationName' => [
- 'description' => 'The application name.'."\n",
- 'type' => 'string',
- 'example' => 'MyApplication',
- ],
- 'ImportTagValue' => [
- 'description' => 'The value of the tag.'."\n",
- 'type' => 'string',
- 'example' => 'v1',
- ],
- 'Name' => [
- 'description' => 'The name of the application group.'."\n",
- 'type' => 'string',
- 'example' => 'MyApplicationGroup',
- ],
- 'CreateDate' => [
- 'description' => 'The time when the application group was created.'."\n",
- 'type' => 'string',
- 'example' => '2021-09-07T10:28:25Z',
- ],
- ],
+ 'NextToken' => ['description' => 'The token that is used to retrieve the next page of results.', 'type' => 'string', 'title' => '', 'example' => '83u29j2dj3dskds'],
+ 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'title' => '', 'example' => '65591133-1188-4935-B78F-20F72'],
+ 'MaxResults' => ['description' => 'The maximum number of entries returned on each page.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '50'],
+ 'Values' => [
+ 'description' => 'A list of tag values.',
+ 'type' => 'array',
+ 'items' => ['description' => 'The tag value.', 'type' => 'string', 'title' => '', 'example' => 'v1'],
+ 'title' => '',
+ 'example' => '',
],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"0E6BEBD3-7F9E-5878-834B-097633AB5F33\\",\\n \\"ApplicationGroup\\": {\\n \\"CmsGroupId\\": \\"1245768\\",\\n \\"DeployRegionId\\": \\"cn-hangzhou\\",\\n \\"Description\\": \\"ApplicationGroup\\",\\n \\"UpdateDate\\": \\"2021-09-07T10:28:25Z\\",\\n \\"ImportTagKey\\": \\"k1\\",\\n \\"ApplicationName\\": \\"MyApplication\\",\\n \\"ImportTagValue\\": \\"v1\\",\\n \\"Name\\": \\"MyApplicationGroup\\",\\n \\"CreateDate\\": \\"2021-09-07T10:28:25Z\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"<ApplicationGroup>\\n <ImportTagValue>v1</ImportTagValue>\\n <UpdateDate>2021-09-07T10:28:25Z</UpdateDate>\\n <DeployRegionId>cn-hangzhou</DeployRegionId>\\n <ApplicationName>MyApplication</ApplicationName>\\n <Description>ApplicationGroup</Description>\\n <ImportTagKey>k1</ImportTagKey>\\n <CreateDate>2021-09-07T10:28:25Z</CreateDate>\\n <Name>MyApplicationGroup</Name>\\n <CmsGroupId>12345678</CmsGroupId>\\n</ApplicationGroup>\\n<RequestId>0E6BEBD3-7F9E-5878-834B-097633AB5F33</RequestId>","errorExample":""}]',
- 'title' => 'CreateApplicationGroup',
+ 'title' => 'ListTagValues',
+ 'summary' => 'Lists the values of created tags.',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'DeleteApplicationGroup' => [
- 'summary' => 'Deletes an application group. You can call this operation only for the application groups which reside in the China (Hangzhou) region. Use an endpoint of the China (Hangzhou) region.',
- 'methods' => [
- 'post',
- 'get',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListTagValues'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'oos:ListTagValues',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [
+ ['conditionKey' => 'oos:TLSVersion'],
+ ],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'OOS', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"NextToken\\": \\"83u29j2dj3dskds\\",\\n \\"RequestId\\": \\"65591133-1188-4935-B78F-20F72\\",\\n \\"MaxResults\\": 50,\\n \\"Values\\": [\\n \\"v1\\"\\n ]\\n}","type":"json"}]',
+ ],
+ 'ListTaskExecutionInvocations' => [
+ 'path' => '',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'write',
+ 'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'delete',
+ 'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeCode' => '93947',
- 'abilityTreeNodes' => [
- 'FEATUREoos1PL94A',
- ],
- 'autoTest' => true,
- 'tenantRelevance' => 'publicInformation',
+ 'abilityTreeCode' => '267755',
+ 'abilityTreeNodes' => ['FEATUREoosQL14T7'],
],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The ID of the region. Set the value to cn-hangzhou.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => 'The region ID.', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''],
],
[
- 'name' => 'Name',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The name of the application group.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'MyApplicationGroup',
- ],
- ],
- [
- 'name' => 'ApplicationName',
+ 'name' => 'Status',
'in' => 'query',
- 'schema' => [
- 'description' => 'The name of the application.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'MyApplication',
- ],
+ 'schema' => ['description' => 'The execution status. Valid values: Running, Started, Success, Failed, Waiting, Cancelled, Pending, and Skipped.', 'type' => 'string', 'required' => false, 'example' => 'Running', 'title' => ''],
],
[
- 'name' => 'RetainResource',
+ 'name' => 'TaskExecutionId',
'in' => 'query',
- 'schema' => [
- 'description' => 'Specifies whether to retain resources created by application manager when deleting the application. Valid values:'."\n"
- .'- true'."\n"
- .'- false',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'false',
- ],
+ 'schema' => ['description' => 'The task execution ID.', 'type' => 'string', 'required' => false, 'example' => 'exec-a10749813b3xxxxx.t0001', 'title' => ''],
],
],
'responses' => [
@@ -12893,119 +9383,155 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => 'The ID of the request.'."\n",
- 'type' => 'string',
- 'example' => '9E011F98-4EE5-5E3A-8FA3-D38F2C531C1F',
+ 'RequestId' => ['description' => 'Id of the request', 'type' => 'string', 'title' => '', 'example' => '9E011F98-4EE5-5E3A-8FA3-D38F2C531C1F'],
+ 'TaskExecutionInvocations' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'InvocationTaskExecutionId' => ['description' => 'The ID of the task that executes the Cloud Assistant command.', 'type' => 'string', 'example' => 'exec-xxxx.t0001', 'title' => ''],
+ 'InvocationTaskName' => ['description' => 'The name of the task that executes the Cloud Assistant command.', 'type' => 'string', 'example' => 'TaskName', 'title' => ''],
+ 'Status' => ['description' => 'The execution status. Valid values: Running, Started, Success, Failed, Waiting, Cancelled, Pending, and Skipped.', 'type' => 'string', 'example' => 'Running', 'title' => ''],
+ 'InvocationId' => ['description' => 'The execution ID of the Cloud Assistant command.', 'type' => 'string', 'example' => 't-hz0jdfwd9f****', 'title' => ''],
+ 'RegionId' => ['description' => 'The region ID.', 'type' => 'string', 'example' => 'cn-hangzhou', 'title' => ''],
+ ],
+ 'description' => 'The task.',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'description' => 'The list of tasks.',
+ 'title' => '',
+ 'example' => '',
],
],
+ 'title' => '',
+ 'description' => 'Schema of Response',
+ 'example' => '',
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => 'ListTaskExecutionInvocations',
+ 'summary' => 'Retrieves the execution IDs of Cloud Assistant commands for a task execution.',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"9E011F98-4EE5-5E3A-8FA3-D38F2C531C1F\\"\\n}","type":"json"}]',
- 'title' => 'DeleteApplicationGroup',
+ 'ramActions' => [],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"9E011F98-4EE5-5E3A-8FA3-D38F2C531C1F\\",\\n \\"TaskExecutionInvocations\\": [\\n {\\n \\"InvocationTaskExecutionId\\": \\"exec-xxxx.t0001\\",\\n \\"InvocationTaskName\\": \\"TaskName\\",\\n \\"Status\\": \\"Running\\",\\n \\"InvocationId\\": \\"t-hz0jdfwd9f****\\",\\n \\"RegionId\\": \\"cn-hangzhou\\"\\n }\\n ]\\n}","type":"json"}]',
],
- 'UpdateApplicationGroup' => [
- 'summary' => 'Updates the information of an application group. You can call this operation only for the application groups that reside in the China (Hangzhou) region. Use an endpoint of the China (Hangzhou) region.',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'ListTaskExecutions' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'write',
+ 'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'update',
+ 'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeCode' => '94002',
- 'abilityTreeNodes' => [
- 'FEATUREoos1PL94A',
- ],
- 'autoTest' => true,
- 'tenantRelevance' => 'publicInformation',
+ 'abilityTreeCode' => '93990',
+ 'abilityTreeNodes' => ['FEATUREoosQL14T7'],
],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The region ID. Set the value to cn-hangzhou.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => 'The region ID.', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''],
],
[
- 'name' => 'Name',
+ 'name' => 'ExecutionId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The name of the application group.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'MyApplicationGroup',
- ],
+ 'schema' => ['description' => 'The execution ID.', 'type' => 'string', 'required' => false, 'example' => 'exec-xxx', 'title' => ''],
],
[
- 'name' => 'NewName',
+ 'name' => 'Status',
'in' => 'query',
- 'schema' => [
- 'description' => 'The new name of the application group.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'UpdateMyApplicationGroup',
- ],
+ 'schema' => ['description' => 'The execution status to filter by. Valid values: `Running`, `Started`, `Success`, `Failed`, `Waiting`, `Cancelled`, `Pending`, and `Skipped`.', 'type' => 'string', 'required' => false, 'example' => 'Running', 'title' => ''],
],
[
- 'name' => 'ApplicationName',
+ 'name' => 'StartDateBefore',
'in' => 'query',
- 'schema' => [
- 'description' => 'The application name.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'MyApplication',
- ],
+ 'schema' => ['description' => 'Filters for executions that started on or before the specified time. The time must be in ISO 8601 format.', 'type' => 'string', 'required' => false, 'example' => '2019-05-16T10:26:14Z', 'title' => ''],
],
[
- 'name' => 'OperationName',
+ 'name' => 'StartDateAfter',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- 'description' => 'The name of the configuration update operation.'."\n",
- 'example' => '/business/v1/product/spus/{spu_id}',
- ],
+ 'schema' => ['description' => 'Filters for executions that started on or after the specified time. The time must be in ISO 8601 format.', 'type' => 'string', 'required' => false, 'example' => '2019-05-16T10:26:14Z', 'title' => ''],
],
[
- 'name' => 'Parameters',
+ 'name' => 'EndDateBefore',
'in' => 'query',
- 'style' => 'json',
- 'schema' => [
- 'type' => 'object',
- 'required' => false,
- 'description' => 'The JSON string that consists of a set of parameters. Default value: {}.'."\n",
- 'example' => '{"username": "xx"}',
- ],
+ 'schema' => ['description' => 'Filters for executions that ended on or before the specified time. The time must be in ISO 8601 format.', 'type' => 'string', 'required' => false, 'example' => '2019-05-16T10:26:14Z', 'title' => ''],
],
[
- 'name' => 'DeployedRevisionId',
+ 'name' => 'EndDateAfter',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- ],
+ 'schema' => ['description' => 'Filters for executions that ended on or after the specified time. The time must be in ISO 8601 format.', 'type' => 'string', 'required' => false, 'example' => '2019-05-16T10:26:14Z', 'title' => ''],
+ ],
+ [
+ 'name' => 'TaskExecutionId',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The task execution ID.', 'type' => 'string', 'required' => false, 'example' => 'task-exec-xxx', 'title' => ''],
+ ],
+ [
+ 'name' => 'TaskName',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The task name.', 'type' => 'string', 'required' => false, 'example' => 'describeInstance', 'title' => ''],
+ ],
+ [
+ 'name' => 'TaskAction',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The task action.', 'type' => 'string', 'required' => false, 'example' => 'ACS::Sleep', 'title' => ''],
+ ],
+ [
+ 'name' => 'ParentTaskExecutionId',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The parent task execution ID. This parameter is used in loop scenarios to specify the execution of the parent task.', 'type' => 'string', 'required' => false, 'example' => 'task-exec-xxx', 'title' => ''],
+ ],
+ [
+ 'name' => 'IncludeChildTaskExecution',
+ 'in' => 'query',
+ 'schema' => ['description' => 'Specifies whether to include child task executions that are generated by a loop. Default: `false`.', 'type' => 'boolean', 'required' => false, 'example' => 'false', 'title' => ''],
+ ],
+ [
+ 'name' => 'MaxResults',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The maximum number of items to return per page. Valid range: 20 to 100. Default: 50.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '50', 'title' => ''],
+ ],
+ [
+ 'name' => 'NextToken',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The token to request the next page of results. You can get this value from the `NextToken` parameter of the previous response.', 'type' => 'string', 'required' => false, 'example' => 'MTRBMDc0NjAtRUJFNy00N0NBLTk3NTctMTJDQzQ3NjFENDdB', 'title' => ''],
+ ],
+ [
+ 'name' => 'SortField',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The sort field for the results. Valid values:'."\n"
+ ."\n"
+ .'- **StartDate** (Default): Sorts the results by start date.'."\n"
+ ."\n"
+ .'- **EndDate**: Sorts the results by end date.'."\n"
+ ."\n"
+ .'- **Status**: Sorts the results by status.', 'type' => 'string', 'required' => false, 'example' => 'StartDate', 'title' => ''],
+ ],
+ [
+ 'name' => 'SortOrder',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The sort order for the results. Valid values:'."\n"
+ ."\n"
+ .'- **Ascending**: Sorts results in ascending order.'."\n"
+ ."\n"
+ .'- **Descending** (Default): Sorts results in descending order.', 'type' => 'string', 'required' => false, 'example' => 'Ascending', 'title' => ''],
+ ],
+ [
+ 'name' => 'AccountId',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'example' => '123456789', 'description' => '', 'title' => ''],
],
],
'responses' => [
@@ -13013,80 +9539,82 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => 'The ID of the request.'."\n",
- 'type' => 'string',
- 'example' => 'AA9FA778-AE4B-55EC-81CC-C46BAF08A166',
- ],
- 'ApplicationGroup' => [
- 'description' => 'The information about the application group.'."\n",
- 'type' => 'object',
- 'properties' => [
- 'DeployRegionId' => [
- 'description' => 'The ID of the region in which the related resources reside.'."\n",
- 'type' => 'string',
- 'example' => 'cn-hangzhou',
- ],
- 'Description' => [
- 'description' => 'The description of the application group.'."\n",
- 'type' => 'string',
- 'example' => 'ApplicationGroup',
- ],
- 'ImportTagKey' => [
- 'description' => 'The key of the tag.'."\n",
- 'type' => 'string',
- 'example' => 'k1',
- ],
- 'UpdatedDate' => [
- 'description' => 'The time when the application group was updated.'."\n",
- 'type' => 'string',
- 'example' => '2021-09-08T03:01:53Z',
- ],
- 'ApplicationName' => [
- 'description' => 'The application name.'."\n",
- 'type' => 'string',
- 'example' => 'MyApplication',
- ],
- 'CreatedDate' => [
- 'description' => 'The time when the application group was created.'."\n",
- 'type' => 'string',
- 'example' => '2021-09-07T10:28:25Z',
- ],
- 'ImportTagValue' => [
- 'description' => 'The value of the tag.'."\n",
- 'type' => 'string',
- 'example' => 'v1',
- ],
- 'Name' => [
- 'description' => 'The name of the application group.'."\n",
- 'type' => 'string',
- 'example' => 'UpdateMyApplicationGroup',
+ 'NextToken' => ['description' => 'The token used to retrieve the next page of results.', 'type' => 'string', 'example' => 'MTRBMDc0NjAtRUJFNy00N0NBLTk3NTctMTJDQzQ3NjFENDdB', 'title' => ''],
+ 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => 'CDABABABAB-FC28-4D9C-8FB5-68DC6F0486FC', 'title' => ''],
+ 'MaxResults' => ['description' => 'The maximum number of entries to return on each page.', 'type' => 'integer', 'format' => 'int32', 'example' => '50', 'title' => ''],
+ 'TaskExecutions' => [
+ 'description' => 'The details of the task executions.',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'ChildExecutionId' => ['description' => 'The ID of the child execution.', 'type' => 'string', 'example' => 'exec-xxx', 'title' => ''],
+ 'Outputs' => ['description' => 'The output of the task execution.', 'type' => 'string', 'example' => '{ "InstanceId":"i-xxx" }', 'title' => ''],
+ 'Status' => ['description' => 'The status of the task execution.', 'type' => 'string', 'example' => 'Running', 'title' => ''],
+ 'EndDate' => ['description' => 'The time the task execution ended, in ISO 8601 format.', 'type' => 'string', 'example' => '2019-05-16T10:26:14Z', 'title' => ''],
+ 'ParentTaskExecutionId' => ['description' => 'The ID of the parent task execution.', 'type' => 'string', 'example' => 'task-exec-xxx', 'title' => ''],
+ 'TaskName' => ['description' => 'The name of the task.', 'type' => 'string', 'example' => 'describeInstance ', 'title' => ''],
+ 'StartDate' => ['description' => 'The time the task execution started, in ISO 8601 format.', 'type' => 'string', 'example' => '2019-05-16T10:26:14Z', 'title' => ''],
+ 'LoopItem' => ['description' => 'The current item in a loop.', 'type' => 'string', 'example' => 'i-1234566zxcvvb', 'title' => ''],
+ 'CreateDate' => ['description' => 'The time the task execution was created, in ISO 8601 format.', 'type' => 'string', 'example' => '2019-05-16T10:26:14Z', 'title' => ''],
+ 'ExecutionId' => ['description' => 'The ID of the execution.', 'type' => 'string', 'example' => 'exec-44d32b45d2a449e49899', 'title' => ''],
+ 'TaskAction' => ['description' => 'The action of the task.', 'type' => 'string', 'example' => 'ACS::Sleep', 'title' => ''],
+ 'TaskExecutionId' => ['description' => 'The ID of the task execution.', 'type' => 'string', 'example' => 'task-exec-xxx', 'title' => ''],
+ 'UpdateDate' => ['description' => 'The time the task execution was last updated, in ISO 8601 format.', 'type' => 'string', 'example' => '2019-05-16T10:26:14Z', 'title' => ''],
+ 'Loop' => ['description' => 'The loop configurations and statistics. This parameter is returned only for parent loop nodes.', 'type' => 'object', 'example' => '{}', 'title' => ''],
+ 'TemplateId' => ['description' => 'The ID of the template.', 'type' => 'string', 'example' => 'xxx', 'title' => ''],
+ 'LoopBatchNumber' => ['description' => 'The number of loop batches.', 'type' => 'integer', 'format' => 'int32', 'example' => '2', 'title' => ''],
+ 'StatusMessage' => ['description' => 'The status message.', 'type' => 'string', 'example' => '""', 'title' => ''],
+ 'ExtraData' => ['description' => 'The extra data.', 'type' => 'object', 'example' => '{ "NotifyNote":"" }', 'title' => ''],
+ 'Properties' => ['description' => 'The input parameters of the execution.', 'type' => 'string', 'example' => '{ "Status":"Running" }', 'title' => ''],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
+ 'title' => '',
+ 'example' => '',
],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"AA9FA778-AE4B-55EC-81CC-C46BAF08A166\\",\\n \\"ApplicationGroup\\": {\\n \\"DeployRegionId\\": \\"cn-hangzhou\\",\\n \\"Description\\": \\"ApplicationGroup\\",\\n \\"ImportTagKey\\": \\"k1\\",\\n \\"UpdatedDate\\": \\"2021-09-08T03:01:53Z\\",\\n \\"ApplicationName\\": \\"MyApplication\\",\\n \\"CreatedDate\\": \\"2021-09-07T10:28:25Z\\",\\n \\"ImportTagValue\\": \\"v1\\",\\n \\"Name\\": \\"UpdateMyApplicationGroup\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"<ApplicationGroup>\\n <ImportTagValue>v1</ImportTagValue>\\n <UpdateDate>2021-09-08T03:01:53Z</UpdateDate>\\n <CreateDate>2021-09-07T10:28:25Z</CreateDate>\\n <DeployRegionId>cn-hangzhou</DeployRegionId>\\n <ApplicationName>MyApplication</ApplicationName>\\n <Description>ApplicationGroup</Description>\\n <ImportTagKey>k1</ImportTagKey>\\n <Name>UpdateMyApplicationGroup</Name>\\n</ApplicationGroup>\\n<RequestId>AA9FA778-AE4B-55EC-81CC-C46BAF08A166</RequestId>","errorExample":""}]',
- 'title' => 'UpdateApplicationGroup',
+ 'title' => 'ListTaskExecutions',
+ 'summary' => 'Queries task executions using multiple filters.',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'GetApplicationGroup' => [
- 'summary' => 'Queries the information about an application group. You can call this operation only for the application groups that reside in the China (Hangzhou) region. Use an endpoint of the China (Hangzhou) region.',
- 'methods' => [
- 'post',
- 'get',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListTaskExecutions'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'oos:ListTaskExecutions',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [
+ ['conditionKey' => 'oos:tag', 'validationType' => 'always'],
+ ['conditionKey' => 'oos:TLSVersion'],
+ ],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'OOS', 'resourceType' => 'Execution', 'arn' => 'acs:oos:{#regionId}:{#accountId}:execution/{#executionId}'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"NextToken\\": \\"MTRBMDc0NjAtRUJFNy00N0NBLTk3NTctMTJDQzQ3NjFENDdB\\",\\n \\"RequestId\\": \\"CDABABABAB-FC28-4D9C-8FB5-68DC6F0486FC\\",\\n \\"MaxResults\\": 50,\\n \\"TaskExecutions\\": [\\n {\\n \\"ChildExecutionId\\": \\"exec-xxx\\",\\n \\"Outputs\\": \\"{ \\\\\\"InstanceId\\\\\\":\\\\\\"i-xxx\\\\\\" }\\",\\n \\"Status\\": \\"Running\\",\\n \\"EndDate\\": \\"2019-05-16T10:26:14Z\\",\\n \\"ParentTaskExecutionId\\": \\"task-exec-xxx\\",\\n \\"TaskName\\": \\"describeInstance\\\\t\\",\\n \\"StartDate\\": \\"2019-05-16T10:26:14Z\\",\\n \\"LoopItem\\": \\"i-1234566zxcvvb\\",\\n \\"CreateDate\\": \\"2019-05-16T10:26:14Z\\",\\n \\"ExecutionId\\": \\"exec-44d32b45d2a449e49899\\",\\n \\"TaskAction\\": \\"ACS::Sleep\\",\\n \\"TaskExecutionId\\": \\"task-exec-xxx\\",\\n \\"UpdateDate\\": \\"2019-05-16T10:26:14Z\\",\\n \\"Loop\\": {},\\n \\"TemplateId\\": \\"xxx\\",\\n \\"LoopBatchNumber\\": 2,\\n \\"StatusMessage\\": \\"\\\\\\"\\\\\\"\\",\\n \\"ExtraData\\": {\\n \\"NotifyNote\\": \\"\\"\\n },\\n \\"Properties\\": \\"{ \\\\\\"Status\\\\\\":\\\\\\"Running\\\\\\" }\\"\\n }\\n ]\\n}","type":"json"}]',
+ ],
+ 'ListTemplateVersions' => [
+ 'summary' => 'Lists the versions of a specified template.',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -13095,48 +9623,38 @@
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'get',
+ 'operationType' => 'list',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeCode' => '93958',
- 'abilityTreeNodes' => [
- 'FEATUREoos21ZJP9',
- ],
- 'autoTest' => true,
+ 'abilityTreeCode' => '93992',
+ 'abilityTreeNodes' => ['FEATUREoosCPYH5Z'],
'tenantRelevance' => 'publicInformation',
],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The ID of the region. Set the value to cn-hangzhou.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => 'The ID of the region.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'cn-hangzhou'],
],
[
- 'name' => 'Name',
+ 'name' => 'TemplateName',
'in' => 'query',
- 'schema' => [
- 'description' => 'The name of the application group.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'MyApplicationGroup',
- ],
+ 'schema' => ['description' => 'The name of the template.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'title' => '', 'example' => 'describeinstances'],
],
[
- 'name' => 'ApplicationName',
+ 'name' => 'MaxResults',
'in' => 'query',
- 'schema' => [
- 'description' => 'The name of the application.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'MyApplication',
- ],
+ 'schema' => ['description' => 'The maximum number of results to return. Valid values: 10 to 100.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'title' => '', 'example' => '50'],
+ ],
+ [
+ 'name' => 'NextToken',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The pagination token.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'H8xj9c-398djs9-39ajd9asdjjJ'],
+ ],
+ [
+ 'name' => 'ShareType',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The type of the template. Valid values: Private and Public.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'Private'],
],
],
'responses' => [
@@ -13144,133 +9662,67 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => 'The ID of the request.'."\n",
- 'type' => 'string',
- 'example' => '92EA60ED-544D-55E9-93D9-237BE9976C0D',
- ],
- 'ApplicationGroup' => [
- 'description' => 'The information about the application group.'."\n",
- 'type' => 'object',
- 'properties' => [
- 'CmsGroupId' => [
- 'description' => 'The ID of the application group in CloudMonitor.'."\n",
- 'type' => 'string',
- 'example' => '12345678',
- ],
- 'DeployRegionId' => [
- 'description' => 'The ID of the region in which you deploy the application group.'."\n",
- 'type' => 'string',
- 'example' => 'cn-hangzhou',
- ],
- 'Description' => [
- 'description' => 'The description of the application group.'."\n",
- 'type' => 'string',
- 'example' => 'ApplicationGroup',
- ],
- 'UpdateDate' => [
- 'description' => 'The time when the application group was last modified.'."\n",
- 'type' => 'string',
- 'example' => '2021-09-07T10:28:25Z',
- ],
- 'ImportTagKey' => [
- 'description' => 'The tag key.'."\n",
- 'type' => 'string',
- 'example' => 'k1',
- ],
- 'ApplicationName' => [
- 'description' => 'The name of the application.'."\n",
- 'type' => 'string',
- 'example' => 'MyApplication',
- ],
- 'ImportTagValue' => [
- 'description' => 'The tag value.'."\n",
- 'type' => 'string',
- 'example' => 'v1',
- ],
- 'Name' => [
- 'description' => 'The name of the application group.'."\n",
- 'type' => 'string',
- 'example' => 'MyApplicationGroup',
- ],
- 'CreateDate' => [
- 'description' => 'The time when the application group was created.'."\n",
- 'type' => 'string',
- 'example' => '2021-09-07T10:28:25Z',
- ],
- 'DeployParameters' => [
- 'description' => 'The configuration information of the application group.'."\n",
- 'type' => 'string',
- 'example' => '{ "TemplateURL": "https://ros-template.oss-cn-zhangjiakou.aliyuncs.com/App_Management_Existing_Vpc_Ecs_Instance.json", "Parameters": { "ZoneId": "cn-hangzhou-k", "ProjectName": "test", "SystemDiskSize": 40, "InstanceChargeType": "PostPaid", "SecurityGroupId": "sg-bp1a4374akk63jl8tddy", "VSwitchId": "vsw-bp1fcvc3zn0jrag86rrlm", "SystemDiskCategory": "cloud_essd", "InstancePassword": "******", "InternetChargeType": "PayByTraffic", "InstanceCount": 1, "InternetMaxBandwidthOut": 0, "VpcId": "vpc-bp1i99boyas8i8m9t3skp", "EcsImageId": "centos_8_5_x64_20G_alibase_20211228.vhd", "DataDiskSize": 100, "EcsInstanceType": "ecs.s6-c1m4.small", "DataDiskCategory": "cloud_efficiency", "EnvironmentCommandId": "c-hz028fc3g031gcg" }',
- ],
- 'Status' => [
- 'description' => 'The state of the application group.'."\n",
- 'type' => 'string',
- 'example' => 'Created',
- ],
- 'StatusReason' => [
- 'description' => 'The state information of the application group.'."\n",
- 'type' => 'string',
- 'example' => 'Stack CREATE completed successfully',
- ],
- 'DeployOutputs' => [
- 'description' => 'The output of the deployment result.'."\n",
- 'type' => 'string',
- 'example' => '{ "Outputs": [ { "Description": "No description given", "OutputKey": "InstanceIds" } ], "StackId": "6ef4b860-f6e7-4145-8d22-f4a2a32363e1" } }',
- ],
- 'Progress' => [
- 'description' => 'The creation progress of the application instance.'."\n",
- 'type' => 'string',
- 'example' => '100',
- ],
- 'OperationMetadata' => [
- 'description' => 'The hosted O\\&M configurations.'."\n",
- 'type' => 'string',
- 'example' => '{\\\\"PrometheusConfigMap\\\\":{\\\\"Template 1\\\\":{\\\\"EnablePrometheus\\\\":false}}}'."\n",
- ],
- 'ApplicationSource' => [
- 'description' => 'The source of application.',
- 'type' => 'string',
- 'example' => '{"Platform":"github","RepoName":"wenle/springboot-ecs-sourcecode-demo","Owner":"wenle","Branch":"main","CommitHash":"8559ff3ac7568fc7951ff63f841883ee3f06c6fe","CommitMessage":"Init computenest project"}',
- ],
- 'ErrorType' => [
- 'type' => 'string',
- ],
- 'ErrorDetail' => [
- 'type' => 'string',
- ],
- 'DeployedRevisionIds' => [
- 'type' => 'string',
- ],
- 'ExecutionId' => [
- 'type' => 'string',
+ 'NextToken' => ['description' => 'The pagination token.', 'type' => 'string', 'title' => '', 'example' => 'NJSNDKLJS-SJKJDO090k30-JSDK232'],
+ 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'title' => '', 'example' => 'E6CD612B-5889-4F1A-823F-8A4029E46'],
+ 'MaxResults' => ['description' => 'The maximum number of results returned.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '50'],
+ 'TemplateVersions' => [
+ 'description' => 'The versions of the template.',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Description' => ['description' => 'The description of the version.', 'type' => 'string', 'title' => '', 'example' => 'Detach the eip from the special instance.'],
+ 'UpdatedDate' => ['description' => 'The time when this version of the template was last updated.', 'type' => 'string', 'title' => '', 'example' => '2020-05-19T06:05:41Z'],
+ 'UpdatedBy' => ['description' => 'The user who last updated this version of the template.', 'type' => 'string', 'title' => '', 'example' => 'foo'],
+ 'VersionName' => ['description' => 'The name of the version.', 'type' => 'string', 'title' => '', 'example' => 'baz'],
+ 'TemplateVersion' => ['description' => 'The version number.', 'type' => 'string', 'title' => '', 'example' => 'v2'],
+ 'TemplateFormat' => ['description' => 'The format of the template. Valid values: YAML and JSON.', 'type' => 'string', 'title' => '', 'example' => 'YAML'],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
+ 'title' => '',
+ 'example' => '',
],
],
'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"92EA60ED-544D-55E9-93D9-237BE9976C0D\\",\\n \\"ApplicationGroup\\": {\\n \\"CmsGroupId\\": \\"12345678\\",\\n \\"DeployRegionId\\": \\"cn-hangzhou\\",\\n \\"Description\\": \\"ApplicationGroup\\",\\n \\"UpdateDate\\": \\"2021-09-07T10:28:25Z\\",\\n \\"ImportTagKey\\": \\"k1\\",\\n \\"ApplicationName\\": \\"MyApplication\\",\\n \\"ImportTagValue\\": \\"v1\\",\\n \\"Name\\": \\"MyApplicationGroup\\",\\n \\"CreateDate\\": \\"2021-09-07T10:28:25Z\\",\\n \\"DeployParameters\\": \\"{ \\\\\\"TemplateURL\\\\\\": \\\\\\"https://ros-template.oss-cn-zhangjiakou.aliyuncs.com/App_Management_Existing_Vpc_Ecs_Instance.json\\\\\\", \\\\\\"Parameters\\\\\\": { \\\\\\"ZoneId\\\\\\": \\\\\\"cn-hangzhou-k\\\\\\", \\\\\\"ProjectName\\\\\\": \\\\\\"test\\\\\\", \\\\\\"SystemDiskSize\\\\\\": 40, \\\\\\"InstanceChargeType\\\\\\": \\\\\\"PostPaid\\\\\\", \\\\\\"SecurityGroupId\\\\\\": \\\\\\"sg-bp1a4374akk63jl8tddy\\\\\\", \\\\\\"VSwitchId\\\\\\": \\\\\\"vsw-bp1fcvc3zn0jrag86rrlm\\\\\\", \\\\\\"SystemDiskCategory\\\\\\": \\\\\\"cloud_essd\\\\\\", \\\\\\"InstancePassword\\\\\\": \\\\\\"******\\\\\\", \\\\\\"InternetChargeType\\\\\\": \\\\\\"PayByTraffic\\\\\\", \\\\\\"InstanceCount\\\\\\": 1, \\\\\\"InternetMaxBandwidthOut\\\\\\": 0, \\\\\\"VpcId\\\\\\": \\\\\\"vpc-bp1i99boyas8i8m9t3skp\\\\\\", \\\\\\"EcsImageId\\\\\\": \\\\\\"centos_8_5_x64_20G_alibase_20211228.vhd\\\\\\", \\\\\\"DataDiskSize\\\\\\": 100, \\\\\\"EcsInstanceType\\\\\\": \\\\\\"ecs.s6-c1m4.small\\\\\\", \\\\\\"DataDiskCategory\\\\\\": \\\\\\"cloud_efficiency\\\\\\", \\\\\\"EnvironmentCommandId\\\\\\": \\\\\\"c-hz028fc3g031gcg\\\\\\" }\\",\\n \\"Status\\": \\"Created\\",\\n \\"StatusReason\\": \\"Stack CREATE completed successfully\\",\\n \\"DeployOutputs\\": \\"{ \\\\\\"Outputs\\\\\\": [ { \\\\\\"Description\\\\\\": \\\\\\"No description given\\\\\\", \\\\\\"OutputKey\\\\\\": \\\\\\"InstanceIds\\\\\\" } ], \\\\\\"StackId\\\\\\": \\\\\\"6ef4b860-f6e7-4145-8d22-f4a2a32363e1\\\\\\" } }\\",\\n \\"Progress\\": \\"100\\",\\n \\"OperationMetadata\\": \\"{\\\\\\\\\\\\\\"PrometheusConfigMap\\\\\\\\\\\\\\":{\\\\\\\\\\\\\\"模板1\\\\\\\\\\\\\\":{\\\\\\\\\\\\\\"EnablePrometheus\\\\\\\\\\\\\\":false}}}\\",\\n \\"ApplicationSource\\": \\"{\\\\\\"Platform\\\\\\":\\\\\\"github\\\\\\",\\\\\\"RepoName\\\\\\":\\\\\\"wenle/springboot-ecs-sourcecode-demo\\\\\\",\\\\\\"Owner\\\\\\":\\\\\\"wenle\\\\\\",\\\\\\"Branch\\\\\\":\\\\\\"main\\\\\\",\\\\\\"CommitHash\\\\\\":\\\\\\"8559ff3ac7568fc7951ff63f841883ee3f06c6fe\\\\\\",\\\\\\"CommitMessage\\\\\\":\\\\\\"Init computenest project\\\\\\"}\\",\\n \\"ErrorType\\": \\"Build\\",\\n \\"ErrorDetail\\": \\"ERROR: failed to build: executing lifecycle: failed with status code: 51\\",\\n \\"DeployedRevisionIds\\": \\"[\\\\\\"rev-f575b688015442d28d26\\\\\\",\\\\\\"rev-b9876a39cf84490db638\\\\\\",\\\\\\"rev-782fc7a0c0974d89b1eb\\\\\\"]\\",\\n \\"ExecutionId\\": \\"exec-f5dee943869c436a9f57\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"<GetApplicationGroupResponse>\\n <ApplicationGroup>\\n <Status>Deployed</Status>\\n <DeployRegionId>cn-hangzhou</DeployRegionId>\\n <Description/>\\n <ApplicationName>测试</ApplicationName>\\n <ImportTagKey>测试</ImportTagKey>\\n <StatusReason>Stack CREATE completed successfully</StatusReason>\\n <CmsGroupId>196343713</CmsGroupId>\\n <CreateDate>2022-02-24T07:42:10Z</CreateDate>\\n <Name>test</Name>\\n <ImportTagValue>test</ImportTagValue>\\n <UpdateDate>2022-02-24T07:58:33Z</UpdateDate>\\n <DeployParameters>\\n <TemplateURL>https://ros-template.oss-cn-zhangjiakou.aliyuncs.com/App_Management_Existing_Vpc_Ecs_Instance.json</TemplateURL>\\n <Parameters>\\n <ZoneId>cn-hangzhou-k</ZoneId>\\n <ProjectName>test</ProjectName>\\n <SystemDiskSize>40</SystemDiskSize>\\n <InstanceChargeType>PostPaid</InstanceChargeType>\\n <SecurityGroupId>sg-bp1a4374akk63jl8tddy</SecurityGroupId>\\n <VSwitchId>vsw-bp1fcvc3zn0jrag86rrlm</VSwitchId>\\n <SystemDiskCategory>cloud_essd</SystemDiskCategory>\\n <InstancePassword>******</InstancePassword>\\n <InternetChargeType>PayByTraffic</InternetChargeType>\\n <InstanceCount>1</InstanceCount>\\n <InternetMaxBandwidthOut>0</InternetMaxBandwidthOut>\\n <VpcId>vpc-bp1i99boyas8i8m9t3skp</VpcId>\\n <EcsImageId>centos_8_5_x64_20G_alibase_20211228.vhd</EcsImageId>\\n <DataDiskSize>100</DataDiskSize>\\n <EcsInstanceType>ecs.s6-c1m4.small</EcsInstanceType>\\n <DataDiskCategory>cloud_efficiency</DataDiskCategory>\\n <EnvironmentCommandId>c-hz028fc3g031gcg</EnvironmentCommandId>\\n </Parameters>\\n <RegionId>cn-hangzhou</RegionId>\\n <StackName>stack-1645688523068-3no_AKhOJ</StackName>\\n <DisableRollback>true</DisableRollback>\\n </DeployParameters>\\n <DeployOutputs>\\n <Outputs>\\n <Description>No description given</Description>\\n <OutputKey>InstanceIds</OutputKey>\\n </Outputs>\\n <StackId>6ef4b860-f6e7-4145-8d22-f4a2a32363e1</StackId>\\n </DeployOutputs>\\n </ApplicationGroup>\\n <RequestId>8AF4800A-A316-589A-90C4-313B1FEEB084</RequestId>\\n</GetApplicationGroupResponse>","errorExample":""}]',
- 'title' => 'GetApplicationGroup',
+ 'title' => 'ListTemplateVersions',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'ListApplicationGroups' => [
- 'summary' => 'Queries a list of application groups. You can call this operation only for the application groups that reside in the China (Hangzhou) region. Use an endpoint of the China (Hangzhou) region.',
- 'methods' => [
- 'post',
- 'get',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListTemplateVersions'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'oos:ListTemplateVersions',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [
+ ['conditionKey' => 'oos:TLSVersion'],
+ ],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'OOS', 'resourceType' => 'Template', 'arn' => 'acs:oos:{#regionId}:{#accountId}:template/{#templateName}'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"NextToken\\": \\"NJSNDKLJS-SJKJDO090k30-JSDK232\\",\\n \\"RequestId\\": \\"E6CD612B-5889-4F1A-823F-8A4029E46\\",\\n \\"MaxResults\\": 50,\\n \\"TemplateVersions\\": [\\n {\\n \\"Description\\": \\"Detach the eip from the special instance.\\",\\n \\"UpdatedDate\\": \\"2020-05-19T06:05:41Z\\",\\n \\"UpdatedBy\\": \\"foo\\",\\n \\"VersionName\\": \\"baz\\",\\n \\"TemplateVersion\\": \\"v2\\",\\n \\"TemplateFormat\\": \\"YAML\\"\\n }\\n ]\\n}","type":"json"}]',
+ ],
+ 'ListTemplates' => [
+ 'summary' => 'Queries templates. Multiple methods are supported to filter templates.',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -13279,225 +9731,235 @@
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'list',
+ 'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeCode' => '93971',
- 'abilityTreeNodes' => [
- 'FEATUREoos1PL94A',
- ],
- 'autoTest' => true,
+ 'abilityTreeCode' => '93991',
+ 'abilityTreeNodes' => ['FEATUREoosCPYH5Z'],
'tenantRelevance' => 'publicInformation',
],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The ID of the region. Set the value to cn-hangzhou.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => 'The ID of the region in which you want to query templates.'."\n", 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''],
],
[
- 'name' => 'ApplicationName',
+ 'name' => 'TemplateName',
'in' => 'query',
- 'schema' => [
- 'description' => 'The name of the application.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'docRequired' => false,
- 'example' => 'MyApplication',
- ],
+ 'schema' => ['description' => 'The name of the template. All templates whose names contain the specified template name are to be returned.'."\n", 'type' => 'string', 'required' => false, 'example' => 'MyTemplate', 'title' => ''],
],
[
- 'name' => 'DeployRegionId',
+ 'name' => 'TemplateFormat',
'in' => 'query',
- 'schema' => [
- 'description' => 'The ID of the region in which the related resources reside.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => 'The format of the template. Valid values:'."\n"
+ ."\n"
+ .'* **JSON**'."\n"
+ .'* **YAML**'."\n", 'type' => 'string', 'required' => false, 'example' => 'YAML', 'title' => ''],
+ ],
+ [
+ 'name' => 'ShareType',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The share type of the template. Valid values:'."\n"
+ ."\n"
+ .'* **Public**'."\n"
+ .'* **Private**'."\n", 'type' => 'string', 'required' => false, 'example' => 'Private', 'title' => ''],
+ ],
+ [
+ 'name' => 'CreatedBy',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The creator of the template.'."\n"
+ ."\n"
+ .'* To query the template provided by Alibaba Cloud, set this parameter to **ACS**.'."\n"
+ .'* To query the template created by a user, set this parameter to the **ID** of the template or the **name of the user** who creates the template.'."\n", 'type' => 'string', 'required' => false, 'example' => 'ACS', 'title' => ''],
+ ],
+ [
+ 'name' => 'CreatedDateBefore',
+ 'in' => 'query',
+ 'schema' => ['description' => 'Specifies to query the template that is created at or before the specified time.'."\n"
+ ."\n"
+ .'The value must be in the YYYY-MM-DDThh:mm::ssZ format.'."\n", 'type' => 'string', 'required' => false, 'example' => '2019-05-16T10:26:14Z', 'title' => ''],
+ ],
+ [
+ 'name' => 'CreatedDateAfter',
+ 'in' => 'query',
+ 'schema' => ['description' => 'Specifies to query the template that is created at or later than the specified time.'."\n"
+ ."\n"
+ .'The value must be in the YYYY-MM-DDThh:mm:ssZ format.'."\n", 'type' => 'string', 'required' => false, 'example' => '2019-05-16T10:26:14Z', 'title' => ''],
+ ],
+ [
+ 'name' => 'Tags',
+ 'in' => 'query',
+ 'style' => 'json',
+ 'schema' => ['description' => 'The tag keys and values. The number of key-value pairs ranges from 1 to 20.'."\n", 'type' => 'object', 'required' => false, 'example' => '{"k1":"k2","k2":"v2"}', 'title' => ''],
+ ],
+ [
+ 'name' => 'Category',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The type of the template. Valid values include TimerTrigger, EventTrigger, AlarmTrigger, and Other.'."\n", 'type' => 'string', 'required' => false, 'example' => 'TimerTrigger', 'title' => ''],
],
[
'name' => 'MaxResults',
'in' => 'query',
- 'schema' => [
- 'description' => 'The number of entries to return on each page.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '10',
- ],
+ 'schema' => ['description' => 'The number of entries per page. Valid values: 10 to 100. Default value: 50.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '50', 'title' => ''],
],
[
'name' => 'NextToken',
'in' => 'query',
- 'schema' => [
- 'description' => 'The token that is used to retrieve the next page of results.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => '-',
- ],
+ 'schema' => ['description' => 'The token that is used to retrieve the next page of results.'."\n", 'type' => 'string', 'required' => false, 'example' => 'xxx', 'title' => ''],
],
[
- 'name' => 'ResourceType',
+ 'name' => 'SortField',
'in' => 'query',
- 'schema' => [
- 'description' => 'The type of the cloud resource.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'instance',
- ],
+ 'schema' => ['description' => 'The field that is used to sort the templates to be queried. Valid values:'."\n"
+ ."\n"
+ .'* **TotalExecutionCount** (default): The system sorts the returned templates based on the total number of times that the templates are used.'."\n"
+ .'* **Popularity**: The system sorts the returned templates based on the popularity of the templates.'."\n"
+ .'* **TemplateName**: The system sorts the returned templates based on the names of the templates.'."\n"
+ .'* **CreatedDate**: The system sorts the returned templates based on the points in time when the templates are created.'."\n"
+ .'* **UpdatedDate**: The system sorts the returned templates based on the points in time when the templates are updated.'."\n", 'type' => 'string', 'required' => false, 'example' => 'Popularity', 'title' => ''],
],
[
- 'name' => 'ResourceId',
+ 'name' => 'SortOrder',
'in' => 'query',
- 'schema' => [
- 'description' => 'The ID of the cloud resource.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'i-2vcj9raxrhxb48zz3whw',
- ],
+ 'schema' => ['description' => 'The order in which you want to sort the results. Valid values:'."\n"
+ ."\n"
+ .'* **Ascending**: ascending order.'."\n"
+ .'* **Descending**: descending order. This is the default value.'."\n", 'type' => 'string', 'required' => false, 'example' => 'Descending', 'title' => ''],
],
[
- 'name' => 'ResourceProduct',
+ 'name' => 'HasTrigger',
+ 'in' => 'query',
+ 'schema' => ['description' => 'Specifies whether to query the template that is configured with a trigger.'."\n", 'type' => 'boolean', 'required' => false, 'example' => 'true', 'title' => ''],
+ ],
+ [
+ 'name' => 'TemplateType',
'in' => 'query',
'schema' => [
- 'description' => 'The code of the product to which the cloud resource belongs.'."\n",
+ 'description' => 'The type of the template. Valid values:'."\n"
+ ."\n"
+ .'* Automation: the template for automated tasks.'."\n"
+ .'* State: the template for configuration inventories.'."\n"
+ .'* Package: the template for software packages.'."\n",
'type' => 'string',
'required' => false,
- 'example' => 'ecs',
+ 'enumValueTitles' => ['Automation' => 'Automation', 'State' => 'State', 'Package' => 'Package'],
+ 'example' => 'Automation',
+ 'title' => '',
],
],
+ [
+ 'name' => 'ResourceGroupId',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The ID of the resource group.'."\n", 'type' => 'string', 'required' => false, 'example' => 'rg-acfmxsn4m4******', 'title' => ''],
+ ],
+ [
+ 'name' => 'IsFavorite',
+ 'in' => 'query',
+ 'schema' => ['description' => 'Specifies whether the template is added to favorites.'."\n", 'type' => 'boolean', 'required' => false, 'example' => 'true', 'title' => ''],
+ ],
+ [
+ 'name' => 'IsExample',
+ 'in' => 'query',
+ 'schema' => ['description' => 'Specifies whether the template is an example template.'."\n", 'type' => 'boolean', 'required' => false, 'example' => 'true', 'title' => ''],
+ ],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
- 'NextToken' => [
- 'description' => 'The token that is used to retrieve the next page of results.'."\n",
- 'type' => 'string',
- 'example' => '-',
- ],
- 'RequestId' => [
- 'description' => 'The ID of the request.'."\n",
- 'type' => 'string',
- 'example' => '69D97BF2-5DF2-544C-A650-36A474E17BC3',
- ],
- 'MaxResults' => [
- 'description' => 'The number of entries returned on each page.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '10',
- ],
- 'ApplicationGroups' => [
- 'description' => 'The details of the application group.'."\n",
+ 'NextToken' => ['description' => 'The token that is used to retrieve the next page of results.'."\n", 'type' => 'string', 'example' => 'xxx', 'title' => ''],
+ 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => 'BEF54BA-17B6-449F-A219-49ACB157E3', 'title' => ''],
+ 'MaxResults' => ['description' => 'The number of entries returned on each page.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '50', 'title' => ''],
+ 'Templates' => [
+ 'description' => 'The template metadata.'."\n",
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'CmsGroupId' => [
- 'description' => 'The ID of the application group in CloudMonitor.'."\n",
- 'type' => 'string',
- 'example' => '12345678',
- ],
- 'DeployRegionId' => [
- 'description' => 'The ID of the region in which the related resources reside.'."\n",
- 'type' => 'string',
- 'example' => 'cn-hangzhou',
- ],
- 'UpdateDate' => [
- 'description' => 'The time when the application group was updated.'."\n",
- 'type' => 'string',
- 'example' => '2021-09-08T03:01:53Z',
- ],
- 'Description' => [
- 'description' => 'The description of the application group.'."\n",
- 'type' => 'string',
- 'example' => 'ApplicationGroup',
- ],
- 'ImportTagKey' => [
- 'description' => 'The tag key.'."\n",
- 'type' => 'string',
- 'example' => 'k1',
- ],
- 'ApplicationName' => [
- 'description' => 'The name of the application.'."\n",
- 'type' => 'string',
- 'example' => 'MyApplication',
- ],
- 'ImportTagValue' => [
- 'description' => 'The tag value.'."\n",
- 'type' => 'string',
- 'example' => 'v1',
- ],
- 'Name' => [
- 'description' => 'The name of the application group.'."\n",
- 'type' => 'string',
- 'example' => 'UpdateMyApplicationGroup',
- ],
- 'CreateDate' => [
- 'description' => 'The time when the application group was created.'."\n",
- 'type' => 'string',
- 'example' => '2021-09-07T10:28:25Z',
- ],
- 'Status' => [
- 'description' => 'The state of the application group.'."\n",
- 'type' => 'string',
- 'example' => 'Created',
- ],
- 'DeployParameters' => [
- 'description' => 'The configuration information of the application group.'."\n",
- 'type' => 'string',
- 'example' => '{ "TemplateURL": "https://ros-template.oss-cn-zhangjiakou.aliyuncs.com/App_Management_Existing_Vpc_Ecs_Instance.json", "Parameters": { "ZoneId": "cn-hangzhou-k", "ProjectName": "test", "SystemDiskSize": 40, "InstanceChargeType": "PostPaid", "SecurityGroupId": "sg-bp1a4374akk63jl8tddy", "VSwitchId": "vsw-bp1fcvc3zn0jrag86rrlm", "SystemDiskCategory": "cloud_essd", "InstancePassword": "******", "InternetChargeType": "PayByTraffic", "InstanceCount": 1, "InternetMaxBandwidthOut": 0, "VpcId": "vpc-bp1i99boyas8i8m9t3skp", "EcsImageId": "centos_8_5_x64_20G_alibase_20211228.vhd", "DataDiskSize": 100, "EcsInstanceType": "ecs.s6-c1m4.small", "DataDiskCategory": "cloud_efficiency", "EnvironmentCommandId": "c-hz028fc3g031gcg" }, "RegionId": "cn-hangzhou", "StackName": "stack-1645688523068-3no_AKhOJ", "DisableRollback": true }',
- ],
- 'StatusReason' => [
- 'description' => 'The state information of the application group.'."\n",
- 'type' => 'string',
- 'example' => 'ApplicationGroup is Created.',
- ],
- 'ErrorType' => [
- 'type' => 'string',
- ],
- 'ErrorDetail' => [
- 'type' => 'string',
- ],
- 'DeployedRevisionIds' => [
- 'type' => 'string',
- ],
- 'ExecutionId' => [
- 'type' => 'string',
- ],
+ 'Hash' => ['description' => 'The SHA256 value of the template content.'."\n", 'type' => 'string', 'example' => '4bc7d7a21b3e003434b9c223f6e6d2578b5ebfeb5be28c1fcf8a8a1b11907bb4', 'title' => ''],
+ 'UpdatedDate' => ['description' => 'The time when the template was last updated.'."\n", 'type' => 'string', 'example' => '2019-05-16T10:26:14Z', 'title' => ''],
+ 'UpdatedBy' => ['description' => 'The user who last updated the template.'."\n", 'type' => 'string', 'example' => 'root(13092000)', 'title' => ''],
+ 'TemplateType' => ['description' => 'The template type.'."\n", 'type' => 'string', 'example' => 'private', 'title' => ''],
+ 'Tags' => ['description' => 'The tag keys and values. The number of key-value pairs ranges from 1 to 20.'."\n", 'type' => 'object', 'example' => '{"k1":"v1","k2":"v2"}', 'title' => ''],
+ 'TemplateName' => ['description' => 'The template name.'."\n", 'type' => 'string', 'example' => 'MyTemplate', 'title' => ''],
+ 'TemplateVersion' => ['description' => 'The template version. The version contains the letter v and a number. The number starts from 1.'."\n", 'type' => 'string', 'example' => 'v1', 'title' => ''],
+ 'TemplateFormat' => ['description' => 'The template format. The system automatically determines whether the format of the template is JSON or YAML.'."\n", 'type' => 'string', 'example' => 'JSON', 'title' => ''],
+ 'Popularity' => ['description' => 'The popularity of the public template. Valid values: **1-10**. A greater value indicates higher popularity. If **ShareType** is set to **Private**, the value of this parameter is `-1`.'."\n"
+ ."\n"
+ .'> This parameter is valid only if **ShareType** is set to **Public**.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '8', 'title' => ''],
+ 'TotalExecutionCount' => ['description' => 'The number of times for which the private template is executed. If **ShareType** is set to **Public**, the value of this parameter is `-1`.'."\n"
+ ."\n"
+ .'> This parameter is valid only if **ShareType** is set to **Private**.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '5', 'title' => ''],
+ 'Description' => ['description' => 'The template description.'."\n", 'type' => 'string', 'example' => 'Describe instances of given status', 'title' => ''],
+ 'ResourceGroupId' => ['description' => 'The ID of the resource group.'."\n", 'type' => 'string', 'example' => 'rg-acfmxsn4m4******', 'title' => ''],
+ 'CreatedBy' => ['description' => 'The user who created the template.'."\n", 'type' => 'string', 'example' => 'root(1309200)', 'title' => ''],
+ 'CreatedDate' => ['description' => 'The creation time of the template.'."\n", 'type' => 'string', 'example' => '2019-05-16T10:26:14Z', 'title' => ''],
+ 'Category' => ['description' => 'The template type.'."\n", 'type' => 'string', 'example' => 'TimerTrigger', 'title' => ''],
+ 'HasTrigger' => ['description' => 'Indicates whether the template was configured with a trigger.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''],
+ 'TemplateId' => ['description' => 'The template ID.'."\n", 'type' => 'string', 'example' => 't-94753deed38', 'title' => ''],
+ 'ShareType' => ['description' => 'The share type of the template. The share type of a template created by a user is **Private**. Valid values:'."\n"
+ ."\n"
+ .'* **Public**'."\n"
+ .'* **Private**'."\n", 'type' => 'string', 'example' => 'Public', 'title' => ''],
+ 'IsFavorite' => ['description' => 'Indicates whether the template is added to favorites.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''],
+ 'Publisher' => ['description' => 'The user who published the template.'."\n", 'type' => 'string', 'example' => 'aliyun', 'title' => ''],
+ 'Constraints' => ['description' => 'The template constraints.'."\n", 'type' => 'string', 'example' => '{'."\n"
+ .' "InstanceTypeFamilies": ["ecs.g8y", "ecs.c8y"],'."\n"
+ .' "ImageTypes": ["system"],'."\n"
+ .' "OSPlatforms": ["CentOS", "Ubuntu"],'."\n"
+ .' "OSVersions": ["CentOS7.9 64bit"]'."\n"
+ .'}', 'title' => ''],
+ 'VersionName' => ['type' => 'string', 'description' => 'The version name.'."\n", 'example' => '3', 'title' => ''],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
+ 'title' => '',
+ 'example' => '',
],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"NextToken\\": \\"-\\",\\n \\"RequestId\\": \\"69D97BF2-5DF2-544C-A650-36A474E17BC3\\",\\n \\"MaxResults\\": 10,\\n \\"ApplicationGroups\\": [\\n {\\n \\"CmsGroupId\\": \\"12345678\\",\\n \\"DeployRegionId\\": \\"cn-hangzhou\\",\\n \\"UpdateDate\\": \\"2021-09-08T03:01:53Z\\",\\n \\"Description\\": \\"ApplicationGroup\\",\\n \\"ImportTagKey\\": \\"k1\\",\\n \\"ApplicationName\\": \\"MyApplication\\",\\n \\"ImportTagValue\\": \\"v1\\",\\n \\"Name\\": \\"UpdateMyApplicationGroup\\",\\n \\"CreateDate\\": \\"2021-09-07T10:28:25Z\\",\\n \\"Status\\": \\"Created\\",\\n \\"DeployParameters\\": \\"{ \\\\\\"TemplateURL\\\\\\": \\\\\\"https://ros-template.oss-cn-zhangjiakou.aliyuncs.com/App_Management_Existing_Vpc_Ecs_Instance.json\\\\\\", \\\\\\"Parameters\\\\\\": { \\\\\\"ZoneId\\\\\\": \\\\\\"cn-hangzhou-k\\\\\\", \\\\\\"ProjectName\\\\\\": \\\\\\"test\\\\\\", \\\\\\"SystemDiskSize\\\\\\": 40, \\\\\\"InstanceChargeType\\\\\\": \\\\\\"PostPaid\\\\\\", \\\\\\"SecurityGroupId\\\\\\": \\\\\\"sg-bp1a4374akk63jl8tddy\\\\\\", \\\\\\"VSwitchId\\\\\\": \\\\\\"vsw-bp1fcvc3zn0jrag86rrlm\\\\\\", \\\\\\"SystemDiskCategory\\\\\\": \\\\\\"cloud_essd\\\\\\", \\\\\\"InstancePassword\\\\\\": \\\\\\"******\\\\\\", \\\\\\"InternetChargeType\\\\\\": \\\\\\"PayByTraffic\\\\\\", \\\\\\"InstanceCount\\\\\\": 1, \\\\\\"InternetMaxBandwidthOut\\\\\\": 0, \\\\\\"VpcId\\\\\\": \\\\\\"vpc-bp1i99boyas8i8m9t3skp\\\\\\", \\\\\\"EcsImageId\\\\\\": \\\\\\"centos_8_5_x64_20G_alibase_20211228.vhd\\\\\\", \\\\\\"DataDiskSize\\\\\\": 100, \\\\\\"EcsInstanceType\\\\\\": \\\\\\"ecs.s6-c1m4.small\\\\\\", \\\\\\"DataDiskCategory\\\\\\": \\\\\\"cloud_efficiency\\\\\\", \\\\\\"EnvironmentCommandId\\\\\\": \\\\\\"c-hz028fc3g031gcg\\\\\\" }, \\\\\\"RegionId\\\\\\": \\\\\\"cn-hangzhou\\\\\\", \\\\\\"StackName\\\\\\": \\\\\\"stack-1645688523068-3no_AKhOJ\\\\\\", \\\\\\"DisableRollback\\\\\\": true }\\",\\n \\"StatusReason\\": \\"ApplicationGroup is Created.\\",\\n \\"ErrorType\\": \\"Build\\\\n\\",\\n \\"ErrorDetail\\": \\"ERROR: failed to build: executing lifecycle: failed with status code: 51\\",\\n \\"DeployedRevisionIds\\": \\"[\\\\\\"rev-f575b688015442d28d26\\\\\\",\\\\\\"rev-b9876a39cf84490db638\\\\\\",\\\\\\"rev-782fc7a0c0974d89b1eb\\\\\\"]\\\\n\\",\\n \\"ExecutionId\\": \\"exec-661daf82ad024953a40a\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<ListApplicationGroupsResponse>\\n <ApplicationGroups>\\n <ImportTagValue>test</ImportTagValue>\\n <Status>Deploying</Status>\\n <UpdateDate>2022-02-24T07:42:15Z</UpdateDate>\\n <DeployRegionId>cn-hangzhou</DeployRegionId>\\n <Description/>\\n <ApplicationName>测试</ApplicationName>\\n <ImportTagKey>测试</ImportTagKey>\\n <DeployParameters>\\n <TemplateURL>https://ros-template.oss-cn-zhangjiakou.aliyuncs.com/App_Management_Existing_Vpc_Ecs_Instance.json</TemplateURL>\\n <Parameters>\\n <ZoneId>cn-hangzhou-k</ZoneId>\\n <ProjectName>test</ProjectName>\\n <SystemDiskSize>40</SystemDiskSize>\\n <InstanceChargeType>PostPaid</InstanceChargeType>\\n <SecurityGroupId>sg-bp1a4374akk63jl8tddy</SecurityGroupId>\\n <VSwitchId>vsw-bp1fcvc3zn0jrag86rrlm</VSwitchId>\\n <SystemDiskCategory>cloud_essd</SystemDiskCategory>\\n <InstancePassword>******</InstancePassword>\\n <InternetChargeType>PayByTraffic</InternetChargeType>\\n <InstanceCount>1</InstanceCount>\\n <InternetMaxBandwidthOut>0</InternetMaxBandwidthOut>\\n <VpcId>vpc-bp1i99boyas8i8m9t3skp</VpcId>\\n <EcsImageId>centos_8_5_x64_20G_alibase_20211228.vhd</EcsImageId>\\n <DataDiskSize>100</DataDiskSize>\\n <EcsInstanceType>ecs.s6-c1m4.small</EcsInstanceType>\\n <DataDiskCategory>cloud_efficiency</DataDiskCategory>\\n <EnvironmentCommandId>c-hz028fc3g031gcg</EnvironmentCommandId>\\n </Parameters>\\n <RegionId>cn-hangzhou</RegionId>\\n <StackName>stack-1645688523068-3no_AKhOJ</StackName>\\n <DisableRollback>true</DisableRollback>\\n </DeployParameters>\\n <StatusReason>ApplicationGroup is deploying.</StatusReason>\\n <CreateDate>2022-02-24T07:42:10Z</CreateDate>\\n <Name>test</Name>\\n </ApplicationGroups>\\n <RequestId>C164D8CF-98C5-51D4-8241-62891217983C</RequestId>\\n</ListApplicationGroupsResponse>","errorExample":""}]',
- 'title' => 'ListApplicationGroups',
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"NextToken\\": \\"xxx\\",\\n \\"RequestId\\": \\"BEF54BA-17B6-449F-A219-49ACB157E3\\",\\n \\"MaxResults\\": 50,\\n \\"Templates\\": [\\n {\\n \\"Hash\\": \\"4bc7d7a21b3e003434b9c223f6e6d2578b5ebfeb5be28c1fcf8a8a1b11907bb4\\",\\n \\"UpdatedDate\\": \\"2019-05-16T10:26:14Z\\",\\n \\"UpdatedBy\\": \\"root(13092000)\\",\\n \\"TemplateType\\": \\"private\\",\\n \\"Tags\\": {\\n \\"k1\\": \\"v1\\",\\n \\"k2\\": \\"v2\\"\\n },\\n \\"TemplateName\\": \\"MyTemplate\\",\\n \\"TemplateVersion\\": \\"v1\\",\\n \\"TemplateFormat\\": \\"JSON\\",\\n \\"Popularity\\": 8,\\n \\"TotalExecutionCount\\": 5,\\n \\"Description\\": \\"Describe instances of given status\\",\\n \\"ResourceGroupId\\": \\"rg-acfmxsn4m4******\\",\\n \\"CreatedBy\\": \\"root(1309200)\\",\\n \\"CreatedDate\\": \\"2019-05-16T10:26:14Z\\",\\n \\"Category\\": \\"TimerTrigger\\",\\n \\"HasTrigger\\": true,\\n \\"TemplateId\\": \\"t-94753deed38\\",\\n \\"ShareType\\": \\"Public\\",\\n \\"IsFavorite\\": true,\\n \\"Publisher\\": \\"aliyun\\",\\n \\"Constraints\\": \\"{\\\\n \\\\\\"InstanceTypeFamilies\\\\\\": [\\\\\\"ecs.g8y\\\\\\", \\\\\\"ecs.c8y\\\\\\"],\\\\n \\\\\\"ImageTypes\\\\\\": [\\\\\\"system\\\\\\"],\\\\n \\\\\\"OSPlatforms\\\\\\": [\\\\\\"CentOS\\\\\\", \\\\\\"Ubuntu\\\\\\"],\\\\n \\\\\\"OSVersions\\\\\\": [\\\\\\"CentOS7.9 64bit\\\\\\"]\\\\n}\\",\\n \\"VersionName\\": \\"3\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<ListTemplatesResponse>\\n <NextToken>xxx</NextToken>\\n <RequestId>BEF54BA-17B6-449F-A219-49ACB157E3</RequestId>\\n <MaxResults>50</MaxResults>\\n <Templates>\\n <Hash>4bc7d7a21b3e003434b9c223f6e6d2578b5ebfeb5be28c1fcf8a8a1b11907bb4</Hash>\\n <UpdatedDate>2019-05-16T10:26:14Z</UpdatedDate>\\n <UpdatedBy>root(13092000)</UpdatedBy>\\n <TemplateType>private</TemplateType>\\n <TemplateName>MyTemplate</TemplateName>\\n <TemplateVersion>v1</TemplateVersion>\\n <TemplateFormat>JSON</TemplateFormat>\\n <Popularity>8</Popularity>\\n <TotalExecutionCount>5</TotalExecutionCount>\\n <Description>Describe instances of given status</Description>\\n <ResourceGroupId>rg-acfmxsn4m4******</ResourceGroupId>\\n <CreatedBy>root(1309200)</CreatedBy>\\n <CreatedDate>2019-05-16T10:26:14Z</CreatedDate>\\n <Category>TimerTrigger</Category>\\n <HasTrigger>true</HasTrigger>\\n <TemplateId>t-94753deed38</TemplateId>\\n <ShareType>Public</ShareType>\\n </Templates>\\n</ListTemplatesResponse>","errorExample":""}]',
+ 'title' => 'ListTemplates',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'DeployApplicationGroup' => [
- 'summary' => 'Deploys an application group. You can call this operation only for the applications which reside in the China (Hangzhou) region. Use an endpoint of the China (Hangzhou) region.',
- 'methods' => [
- 'post',
- 'get',
+ 'changeSet' => [],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'oos:ListTemplates',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [
+ ['conditionKey' => 'oos:tag', 'validationType' => 'always'],
+ ['conditionKey' => 'oos:TLSVersion'],
+ ],
+ 'resources' => [
+ ['validationType' => 'conditional', 'product' => 'OOS', 'resourceType' => 'Template', 'arn' => 'acs:oos:{#regionId}:{#accountId}:template/*'],
+ ['validationType' => 'conditional', 'product' => 'OOS', 'resourceType' => 'Template', 'arn' => 'acs:oos:{#regionId}:{#accountId}:template/{#templateName}'],
+ ],
+ ],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListTemplates'],
+ ],
],
+ ],
+ 'NotifyExecution' => [
+ 'summary' => 'Notifies an execution in the Waiting state of the subsequent operations.',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -13507,65 +9969,67 @@
'deprecated' => false,
'systemTags' => [
'operationType' => 'update',
- 'riskType' => 'none',
- 'chargeType' => 'paid',
- 'abilityTreeCode' => '119191',
- 'abilityTreeNodes' => [
- 'FEATUREoos1PL94A',
- ],
- 'autoTest' => true,
- 'tenantRelevance' => 'publicInformation',
+ 'abilityTreeCode' => '93993',
+ 'abilityTreeNodes' => ['FEATUREoosQL14T7'],
],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The ID of the region in which you want to deploy the application group.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => 'The ID of the region in which the execution resides.'."\n", 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''],
],
[
- 'name' => 'ApplicationName',
+ 'name' => 'ExecutionId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The name of the application.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'MyApplication',
- ],
+ 'schema' => ['description' => 'The ID of the execution.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'exec-xxx', 'title' => ''],
],
[
- 'name' => 'DeployParameters',
+ 'name' => 'NotifyType',
'in' => 'query',
- 'schema' => [
- 'description' => 'The deployment information about the application group.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '{ "TemplateURL": "https://ros-template.oss-cn-zhangjiakou.aliyuncs.com/App_Management_Existing_Vpc_Ecs_Instance.json", "Parameters": { "ZoneId": "cn-hangzhou-k", "ProjectName": "test", "SystemDiskSize": 40, "InstanceChargeType": "PostPaid", "SecurityGroupId": "sg-bp1a4374akk63jl8tddy", "VSwitchId": "vsw-bp1fcvc3zn0jrag86rrlm", "SystemDiskCategory": "cloud_essd", "InstancePassword": "******", "InternetChargeType": "PayByTraffic", "InstanceCount": 1, "InternetMaxBandwidthOut": 0, "VpcId": "vpc-bp1i99boyas8i8m9t3skp", "EcsImageId": "centos_8_5_x64_20G_alibase_20211228.vhd", "DataDiskSize": 100, "EcsInstanceType": "ecs.s6-c1m4.small", "DataDiskCategory": "cloud_efficiency", "EnvironmentCommandId": "c-hz028fc3g031gcg" }',
- ],
+ 'schema' => ['description' => 'The type of the notification. Valid values:'."\n"
+ ."\n"
+ .'* **ExecuteTask**: starts to run a specific task. This value is used if you perform debugging in the Debug mode. If you set this parameter to ExecuteTask, you also need to set the Parameters parameter.'."\n"
+ .'* **CancelTask**: cancels a current task. This value is used if you perform debugging in the Debug mode.'."\n"
+ .'* **CompleteExecution**: manually terminates an execution if you perform debugging in the Debug mode. You can specify the state of the terminated execution by using the **ExecutionStatus** parameter.'."\n"
+ .'* **Approve**: approves an execution. For example, you are aware of the risks of an operation task and agree to approve the execution.'."\n"
+ .'* **Reject**: rejects an execution. For example, you want to reject the execution of a high-risk operation task.'."\n"
+ .'* **RetryTask**: retries a failed task whose execution mode is Suspend upon Failure.'."\n"
+ .'* **SkipTask**: skips a failed task whose execution mode is Suspend upon Failure.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'Approve', 'title' => ''],
],
[
- 'name' => 'Name',
+ 'name' => 'NotifyNote',
'in' => 'query',
- 'schema' => [
- 'description' => 'The name of the application group.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'MyApplicationGroup',
- ],
+ 'schema' => ['description' => 'The description for the notification.'."\n", 'type' => 'string', 'required' => false, 'example' => 'Description', 'title' => ''],
],
[
- 'name' => 'RevisionId',
+ 'name' => 'TaskName',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- ],
+ 'schema' => ['description' => 'The name of the subsequent task.'."\n", 'type' => 'string', 'required' => false, 'example' => 'describeInstance', 'title' => ''],
+ ],
+ [
+ 'name' => 'TaskExecutionId',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The execution ID of the task.'."\n", 'type' => 'string', 'required' => false, 'example' => 'task-exec-xxx', 'title' => ''],
+ ],
+ [
+ 'name' => 'ExecutionStatus',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The state of the terminated execution. This parameter is valid if you set the NotifyType parameter to CompleteExecution.'."\n", 'type' => 'string', 'required' => false, 'example' => 'Success', 'title' => ''],
+ ],
+ [
+ 'name' => 'Parameters',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The parameters of the subsequent task. This parameter is valid if you set the NotifyType parameter to ExecuteTask.'."\n", 'type' => 'string', 'required' => false, 'example' => '{} ', 'title' => ''],
+ ],
+ [
+ 'name' => 'LoopItem',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The items of the child node in the loop task.'."\n", 'type' => 'string', 'required' => false, 'example' => 'i-xxx', 'title' => ''],
+ ],
+ [
+ 'name' => 'TaskExecutionIds',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The execution IDs of the tasks.'."\n", 'type' => 'string', 'required' => false, 'example' => '["exec-79c321c11003a97c","exec-79c321c11003aqw97cz"]', 'title' => ''],
],
],
'responses' => [
@@ -13573,31 +10037,51 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => 'The ID of the request.'."\n",
- 'type' => 'string',
- 'example' => '8AF4800A-A316-589A-90C4-313B1FEEB084',
- ],
+ 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '491DF8C2-34C9-4679-9DB3-4C0F49B129AC', 'title' => ''],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"8AF4800A-A316-589A-90C4-313B1FEEB084\\"\\n}","errorExample":""},{"type":"xml","example":"<DeployApplicationGroupResponse>\\n <ApplicationGroup>\\n <Status>Deployed</Status>\\n <DeployRegionId>cn-hangzhou</DeployRegionId>\\n <Description/>\\n <ApplicationName>测试</ApplicationName>\\n <ImportTagKey>测试</ImportTagKey>\\n <StatusReason>Stack CREATE completed successfully</StatusReason>\\n <CmsGroupId>196343713</CmsGroupId>\\n <CreateDate>2022-02-24T07:42:10Z</CreateDate>\\n <Name>test</Name>\\n <ImportTagValue>test</ImportTagValue>\\n <UpdateDate>2022-02-24T07:58:33Z</UpdateDate>\\n <DeployParameters>\\n <TemplateURL>https://ros-template.oss-cn-zhangjiakou.aliyuncs.com/App_Management_Existing_Vpc_Ecs_Instance.json</TemplateURL>\\n <Parameters>\\n <ZoneId>cn-hangzhou-k</ZoneId>\\n <ProjectName>test</ProjectName>\\n <SystemDiskSize>40</SystemDiskSize>\\n <InstanceChargeType>PostPaid</InstanceChargeType>\\n <SecurityGroupId>sg-bp1a4374akk63jl8tddy</SecurityGroupId>\\n <VSwitchId>vsw-bp1fcvc3zn0jrag86rrlm</VSwitchId>\\n <SystemDiskCategory>cloud_essd</SystemDiskCategory>\\n <InstancePassword>******</InstancePassword>\\n <InternetChargeType>PayByTraffic</InternetChargeType>\\n <InstanceCount>1</InstanceCount>\\n <InternetMaxBandwidthOut>0</InternetMaxBandwidthOut>\\n <VpcId>vpc-bp1i99boyas8i8m9t3skp</VpcId>\\n <EcsImageId>centos_8_5_x64_20G_alibase_20211228.vhd</EcsImageId>\\n <DataDiskSize>100</DataDiskSize>\\n <EcsInstanceType>ecs.s6-c1m4.small</EcsInstanceType>\\n <DataDiskCategory>cloud_efficiency</DataDiskCategory>\\n <EnvironmentCommandId>c-hz028fc3g031gcg</EnvironmentCommandId>\\n </Parameters>\\n <RegionId>cn-hangzhou</RegionId>\\n <StackName>stack-1645688523068-3no_AKhOJ</StackName>\\n <DisableRollback>true</DisableRollback>\\n </DeployParameters>\\n <DeployOutputs>\\n <Outputs>\\n <Description>No description given</Description>\\n <OutputKey>InstanceIds</OutputKey>\\n </Outputs>\\n <StackId>6ef4b860-f6e7-4145-8d22-f4a2a32363e1</StackId>\\n </DeployOutputs>\\n </ApplicationGroup>\\n <RequestId>8AF4800A-A316-589A-90C4-313B1FEEB084</RequestId>\\n</DeployApplicationGroupResponse>","errorExample":""}]',
- 'title' => 'DeployApplicationGroup',
- ],
- 'ContinueDeployApplicationGroup' => [
- 'summary' => 'Continues deploying an application group when an error occurs for calling the DeployApplicationGroup operation. You can call this operation only for the applications which reside in the China (Hangzhou) region. Use an endpoint of the China (Hangzhou) region.',
- 'methods' => [
- 'post',
- 'get',
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"491DF8C2-34C9-4679-9DB3-4C0F49B129AC\\"\\n}","errorExample":""},{"type":"xml","example":"<NotifyExecutionResponse>\\r\\n <RequestId>491DF8C2-34C9-4679-9DB3-4C0F49B129AC</RequestId>\\r\\n</NotifyExecutionResponse>","errorExample":""}]',
+ 'title' => 'NotifyExecution',
+ 'description' => 'You can call this operation to notify an execution in the following scenarios:'."\n"
+ ."\n"
+ .'* If a template contains a special task, such as an approval task, the Operation Orchestration Service (OOS) execution engine sets the execution state to Waiting when the approval task is being run. You can call this operation to specify whether to continue the execution.'."\n"
+ .'* If you perform debugging in the debug mode, you can call this operation to notify the execution of the subsequent operations after the execution is created or a task is complete.'."\n"
+ .'* If a high-risk operation task waits for approval, you can call this operation to specify whether to continue the execution.'."\n",
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'NotifyExecution'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'oos:NotifyExecution',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [
+ ['conditionKey' => 'oos:tag', 'validationType' => 'always'],
+ ['conditionKey' => 'oos:TLSVersion'],
+ ],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'OOS', 'resourceType' => 'execution', 'arn' => 'acs:oos:{#regionId}:{#accountId}:execution/{#executionId}'],
+ ],
+ ],
+ ],
],
+ ],
+ 'RegisterDefaultPatchBaseline' => [
+ 'summary' => 'Registers the default patch baseline.',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -13608,57 +10092,21 @@
'systemTags' => [
'operationType' => 'update',
'riskType' => 'none',
- 'chargeType' => 'paid',
- 'abilityTreeCode' => '119200',
- 'abilityTreeNodes' => [
- 'FEATUREoos21ZJP9',
- ],
- 'autoTest' => true,
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '93995',
+ 'abilityTreeNodes' => ['FEATUREoosSVNQOE'],
'tenantRelevance' => 'publicInformation',
],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The ID of the region.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
- ],
- [
- 'name' => 'ApplicationName',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The name of the application.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'MyApplication',
- ],
- ],
- [
- 'name' => 'DeployParameters',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The deployment information about the application group.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '{ "TemplateURL": "https://ros-template.oss-cn-zhangjiakou.aliyuncs.com/App_Management_Existing_Vpc_Ecs_Instance.json", "Parameters": { "ZoneId": "cn-hangzhou-k", "ProjectName": "test", "SystemDiskSize": 40, "InstanceChargeType": "PostPaid", "SecurityGroupId": "sg-bp1a4374akk63jl8tddy", "VSwitchId": "vsw-bp1fcvc3zn0jrag86rrlm", "SystemDiskCategory": "cloud_essd", "InstancePassword": "******", "InternetChargeType": "PayByTraffic", "InstanceCount": 1, "InternetMaxBandwidthOut": 0, "VpcId": "vpc-bp1i99boyas8i8m9t3skp", "EcsImageId": "centos_8_5_x64_20G_alibase_20211228.vhd", "DataDiskSize": 100, "EcsInstanceType": "ecs.s6-c1m4.small", "DataDiskCategory": "cloud_efficiency", "EnvironmentCommandId": "c-hz028fc3g031gcg" }',
- ],
+ 'schema' => ['description' => 'The ID of the region.'."\n", 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''],
],
[
'name' => 'Name',
'in' => 'query',
- 'schema' => [
- 'description' => 'The name of the application group.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'MyApplicationGroup',
- ],
+ 'schema' => ['description' => 'The name of the patch baseline.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'MyPatchBaseline', 'title' => ''],
],
],
'responses' => [
@@ -13666,31 +10114,63 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => 'The ID of the request.'."\n",
- 'type' => 'string',
- 'example' => '8AF4800A-A316-589A-90C4-313B1FEEB084',
+ 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => 'D6850689-348D-59FC-AE13-BB0EDB7C4BE8', 'title' => ''],
+ 'PatchBaseline' => [
+ 'description' => 'The details of the patch baseline.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'OperationSystem' => ['description' => 'The operating system.'."\n", 'type' => 'string', 'example' => 'Windows', 'title' => ''],
+ 'Description' => ['description' => 'The description of the patch baseline.'."\n", 'type' => 'string', 'example' => 'RegisterPatchBaseline', 'title' => ''],
+ 'UpdatedDate' => ['description' => 'The time when the patch baseline was last updated.'."\n", 'type' => 'string', 'example' => '2021-09-07T03:42:56Z', 'title' => ''],
+ 'UpdatedBy' => ['description' => 'The user who last updated the patch baseline.'."\n", 'type' => 'string', 'example' => 'root(130900000)', 'title' => ''],
+ 'CreatedBy' => ['description' => 'The user who created the patch baseline.'."\n", 'type' => 'string', 'example' => 'root(130900000)', 'title' => ''],
+ 'CreatedDate' => ['description' => 'The time when the patch baseline was created.'."\n", 'type' => 'string', 'example' => '2021-09-07T03:42:56Z', 'title' => ''],
+ 'Name' => ['description' => 'The name of the patch baseline.'."\n", 'type' => 'string', 'example' => 'MyPatchBaseline', 'title' => ''],
+ 'ApprovalRules' => ['description' => 'The rules of scanning and installing patches for the specified operating system.'."\n", 'type' => 'string', 'example' => '{"PatchRules":[{"PatchFilterGroup":[{"Key":"PatchSet","Values":["OS"]},{"Key":"ProductFamily","Values":["Windows"]},{"Key":"Product","Values":["Windows 10","Windows 7"]},{"Key":"Classification","Values":["Security Updates","Updates","Update Rollups","Critical Updates"]},{"Key":"Severity","Values":["Critical","Important","Moderate"]}],"ApproveAfterDays":7,"ApproveUntilDate":"","EnableNonSecurity":true,"ComplianceLevel":"Medium"}]}', 'title' => ''],
+ 'Id' => ['description' => 'The ID of the patch baseline.'."\n", 'type' => 'string', 'example' => 'pb-445340b5c6504a85a300', 'title' => ''],
+ 'ShareType' => ['description' => 'The share type of the patch baseline.'."\n", 'type' => 'string', 'example' => 'Private', 'title' => ''],
+ 'ResourceGroupId' => ['description' => 'The ID of the resource group.'."\n", 'type' => 'string', 'example' => 'rg-acfm4dpaq2yox6q', 'title' => ''],
+ ],
+ 'title' => '',
+ 'example' => '',
],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"8AF4800A-A316-589A-90C4-313B1FEEB084\\"\\n}","errorExample":""},{"type":"xml","example":"<ContinueDeployApplicationGroupResponse>\\n <ApplicationGroup>\\n <Status>Deployed</Status>\\n <DeployRegionId>cn-hangzhou</DeployRegionId>\\n <Description/>\\n <ApplicationName>测试</ApplicationName>\\n <ImportTagKey>测试</ImportTagKey>\\n <StatusReason>Stack CREATE completed successfully</StatusReason>\\n <CmsGroupId>196343713</CmsGroupId>\\n <CreateDate>2022-02-24T07:42:10Z</CreateDate>\\n <Name>test</Name>\\n <ImportTagValue>test</ImportTagValue>\\n <UpdateDate>2022-02-24T07:58:33Z</UpdateDate>\\n <DeployParameters>\\n <TemplateURL>https://ros-template.oss-cn-zhangjiakou.aliyuncs.com/App_Management_Existing_Vpc_Ecs_Instance.json</TemplateURL>\\n <Parameters>\\n <ZoneId>cn-hangzhou-k</ZoneId>\\n <ProjectName>test</ProjectName>\\n <SystemDiskSize>40</SystemDiskSize>\\n <InstanceChargeType>PostPaid</InstanceChargeType>\\n <SecurityGroupId>sg-bp1a4374akk63jl8tddy</SecurityGroupId>\\n <VSwitchId>vsw-bp1fcvc3zn0jrag86rrlm</VSwitchId>\\n <SystemDiskCategory>cloud_essd</SystemDiskCategory>\\n <InstancePassword>******</InstancePassword>\\n <InternetChargeType>PayByTraffic</InternetChargeType>\\n <InstanceCount>1</InstanceCount>\\n <InternetMaxBandwidthOut>0</InternetMaxBandwidthOut>\\n <VpcId>vpc-bp1i99boyas8i8m9t3skp</VpcId>\\n <EcsImageId>centos_8_5_x64_20G_alibase_20211228.vhd</EcsImageId>\\n <DataDiskSize>100</DataDiskSize>\\n <EcsInstanceType>ecs.s6-c1m4.small</EcsInstanceType>\\n <DataDiskCategory>cloud_efficiency</DataDiskCategory>\\n <EnvironmentCommandId>c-hz028fc3g031gcg</EnvironmentCommandId>\\n </Parameters>\\n <RegionId>cn-hangzhou</RegionId>\\n <StackName>stack-1645688523068-3no_AKhOJ</StackName>\\n <DisableRollback>true</DisableRollback>\\n </DeployParameters>\\n <DeployOutputs>\\n <Outputs>\\n <Description>No description given</Description>\\n <OutputKey>InstanceIds</OutputKey>\\n </Outputs>\\n <StackId>6ef4b860-f6e7-4145-8d22-f4a2a32363e1</StackId>\\n </DeployOutputs>\\n </ApplicationGroup>\\n <RequestId>8AF4800A-A316-589A-90C4-313B1FEEB084</RequestId>\\n</ContinueDeployApplicationGroupResponse>","errorExample":""}]',
- 'title' => 'ContinueDeployApplicationGroup',
- ],
- 'DescribeApplicationGroupBill' => [
- 'summary' => 'Queries the resource costs of an application group.',
- 'methods' => [
- 'post',
- 'get',
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"D6850689-348D-59FC-AE13-BB0EDB7C4BE8\\",\\n \\"PatchBaseline\\": {\\n \\"OperationSystem\\": \\"Windows\\",\\n \\"Description\\": \\"RegisterPatchBaseline\\",\\n \\"UpdatedDate\\": \\"2021-09-07T03:42:56Z\\",\\n \\"UpdatedBy\\": \\"root(130900000)\\",\\n \\"CreatedBy\\": \\"root(130900000)\\",\\n \\"CreatedDate\\": \\"2021-09-07T03:42:56Z\\",\\n \\"Name\\": \\"MyPatchBaseline\\",\\n \\"ApprovalRules\\": \\"{\\\\\\"PatchRules\\\\\\":[{\\\\\\"PatchFilterGroup\\\\\\":[{\\\\\\"Key\\\\\\":\\\\\\"PatchSet\\\\\\",\\\\\\"Values\\\\\\":[\\\\\\"OS\\\\\\"]},{\\\\\\"Key\\\\\\":\\\\\\"ProductFamily\\\\\\",\\\\\\"Values\\\\\\":[\\\\\\"Windows\\\\\\"]},{\\\\\\"Key\\\\\\":\\\\\\"Product\\\\\\",\\\\\\"Values\\\\\\":[\\\\\\"Windows 10\\\\\\",\\\\\\"Windows 7\\\\\\"]},{\\\\\\"Key\\\\\\":\\\\\\"Classification\\\\\\",\\\\\\"Values\\\\\\":[\\\\\\"Security Updates\\\\\\",\\\\\\"Updates\\\\\\",\\\\\\"Update Rollups\\\\\\",\\\\\\"Critical Updates\\\\\\"]},{\\\\\\"Key\\\\\\":\\\\\\"Severity\\\\\\",\\\\\\"Values\\\\\\":[\\\\\\"Critical\\\\\\",\\\\\\"Important\\\\\\",\\\\\\"Moderate\\\\\\"]}],\\\\\\"ApproveAfterDays\\\\\\":7,\\\\\\"ApproveUntilDate\\\\\\":\\\\\\"\\\\\\",\\\\\\"EnableNonSecurity\\\\\\":true,\\\\\\"ComplianceLevel\\\\\\":\\\\\\"Medium\\\\\\"}]}\\",\\n \\"Id\\": \\"pb-445340b5c6504a85a300\\",\\n \\"ShareType\\": \\"Private\\",\\n \\"ResourceGroupId\\": \\"rg-acfm4dpaq2yox6q\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"<PatchBaseline>\\n <UpdatedBy>root(130900000)</UpdatedBy>\\n <CreatedBy>root(130900000)</CreatedBy>\\n <Description>RegisterPatchBaseline</Description>\\n <UpdatedDate>2021-09-08T07:26:38Z</UpdatedDate>\\n <CreatedDate>2021-09-07T03:42:56Z</CreatedDate>\\n <Id>pb-445340b5c6504a85a300</Id>\\n <OperationSystem>AliyunLinux</OperationSystem>\\n <ApprovalRules>\\n <PatchRules>\\n <PatchFilterGroup>\\n <Key>PatchSet</Key>\\n <Values>OS</Values>\\n </PatchFilterGroup>\\n <PatchFilterGroup>\\n <Key>ProductFamily</Key>\\n <Values>Windows</Values>\\n </PatchFilterGroup>\\n <PatchFilterGroup>\\n <Key>Product</Key>\\n <Values>Windows 10</Values>\\n <Values>Windows 7</Values>\\n </PatchFilterGroup>\\n <PatchFilterGroup>\\n <Key>Classification</Key>\\n <Values>Security Updates</Values>\\n <Values>Updates</Values>\\n <Values>Update Rollups</Values>\\n <Values>Critical Updates</Values>\\n </PatchFilterGroup>\\n <PatchFilterGroup>\\n <Key>Severity</Key>\\n <Values>Critical</Values>\\n <Values>Important</Values>\\n <Values>Moderate</Values>\\n </PatchFilterGroup>\\n <ApproveAfterDays>7</ApproveAfterDays>\\n <ApproveUntilDate/>\\n <EnableNonSecurity>true</EnableNonSecurity>\\n <ComplianceLevel>Medium</ComplianceLevel>\\n </PatchRules>\\n </ApprovalRules>\\n <Name>MyPatchBaseline</Name>\\n <ShareType>Private</ShareType>\\n</PatchBaseline>\\n<RequestId>D6850689-348D-59FC-AE13-BB0EDB7C4BE8</RequestId>","errorExample":""}]',
+ 'title' => 'RegisterDefaultPatchBaseline',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ 'changeSet' => [],
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'oos:RegisterDefaultPatchBaseline',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [
+ ['conditionKey' => 'oos:TLSVersion'],
+ ],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'OOS', 'resourceType' => 'patchbaseline', 'arn' => 'acs:oos:{#regionId}:{#accountId}:patchbaseline/{#patchbaselineName}'],
+ ],
+ ],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'RegisterDefaultPatchBaseline'],
+ ],
],
+ ],
+ 'SearchInventory' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -13702,86 +10182,87 @@
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeCode' => '163300',
- 'abilityTreeNodes' => [
- 'FEATUREoos1PL94A',
- ],
- 'autoTest' => true,
+ 'abilityTreeCode' => '93996',
+ 'abilityTreeNodes' => ['FEATUREoosLDUDPP'],
'tenantRelevance' => 'publicInformation',
],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The ID of the region.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => 'The region ID.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'cn-hangzhou'],
],
[
- 'name' => 'ApplicationName',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The application name.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => false,
- 'example' => 'test_application',
- ],
- ],
- [
- 'name' => 'Name',
+ 'name' => 'NextToken',
'in' => 'query',
- 'schema' => [
- 'description' => 'The application group name.',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'test_application_group',
- ],
+ 'schema' => ['description' => 'The token that is used to retrieve the next page of results.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'gAAAAABfTgv5ewUWmNdJ3g7JVLvX70sPH90GZOVGC'],
],
[
- 'name' => 'BillingCycle',
+ 'name' => 'MaxResults',
'in' => 'query',
- 'schema' => [
- 'description' => 'The billing cycle, in the YYYY-MM format.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'example' => '2023-06',
- ],
+ 'schema' => ['description' => 'The number of entries to return on each page. Valid values: 1 to 100. Default value: 50.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '100', 'minimum' => '1', 'default' => '50', 'title' => '', 'example' => '50'],
],
[
- 'name' => 'ResourceType',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The type of the cloud resource.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'example' => 'ALIYUN::ECS::INSTANCE',
- ],
- ],
- [
- 'name' => 'MaxResults',
+ 'name' => 'Filter',
'in' => 'query',
+ 'style' => 'repeatList',
'schema' => [
- 'description' => 'The number of entries per page.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
+ 'description' => 'The filter rules for the component.',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Value' => [
+ 'description' => 'A list of values for the component property query.',
+ 'type' => 'array',
+ 'items' => ['description' => 'A value for the component property query.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'i-bp1cpoxxxxxxxxxxxxxx'],
+ 'required' => false,
+ 'example' => 'i-bp1cpoxxxxxxxxxxxxxx',
+ 'maxItems' => 20,
+ 'title' => '',
+ ],
+ 'Operator' => ['description' => 'The comparison operator for the property value. You can specify up to five filters.'."\n"
+ .'Valid values:'."\n"
+ ."\n"
+ .'- Equal'."\n"
+ ."\n"
+ .'- NotEqual'."\n"
+ ."\n"
+ .'- BeginWith'."\n"
+ ."\n"
+ .'- LessThan'."\n"
+ ."\n"
+ .'- GreaterThan', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'Equal'],
+ 'Name' => ['description' => 'The name of the component property. You can specify up to five filters. Property names vary for different components. Call the [GetInventorySchema](https://api.aliyun.com/#/?product=oos\\&version=2019-06-01\\&api=GetInventorySchema) operation to query the property names of different components. For example, the ACS:InstanceInformation component has the InstanceId property. For this component, set this parameter to ACS:InstanceInformation.InstanceId.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'ACS:InstanceInformation.InstanceId'],
+ ],
+ 'required' => false,
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
'required' => false,
- 'maximum' => '50',
- 'example' => '10',
- 'default' => '10',
+ 'maxItems' => 5,
+ 'title' => '',
+ 'example' => '',
],
],
[
- 'name' => 'NextToken',
+ 'name' => 'Aggregator',
'in' => 'query',
+ 'style' => 'repeatList',
'schema' => [
- 'description' => 'The token that is used to retrieve the next page of results.'."\n",
- 'type' => 'string',
+ 'description' => 'The aggregator. You can use one or more aggregators to query aggregated information about instances.'."\n"
+ .'Valid values:'."\n"
+ ."\n"
+ .'- ACS:Application.Name'."\n"
+ ."\n"
+ .'- ACS:Application.Version',
+ 'type' => 'array',
+ 'items' => ['description' => 'The aggregator.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'ACS:Application.Name'],
'required' => false,
- 'example' => '-',
+ 'example' => 'ACS:Application.Name',
+ 'maxItems' => 5,
+ 'title' => '',
],
],
],
@@ -13790,297 +10271,229 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'NextToken' => [
- 'description' => 'The token that is used to retrieve the next page of results.'."\n",
- 'type' => 'string',
- 'example' => '""',
- ],
- 'RequestId' => [
- 'description' => 'The request ID.'."\n",
- 'type' => 'string',
- 'example' => 'E897A1AB-4701-5B71-93AD-38FD703763A3',
- ],
- 'MaxResults' => [
- 'description' => 'The number of entries per page.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '10',
- ],
- 'ApplicationGroupConsume' => [
- 'description' => 'The consume of application group.',
+ 'NextToken' => ['description' => 'The token that is used to retrieve the next page of results.', 'type' => 'string', 'title' => '', 'example' => 'gAAAAABfTgv5ewUWmNdJ3g7JVLvX70sPH90GZOVGC'],
+ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => 'A81E4B2E-6B33-4BAE-9856-55DB7C893E01'],
+ 'MaxResults' => ['description' => 'The number of entries returned on each page.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '50'],
+ 'Entities' => [
'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'InstanceId' => [
- 'title' => '实例id',
- 'description' => 'The ID of the instance.',
- 'type' => 'string',
- 'example' => 'i-0jl781czrhqey0s5zpsj',
- ],
- 'InstanceName' => [
- 'title' => '实例名称',
- 'description' => 'The name of the instance.',
- 'type' => 'string',
- 'example' => 'test-',
- ],
- 'InstanceType' => [
- 'title' => '实例类型',
- 'description' => 'The instance type.'."\n",
- 'type' => 'string',
- 'example' => 'ALIYUN::ECS::INSTANCE',
- ],
- 'CreationTime' => [
- 'description' => 'The time when the instance was created.',
- 'type' => 'string',
- 'example' => '2023-06-10T06:00Z',
- ],
- 'Status' => [
- 'description' => 'The status of instance.',
- 'type' => 'string',
- 'example' => 'Running',
- ],
- 'Amount' => [
- 'description' => 'The amount consumed by the instance.',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '18.88',
- ],
- 'Currency' => [
- 'title' => '币种。取值:'."\n"
- .'● CNY'."\n"
- .'● USD'."\n"
- .'● JPY',
- 'description' => 'The currency unit.',
- 'type' => 'string',
- 'enumValueTitles' => [
- 'JPY' => 'JPY',
- 'USD' => 'USD',
- 'CNY' => 'CNY',
- ],
- 'example' => 'CNY',
- ],
- 'Performance' => [
- 'description' => 'The performance of the data synchronization instance.'."\n",
- 'type' => 'string',
- 'example' => '"{\\"mem\\":\\"6.82\\",\\"cpu\\":\\"0.55\\"}"',
- ],
- 'Optimization' => [
- 'description' => 'Optimization suggestions.',
- 'type' => 'string',
- 'example' => '1',
- ],
- 'PeakType' => [
- 'description' => 'The peak type.',
- 'type' => 'string',
- 'enumValueTitles' => [
- 'WHITE' => 'WHITE',
- 'NIGHT' => 'NIGHT',
- 'AVERAGE' => 'AVERAGE',
- ],
- 'example' => 'WHITE',
- ],
- ],
- ],
+ 'items' => ['description' => 'The detailed inventory or aggregated information about the component.', 'type' => 'object', 'title' => '', 'example' => '[ { "ACS:InstanceInformation": { "CaptureTime": "2020-10-13T08:55:06Z", "SchemaVersion": "1.0", "Content": { "PlatformName": "ubuntu", "PlatformVersion": "20.04", "Status": "Running", "InstanceId": "i-bp1cpoxxxxxxxxxxxxxx", "AgentVersion": "v1.5", "ComputerName": "iZbp1cpoxxxw111jcv94drZ", "IpAddress": "192.168.10.245", "AgentName": "oosutil", "PlatformType": "linux" }, "RegionId": "cn-hangzhou" }, "Id": "i-bp1cpoxxxxxxxxxxxxxx" } ]}'],
+ 'description' => 'The entities.',
+ 'title' => '',
+ 'example' => '',
],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"NextToken\\": \\"\\\\\\"\\\\\\"\\",\\n \\"RequestId\\": \\"E897A1AB-4701-5B71-93AD-38FD703763A3\\",\\n \\"MaxResults\\": 10,\\n \\"ApplicationGroupConsume\\": [\\n {\\n \\"InstanceId\\": \\"i-0jl781czrhqey0s5zpsj\\",\\n \\"InstanceName\\": \\"test-\\",\\n \\"InstanceType\\": \\"ALIYUN::ECS::INSTANCE\\",\\n \\"CreationTime\\": \\"2023-06-10T06:00Z\\",\\n \\"Status\\": \\"Running\\",\\n \\"Amount\\": 18.88,\\n \\"Currency\\": \\"CNY\\",\\n \\"Performance\\": \\"\\\\\\"{\\\\\\\\\\\\\\"mem\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"6.82\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"cpu\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"0.55\\\\\\\\\\\\\\"}\\\\\\"\\",\\n \\"Optimization\\": \\"1\\",\\n \\"PeakType\\": \\"WHITE\\"\\n }\\n ]\\n}","type":"json"}]',
- 'title' => 'DescribeApplicationGroupBill',
- ],
- 'ListTagKeys' => [
- 'summary' => 'Queries the tags.',
- 'methods' => [
- 'post',
- 'get',
+ 'title' => 'SearchInventory',
+ 'summary' => 'Queries for detailed or aggregated information about inventory.',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'SearchInventory'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'oos:SearchInventory',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [
+ ['conditionKey' => 'oos:TLSVersion'],
+ ],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'OOS', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"NextToken\\": \\"gAAAAABfTgv5ewUWmNdJ3g7JVLvX70sPH90GZOVGC\\",\\n \\"RequestId\\": \\"A81E4B2E-6B33-4BAE-9856-55DB7C893E01\\",\\n \\"MaxResults\\": 50,\\n \\"Entities\\": [\\n {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n }\\n ]\\n}","type":"json"}]',
+ ],
+ 'SetServiceSettings' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
+ [
+ 'APP' => [],
+ ],
],
- 'operationType' => 'read',
+ 'operationType' => 'write',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'get',
+ 'operationType' => 'update',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeCode' => '93987',
- 'abilityTreeNodes' => [
- 'FEATUREoosB33AG0',
- ],
+ 'abilityTreeCode' => '93997',
+ 'abilityTreeNodes' => ['FEATUREoosJ7PS9L', 'FEATUREoosB33AG0'],
+ 'autoTest' => true,
'tenantRelevance' => 'publicInformation',
],
'parameters' => [
[
+ 'name' => 'DeliveryOssEnabled',
+ 'in' => 'query',
+ 'schema' => ['description' => 'Specifies whether to enable the delivery of template execution records to Object Storage Service (OSS). The default value is `false`.', 'type' => 'boolean', 'required' => false, 'example' => 'false', 'title' => ''],
+ ],
+ [
+ 'name' => 'DeliveryOssBucketName',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The name of the OSS bucket.', 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => 'OssBucketName', 'title' => ''],
+ ],
+ [
+ 'name' => 'DeliveryOssKeyPrefix',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The key prefix of the OSS bucket. For example, `oos/execution`. To clear a previously configured prefix, set this parameter to an empty string (`""`).', 'type' => 'string', 'required' => false, 'example' => 'oos/execution', 'title' => ''],
+ ],
+ [
+ 'name' => 'DeliverySlsProjectName',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The name of the Log Service (SLS) project.', 'type' => 'string', 'required' => false, 'example' => 'SlsProjectName', 'title' => ''],
+ ],
+ [
+ 'name' => 'DeliverySlsEnabled',
+ 'in' => 'query',
+ 'schema' => ['description' => 'Specifies whether to enable the delivery of template execution records to SLS. The default value is `false`.', 'type' => 'boolean', 'required' => false, 'example' => 'false', 'title' => ''],
+ ],
+ [
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The ID of the region.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => 'The region ID.', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''],
],
[
- 'name' => 'MaxResults',
+ 'name' => 'RdcEnterpriseId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The maximum number of entries to return on each page. Valid value: 10 to 100. Default value: 50.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '50',
- ],
+ 'schema' => ['description' => 'The Apsara DevOps enterprise ID.', 'type' => 'string', 'required' => false, 'example' => 'RdcEnterpriseId', 'title' => ''],
],
[
- 'name' => 'NextToken',
+ 'name' => 'ServiceAccessRdEnabled',
'in' => 'query',
- 'schema' => [
- 'description' => 'The token that is used to retrieve the next page.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'djsdlkasd',
- ],
+ 'schema' => ['type' => 'boolean', 'description' => '', 'title' => '', 'example' => ''],
],
[
- 'name' => 'ResourceType',
+ 'name' => 'RdFolderIds',
'in' => 'query',
+ 'style' => 'json',
'schema' => [
- 'description' => 'The type of the resource to which the tag is added.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'template',
+ 'type' => 'array',
+ 'items' => ['type' => 'string', 'example' => 'rd-xxx', 'description' => '', 'title' => ''],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
+ 'description' => 'The settings for delivering template execution records.',
'type' => 'object',
'properties' => [
- 'NextToken' => [
- 'description' => 'The token that is used to retrieve the next page.'."\n",
- 'type' => 'string',
- 'example' => '87y29h80h20h3f2',
- ],
- 'RequestId' => [
- 'description' => 'The ID of the request.'."\n",
- 'type' => 'string',
- 'example' => '36210B73-8262-4D08-9D3A-7F96789733C8',
- ],
- 'MaxResults' => [
- 'description' => 'The maximum number of entries to return on each page.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '50',
- ],
- 'Keys' => [
- 'description' => 'The tag keys.'."\n",
+ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'CBEC8072-BEC2-478E-8EAE-E723BA79CF19', 'title' => ''],
+ 'ServiceSettings' => [
+ 'description' => 'The service settings.',
'type' => 'array',
'items' => [
- 'description' => 'The key of the tag.'."\n",
- 'type' => 'string',
- 'example' => 'k3',
+ 'description' => 'A service setting.',
+ 'type' => 'object',
+ 'properties' => [
+ 'DeliveryOssBucketName' => ['description' => 'The name of the OSS bucket.', 'type' => 'string', 'example' => 'OssBucketName', 'title' => ''],
+ 'DeliveryOssKeyPrefix' => ['description' => 'The key prefix of the OSS bucket.', 'type' => 'string', 'example' => 'oos/execution', 'title' => ''],
+ 'DeliveryOssEnabled' => ['description' => 'Whether the delivery of template execution records to OSS is enabled.', 'type' => 'boolean', 'example' => 'true', 'title' => ''],
+ 'DeliverySlsEnabled' => ['description' => 'Whether the delivery of template execution records to SLS is enabled.', 'type' => 'boolean', 'example' => 'false', 'title' => ''],
+ 'DeliverySlsProjectName' => ['description' => 'The name of the SLS project.', 'type' => 'string', 'example' => 'SlsProjectName', 'title' => ''],
+ 'RdcEnterpriseId' => ['description' => 'The Apsara DevOps enterprise ID.', 'type' => 'string', 'example' => 'RdcEnterpriseId', 'title' => ''],
+ 'ServiceAccessRdEnabled' => ['type' => 'boolean', 'description' => '', 'title' => '', 'example' => ''],
+ ],
+ 'title' => '',
+ 'example' => '',
],
+ 'title' => '',
+ 'example' => '',
],
],
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"NextToken\\": \\"87y29h80h20h3f2\\",\\n \\"RequestId\\": \\"36210B73-8262-4D08-9D3A-7F96789733C8\\",\\n \\"MaxResults\\": 50,\\n \\"Keys\\": [\\n \\"k3\\"\\n ]\\n}","errorExample":""},{"type":"xml","example":"<ListTagKeysResponse>\\n<RequestId>36210B73-8262-4D08-9D3A-7F96789733C8</RequestId>\\n<NextToken>e16333dsads3058fc897878ae</NextToken>\\n<Keys>k3</Keys>\\n<Keys>k2</Keys>\\n<Keys>k1</Keys>\\n<Keys>k4</Keys>\\n<Keys>key55</Keys>\\n<Keys>ew</Keys>\\n<Keys>oos</Keys>\\n<Keys>scaling_group</Keys>\\n<Keys>aa</Keys>\\n</ListTagKeyseResponse>","errorExample":""}]',
- 'title' => 'ListTagKeys',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => 'SetServiceSettings',
+ 'summary' => 'Enables or disables template execution record delivery, configures delivery destinations, and associates an Apsara DevOps enterprise ID.',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'ListTagValues' => [
- 'summary' => 'Queries the values of created tags.',
- 'methods' => [
- 'post',
- 'get',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'SetServiceSettings'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'oos:SetServiceSettings',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [
+ ['conditionKey' => 'oos:TLSVersion'],
+ ],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'OOS', 'resourceType' => 'ServiceSetting', 'arn' => 'acs:oos:{#regionId}:{#accountId}:ServiceSetting'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"CBEC8072-BEC2-478E-8EAE-E723BA79CF19\\",\\n \\"ServiceSettings\\": [\\n {\\n \\"DeliveryOssBucketName\\": \\"OssBucketName\\",\\n \\"DeliveryOssKeyPrefix\\": \\"oos/execution\\",\\n \\"DeliveryOssEnabled\\": true,\\n \\"DeliverySlsEnabled\\": false,\\n \\"DeliverySlsProjectName\\": \\"SlsProjectName\\",\\n \\"RdcEnterpriseId\\": \\"RdcEnterpriseId\\",\\n \\"ServiceAccessRdEnabled\\": false\\n }\\n ]\\n}","type":"json"}]',
+ ],
+ 'StartDebugExecution' => [
+ 'summary' => 'Starts a debug execution.',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'read',
+ 'operationType' => 'write',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'get',
+ 'operationType' => 'update',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeCode' => '93989',
- 'abilityTreeNodes' => [
- 'FEATUREoosB33AG0',
- ],
+ 'abilityTreeCode' => '93998',
+ 'abilityTreeNodes' => ['FEATUREoosC47MF8'],
'tenantRelevance' => 'publicInformation',
],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The ID of the region.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
- ],
- [
- 'name' => 'MaxResults',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The maximum number of results on each page.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '50',
- ],
+ 'schema' => ['description' => 'The region ID.', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''],
],
[
- 'name' => 'NextToken',
+ 'name' => 'TaskType',
'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.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => '3272h923879hsaksad',
- ],
+ 'schema' => ['description' => 'The task type.', 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => 'ACS::ExecuteAPI', 'title' => ''],
],
[
- 'name' => 'ResourceType',
+ 'name' => 'Properties',
'in' => 'query',
- 'schema' => [
- 'description' => 'The type of the tagged resource.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'template',
- ],
+ 'schema' => ['description' => 'The task properties.', 'type' => 'string', 'required' => false, 'example' => '{"Service": "ecs", "API": "DescribeRegions"}', 'title' => ''],
],
[
- 'name' => 'Key',
+ 'name' => 'ClientToken',
'in' => 'query',
- 'schema' => [
- 'description' => 'The tag key to query.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'k1',
- ],
+ 'schema' => ['description' => 'The idempotence token.', 'type' => 'string', 'required' => false, 'example' => 'abcde3OARpx77No54nv6', 'title' => ''],
],
],
'responses' => [
@@ -14088,119 +10501,147 @@
'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' => '83u29j2dj3dskds',
- ],
- 'RequestId' => [
- 'description' => 'The ID of the request.'."\n",
- 'type' => 'string',
- 'example' => '65591133-1188-4935-B78F-20F72',
- ],
- 'MaxResults' => [
- 'description' => 'The maximum number of results on each page.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '50',
- ],
- 'Values' => [
- 'description' => 'The tag values returned.'."\n",
- 'type' => 'array',
- 'items' => [
- 'description' => 'The tag value'."\n",
- 'type' => 'string',
- 'example' => 'v1',
- ],
- ],
+ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'A5320F1D-92D9-44BB-A416-5FC525ED6D57', 'title' => ''],
+ 'ExecutionId' => ['description' => 'The execution ID.', 'type' => 'string', 'example' => 'exec-xxx', 'title' => ''],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"NextToken\\": \\"83u29j2dj3dskds\\",\\n \\"RequestId\\": \\"65591133-1188-4935-B78F-20F72\\",\\n \\"MaxResults\\": 50,\\n \\"Values\\": [\\n \\"v1\\"\\n ]\\n}","errorExample":""},{"type":"xml","example":"<ListTagValuesResponse>\\n<RequestId>65591133-1188-4935-B78F-20F722DCD647</RequestId>\\n<NextToken>5c32b9208a941197e0b5e8707e68181f</NextToken>\\n<Values>v1</Values>\\n<Values>v1</Values>\\n</ListTagValuesResponse>","errorExample":""}]',
- 'title' => 'ListTagValues',
- 'requestParamsDescription' => ' ',
- 'responseParamsDescription' => ' ',
- 'extraInfo' => ' ',
- ],
- 'ListTagResources' => [
- 'summary' => 'Queries the tags that are added to one or more resources.',
- 'methods' => [
- 'post',
- 'get',
+ 'title' => 'StartDebugExecution',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'oos:StartDebugExecution',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [
+ ['conditionKey' => 'oos:tag', 'validationType' => 'always'],
+ ['conditionKey' => 'oos:IsOOSAssumeRole'],
+ ['conditionKey' => 'oos:TLSVersion'],
+ ],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'OOS', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A5320F1D-92D9-44BB-A416-5FC525ED6D57\\",\\n \\"ExecutionId\\": \\"exec-xxx\\"\\n}","type":"json"}]',
+ ],
+ 'StartExecution' => [
+ 'summary' => 'Starts an execution.',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'read',
+ 'operationType' => 'write',
+ 'deprecated' => false,
'systemTags' => [
- 'operationType' => 'get',
- 'abilityTreeCode' => '93988',
- 'abilityTreeNodes' => [
- 'FEATUREoosB33AG0',
- ],
+ 'operationType' => 'update',
+ 'riskType' => 'high',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '93998',
+ 'abilityTreeNodes' => ['FEATUREoosC47MF8', 'FEATUREoosQL14T7'],
],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The ID of the region.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => 'The ID of the region.', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''],
],
[
- 'name' => 'ResourceIds',
+ 'name' => 'TemplateName',
'in' => 'query',
- 'style' => 'json',
- 'schema' => [
- 'description' => 'The IDs of resources. The number of resource IDs ranges from 1 to 50.'."\n",
- 'type' => 'object',
- 'required' => false,
- 'example' => '["templateNam1","templateName2"]',
- ],
+ 'schema' => ['description' => 'The name of the template. The name can contain letters, digits, hyphens (-), and underscores (\\_). The name can be up to 200 characters in length.', 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => 'vmeixme', 'title' => ''],
],
[
- 'name' => 'ResourceType',
+ 'name' => 'TemplateVersion',
'in' => 'query',
- 'schema' => [
- 'description' => 'The type of the resource. Valid values: template execution'."\n",
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'template',
- ],
+ 'schema' => ['description' => 'The version number of the template. If you do not specify this parameter, the latest version is used.', 'type' => 'string', 'required' => false, 'example' => 'v1', 'title' => ''],
+ ],
+ [
+ 'name' => 'Mode',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The execution mode. Valid values:'."\n"
+ ."\n"
+ .'- Automatic (default): The execution is automatically run.'."\n"
+ ."\n"
+ .'- FailurePause: The execution is paused if a task fails.'."\n"
+ ."\n"
+ .'- Debug: The execution is run in single-step mode.', 'type' => 'string', 'required' => false, 'example' => 'Automatic', 'title' => ''],
+ ],
+ [
+ 'name' => 'LoopMode',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The loop mode. Valid values:'."\n"
+ ."\n"
+ .'- Automatic (default): The execution is not paused.'."\n"
+ ."\n"
+ .'- FirstBatchPause: The execution is paused after the first batch of tasks is completed.'."\n"
+ ."\n"
+ .'- EveryBatchPause: The execution is paused after each batch of tasks is completed.', 'type' => 'string', 'required' => false, 'example' => 'Automatic', 'title' => ''],
+ ],
+ [
+ 'name' => 'ParentExecutionId',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The ID of the parent execution.', 'type' => 'string', 'deprecated' => true, 'required' => false, 'example' => 'exec-xxx', 'title' => ''],
+ ],
+ [
+ 'name' => 'SafetyCheck',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The security check mode. Valid values:'."\n"
+ ."\n"
+ .'- Skip (default): This option indicates that you are aware of the risks. The system performs all actions without asking for confirmation, regardless of the risk level. This mode is valid only when Mode is set to `Automatic`.'."\n"
+ ."\n"
+ .'- **ConfirmEveryHighRiskAction**: This option requires you to confirm every high-risk action. You can call the NotifyExecution operation to confirm or cancel an action.', 'type' => 'string', 'required' => false, 'example' => 'Skip', 'title' => ''],
+ ],
+ [
+ 'name' => 'Parameters',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The JSON string that consists of a collection of parameters. The default value is {}.', 'type' => 'string', 'required' => false, 'example' => '{"Status":"Running"}', 'title' => ''],
+ ],
+ [
+ 'name' => 'ClientToken',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The client token that is used to ensure the idempotency of the request.', 'type' => 'string', 'required' => false, 'example' => '123e56767-e89b-12d3-a456-426655440000', 'title' => ''],
],
[
'name' => 'Tags',
'in' => 'query',
'style' => 'json',
- 'schema' => [
- 'description' => 'The tag keys and values. The number of key-value pairs ranges from 1 to 20.'."\n",
- 'type' => 'object',
- 'required' => false,
- 'example' => '{"k1":"v2","k2":"v2"}',
- ],
+ 'schema' => ['description' => 'The tags to add to the execution.', 'type' => 'object', 'required' => false, 'example' => '{'."\n"
+ .' "k1": "v1",'."\n"
+ .' "k2": "v2"'."\n"
+ .'}', 'title' => ''],
],
[
- 'name' => 'NextToken',
+ 'name' => 'Description',
'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.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'docRequired' => false,
- 'example' => 'MTRBMDc0NjAtRUJFNy00N0NBLTk3NTctMTJDQzQ',
- ],
+ 'schema' => ['description' => 'The description of the execution.', 'type' => 'string', 'required' => false, 'example' => 'test execution.', 'title' => ''],
+ ],
+ [
+ 'name' => 'TemplateContent',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The content of the template, which must be in the JSON or YAML format. This parameter is the same as the Content request parameter of the CreateTemplate operation. You can specify this parameter to run the tasks in the template content without the need to create a template. You do not need to specify this parameter if you use an existing template to create an execution.', 'type' => 'string', 'required' => false, 'example' => '{ "Description": "Example template, describe instances in some status", "FormatVersion": "OOS-2019-06-01", "Parameters": {}, "Tasks": [ { "Name": "describeInstances", "Action": "ACS::ExecuteAPI", "Description": "desc-en", "Properties": { "Service": "ECS", "API": "DescribeInstances", "Parameters": { "Status": "Running" } } } ] }', 'title' => ''],
+ ],
+ [
+ 'name' => 'ResourceGroupId',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The ID of the resource group.', 'type' => 'string', 'required' => false, 'example' => 'rg-acfmxsn4m4******', 'title' => ''],
+ ],
+ [
+ 'name' => 'TemplateURL',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The URL of the Object Storage Service (OSS) object that stores the OOS template content. The URL must be a public-read URL. You can specify this parameter to run the tasks in the template content that is stored in the OSS object without the need to create a template. You do not need to specify this parameter if you use an existing template to create an execution.', 'type' => 'string', 'required' => false, 'example' => 'http://oos-template.cn-hangzhou.oss.aliyun-inc.com/oos-test-template.json', 'title' => ''],
],
],
'responses' => [
@@ -14208,71 +10649,95 @@
'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. If the return value of the NextToken parameter is empty, the next page does not exist.'."\n",
- 'type' => 'string',
- 'example' => 'MTRBMDc0NjAtRUJFNy00N0NBLTk3NTctMTJDQzQ',
- ],
- 'RequestId' => [
- 'description' => 'The ID of the request.'."\n",
- 'type' => 'string',
- 'example' => 'A5EF78C1-67FC-4E36-A6A8-7DF9C51726DF',
- ],
- 'TagResources' => [
+ 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => '14A07460-EBE7-47CA-9757-12CC4761D47A', 'title' => ''],
+ 'Execution' => [
+ 'description' => 'The data of the execution.',
'type' => 'object',
- 'itemNode' => true,
'properties' => [
- 'TagResource' => [
- 'description' => 'The set of resources and the tags that are added to the resources.'."\n",
+ 'Outputs' => ['description' => 'The outputs of the execution.', 'type' => 'string', 'example' => '{ "InstanceId":"i-xxx" }', 'title' => ''],
+ 'Status' => ['description' => 'The status of the execution.', 'type' => 'string', 'example' => 'Success', 'title' => ''],
+ 'EndDate' => ['description' => 'The time when the execution ended.', 'type' => 'string', 'example' => '2019-05-16T10:26:14Z', 'title' => ''],
+ 'ExecutedBy' => ['description' => 'The user who started the execution.', 'type' => 'string', 'example' => 'root(13092080xx12344)', 'title' => ''],
+ 'IsParent' => ['description' => 'Indicates whether the execution contains child tasks.', 'type' => 'boolean', 'example' => 'false', 'title' => ''],
+ 'Tags' => ['description' => 'The tags of the execution.', 'type' => 'object', 'example' => '{"k1":"v2","k2":"v2"}', 'title' => ''],
+ 'StartDate' => ['description' => 'The time when the execution started.', 'type' => 'string', 'example' => '2019-05-16T10:26:14Z', 'title' => ''],
+ 'SafetyCheck' => ['description' => 'The security check mode.', 'type' => 'string', 'example' => 'Skip', 'title' => ''],
+ 'Mode' => ['description' => 'The execution mode.', 'type' => 'string', 'example' => 'Automatic', 'title' => ''],
+ 'TemplateName' => ['description' => 'The name of the template.', 'type' => 'string', 'example' => 'MyTemplate', 'title' => ''],
+ 'CreateDate' => ['description' => 'The time when the execution was created.', 'type' => 'string', 'example' => '2019-05-16T10:26:14Z', 'title' => ''],
+ 'TemplateVersion' => ['description' => 'The version number of the template.', 'type' => 'string', 'example' => 'v1', 'title' => ''],
+ 'ExecutionId' => ['description' => 'The unique ID of the execution.', 'type' => 'string', 'example' => 'exec-xxxyyy', 'title' => ''],
+ 'Parameters' => ['description' => 'The input parameters of the execution.', 'type' => 'string', 'example' => '{ "Status":"Running" }', 'title' => ''],
+ 'Description' => ['description' => 'The description of the execution.', 'type' => 'string', 'example' => 'test execution.', 'title' => ''],
+ 'Counters' => ['description' => 'The number of executions.', 'type' => 'object', 'example' => '1', 'title' => ''],
+ 'UpdateDate' => ['description' => 'The time when the execution was last updated.', 'type' => 'string', 'example' => '2019-05-16T10:26:14Z', 'title' => ''],
+ 'ResourceGroupId' => ['description' => 'The ID of the resource group.', 'type' => 'string', 'example' => 'rg-acfmxsn4m4******', 'title' => ''],
+ 'ParentExecutionId' => ['description' => 'The ID of the parent execution.', 'type' => 'string', 'example' => 'exec-xxxx', 'title' => ''],
+ 'RamRole' => ['description' => 'The RAM role that is used to run the template.', 'type' => 'string', 'example' => 'OOSServiceRole', 'title' => ''],
+ 'TemplateId' => ['description' => 'The ID of the template.', 'type' => 'string', 'example' => 't-1bd341007f', 'title' => ''],
+ 'StatusMessage' => ['description' => 'The status message.', 'type' => 'string', 'example' => '""', 'title' => ''],
+ 'LoopMode' => ['description' => 'The loop mode.', 'type' => 'string', 'example' => 'Automatic', 'title' => ''],
+ 'CurrentTasks' => [
+ 'description' => 'The tasks that are running.',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'ResourceType' => [
- 'description' => 'The type of the resource.'."\n",
- 'type' => 'string',
- 'example' => 'template',
- ],
- 'TagValue' => [
- 'description' => 'The tag value.'."\n",
- 'type' => 'string',
- 'example' => 'v1',
- ],
- 'ResourceId' => [
- 'description' => 'The ID of the resource.'."\n",
- 'type' => 'string',
- 'example' => 'TagTest2',
- ],
- 'TagKey' => [
- 'description' => 'The tag key.'."\n",
- 'type' => 'string',
- 'example' => 'k1',
- ],
+ 'TaskExecutionId' => ['description' => 'The ID of the task execution.', 'type' => 'string', 'example' => 'exec-dsadasdawq', 'title' => ''],
+ 'TaskName' => ['description' => 'The name of the task.', 'type' => 'string', 'example' => 'testTask', 'title' => ''],
+ 'TaskAction' => ['description' => 'The action of the task.', 'type' => 'string', 'example' => 'ACS::TimerTrigger', 'title' => ''],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
+ 'title' => '',
+ 'example' => '',
],
],
+ 'title' => '',
+ 'example' => '',
],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"NextToken\\": \\"MTRBMDc0NjAtRUJFNy00N0NBLTk3NTctMTJDQzQ\\",\\n \\"RequestId\\": \\"A5EF78C1-67FC-4E36-A6A8-7DF9C51726DF\\",\\n \\"TagResources\\": {\\n \\"TagResource\\": [\\n {\\n \\"ResourceType\\": \\"template\\",\\n \\"TagValue\\": \\"v1\\",\\n \\"ResourceId\\": \\"TagTest2\\",\\n \\"TagKey\\": \\"k1\\"\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<ListTagResourcesResponse> \\n<TagResources>\\n <TagResource>\\n <ResourceType>template</ResourceType>\\n <TagValue>v1</TagValue>\\n <ResourceId>TagTest2</ResourceId>\\n <TagKey>k1</TagKey>\\n </TagResource>\\n <TagResource>\\n <ResourceType>template</ResourceType>\\n <TagValue>v1</TagValue>\\n <ResourceId>TagTest3</ResourceId>\\n <TagKey>k1</TagKey>\\n </TagResource>\\n <TagResource>\\n <ResourceType>template</ResourceType>\\n <TagValue>v1</TagValue>\\n <ResourceId>TagTest4</ResourceId>\\n <TagKey>k1</TagKey>\\n </TagResource>\\n <TagResource>\\n <ResourceType>template</ResourceType>\\n <TagValue>v1</TagValue>\\n <ResourceId>TagTest5</ResourceId>\\n <TagKey>k1</TagKey>\\n </TagResource>\\n</TagResources>\\n<NextToken/>\\n<RequestId>A5EF78C1-67FC-4E36-A6A8-7DF9C51726DF</RequestId>\\n</ListTagResourcesResponse> ","errorExample":""}]',
- 'title' => 'ListTagResources',
+ 'title' => 'StartExecution',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'UntagResources' => [
- 'summary' => 'Removes tags from one or more resources.',
- 'methods' => [
- 'post',
- 'get',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'StartExecution'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'oos:StartExecution',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [
+ ['conditionKey' => 'oos:tag', 'validationType' => 'always'],
+ ['conditionKey' => 'oos:IsOOSAssumeRole'],
+ ['conditionKey' => 'oos:TLSVersion'],
+ ],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'OOS', 'resourceType' => 'Execution', 'arn' => 'acs:oos:{#regionId}:{#accountId}:execution/*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"14A07460-EBE7-47CA-9757-12CC4761D47A\\",\\n \\"Execution\\": {\\n \\"Outputs\\": \\"{ \\\\\\"InstanceId\\\\\\":\\\\\\"i-xxx\\\\\\" }\\",\\n \\"Status\\": \\"Success\\",\\n \\"EndDate\\": \\"2019-05-16T10:26:14Z\\",\\n \\"ExecutedBy\\": \\"root(13092080xx12344)\\",\\n \\"IsParent\\": false,\\n \\"Tags\\": {\\n \\"k1\\": \\"v2\\",\\n \\"k2\\": \\"v2\\"\\n },\\n \\"StartDate\\": \\"2019-05-16T10:26:14Z\\",\\n \\"SafetyCheck\\": \\"Skip\\",\\n \\"Mode\\": \\"Automatic\\",\\n \\"TemplateName\\": \\"MyTemplate\\",\\n \\"CreateDate\\": \\"2019-05-16T10:26:14Z\\",\\n \\"TemplateVersion\\": \\"v1\\",\\n \\"ExecutionId\\": \\"exec-xxxyyy\\",\\n \\"Parameters\\": \\"{ \\\\\\"Status\\\\\\":\\\\\\"Running\\\\\\" }\\",\\n \\"Description\\": \\"test execution.\\",\\n \\"Counters\\": 1,\\n \\"UpdateDate\\": \\"2019-05-16T10:26:14Z\\",\\n \\"ResourceGroupId\\": \\"rg-acfmxsn4m4******\\",\\n \\"ParentExecutionId\\": \\"exec-xxxx\\",\\n \\"RamRole\\": \\"OOSServiceRole\\",\\n \\"TemplateId\\": \\"t-1bd341007f\\",\\n \\"StatusMessage\\": \\"\\\\\\"\\\\\\"\\",\\n \\"LoopMode\\": \\"Automatic\\",\\n \\"CurrentTasks\\": [\\n {\\n \\"TaskExecutionId\\": \\"exec-dsadasdawq\\",\\n \\"TaskName\\": \\"testTask\\",\\n \\"TaskAction\\": \\"ACS::TimerTrigger\\"\\n }\\n ]\\n }\\n}","type":"json"}]',
+ ],
+ 'TagResources' => [
+ 'summary' => 'Adds tags to one or more resources.',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -14281,78 +10746,43 @@
'operationType' => 'write',
'systemTags' => [
'operationType' => 'update',
- 'abilityTreeCode' => '94001',
- 'abilityTreeNodes' => [
- 'FEATUREoosCPYH5Z',
- ],
+ 'abilityTreeCode' => '93999',
+ 'abilityTreeNodes' => ['FEATUREoosCPYH5Z'],
],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The region ID.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => 'The region ID.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cn-hangzhou', 'title' => ''],
],
[
'name' => 'ResourceIds',
'in' => 'query',
'style' => 'json',
- 'schema' => [
- 'description' => 'The IDs of the resources for which you want to modify the resource group. The number of resource IDs is 1 to 50.'."\n"
- ."\n"
- .'* If you set ResourceType to template, specify ResourceIds in the \\["TemplateName1","TemplateName2"] format.'."\n"
- .'* If you set ResourceType to parameter, specify ResourceIds in the \\["Name1","Name2"] format.'."\n"
- .'* If you set ResourceType to secretparameter, specify ResourceIds in the \\["Name1","Name2"] format.'."\n"
- .'* If you set ResourceType to stateconfiguration, specify ResourceIds in the \\["StateConfigurationId 1","StateConfigurationId 2"] format.'."\n"
- .'* If you set ResourceType to application, specify ResourceIds in the \\["Name1","Name2"] format.'."\n",
- 'type' => 'object',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '["templateName1","templateName2"]',
- ],
+ 'schema' => ['description' => 'The IDs of the resources for which you want to modify the resource group. The number of resource IDs is 1 to 50.'."\n"
+ ."\n"
+ .'* If you set ResourceType to template, specify ResourceIds in the \\["TemplateName1","TemplateName2"] format.'."\n"
+ .'* If you set ResourceType to parameter, specify ResourceIds in the \\["Name1","Name2"] format.'."\n"
+ .'* If you set ResourceType to secretparameter, specify ResourceIds in the \\["Name1","Name2"] format.'."\n"
+ .'* If you set ResourceType to stateconfiguration, specify ResourceIds in the \\["StateConfigurationId 1","StateConfigurationId 2"] format.'."\n"
+ .'* If you set ResourceType to application, specify ResourceIds in the \\["Name1","Name2"] format.'."\n", 'type' => 'object', 'required' => true, 'docRequired' => true, 'example' => '["templateName1","templateName2"]', 'title' => ''],
],
[
'name' => 'ResourceType',
'in' => 'query',
- 'schema' => [
- 'description' => 'The type of the resource for which you want to modify the resource group. Valid values:'."\n"
- ."\n"
- .'* template: template.'."\n"
- .'* parameter: parameter.'."\n"
- .'* secretparameter: encryption parameter.'."\n"
- .'* stateconfiguration: desired-state configuration.'."\n"
- .'* application: application.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'template',
- ],
+ 'schema' => ['description' => 'The type of the resource for which you want to modify the resource group. Valid values:'."\n"
+ ."\n"
+ .'* template: template.'."\n"
+ .'* parameter: parameter.'."\n"
+ .'* secretparameter: encryption parameter.'."\n"
+ .'* stateconfiguration: desired-state configuration.'."\n"
+ .'* application: application.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'template', 'title' => ''],
],
[
- 'name' => 'TagKeys',
+ 'name' => 'Tags',
'in' => 'query',
'style' => 'json',
- 'schema' => [
- 'description' => 'The tag keys. The number of keys ranges from 1 to 20.'."\n",
- 'type' => 'object',
- 'required' => false,
- 'example' => '["k1","k2"]',
- ],
- ],
- [
- 'name' => 'All',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'Specifies whether to remove all tags. This parameter takes effect only if TagKeys is left empty. Valid values: true and false. Default value: false. TagKeys is required if this parameter is set to false.'."\n",
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'false',
- ],
+ 'schema' => ['description' => 'The tag keys and values. The number of key-value pairs ranges from 1 to 20.'."\n", 'type' => 'object', 'required' => true, 'docRequired' => true, 'example' => '{"k1":"v1","k2":"v2"}', 'title' => ''],
],
],
'responses' => [
@@ -14360,103 +10790,88 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => 'The request ID.'."\n",
- 'type' => 'string',
- 'example' => '491DF8C2-34C9-4679-9DB3-4C0F49B129AC',
- ],
+ 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => 'B19AE203-FD99-49C7-9253-FAAACAD46F4A', 'title' => ''],
],
'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"491DF8C2-34C9-4679-9DB3-4C0F49B129AC\\"\\n}","errorExample":""},{"type":"xml","example":"<UntagResourcesResponse> \\n<RequestId>491DF8C2-34C9-4679-9DB3-4C0F49B129AC</RequestId>\\n</UntagResourcesResponse>\\n","errorExample":""}]',
- 'title' => 'UntagResources',
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"B19AE203-FD99-49C7-9253-FAAACAD46F4A\\"\\n}","errorExample":""},{"type":"xml","example":"<TagResourcesResponse> \\n<RequestId>B19AE203-FD99-49C7-9253-FAAACAD46F4A</RequestId>\\n</TagResourcesResponse> \\n","errorExample":""}]',
+ 'title' => 'TagResources',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'TagResources' => [
- 'summary' => 'Adds tags to one or more resources.',
- 'methods' => [
- 'post',
- 'get',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'TagResources'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'oos:TagResources',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [
+ ['conditionKey' => 'oos:tag', 'validationType' => 'always'],
+ ['conditionKey' => 'oos:TLSVersion'],
+ ],
+ 'resources' => [
+ ['validationType' => 'conditional', 'product' => 'OOS', 'resourceType' => 'execution', 'arn' => 'acs:oos:{#regionId}:{#accountId}:execution/{#executionId}'],
+ ['validationType' => 'conditional', 'product' => 'OOS', 'resourceType' => 'template', 'arn' => 'acs:oos:{#regionId}:{#accountId}:template/{#templateName}'],
+ ],
+ ],
+ ],
],
+ ],
+ 'TriggerExecution' => [
+ 'summary' => 'Debugs a started execution that contains an event trigger task or alert trigger task. If the operation is called, a message body is sent to the event trigger task or alert trigger task. After the trigger task receives the message body, the trigger task generates a new child execution.',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'write',
+ 'deprecated' => false,
'systemTags' => [
'operationType' => 'update',
- 'abilityTreeCode' => '93999',
- 'abilityTreeNodes' => [
- 'FEATUREoosCPYH5Z',
- ],
+ 'abilityTreeCode' => '94000',
+ 'abilityTreeNodes' => ['FEATUREoosVE5I9N'],
],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The region ID.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => 'The region ID.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cn-hangzhou', 'title' => ''],
],
[
- 'name' => 'ResourceIds',
+ 'name' => 'ExecutionId',
'in' => 'query',
- 'style' => 'json',
- 'schema' => [
- 'description' => 'The IDs of the resources for which you want to modify the resource group. The number of resource IDs is 1 to 50.'."\n"
- ."\n"
- .'* If you set ResourceType to template, specify ResourceIds in the \\["TemplateName1","TemplateName2"] format.'."\n"
- .'* If you set ResourceType to parameter, specify ResourceIds in the \\["Name1","Name2"] format.'."\n"
- .'* If you set ResourceType to secretparameter, specify ResourceIds in the \\["Name1","Name2"] format.'."\n"
- .'* If you set ResourceType to stateconfiguration, specify ResourceIds in the \\["StateConfigurationId 1","StateConfigurationId 2"] format.'."\n"
- .'* If you set ResourceType to application, specify ResourceIds in the \\["Name1","Name2"] format.'."\n",
- 'type' => 'object',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '["templateName1","templateName2"]',
- ],
+ 'schema' => ['description' => 'The ID of the event-, alert-, or timer-triggered execution.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'exec-sadw3f23rsad', 'title' => ''],
],
[
- 'name' => 'ResourceType',
+ 'name' => 'Type',
'in' => 'query',
- 'schema' => [
- 'description' => 'The type of the resource for which you want to modify the resource group. Valid values:'."\n"
- ."\n"
- .'* template: template.'."\n"
- .'* parameter: parameter.'."\n"
- .'* secretparameter: encryption parameter.'."\n"
- .'* stateconfiguration: desired-state configuration.'."\n"
- .'* application: application.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'template',
- ],
+ 'schema' => ['description' => 'The type of the trigger. Valid values:'."\n"
+ ."\n"
+ .'* Event'."\n"
+ .'* Alarm'."\n"
+ .'* Timer'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'Event', 'title' => ''],
],
[
- 'name' => 'Tags',
+ 'name' => 'Content',
'in' => 'query',
- 'style' => 'json',
- 'schema' => [
- 'description' => 'The tag keys and values. The number of key-value pairs ranges from 1 to 20.'."\n",
- 'type' => 'object',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '{"k1":"v1","k2":"v2"}',
- ],
+ 'schema' => ['description' => 'The message body to be sent to the trigger task.'."\n", 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => '{"eventTime": "20181226T220114.058+0800", "id": "9435EAD6-3CF6-4494-8F7A-3A********77","level": "INFO","name": "Instance:StateChange","product": "ECS","regionId":"cn-hangzhou","resourceId": "acs:ecs:cn-hangzhou:169070********30:instance/i-bp1ecr********5go2go","userId": "169070********30","ver": "1.0","content": {"resourceId": "i-bp1ecr********5go2go", "resourceType": "ALIYUN::ECS::Instance","state": "Stopping"} }', 'title' => ''],
+ ],
+ [
+ 'name' => 'ClientToken',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The client token that is used to ensure the idempotence of the request.'."\n", 'type' => 'string', 'required' => false, 'example' => 'dswe2-3i0-029', 'title' => ''],
],
],
'responses' => [
@@ -14464,101 +10879,95 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => 'The request ID.'."\n",
- 'type' => 'string',
- 'example' => 'B19AE203-FD99-49C7-9253-FAAACAD46F4A',
- ],
+ 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '14A07460-EBE7-47CA-9757-12CC4761D47A', 'title' => ''],
],
'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"B19AE203-FD99-49C7-9253-FAAACAD46F4A\\"\\n}","errorExample":""},{"type":"xml","example":"<TagResourcesResponse> \\n<RequestId>B19AE203-FD99-49C7-9253-FAAACAD46F4A</RequestId>\\n</TagResourcesResponse> \\n","errorExample":""}]',
- 'title' => 'TagResources',
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"14A07460-EBE7-47CA-9757-12CC4761D47A\\"\\n}","errorExample":""},{"type":"xml","example":"<TriggerExecutionResponse>\\n <RequestId>14A07460-EBE7-47CA-9757-12CC4761D47A</RequestId>\\n</TriggerExecutionResponse>","errorExample":""}]',
+ 'title' => 'TriggerExecution',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'ChangeResourceGroup' => [
- 'summary' => 'Modifies the resource group to which a cloud resource belongs.',
- 'methods' => [
- 'post',
- 'get',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'TriggerExecution'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'oos:TriggerExecution',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [
+ ['conditionKey' => 'oos:TLSVersion'],
+ ],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'OOS', 'resourceType' => 'execution', 'arn' => 'acs:oos:{#regionId}:{#accountId}:execution/{#executionId}'],
+ ],
+ ],
+ ],
],
+ ],
+ 'UntagResources' => [
+ 'summary' => 'Removes tags from one or more resources.',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'readAndWrite',
- 'deprecated' => false,
+ 'operationType' => 'write',
'systemTags' => [
'operationType' => 'update',
- 'abilityTreeCode' => '93938',
- 'abilityTreeNodes' => [
- 'FEATUREoosCPYH5Z',
- ],
+ 'abilityTreeCode' => '94001',
+ 'abilityTreeNodes' => ['FEATUREoosCPYH5Z'],
],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The ID of the region.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => 'The region ID.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cn-hangzhou', 'title' => ''],
],
[
- 'name' => 'ResourceId',
+ 'name' => 'ResourceIds',
'in' => 'query',
- 'schema' => [
- 'description' => 'The ID of the cloud resource that you want to move to another resource group.'."\n"
- ."\n"
- .'* If the ResourceType parameter is set to template, set the ResourceId parameter to the name of the template.'."\n"
- .'* If the ResourceType parameter is set to parameter, set the ResourceId parameter to the name of the parameter.'."\n"
- .'* If the ResourceType parameter is set to secretparameter, set the ResourceId parameter to the name of the encryption parameter.'."\n"
- .'* If the ResourceType parameter is set to stateconfiguration, set the ResourceId parameter to the ID of the desired-state configuration.'."\n"
- .'* If the ResourceType parameter is set to application, set the ResourceId parameter to the name of the application.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'TemplateName',
- ],
+ 'style' => 'json',
+ 'schema' => ['description' => 'The IDs of the resources for which you want to modify the resource group. The number of resource IDs is 1 to 50.'."\n"
+ ."\n"
+ .'* If you set ResourceType to template, specify ResourceIds in the \\["TemplateName1","TemplateName2"] format.'."\n"
+ .'* If you set ResourceType to parameter, specify ResourceIds in the \\["Name1","Name2"] format.'."\n"
+ .'* If you set ResourceType to secretparameter, specify ResourceIds in the \\["Name1","Name2"] format.'."\n"
+ .'* If you set ResourceType to stateconfiguration, specify ResourceIds in the \\["StateConfigurationId 1","StateConfigurationId 2"] format.'."\n"
+ .'* If you set ResourceType to application, specify ResourceIds in the \\["Name1","Name2"] format.'."\n", 'type' => 'object', 'required' => true, 'docRequired' => true, 'example' => '["templateName1","templateName2"]', 'title' => ''],
],
[
- 'name' => 'NewResourceGroupId',
+ 'name' => 'ResourceType',
'in' => 'query',
- 'schema' => [
- 'description' => 'The ID of the resource group to which the cloud resource is to be moved. You can use resource groups to manage resources owned by your Alibaba Cloud account. Resource groups simplify the resource and permission management of your Alibaba Cloud account. For more information, see [What is Resource Management?](~~94475~~)'."\n",
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'rg-acfm3peow3k****',
- ],
+ 'schema' => ['description' => 'The type of the resource for which you want to modify the resource group. Valid values:'."\n"
+ ."\n"
+ .'* template: template.'."\n"
+ .'* parameter: parameter.'."\n"
+ .'* secretparameter: encryption parameter.'."\n"
+ .'* stateconfiguration: desired-state configuration.'."\n"
+ .'* application: application.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'template', 'title' => ''],
],
[
- 'name' => 'ResourceType',
+ 'name' => 'TagKeys',
'in' => 'query',
- 'schema' => [
- 'description' => 'The type of the cloud resource. Valid values:'."\n"
- ."\n"
- .'* template: template'."\n"
- .'* parameter: parameter'."\n"
- .'* secretparameter: encryption parameter'."\n"
- .'* stateconfiguration: desired-state configuration'."\n"
- .'* application: application'."\n",
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'template',
- ],
+ 'style' => 'json',
+ 'schema' => ['description' => 'The tag keys. The number of keys ranges from 1 to 20.'."\n", 'type' => 'object', 'required' => false, 'example' => '["k1","k2"]', 'title' => ''],
+ ],
+ [
+ 'name' => 'All',
+ 'in' => 'query',
+ 'schema' => ['description' => 'Specifies whether to remove all tags. This parameter takes effect only if TagKeys is left empty. Valid values: true and false. Default value: false. TagKeys is required if this parameter is set to false.'."\n", 'type' => 'boolean', 'required' => false, 'example' => 'false', 'title' => ''],
],
],
'responses' => [
@@ -14566,561 +10975,461 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => 'The ID of the request.'."\n",
- 'type' => 'string',
- 'example' => '0620E49F-B884-5F98-A834-69D72922E5CF',
- ],
+ 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '491DF8C2-34C9-4679-9DB3-4C0F49B129AC', 'title' => ''],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"0620E49F-B884-5F98-A834-69D72922E5CF\\"\\n}","errorExample":""},{"type":"xml","example":"<ChangeResourceGroupResponse>\\n <RequestId>0620E49F-B884-5F98-A834-69D72922E5CF</RequestId>\\n</ChangeResourceGroupResponse>","errorExample":""}]',
- 'title' => 'ChangeResourceGroup',
- ],
- 'UpdateInstancePackageState' => [
- 'summary' => 'Updates the installed extensions of an instance.',
- 'methods' => [
- 'post',
- 'get',
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"491DF8C2-34C9-4679-9DB3-4C0F49B129AC\\"\\n}","errorExample":""},{"type":"xml","example":"<UntagResourcesResponse> \\n<RequestId>491DF8C2-34C9-4679-9DB3-4C0F49B129AC</RequestId>\\n</UntagResourcesResponse>\\n","errorExample":""}]',
+ 'title' => 'UntagResources',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ 'changeSet' => [],
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'oos:UntagResources',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [
+ ['conditionKey' => 'oos:tag', 'validationType' => 'always'],
+ ['conditionKey' => 'oos:TLSVersion'],
+ ],
+ 'resources' => [
+ ['validationType' => 'conditional', 'product' => 'OOS', 'resourceType' => 'execution', 'arn' => 'acs:oos:{#regionId}:{#accountId}:execution/{#executionId}'],
+ ['validationType' => 'conditional', 'product' => 'OOS', 'resourceType' => 'template', 'arn' => 'acs:oos:{#regionId}:{#accountId}:template/{#templateName}'],
+ ],
+ ],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UntagResources'],
+ ],
],
+ ],
+ 'UpdateApplication' => [
+ 'summary' => 'Updates an application. You can call this operation only for the applications that reside in the China (Hangzhou) region. Use an endpoint of the China (Hangzhou) region.',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'write',
+ 'deprecated' => false,
'systemTags' => [
'operationType' => 'update',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeCode' => '201403',
- 'abilityTreeNodes' => [
- 'FEATUREoos3MYE7B',
- ],
+ 'abilityTreeCode' => '100765',
+ 'abilityTreeNodes' => ['FEATUREoosUN7HBV'],
+ 'autoTest' => true,
+ 'tenantRelevance' => 'publicInformation',
],
'parameters' => [
[
- 'name' => 'TemplateName',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The name of the template.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'ACS-ECS-InventoryDataCollection',
- ],
- ],
- [
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The region ID.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => 'The region ID. Set the value to cn-hangzhou.'."\n", 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''],
],
[
- 'name' => 'InstanceId',
+ 'name' => 'Name',
'in' => 'query',
- 'schema' => [
- 'description' => 'The ID of the Elastic Compute Service (ECS) instance.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'example' => 'i-bp1jaxa2bs4bps7*****',
- ],
+ 'schema' => ['description' => 'The application name.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'My-Application', 'title' => ''],
],
[
- 'name' => 'TemplateVersion',
+ 'name' => 'Description',
'in' => 'query',
- 'schema' => [
- 'description' => 'The version of the template.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'v1',
- ],
+ 'schema' => ['description' => 'The description to be updated for the application.'."\n", 'type' => 'string', 'required' => false, 'example' => 'test application', 'title' => ''],
],
[
- 'name' => 'ConfigureAction',
+ 'name' => 'Tags',
'in' => 'query',
- 'schema' => [
- 'description' => 'The operation type.'."\n"
- ."\n"
- .'Valid values:'."\n"
- ."\n"
- .'* uninstall'."\n"
- .'* install'."\n",
- 'type' => 'string',
- 'required' => true,
- 'enumValueTitles' => [
- 'uninstall' => 'uninstall',
- 'install' => 'install',
- ],
- 'example' => 'install',
- ],
+ 'style' => 'json',
+ 'schema' => ['description' => 'The tags.'."\n", 'type' => 'object', 'required' => false, 'example' => '{"k1":"v1","k2":"v2"}', 'title' => ''],
],
[
- 'name' => 'Parameters',
+ 'name' => 'AlarmConfig',
'in' => 'query',
'style' => 'json',
'schema' => [
- 'description' => 'The parameters for installing or uninstalling the extensions.'."\n",
+ 'description' => 'The configurations of application alerts.'."\n",
'type' => 'object',
+ 'properties' => [
+ 'ContactGroups' => [
+ 'description' => 'The alert contact groups.'."\n",
+ 'type' => 'array',
+ 'items' => ['description' => 'The name of the alert contact group.'."\n", 'type' => 'string', 'required' => false, 'example' => '云账号报警联系人', 'title' => ''],
+ 'required' => false,
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'TemplateIds' => [
+ 'description' => 'The alert templates.'."\n",
+ 'type' => 'array',
+ 'items' => ['description' => 'The ID of the alert template.'."\n"
+ ."\n"
+ .'For more information about how to query the IDs of alert templates, see [DescribeMetricRuleTemplateList](~~114982~~).'."\n", 'type' => 'string', 'required' => false, 'example' => 'd8d1153c517f4971a37350ba8c021c26', 'title' => ''],
+ 'required' => false,
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'HealthCheckUrl' => ['description' => 'The health check URL of the application.'."\n", 'type' => 'string', 'required' => false, 'example' => '/healthcheck/tcp50122', 'title' => ''],
+ ],
'required' => false,
- 'example' => '{"username": "xx"}',
+ 'title' => '',
+ 'example' => '',
],
],
[
- 'name' => 'ConfigurationInfo',
+ 'name' => 'DeleteAlarmRulesBeforeUpdate',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- ],
+ 'schema' => ['description' => 'Specifies whether to delete existing alert rules before applying the alert template. Default value: false.'."\n", 'type' => 'boolean', 'required' => false, 'example' => 'false', 'title' => ''],
],
],
'responses' => [
200 => [
'schema' => [
- 'title' => 'Schema of Response',
- 'description' => 'The response parameters.'."\n",
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => 'Id of the request',
- 'description' => 'The request ID.'."\n",
- 'type' => 'string',
- 'example' => '2597E94B-5346-42D1-BB58-XXXXXXXXXXX',
+ 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => 'F1F00F41-D24C-5377-831B-C97F739CE1AB', 'title' => ''],
+ 'Application' => [
+ 'description' => 'The information about the application.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'Description' => ['description' => 'The description of the application.'."\n", 'type' => 'string', 'example' => 'test application', 'title' => ''],
+ 'UpdatedDate' => ['description' => 'The time when the application was updated.'."\n", 'type' => 'string', 'example' => '2021-09-07T10:17:46Z', 'title' => ''],
+ 'ResourceGroupId' => ['description' => 'The ID of the resource group.'."\n", 'type' => 'string', 'example' => 'rg-acfmxsn4m*****', 'title' => ''],
+ 'CreatedDate' => ['description' => 'The time when the application was created.'."\n", 'type' => 'string', 'example' => '2021-09-07T09:17:46Z', 'title' => ''],
+ 'Tags' => ['description' => 'The tags.'."\n", 'type' => 'object', 'example' => '{"k1":"v1","k2":"v2"}', 'title' => ''],
+ 'Name' => ['description' => 'The application name.'."\n", 'type' => 'string', 'example' => 'My-Application', 'title' => ''],
+ ],
+ 'title' => '',
+ 'example' => '',
],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"2597E94B-5346-42D1-BB58-XXXXXXXXXXX\\"\\n}","type":"json"}]',
- 'title' => 'UpdateInstancePackageState',
- ],
- 'ListInstancePackageStates' => [
- 'summary' => 'List Instance Package States',
- 'methods' => [
- 'post',
- 'get',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"F1F00F41-D24C-5377-831B-C97F739CE1AB\\",\\n \\"Application\\": {\\n \\"Description\\": \\"test application\\",\\n \\"UpdatedDate\\": \\"2021-09-07T10:17:46Z\\",\\n \\"ResourceGroupId\\": \\"rg-acfmxsn4m*****\\",\\n \\"CreatedDate\\": \\"2021-09-07T09:17:46Z\\",\\n \\"Tags\\": {\\n \\"k1\\": \\"v1\\",\\n \\"k2\\": \\"v2\\"\\n },\\n \\"Name\\": \\"My-Application\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"<UpdateApplicationResponse>\\n <RequestId>F1F00F41-D24C-5377-831B-C97F739CE1AB</RequestId>\\n <Application>\\n <Description>test application</Description>\\n <UpdatedDate>2021-09-07T10:17:46Z</UpdatedDate>\\n <ResourceGroupId>rg-acfmxsn4m*****</ResourceGroupId>\\n <CreatedDate>2021-09-07T09:17:46Z</CreatedDate>\\n <Tags>\\n <k1>v1</k1>\\n <k2>v2</k2>\\n </Tags>\\n <Name>My-Application</Name>\\n </Application>\\n</UpdateApplicationResponse>","errorExample":""}]',
+ 'title' => 'UpdateApplication',
+ 'changeSet' => [],
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'oos:UpdateApplication',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [
+ ['conditionKey' => 'oos:TLSVersion'],
+ ],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'OOS', 'resourceType' => 'Application', 'arn' => 'acs:oos:{#regionId}:{#accountId}:application/{#ApplicationName}'],
+ ],
+ ],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateApplication'],
+ ],
],
+ ],
+ 'UpdateApplicationGroup' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'read',
+ 'operationType' => 'write',
+ 'deprecated' => false,
'systemTags' => [
- 'operationType' => 'list',
+ 'operationType' => 'update',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeCode' => '201404',
- 'abilityTreeNodes' => [
- 'FEATUREoosPUWKNA',
- ],
+ 'abilityTreeCode' => '94002',
+ 'abilityTreeNodes' => ['FEATUREoos1PL94A'],
+ 'autoTest' => true,
+ 'tenantRelevance' => 'publicInformation',
],
'parameters' => [
[
- 'name' => 'TemplateNames',
+ 'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => 'List of extension names',
- 'type' => 'string',
- 'required' => false,
- 'docRequired' => true,
- 'example' => '["template1","template2"]',
- ],
+ 'schema' => ['description' => 'The region ID. Only cn-hangzhou is supported.', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''],
],
[
- 'name' => 'RegionId',
+ 'name' => 'Name',
'in' => 'query',
- 'schema' => [
- 'description' => 'Region ID.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => 'The name of the application group.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'MyApplicationGroup', 'title' => ''],
],
[
- 'name' => 'InstanceId',
+ 'name' => 'NewName',
'in' => 'query',
- 'schema' => [
- 'description' => 'ECS instance ID',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'i-bp1cpoxxxwxxxxxxxxxx',
- ],
+ 'schema' => ['description' => 'The new name for the application group.', 'type' => 'string', 'required' => false, 'example' => 'UpdateMyApplicationGroup', 'title' => ''],
],
[
- 'name' => 'MaxResults',
+ 'name' => 'ApplicationName',
'in' => 'query',
- 'schema' => [
- 'description' => 'Page size.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '50',
- ],
+ 'schema' => ['description' => 'The name of the application.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'MyApplication', 'title' => ''],
],
[
- 'name' => 'NextToken',
+ 'name' => 'OperationName',
'in' => 'query',
- 'schema' => [
- 'description' => 'Pagination token.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'MTRBMDc0NjAtRUJFNy00N0NBLTk3NTctzxxxxxxx',
- ],
+ 'schema' => ['description' => 'The name of the upgrade or downgrade action.', 'type' => 'string', 'required' => false, 'example' => 'NetworkConfig', 'title' => ''],
+ ],
+ [
+ 'name' => 'Parameters',
+ 'in' => 'query',
+ 'style' => 'json',
+ 'schema' => ['description' => 'The parameters of the template.', 'type' => 'object', 'required' => false, 'example' => '{"Status":"Running"}', 'title' => ''],
+ ],
+ [
+ 'name' => 'DeployedRevisionId',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The ID of a deployed revision.', 'type' => 'string', 'required' => false, 'example' => 'rev-64488a5be25c4a5dbc45', 'title' => ''],
+ ],
+ [
+ 'name' => 'MonitorMetadata',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
],
],
'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' => '1306108F-610C-40FD-AAD5-XXXXXX',
- ],
- 'MaxResults' => [
- 'description' => 'Page size.',
- 'type' => 'string',
- 'example' => '50',
- ],
- 'NextToken' => [
- 'description' => 'Token string for pagination.',
- 'type' => 'string',
- 'example' => 'MTRBMDc0NjAtRUJFNy00N0NBLTk3NTctzxxxxxxx',
- ],
- 'PackageStates' => [
- 'description' => 'List of extensions',
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'TemplateId' => [
- 'description' => 'Template ID',
- 'type' => 'string',
- 'example' => '087b1e11072a40259f6fxxxxxxxxx',
- ],
- 'TemplateName' => [
- 'description' => 'Template name.',
- 'type' => 'string',
- 'example' => 'ACS-ECS-Docker',
- ],
- 'TemplateVersion' => [
- 'description' => 'Template version number',
- 'type' => 'string',
- 'example' => 'v3',
- ],
- 'TemplateVersionName' => [
- 'description' => 'Template version name',
- 'type' => 'string',
- 'example' => 'fix bug',
- ],
- 'TemplateCategory' => [
- 'description' => 'Template type',
- 'type' => 'string',
- 'example' => 'Package',
- ],
- 'UpdateTime' => [
- 'description' => 'Update time.',
- 'type' => 'string',
- 'example' => '2024-05-04T11:17:28',
- ],
- 'Description' => [
- 'description' => 'Description',
- 'type' => 'string',
- 'example' => 'template description',
- ],
- 'Publisher' => [
- 'description' => 'Publisher',
- 'type' => 'string',
- 'example' => 'Alibaba Cloud',
- ],
- 'Parameters' => [
- 'description' => 'Parameters',
- 'type' => 'string',
- 'example' => '{}',
- ],
- 'ConfigurationInfo' => [
- 'type' => 'string',
- ],
- ],
+ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'AA9FA778-AE4B-55EC-81CC-C46BAF08A166', 'title' => ''],
+ 'ApplicationGroup' => [
+ 'description' => 'The information about the application group.',
+ 'type' => 'object',
+ 'properties' => [
+ 'DeployRegionId' => ['description' => 'The deployment region ID. This is the region where the resources are located.', 'type' => 'string', 'example' => 'cn-hangzhou', 'title' => ''],
+ 'Description' => ['description' => 'The description of the application group.', 'type' => 'string', 'example' => 'ApplicationGroup', 'title' => ''],
+ 'ImportTagKey' => ['description' => 'The tag key.', 'type' => 'string', 'example' => 'k1', 'title' => ''],
+ 'UpdatedDate' => ['description' => 'The time when the application group was updated.', 'type' => 'string', 'example' => '2021-09-08T03:01:53Z', 'title' => ''],
+ 'ApplicationName' => ['description' => 'The name of the application.', 'type' => 'string', 'example' => 'MyApplication', 'title' => ''],
+ 'CreatedDate' => ['description' => 'The time when the application group was created.', 'type' => 'string', 'example' => '2021-09-07T10:28:25Z', 'title' => ''],
+ 'ImportTagValue' => ['description' => 'The tag value.', 'type' => 'string', 'example' => 'v1', 'title' => ''],
+ 'Name' => ['description' => 'The name of the application group.', 'type' => 'string', 'example' => 'UpdateMyApplicationGroup', 'title' => ''],
+ 'MonitorMetadata' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
],
+ 'title' => '',
+ 'example' => '',
],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"1306108F-610C-40FD-AAD5-XXXXXX\\",\\n \\"MaxResults\\": \\"50\\",\\n \\"NextToken\\": \\"MTRBMDc0NjAtRUJFNy00N0NBLTk3NTctzxxxxxxx\\",\\n \\"PackageStates\\": [\\n {\\n \\"TemplateId\\": \\"087b1e11072a40259f6fxxxxxxxxx\\",\\n \\"TemplateName\\": \\"ACS-ECS-Docker\\",\\n \\"TemplateVersion\\": \\"v3\\",\\n \\"TemplateVersionName\\": \\"fix bug\\",\\n \\"TemplateCategory\\": \\"Package\\",\\n \\"UpdateTime\\": \\"2024-05-04T11:17:28\\",\\n \\"Description\\": \\"template description\\",\\n \\"Publisher\\": \\"Alibaba Cloud\\",\\n \\"Parameters\\": \\"{}\\",\\n \\"ConfigurationInfo\\": \\"{\\\\\\\\\\\\\\"publicUrl\\\\\\\\\\\\\\": \\\\\\\\\\\\\\"https://47.110.64.186:8888/5eff94f8\\\\\\\\\\\\\\", \\\\\\\\\\\\\\"privateUrl\\\\\\\\\\\\\\": \\\\\\\\\\\\\\"https://172.20.160.110:8888/5eff94f8\\\\\\\\\\\\\\", \\\\\\\\\\\\\\"username\\\\\\\\\\\\\\": \\\\\\\\\\\\\\"user\\\\\\\\\\\\\\", \\\\\\\\\\\\\\"password\\\\\\\\\\\\\\": \\\\\\\\\\\\\\"baotaOSuaOHt\\\\\\\\\\\\\\"}\\\\\\\\n\\"\\n }\\n ]\\n}","type":"json"}]',
- 'title' => 'ListInstancePackageStates',
- 'translator' => 'machine',
- ],
- 'GenerateOpsItem' => [
- 'summary' => 'Generates an O\\\\\\&M item.',
- 'methods' => [
- 'post',
- 'get',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => 'UpdateApplicationGroup',
+ 'summary' => 'Updates the information of an application group. The Application Management service is available only in the China (Hangzhou) region, and you must use the endpoint of this region.',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateApplicationGroup'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'oos:UpdateApplicationGroup',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [
+ ['conditionKey' => 'oos:TLSVersion'],
+ ],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'OOS', 'resourceType' => 'ApplicationGroup', 'arn' => 'acs:oos:{#regionId}:{#AccountId}:application/{#applicationName}/applicationgroup/{#applicationGroupName}'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"AA9FA778-AE4B-55EC-81CC-C46BAF08A166\\",\\n \\"ApplicationGroup\\": {\\n \\"DeployRegionId\\": \\"cn-hangzhou\\",\\n \\"Description\\": \\"ApplicationGroup\\",\\n \\"ImportTagKey\\": \\"k1\\",\\n \\"UpdatedDate\\": \\"2021-09-08T03:01:53Z\\",\\n \\"ApplicationName\\": \\"MyApplication\\",\\n \\"CreatedDate\\": \\"2021-09-07T10:28:25Z\\",\\n \\"ImportTagValue\\": \\"v1\\",\\n \\"Name\\": \\"UpdateMyApplicationGroup\\",\\n \\"MonitorMetadata\\": \\"\\"\\n }\\n}","type":"json"}]',
+ ],
+ 'UpdateChatConfiguration' => [
+ 'summary' => 'Creates, updates, queries, and deletes chat configurations for platforms such as DingTalk.',
+ 'description' => '## Description'."\n"
+ ."\n"
+ .'This API manages chatbot settings for integrations with instant messaging tools, such as DingTalk. Operations include creating new chat configurations, updating existing ones, retrieving configuration details, and deleting configurations. This API lets you implement fine-grained permission control for different users or user groups and specify a Resource Access Management (RAM) role to execute operations. You can also add tags to each configuration for management and classification.'."\n"
+ ."\n"
+ .'When you call this API, ensure that the `RegionId`, `ConversationId`, and all parameters in the request body are correct. Handle sensitive information, such as the `ClientId` and `ClientSecret` fields, with care to prevent disclosure to unauthorized parties.',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'write',
+ 'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'create',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeCode' => '130291',
- 'abilityTreeNodes' => [
- 'FEATUREoosU53HTK',
- ],
+ 'abilityTreeNodes' => ['FEATUREoosQL14T7'],
+ 'autoTest' => true,
+ 'tenantRelevance' => 'publicInformation',
],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The region ID.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => 'The region ID.', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''],
],
[
- 'name' => 'Data',
+ 'name' => 'Name',
'in' => 'query',
- 'schema' => [
- 'description' => 'The source system data.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'example' => '/aliyun/ecs',
- ],
+ 'schema' => ['description' => 'The name of the chat configuration.', 'type' => 'string', 'required' => false, 'example' => 'Ginlong-AIops', 'title' => ''],
],
[
- 'name' => 'DataSource',
+ 'name' => 'Type',
'in' => 'query',
'schema' => [
- 'description' => 'The data source system.'."\n",
+ 'description' => 'The type of the chat platform. Valid values:'."\n"
+ ."\n"
+ .'- WeChat'."\n"
+ ."\n"
+ .'- DingTalk',
'type' => 'string',
+ 'enum' => ['WeChat', 'DingTalk'],
'required' => false,
- 'example' => '/aliyun/eventbridge/event',
+ 'example' => 'DingTalk',
+ 'title' => '',
],
],
[
- 'name' => 'ConfigurationId',
+ 'name' => 'RamRole',
'in' => 'query',
- 'schema' => [
- 'description' => 'The configuration ID of the O\\&M item.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'oic-ae4f******2c682e3',
- ],
+ 'schema' => ['description' => 'The name of the RAM role.', 'type' => 'string', 'required' => false, 'example' => 'AliyunOOSLifecycleHook4CSRole', 'title' => ''],
],
[
- 'name' => 'ClientToken',
+ 'name' => 'Configuration',
'in' => 'query',
- 'schema' => [
- 'description' => 'The token that is used to ensure the idempotency.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => '123e4567-e89b-12d3-a456-42665544****',
- ],
+ 'schema' => ['description' => 'The specific parameters for the chat configuration, typically in JSON format.', 'type' => 'string', 'required' => false, 'example' => '("DingTalkTemplateId": "template-123", "DingTalkClientId": "client-123", "DingTalkClientSecret": "secret-123"}', 'title' => ''],
+ ],
+ [
+ 'name' => 'ResourceGroupId',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The ID of the resource group.', 'type' => 'string', 'required' => false, 'example' => 'rg-2cd3****9dc2', 'title' => ''],
],
],
'responses' => [
200 => [
+ 'description' => '成功响应',
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => 'The ID of the request.'."\n",
- 'type' => 'string',
- 'example' => 'DA4F08D4-DA54-5407-84B9-108C71D75B17',
- ],
- 'OpsItemIds' => [
- 'description' => 'The O\\&M item list.'."\n",
- 'type' => 'array',
- 'items' => [
- 'description' => 'The O\\&M item.'."\n",
- 'type' => 'string',
- 'example' => '{'."\n"
- .' \'OpsItemId\': \'oi-4423b****1f477fb862\','."\n"
- .' \'CreateDate\': \'2024-12-25T07:15:09Z\','."\n"
- .' \'UpdateDate\': \'2024-12-25T07:15:09Z\','."\n"
- .' \'Title\': \'ECS instance i-wz****bmem8 cpu usage has exceeded limit\','."\n"
- .' \'Status\': \'Open\','."\n"
- .' \'Severity\': \'Critical\','."\n"
- .' \'Category\': \'Availability\','."\n"
- .' \'Source\': \'/aliyun/ecs\','."\n"
- .' \'Priority\': 1,'."\n"
- .' \'Tags\': {},'."\n"
- .' \'ResourceGroupId\': \'sg-xxx\','."\n"
- .' \'Solutions\': [{'."\n"
- .' \'priority\': 1,'."\n"
- .' \'type\': \'oosTemplate\','."\n"
- .' \'templateName\': \'ACS-ECS-BulkyRestartInstances\','."\n"
- .' \'parameters\': {'."\n"
- .' \'regionId\': \'cn-hangzhou\','."\n"
- .' \'targets\': {'."\n"
- .' \'Type\': \'ResourceIds\','."\n"
- .' \'ResourceIds\': [\'i-wz****bmem8\'],'."\n"
- .' \'RegionId\': \'cn-hangzhou\''."\n"
- .' }'."\n"
- .' },'."\n"
- .' \'description\': \'立即重新启动ECS实例\''."\n"
- .' }],'."\n"
- .' \'Resources\': [\'acs:ecs:cn-hangzhou:13****371:instance/i-wz****bmem8\'],'."\n"
- .' \'Attributes\': {'."\n"
- .' \'config_id\': \'oic-019****c4684ba42\','."\n"
- .' \'rule_name\': \'ecs_instance_cpu_exceed_90_ut2_cn-hangzhou\''."\n"
- .' },'."\n"
- .' \'CreatedBy\': \'customer:13****371:root\','."\n"
- .' \'LastModifiedBy\': \'customer:13****371:root\','."\n"
- .' \'Description\': \'ECS instance i-wz****bmem8 has high cpu usage, check your service status\''."\n"
- .'}',
+ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => '4DB0****1234'],
+ 'ChatConfiguration' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Name' => ['description' => 'The configuration name.', 'type' => 'string', 'example' => 'dingtalk', 'title' => ''],
+ 'CreatedDate' => ['description' => 'The time when the configuration was created. The format is ISO 8601.', 'type' => 'string', 'example' => '2025-12-23T10:14:28+00:00', 'title' => ''],
+ 'UpdatedDate' => ['description' => 'The time when the configuration was last updated. The format is ISO 8601.', 'type' => 'string', 'example' => '2025-12-23T10:16:37.178097', 'title' => ''],
],
+ 'description' => 'The chat configuration information, including the configuration name, creation time, and update time.',
+ 'example' => '{"Name": "dingtalk", "CreatedDate": "2025-12-23T10:14:28+00:00", "UpdatedDate": "2025-12-23T10:16:37.178097"}',
+ 'title' => '',
],
],
- 'description' => '',
+ 'title' => '',
+ 'description' => 'The details of the successful response.',
+ 'example' => '',
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"DA4F08D4-DA54-5407-84B9-108C71D75B17\\",\\n \\"OpsItemIds\\": [\\n \\"{\\\\n\\\\t\'OpsItemId\': \'oi-4423b****1f477fb862\',\\\\n\\\\t\'CreateDate\': \'2024-12-25T07:15:09Z\',\\\\n\\\\t\'UpdateDate\': \'2024-12-25T07:15:09Z\',\\\\n\\\\t\'Title\': \'ECS instance i-wz****bmem8 cpu usage has exceeded limit\',\\\\n\\\\t\'Status\': \'Open\',\\\\n\\\\t\'Severity\': \'Critical\',\\\\n\\\\t\'Category\': \'Availability\',\\\\n\\\\t\'Source\': \'/aliyun/ecs\',\\\\n\\\\t\'Priority\': 1,\\\\n\\\\t\'Tags\': {},\\\\n\\\\t\'ResourceGroupId\': \'sg-xxx\',\\\\n\\\\t\'Solutions\': [{\\\\n\\\\t\\\\t\'priority\': 1,\\\\n\\\\t\\\\t\'type\': \'oosTemplate\',\\\\n\\\\t\\\\t\'templateName\': \'ACS-ECS-BulkyRestartInstances\',\\\\n\\\\t\\\\t\'parameters\': {\\\\n\\\\t\\\\t\\\\t\'regionId\': \'cn-hangzhou\',\\\\n\\\\t\\\\t\\\\t\'targets\': {\\\\n\\\\t\\\\t\\\\t\\\\t\'Type\': \'ResourceIds\',\\\\n\\\\t\\\\t\\\\t\\\\t\'ResourceIds\': [\'i-wz****bmem8\'],\\\\n\\\\t\\\\t\\\\t\\\\t\'RegionId\': \'cn-hangzhou\'\\\\n\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t},\\\\n\\\\t\\\\t\'description\': \'立即重新启动ECS实例\'\\\\n\\\\t}],\\\\n\\\\t\'Resources\': [\'acs:ecs:cn-hangzhou:13****371:instance/i-wz****bmem8\'],\\\\n\\\\t\'Attributes\': {\\\\n\\\\t\\\\t\'config_id\': \'oic-019****c4684ba42\',\\\\n\\\\t\\\\t\'rule_name\': \'ecs_instance_cpu_exceed_90_ut2_cn-hangzhou\'\\\\n\\\\t},\\\\n\\\\t\'CreatedBy\': \'customer:13****371:root\',\\\\n\\\\t\'LastModifiedBy\': \'customer:13****371:root\',\\\\n\\\\t\'Description\': \'ECS instance i-wz****bmem8 has high cpu usage, check your service status\'\\\\n}\\"\\n ]\\n}","type":"json"}]',
- 'title' => 'GenerateOpsItem',
- ],
- 'GetTemplateParameterConstraints' => [
- 'summary' => 'Obtains available values of parameters.',
- 'methods' => [
- 'post',
- 'get',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => 'UpdateChatConfiguration',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'oos:UpdateChatConfiguration',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'OOS', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"4DB0****1234\\",\\n \\"ChatConfiguration\\": {\\n \\"Name\\": \\"dingtalk\\",\\n \\"CreatedDate\\": \\"2025-12-23T10:14:28+00:00\\",\\n \\"UpdatedDate\\": \\"2025-12-23T10:16:37.178097\\"\\n }\\n}","type":"json"}]',
+ ],
+ 'UpdateExecution' => [
+ 'summary' => 'Updates an execution in the Running or Waiting state.',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'read',
+ 'operationType' => 'write',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'get',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- 'abilityTreeCode' => '185514',
- 'abilityTreeNodes' => [
- 'FEATUREoosC47MF8',
- ],
- 'tenantRelevance' => 'publicInformation',
+ 'operationType' => 'update',
+ 'abilityTreeCode' => '94003',
+ 'abilityTreeNodes' => ['FEATUREoosQL14T7'],
],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The region ID.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => 'The ID of the region.'."\n", 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'cn-hangzhou', 'title' => ''],
],
[
- 'name' => 'TemplateVersion',
+ 'name' => 'ExecutionId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The version of the template. The default value is the latest version of the template.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'v1',
- ],
+ 'schema' => ['description' => 'The ID of the execution.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'exec-c223xxxxxxxxxxxxxxxx', 'title' => ''],
],
[
- 'name' => 'TemplateContent',
+ 'name' => 'Parameters',
'in' => 'query',
- 'schema' => [
- 'description' => 'The content of the template in the JSON or YAML format. This parameter is the same as the Content parameter that you can specify when you call the CreateTemplate operation. You can use this parameter to specify the tasks that you want to run. This way, you do not need to create a template before you start an execution. If you select an existing template, you do not need to specify this parameter.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => '{'."\n"
- .' "Description": "Example template, describe instances in some status",'."\n"
- .' "FormatVersion": "OOS-2019-06-01",'."\n"
- .' "Parameters": {},'."\n"
- .' "Tasks": [{'."\n"
- .' "Name": "describeInstances",'."\n"
- .' "Action": "ACS::ExecuteAPI",'."\n"
- .' "Description": "desc-en",'."\n"
- .' "Properties": {'."\n"
- .' "Service": "ECS",'."\n"
- .' "API": "DescribeInstances",'."\n"
- .' "Parameters": {'."\n"
- .' "Status": "Running"'."\n"
- .' }'."\n"
- .' }'."\n"
- .' }]'."\n"
- .'}',
- ],
+ 'schema' => ['description' => 'The information about the parameters.'."\n", 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => '{\\"endDate\\": \\"2022-04-13T03:31:20Z\\", \\"Status\\": \\"Stopped\\"}', 'title' => ''],
],
[
- 'name' => 'TemplateName',
+ 'name' => 'ClientToken',
'in' => 'query',
- 'schema' => [
- 'description' => 'The name of the template.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'MyTemplate',
- ],
+ 'schema' => ['description' => 'The client token that is used to ensure the idempotence of the request.', 'type' => 'string', 'required' => false, 'example' => '123e4567-e89b-12d3-a456-42665544****', 'title' => ''],
],
[
- 'name' => 'TemplateURL',
+ 'name' => 'Description',
'in' => 'query',
- 'schema' => [
- 'description' => 'The URL that is used to store the content of the Operation Orchestration Service (OOS) template in the Alibaba Cloud Object Storage Service (OSS). Only the public-read URL is supported. You can use this parameter to specify the tasks that you want to run. This way, you do not need to create a template before you start an execution. If you select an existing template, you do not need to specify this parameter.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'http://oos-template.cn-hangzhou.oss.aliyun-inc.com/oos-test-template.json',
- ],
+ 'schema' => ['description' => 'The description of the execution.', 'type' => 'string', 'required' => false, 'example' => 'Execution description', 'title' => ''],
],
[
- 'name' => 'Parameters',
+ 'name' => 'Tags',
'in' => 'query',
- 'schema' => [
- 'description' => 'The information about the parameters.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => '{\\"endDate\\": \\"2022-04-13T03:31:20Z\\", \\"Status\\": \\"Stopped\\"}',
- ],
+ 'schema' => ['description' => 'The tags of the execution.'."\n", 'type' => 'string', 'required' => false, 'example' => '{"k1": "v1", "k2": "v2"}', 'title' => ''],
+ ],
+ [
+ 'name' => 'ResourceGroupId',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The ID of the resource group.'."\n", 'type' => 'string', 'required' => false, 'example' => 'rg-acfmxsn4m*****', 'title' => ''],
],
],
'responses' => [
@@ -15128,66 +11437,42 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => 'The request ID.'."\n",
- 'type' => 'string',
- 'example' => 'CBEC8072-BEC2-478E-8EAE-E723BA79CF19',
- ],
- 'ParameterConstraints' => [
- 'description' => 'The constraints of the parameters.'."\n",
- 'type' => 'object',
- 'example' => '['."\n"
- .' {'."\n"
- .' "Type": "String",'."\n"
- .' "AllowedValues": ['."\n"
- .' "ecs.n1.tiny",'."\n"
- .' "ecs.r8a.4xlarge",'."\n"
- .' "ecs.n2.xlarge",'."\n"
- .' "ecs.c7.2xlarge",'."\n"
- .' "ecs.c8i.4xlarge",'."\n"
- .' "ecs.g8i.48xlarge",'."\n"
- .' "ecs.c8a.4xlarge",'."\n"
- .' "ecs.i2.4xlarge",'."\n"
- .' "ecs.r8y.2xlarge"'."\n"
- .' ],'."\n"
- .' "AssociationParameterNames": ['."\n"
- .' "RegionId",'."\n"
- .' "zoneId"'."\n"
- .' ],'."\n"
- .' "ParameterKey": "instanceType"'."\n"
- .' },'."\n"
- .' {'."\n"
- .' "Type": "String",'."\n"
- .' "AllowedValues": [],'."\n"
- .' "AssociationParameterNames": ['."\n"
- .' "RegionId",'."\n"
- .' "zoneId",'."\n"
- .' "InstanceType"'."\n"
- .' ],'."\n"
- .' "ParameterKey": "systemDiskCategory"'."\n"
- .' }'."\n"
- .' ]',
- ],
+ 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => 'C8345E88-5334-469E-901D-F912C8CB9C55', 'title' => ''],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"CBEC8072-BEC2-478E-8EAE-E723BA79CF19\\",\\n \\"ParameterConstraints\\": [\\n {\\n \\"Type\\": \\"String\\",\\n \\"AllowedValues\\": [\\n \\"ecs.n1.tiny\\",\\n \\"ecs.r8a.4xlarge\\",\\n \\"ecs.n2.xlarge\\",\\n \\"ecs.c7.2xlarge\\",\\n \\"ecs.c8i.4xlarge\\",\\n \\"ecs.g8i.48xlarge\\",\\n \\"ecs.c8a.4xlarge\\",\\n \\"ecs.i2.4xlarge\\",\\n \\"ecs.r8y.2xlarge\\"\\n ],\\n \\"AssociationParameterNames\\": [\\n \\"RegionId\\",\\n \\"zoneId\\"\\n ],\\n \\"ParameterKey\\": \\"instanceType\\"\\n },\\n {\\n \\"Type\\": \\"String\\",\\n \\"AllowedValues\\": [],\\n \\"AssociationParameterNames\\": [\\n \\"RegionId\\",\\n \\"zoneId\\",\\n \\"InstanceType\\"\\n ],\\n \\"ParameterKey\\": \\"systemDiskCategory\\"\\n }\\n ]\\n}","type":"json"}]',
- 'title' => 'GetTemplateParameterConstraints',
- ],
- 'UpdateTemplateAttributes' => [
- 'summary' => '更新模板属性',
- 'methods' => [
- 'post',
- 'get',
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"C8345E88-5334-469E-901D-F912C8CB9C55\\"\\n}","type":"json"}]',
+ 'title' => 'UpdateExecution',
+ 'changeSet' => [],
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'oos:UpdateExecution',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [
+ ['conditionKey' => 'oos:TLSVersion'],
+ ],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'OOS', 'resourceType' => 'execution', 'arn' => 'acs:oos:{#regionId}:{#accountId}:execution/{#executionId}'],
+ ],
+ ],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'UpdateExecution'],
+ ],
],
+ ],
+ 'UpdateInstancePackageState' => [
+ 'summary' => 'Updates the state of an extension installed on an instance.',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -15198,104 +11483,97 @@
'operationType' => 'update',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeCode' => '200756',
- 'abilityTreeNodes' => [
- 'FEATUREoosCPYH5Z',
- ],
- 'tenantRelevance' => 'publicInformation',
+ 'abilityTreeCode' => '201403',
+ 'abilityTreeNodes' => ['FEATUREoos3MYE7B'],
],
'parameters' => [
[
'name' => 'TemplateName',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'MyTemplate',
- ],
+ 'schema' => ['description' => 'The name of the template.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'title' => '', 'example' => 'ACS-ECS-InventoryDataCollection'],
],
[
- 'name' => 'IsFavorite',
+ 'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'true',
- ],
+ 'schema' => ['description' => 'The region ID.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'cn-hangzhou'],
],
[
- 'name' => 'RegionId',
+ 'name' => 'InstanceId',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => 'The ID of the ECS instance.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'i-bp1jaxa2bs4bps7*****'],
],
[
- 'name' => 'SharePermissionAction',
+ 'name' => 'TemplateVersion',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'Share',
- ],
+ 'schema' => ['description' => 'The version of the template.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'v1'],
],
[
- 'name' => 'ShareTemplateVersion',
+ 'name' => 'ConfigureAction',
'in' => 'query',
'schema' => [
- 'description' => '',
+ 'description' => 'The operation to perform on the extension.',
'type' => 'string',
- 'required' => false,
- 'example' => 'v1',
+ 'required' => true,
+ 'enumValueTitles' => ['uninstall' => 'Uninstalls the extension.', 'install' => 'Installs the extension.'],
+ 'title' => '',
+ 'example' => 'install',
],
],
[
- 'name' => 'AccountIds',
+ 'name' => 'Parameters',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => '["1319994761488600"]',
- ],
+ 'style' => 'json',
+ 'schema' => ['description' => 'The parameters for installing or uninstalling the extension.', 'type' => 'object', 'required' => false, 'title' => '', 'example' => '{"username": "xx"}'],
+ ],
+ [
+ 'name' => 'ConfigurationInfo',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'description' => 'The configuration information for the extension.', 'required' => false, 'title' => '', 'example' => '{\\"publicUrl\\": \\"https://8.140.227.147:8888/a2d99671\\", \\"privateUrl\\": \\"https://172.17.144.28:8888/a2d99671\\", \\"username\\": \\"user\\", \\"password\\": \\"baotaVWIUA6Y\\"}\\n'],
],
],
'responses' => [
200 => [
'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'A5320F1D-92D9-44BB-A416-5FC525ED6D57',
- ],
+ 'RequestId' => ['title' => 'Id of the request', 'description' => 'ID of the request', 'type' => 'string', 'example' => '2597E94B-5346-42D1-BB58-XXXXXXXXXXX'],
],
+ 'example' => '',
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A5320F1D-92D9-44BB-A416-5FC525ED6D57\\"\\n}","type":"json"}]',
- ],
- 'CheckGitRepoFileExists' => [
- 'summary' => '检测仓库中文件是否存在',
- 'methods' => [
- 'post',
- 'get',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"2597E94B-5346-42D1-BB58-XXXXXXXXXXX\\"\\n}","type":"json"}]',
+ 'title' => 'UpdateInstancePackageState',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'UpdateInstancePackageState'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'oos:UpdateInstancePackageState',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [
+ ['conditionKey' => 'oos:tag', 'validationType' => 'always'],
+ ['conditionKey' => 'oos:TLSVersion'],
+ ],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'OOS', 'resourceType' => 'Template', 'arn' => 'acs:oos:{#regionId}:{#accountId}:template/{#templateName}'],
+ ],
+ ],
+ ],
],
+ ],
+ 'UpdateOpsItem' => [
+ 'summary' => 'Modifies an O\\\\\\\\\\\\\\\\\\\\&M item.',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -15304,208 +11582,117 @@
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'get',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- 'abilityTreeCode' => '213951',
- 'abilityTreeNodes' => [
- 'FEATUREoosCPYH5Z',
- ],
- 'autoTest' => true,
- 'tenantRelevance' => 'publicInformation',
+ 'operationType' => 'update',
+ 'abilityTreeCode' => '129525',
+ 'abilityTreeNodes' => ['FEATUREoosU53HTK'],
],
'parameters' => [
[
- 'name' => 'ClientToken',
+ 'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => '-',
- ],
+ 'schema' => ['description' => 'The region ID.'."\n", 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''],
],
[
- 'name' => 'Platform',
+ 'name' => 'Title',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'gitee',
- ],
+ 'schema' => ['description' => 'The title of the O\\&M item.'."\n", 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => 'Test', 'title' => ''],
],
[
- 'name' => 'Owner',
+ 'name' => 'Description',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'hujue',
- ],
+ 'schema' => ['description' => 'The description of the O\\&M item.'."\n", 'type' => 'string', 'required' => false, 'example' => 'test-update', 'title' => ''],
],
[
- 'name' => 'RepoFullName',
+ 'name' => 'ResourceGroupId',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'alibaba/fastjson',
- ],
+ 'schema' => ['description' => 'The ID of the resource group.'."\n", 'type' => 'string', 'required' => false, 'example' => 'rg-acfmxsn4m4******', 'title' => ''],
],
[
- 'name' => 'FilePath',
+ 'name' => 'Tags',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'src/main/resources/config/promql_capacity.yaml',
- ],
+ 'style' => 'json',
+ 'schema' => ['description' => 'The tags.'."\n", 'type' => 'object', 'required' => false, 'example' => '{'."\n"
+ .' "k1": "v1",'."\n"
+ .' "k2": "v2"'."\n"
+ .'}', 'title' => ''],
],
[
- 'name' => 'Branch',
+ 'name' => 'ClientToken',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'test',
- ],
+ 'schema' => ['description' => 'The client token that is used to ensure the idempotence of the request.'."\n", 'type' => 'string', 'required' => false, 'example' => 'DASKJJLKADS-AHKLJHJSAKL-AJK', 'title' => ''],
],
[
- 'name' => 'RegionId',
+ 'name' => 'Severity',
'in' => 'query',
'schema' => [
- 'description' => '',
+ 'description' => 'The severity level.'."\n",
'type' => 'string',
'required' => false,
- 'example' => 'cn-hangzhou',
+ 'example' => 'Medium',
+ 'enumValueTitles' => ['High' => '高', 'Low' => '低', 'Medium' => '中', 'Critical' => '严重'],
+ 'title' => '',
],
],
[
- 'name' => 'OrgId',
+ 'name' => 'Source',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The source business.'."\n", 'type' => 'string', 'required' => false, 'example' => '/aliyun/ecs', 'title' => ''],
+ ],
+ [
+ 'name' => 'Category',
'in' => 'query',
'schema' => [
- 'description' => '',
+ 'description' => 'The category.'."\n",
'type' => 'string',
'required' => false,
- 'example' => '5f9f9f6122a8c7ff3934f99a',
+ 'example' => 'Security',
+ 'enumValueTitles' => ['Availability' => '可用性', 'Performance' => '性能', 'Security' => '安全', 'Cost' => '成本', 'Recovery' => '备份恢复'],
+ 'title' => '',
],
],
[
- 'name' => 'RepoId',
+ 'name' => 'Priority',
'in' => 'query',
'schema' => [
- 'description' => '',
+ 'description' => 'The priority.'."\n",
'type' => 'integer',
- 'format' => 'int64',
+ 'format' => 'int32',
'required' => false,
- 'example' => '2835387',
- ],
- ],
- ],
- 'responses' => [
- 200 => [
- 'schema' => [
- 'type' => 'object',
- 'properties' => [
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'A5320F1D-92D9-44BB-A416-5FC525ED6D57',
- ],
- 'FileExists' => [
- 'description' => '',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- ],
+ 'example' => '2',
+ 'enumValueTitles' => [1 => '1', '2', '3', '4', '5'],
+ 'title' => '',
],
],
- ],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A5320F1D-92D9-44BB-A416-5FC525ED6D57\\",\\n \\"FileExists\\": true\\n}","type":"json"}]',
- ],
- 'ListGitOrganizations' => [
- 'summary' => '获取已授权用户的组织',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
- 'security' => [
[
- 'AK' => [],
- ],
- ],
- 'operationType' => 'read',
- 'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'list',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- 'abilityTreeCode' => '214403',
- 'abilityTreeNodes' => [
- 'FEATUREoosCPYH5Z',
- ],
- 'autoTest' => false,
- 'notSupportAutoTestReason' => '需要先进行Github/Gitee的OAuth授权',
- 'tenantRelevance' => 'publicInformation',
- ],
- 'parameters' => [
- [
- 'name' => 'ClientToken',
+ 'name' => 'Solutions',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => '-',
- ],
+ 'schema' => ['description' => 'The solutions.'."\n", 'type' => 'string', 'required' => false, 'example' => '[{"priority":3,"type":"url","url":"https://example.com","description":"Configure cross-zone high availability for the cluster."}]', 'title' => ''],
],
[
- 'name' => 'Platform',
+ 'name' => 'DedupString',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'github',
- ],
+ 'schema' => ['description' => 'The string to be deduplicated.'."\n", 'type' => 'string', 'required' => false, 'example' => 'ecs_instance_SystemMaintenance.Reboot', 'title' => ''],
],
[
- 'name' => 'Owner',
+ 'name' => 'Resources',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'geegenw-j-imwinmtuej',
- ],
+ 'schema' => ['description' => 'The Alibaba Resource Names (ARNs) of the associated resources.'."\n", 'type' => 'string', 'required' => false, 'example' => '[\\"arn:acs:ecs:cn-heyuan:1139354755361920:instance/i-f8z928h7aqotd3o65032\\"]', 'title' => ''],
],
[
- 'name' => 'RegionId',
+ 'name' => 'OpsItemId',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => 'The ID of the O\\&M item.'."\n", 'type' => 'string', 'required' => false, 'example' => 'oi-e2264dcf040c472598e9', 'title' => ''],
],
[
- 'name' => 'BindType',
+ 'name' => 'Status',
'in' => 'query',
'schema' => [
+ 'description' => 'The status.'."\n",
'type' => 'string',
+ 'required' => false,
+ 'example' => 'Open',
+ 'enumValueTitles' => ['InProgress' => ' 处理中', 'Resolved' => '已解决', 'Open' => '待处理'],
+ 'title' => '',
],
],
],
@@ -15514,155 +11701,124 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '9E011F98-4EE5-5E3A-8FA3-D38F2C531C1F',
- ],
- 'GitOrgs' => [
- 'description' => '',
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'OrgName' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'aliyun-computenest',
- ],
- 'OrgId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'dfj3535',
- ],
+ 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => 'C996DECB-3D2B-5321-B359-BE7031B6399E', 'title' => ''],
+ 'OpsItem' => [
+ 'description' => 'The information about the O\\&M item.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'Tags' => ['description' => 'The tags.'."\n", 'type' => 'object', 'example' => '{'."\n"
+ .' "k1": "v1",'."\n"
+ .' "k2": "v2"'."\n"
+ .'}'."\n", 'title' => ''],
+ 'UpdateDate' => ['description' => 'The time when the O\\&M item was updated.'."\n", 'type' => 'string', 'example' => '2023-03-16T08:04Z', 'title' => ''],
+ 'Description' => ['description' => 'The description.'."\n", 'type' => 'string', 'example' => 'test-update', 'title' => ''],
+ 'OpsItemId' => ['description' => 'The ID of the O\\&M item.'."\n", 'type' => 'string', 'example' => 'oi-e2264dcf040c472598e9', 'title' => ''],
+ 'CreateDate' => ['description' => 'The time when the O\\&M item was created.'."\n", 'type' => 'string', 'example' => '2023-03-16T07:04Z', 'title' => ''],
+ 'Title' => ['description' => 'The title of the O\\&M item.'."\n", 'type' => 'string', 'example' => 'Test', 'title' => ''],
+ 'Status' => ['description' => 'The status.'."\n", 'type' => 'string', 'example' => 'Open', 'title' => ''],
+ 'Severity' => ['description' => 'The severity level.'."\n", 'type' => 'string', 'example' => 'Medium', 'title' => ''],
+ 'Category' => ['description' => 'The category.'."\n", 'type' => 'string', 'example' => 'Security', 'title' => ''],
+ 'Source' => ['description' => 'The source business.'."\n", 'type' => 'string', 'example' => '/aliyun/ecs', 'title' => ''],
+ 'Priority' => ['description' => 'The priority.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '2', 'title' => ''],
+ 'Solutions' => [
+ 'description' => 'The solutions.'."\n",
+ 'type' => 'array',
+ 'items' => ['description' => 'The solution.'."\n", 'type' => 'string', 'example' => '[{\\n \\"priority\\":2,\\n \\"type\\":\\"SlbNeedEcs\\",\\n \\"url\\":\\"https://computenest.console.aliyun.com/app\\",\\n \\"description\\":\\"请将SLB实例下所有的ECS实例导入到应用分组中\\"\\n}]', 'title' => ''],
+ 'example' => '[{"priority":2,"type":"SlbNeedEcs","url":"https://computenest.console.aliyun.com/app","description":"Import all ECS instances under the SLB to the app group"}]',
+ 'title' => '',
],
+ 'Resources' => [
+ 'description' => 'The ARNs of the associated resources.'."\n",
+ 'type' => 'array',
+ 'items' => ['description' => 'The ARN of the associated resource.'."\n", 'type' => 'string', 'example' => '[\\"arn:acs:ecs:cn-heyuan:1139354755361920:instance/i-f8z928h7aqotd3o65032\\"]', 'title' => ''],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'Attributes' => ['description' => 'The attributes of the O\\&M item.'."\n", 'type' => 'string', 'example' => '[{\'Attribute\': {\'Weight\': 100}, \'RealServer\': \'uaejc8hnqzqz5valyh8dibolpvza48ik.yundunwaf5.com\'}]', 'title' => ''],
+ 'CreatedBy' => ['description' => 'The user who created the patch baseline.'."\n", 'type' => 'string', 'example' => 'root(130900000)'."\n", 'title' => ''],
+ 'LastModifiedBy' => ['description' => 'The user who modified the O\\&M item.'."\n", 'type' => 'string', 'example' => 'root(130900000)'."\n", 'title' => ''],
+ 'ResourceGroupId' => ['description' => 'The ID of the resource group.'."\n", 'type' => 'string', 'example' => 'rg-acfmxsn4m4******', 'title' => ''],
],
- ],
- 'Count' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
+ 'title' => '',
+ 'example' => '',
],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"9E011F98-4EE5-5E3A-8FA3-D38F2C531C1F\\",\\n \\"GitOrgs\\": [\\n {\\n \\"OrgName\\": \\"aliyun-computenest\\",\\n \\"OrgId\\": \\"dfj3535\\"\\n }\\n ],\\n \\"Count\\": 1\\n}","type":"json"}]',
- ],
- 'ListGitRepositories' => [
- 'summary' => '查询Git仓库列表',
- 'methods' => [
- 'post',
- 'get',
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"C996DECB-3D2B-5321-B359-BE7031B6399E\\",\\n \\"OpsItem\\": {\\n \\"Tags\\": {\\n \\"k1\\": \\"v1\\",\\n \\"k2\\": \\"v2\\"\\n },\\n \\"UpdateDate\\": \\"2023-03-16T08:04Z\\",\\n \\"Description\\": \\"test-update\\",\\n \\"OpsItemId\\": \\"oi-e2264dcf040c472598e9\\",\\n \\"CreateDate\\": \\"2023-03-16T07:04Z\\",\\n \\"Title\\": \\"Test\\",\\n \\"Status\\": \\"Open\\",\\n \\"Severity\\": \\"Medium\\",\\n \\"Category\\": \\"Security\\",\\n \\"Source\\": \\"/aliyun/ecs\\",\\n \\"Priority\\": 2,\\n \\"Solutions\\": [\\n \\"[{\\\\\\\\n \\\\\\\\\\\\\\"priority\\\\\\\\\\\\\\":2,\\\\\\\\n \\\\\\\\\\\\\\"type\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"SlbNeedEcs\\\\\\\\\\\\\\",\\\\\\\\n \\\\\\\\\\\\\\"url\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"https://computenest.console.aliyun.com/app\\\\\\\\\\\\\\",\\\\\\\\n \\\\\\\\\\\\\\"description\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"请将SLB实例下所有的ECS实例导入到应用分组中\\\\\\\\\\\\\\"\\\\\\\\n}]\\"\\n ],\\n \\"Resources\\": [\\n \\"[\\\\\\\\\\\\\\"arn:acs:ecs:cn-heyuan:1139354755361920:instance/i-f8z928h7aqotd3o65032\\\\\\\\\\\\\\"]\\"\\n ],\\n \\"Attributes\\": \\"[{\'Attribute\': {\'Weight\': 100}, \'RealServer\': \'uaejc8hnqzqz5valyh8dibolpvza48ik.yundunwaf5.com\'}]\\",\\n \\"CreatedBy\\": \\"root(130900000)\\\\n\\",\\n \\"LastModifiedBy\\": \\"root(130900000)\\\\n\\",\\n \\"ResourceGroupId\\": \\"rg-acfmxsn4m4******\\"\\n }\\n}","type":"json"}]',
+ 'title' => 'UpdateOpsItem',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateOpsItem'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'oos:UpdateOpsItem',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [
+ ['conditionKey' => 'oos:TLSVersion'],
+ ],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'OOS', 'resourceType' => 'OpsItem', 'arn' => 'acs:oos:{#regionId}:{#accountId}:opsitem/{#OpsItemId}'],
+ ],
+ ],
+ ],
],
+ ],
+ 'UpdateParameter' => [
+ 'summary' => 'Updates a common parameter.',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'read',
+ 'operationType' => 'write',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'list',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- 'abilityTreeCode' => '212980',
- 'abilityTreeNodes' => [
- 'FEATUREoosCPYH5Z',
- ],
- 'autoTest' => true,
- 'tenantRelevance' => 'publicInformation',
+ 'operationType' => 'update',
+ 'abilityTreeCode' => '94005',
+ 'abilityTreeNodes' => ['FEATUREoosMR618F'],
],
'parameters' => [
[
- 'name' => 'ClientToken',
- 'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'TF-CreateApplication-1647587475-84104b89-eba5-47a8-b2fd-807b8b7d',
- ],
- ],
- [
- 'name' => 'Platform',
- 'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'github',
- ],
- ],
- [
- 'name' => 'Owner',
+ 'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'dhuai',
- ],
+ 'schema' => ['description' => 'The region ID.'."\n", 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''],
],
[
- 'name' => 'PageNumber',
+ 'name' => 'Name',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '1',
- ],
+ 'schema' => ['description' => 'The name of the common parameter. The name must be 1 to 200 characters in length, and can contain letters, digits, hyphens (-), and underscores (\\_). It cannot start with ALIYUN, ACS, ALIBABA, ALICLOUD, or OOS.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'MyParameter', 'title' => ''],
],
[
- 'name' => 'PageSize',
+ 'name' => 'Value',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '1',
- ],
+ 'schema' => ['description' => 'The value of the common parameter. The value must be 1 to 4,096 characters in length.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'update', 'title' => ''],
],
[
- 'name' => 'OrgName',
+ 'name' => 'Description',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'aliyun-computenest',
- ],
+ 'schema' => ['description' => 'The description of the common parameter. The description must be 1 to 200 characters in length.'."\n", 'type' => 'string', 'required' => false, 'example' => 'update', 'title' => ''],
],
[
- 'name' => 'RegionId',
+ 'name' => 'Tags',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => 'The tags to be added to common parameter.'."\n", 'type' => 'string', 'required' => false, 'example' => '{"k1": "v1", "k2": "v2"}', 'title' => ''],
],
[
- 'name' => 'OrgId',
+ 'name' => 'ResourceGroupId',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => '6fekfmnfll135123kdf33',
- ],
+ 'schema' => ['description' => 'The resource group ID.'."\n", 'type' => 'string', 'required' => false, 'example' => 'rg-acfmxsn4m4******', 'title' => ''],
],
],
'responses' => [
@@ -15670,277 +11826,333 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'DBA6E6C8-F75D-41DE-AFF5-1FA03F551CA3',
- ],
- 'GitRepos' => [
- 'description' => '',
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'FullName' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'aliyun/repo',
- ],
- 'Description' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'Test secret parameter for vulnerability testing - 1757298077.453695',
- ],
- 'HtmlUrl' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'https://github.com/alibaba/fastjson',
- ],
- 'IsPrivate' => [
- 'description' => '',
- 'type' => 'boolean',
- 'example' => 'False',
- ],
- 'RepoId' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '22351123',
- ],
- ],
+ 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => 'AF1AE6DE-61C4-435E-8687-072CFACCCEC7', 'title' => ''],
+ 'Parameter' => [
+ 'description' => 'The information about the common parameter.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'Type' => ['description' => 'The data type of the common parameter.'."\n", 'type' => 'string', 'example' => 'String', 'title' => ''],
+ 'UpdatedDate' => ['description' => 'The time when the common parameter was updated.'."\n", 'type' => 'string', 'example' => '2020-09-01T08:04:23Z', 'title' => ''],
+ 'UpdatedBy' => ['description' => 'The user who updated the common parameter.'."\n", 'type' => 'string', 'example' => 'root(130900000)', 'title' => ''],
+ 'Tags' => ['description' => 'The tag added to the common parameter.'."\n", 'type' => 'string', 'example' => '{"k1": "v1", "k2": "v2"}', 'title' => ''],
+ 'Description' => ['description' => 'The description of the common parameter.'."\n", 'type' => 'string', 'example' => 'update', 'title' => ''],
+ 'Constraints' => ['description' => 'The constraints of the common parameter.'."\n", 'type' => 'string', 'example' => '"{\'AllowedValues\':[\'parameter\'],\'AllowedPattern\':\'parameter\',\'MinLength\':0,\'MaxLength\':20}"', 'title' => ''],
+ 'ResourceGroupId' => ['description' => 'The resource group ID.'."\n", 'type' => 'string', 'example' => 'rg-acfmxsn4m4******', 'title' => ''],
+ 'CreatedBy' => ['description' => 'The user who created the common parameter.'."\n", 'type' => 'string', 'example' => 'root(130900000)', 'title' => ''],
+ 'CreatedDate' => ['description' => 'The time when the common parameter was created.'."\n", 'type' => 'string', 'example' => '2020-09-01T08:01:43Z', 'title' => ''],
+ 'ParameterVersion' => ['description' => 'The version number of the common parameter.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '2', 'title' => ''],
+ 'Name' => ['description' => 'The name of the common parameter.'."\n", 'type' => 'string', 'example' => 'MyParameter', 'title' => ''],
+ 'Id' => ['description' => 'The parameter ID.'."\n", 'type' => 'string', 'example' => 'p-4c4b401cab6747xxxxxx', 'title' => ''],
+ 'ShareType' => ['description' => 'The share type of the common parameter.'."\n", 'type' => 'string', 'example' => 'Private', 'title' => ''],
],
- ],
- 'Count' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
+ 'title' => '',
+ 'example' => '',
],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"DBA6E6C8-F75D-41DE-AFF5-1FA03F551CA3\\",\\n \\"GitRepos\\": [\\n {\\n \\"FullName\\": \\"aliyun/repo\\",\\n \\"Description\\": \\"Test secret parameter for vulnerability testing - 1757298077.453695\\",\\n \\"HtmlUrl\\": \\"https://github.com/alibaba/fastjson\\",\\n \\"IsPrivate\\": true,\\n \\"RepoId\\": 22351123\\n }\\n ],\\n \\"Count\\": 1\\n}","type":"json"}]',
- ],
- 'ListGitBranches' => [
- 'summary' => '获取指定Git仓库的所有分支',
- 'methods' => [
- 'post',
- 'get',
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"AF1AE6DE-61C4-435E-8687-072CFACCCEC7\\",\\n \\"Parameter\\": {\\n \\"Type\\": \\"String\\",\\n \\"UpdatedDate\\": \\"2020-09-01T08:04:23Z\\",\\n \\"UpdatedBy\\": \\"root(130900000)\\",\\n \\"Tags\\": \\"{\\\\\\"k1\\\\\\": \\\\\\"v1\\\\\\", \\\\\\"k2\\\\\\": \\\\\\"v2\\\\\\"}\\",\\n \\"Description\\": \\"update\\",\\n \\"Constraints\\": \\"\\\\\\"{\'AllowedValues\':[\'parameter\'],\'AllowedPattern\':\'parameter\',\'MinLength\':0,\'MaxLength\':20}\\\\\\"\\",\\n \\"ResourceGroupId\\": \\"rg-acfmxsn4m4******\\",\\n \\"CreatedBy\\": \\"root(130900000)\\",\\n \\"CreatedDate\\": \\"2020-09-01T08:01:43Z\\",\\n \\"ParameterVersion\\": 2,\\n \\"Name\\": \\"MyParameter\\",\\n \\"Id\\": \\"p-4c4b401cab6747xxxxxx\\",\\n \\"ShareType\\": \\"Private\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"<UpdateParameterResponse>\\n <RequestId>AF1AE6DE-61C4-435E-8687-072CFACCCEC7</RequestId>\\n <Parameter>\\n <Type>String</Type>\\n <UpdatedDate>2020-09-01T08:04:23Z</UpdatedDate>\\n <UpdatedBy>root(130900000)</UpdatedBy>\\n <Tags>{\\"k1\\": \\"v1\\", \\"k2\\": \\"v2\\"}</Tags>\\n <Description>update</Description>\\n <Constraints>\\"{\'AllowedValues\':[\'parameter\'],\'AllowedPattern\':\'parameter\',\'MinLength\':0,\'MaxLength\':20}\\"</Constraints>\\n <ResourceGroupId>rg-acfmxsn4m4******</ResourceGroupId>\\n <CreatedBy>root(130900000)</CreatedBy>\\n <CreatedDate>2020-09-01T08:01:43Z</CreatedDate>\\n <ParameterVersion>2</ParameterVersion>\\n <Name>MyParameter</Name>\\n <Id>p-4c4b401cab6747xxxxxx</Id>\\n <ShareType>Private</ShareType>\\n </Parameter>\\n</UpdateParameterResponse>","errorExample":""}]',
+ 'title' => 'UpdateParameter',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'UpdateParameter'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'oos:UpdateParameter',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [
+ ['conditionKey' => 'oos:TLSVersion'],
+ ],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'OOS', 'resourceType' => 'parameter', 'arn' => 'acs:oos:{#regionId}:{#accountId}:parameter/{#parameterName}'],
+ ],
+ ],
+ ],
],
+ ],
+ 'UpdatePatchBaseline' => [
+ 'summary' => 'Updates a patch baseline.',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'read',
+ 'operationType' => 'write',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'list',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- 'abilityTreeCode' => '212981',
- 'abilityTreeNodes' => [
- 'FEATUREoosCPYH5Z',
- ],
- 'autoTest' => true,
- 'tenantRelevance' => 'publicInformation',
+ 'operationType' => 'update',
+ 'abilityTreeCode' => '94006',
+ 'abilityTreeNodes' => ['FEATUREoosSVNQOE'],
],
'parameters' => [
[
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The ID of the region.'."\n", 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''],
+ ],
+ [
+ 'name' => 'Name',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The name of the patch baseline.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'MyPatchBaseline', 'title' => ''],
+ ],
+ [
+ 'name' => 'Description',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The description of the patch baseline.'."\n", 'type' => 'string', 'required' => false, 'example' => 'UpdatePatchBaseline', 'title' => ''],
+ ],
+ [
'name' => 'ClientToken',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'TF-CreateApplication-1647587475-84104b89-eba5-47a8-b2fd-807b8b7d',
- ],
+ 'schema' => ['description' => 'The client token that is used to ensure the idempotence of the request.'."\n", 'type' => 'string', 'required' => false, 'example' => '-', 'title' => ''],
],
[
- 'name' => 'Platform',
+ 'name' => 'ApprovalRules',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'gitee',
- ],
+ 'schema' => ['description' => 'The rules of scanning and installing patches for the specified operating system.'."\n", 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => '{"PatchRules":[{"PatchFilterGroup":[{"Key":"PatchSet","Values":["OS"]},{"Key":"ProductFamily","Values":["Windows"]},{"Key":"Product","Values":["Windows 10","Windows 7"]},{"Key":"Classification","Values":["Security Updates","Updates","Update Rollups","Critical Updates"]},{"Key":"Severity","Values":["Critical","Important","Moderate"]}],"ApproveAfterDays":7,"EnableNonSecurity":true,"ComplianceLevel":"Medium"}]}', 'title' => ''],
],
[
- 'name' => 'Owner',
+ 'name' => 'RejectedPatches',
'in' => 'query',
+ 'style' => 'json',
'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'geegenw-j-imwinmtuej',
+ 'description' => 'The rejected patches.'."\n",
+ 'type' => 'array',
+ 'items' => ['description' => 'The name of the rejected patch.'."\n", 'type' => 'string', 'required' => false, 'example' => 'RejectedPatch1', 'title' => ''],
+ 'required' => false,
+ 'title' => '',
+ 'example' => '',
],
],
[
- 'name' => 'RepoFullName',
+ 'name' => 'RejectedPatchesAction',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'alibaba/fastjson',
- ],
+ 'schema' => ['description' => 'The action of the rejected patch.'."\n", 'type' => 'string', 'required' => false, 'example' => 'ALLOW_AS_DEPENDENCY', 'title' => ''],
],
[
- 'name' => 'RegionId',
+ 'name' => 'ApprovedPatches',
'in' => 'query',
+ 'style' => 'json',
'schema' => [
- 'description' => '',
- 'type' => 'string',
+ 'description' => 'The approved patches.'."\n",
+ 'type' => 'array',
+ 'items' => ['description' => 'The name of the approved patch.'."\n", 'type' => 'string', 'required' => false, 'example' => 'ApprovedPatch1', 'title' => ''],
'required' => false,
- 'example' => 'cn-hangzhou',
+ 'title' => '',
+ 'example' => '',
],
],
[
- 'name' => 'OrgId',
+ 'name' => 'ApprovedPatchesEnableNonSecurity',
'in' => 'query',
+ 'schema' => ['description' => 'Indicates whether the approved patch involves updates other than security-related updates.'."\n", 'type' => 'boolean', 'required' => false, 'example' => 'true', 'title' => ''],
+ ],
+ [
+ 'name' => 'Sources',
+ 'in' => 'query',
+ 'style' => 'json',
'schema' => [
- 'description' => '',
- 'type' => 'string',
+ 'description' => 'The patch source configurations.'."\n",
+ 'type' => 'array',
+ 'items' => ['description' => 'The configuration of the patch source.'."\n", 'type' => 'string', 'required' => false, 'example' => '[main]'."\n"
+ .'name=MyCustomRepository'."\n"
+ .'baseurl=https://my-custom-repository'."\n"
+ .'enabled=1', 'title' => ''],
'required' => false,
- 'example' => '6fekfmnfll135123kdf33',
+ 'title' => '',
+ 'example' => '',
],
],
[
- 'name' => 'RepoId',
+ 'name' => 'Tags',
'in' => 'query',
+ 'style' => 'json',
'schema' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int64',
+ 'description' => 'The tags.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Key' => ['description' => 'The key of the tag.'."\n", 'type' => 'string', 'required' => false, 'example' => 'key', 'title' => ''],
+ 'Value' => ['description' => 'The value of the tag.'."\n", 'type' => 'string', 'required' => false, 'example' => 'value', 'title' => ''],
+ ],
+ 'required' => false,
+ 'title' => '',
+ 'example' => '',
+ ],
'required' => false,
- 'example' => '2642213',
+ 'title' => '',
+ 'example' => '',
],
],
+ [
+ 'name' => 'ResourceGroupId',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The ID of the resource group.'."\n", 'type' => 'string', 'required' => false, 'example' => 'rg-acfmxsn4m4******', 'title' => ''],
+ ],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'DBA6E6C8-F75D-41DE-AFF5-1FA03F551CA3',
- ],
- 'GitBranches' => [
- 'description' => '',
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'Name' => [
+ 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '1457F46C-7AAE-59FA-BD12-0BDB3751E6F8', 'title' => ''],
+ 'PatchBaseline' => [
+ 'description' => 'The details of the patch baseline.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'OperationSystem' => ['description' => 'The operating system.'."\n", 'type' => 'string', 'example' => 'Windows', 'title' => ''],
+ 'Description' => ['description' => 'The description of the patch baseline.'."\n", 'type' => 'string', 'example' => 'UpdatePatchBaseline', 'title' => ''],
+ 'UpdatedDate' => ['description' => 'The time when the patch baseline was updated.'."\n", 'type' => 'string', 'example' => '2021-09-08T07:26:37Z', 'title' => ''],
+ 'UpdatedBy' => ['description' => 'The user who updated the patch baseline.'."\n", 'type' => 'string', 'example' => 'root(130900000)', 'title' => ''],
+ 'CreatedBy' => ['description' => 'The creator of the patch baseline.'."\n", 'type' => 'string', 'example' => 'root(130900000)', 'title' => ''],
+ 'CreatedDate' => ['description' => 'The time when the patch baseline was created.'."\n", 'type' => 'string', 'example' => '2021-09-07T03:42:56Z', 'title' => ''],
+ 'Name' => ['description' => 'The name of the patch baseline.'."\n", 'type' => 'string', 'example' => 'MyPatchBaseline', 'title' => ''],
+ 'ApprovalRules' => ['description' => 'The rules of scanning and installing patches for the specified operating system.'."\n", 'type' => 'string', 'example' => '{"PatchRules":[{"PatchFilterGroup":[{"Key":"PatchSet","Values":["OS"]},{"Key":"ProductFamily","Values":["Windows"]},{"Key":"Product","Values":["Windows 10","Windows 7"]},{"Key":"Classification","Values":["Security Updates","Updates","Update Rollups","Critical Updates"]},{"Key":"Severity","Values":["Critical","Important","Moderate"]}],"ApproveAfterDays":7,"EnableNonSecurity":true,"ComplianceLevel":"Medium"}]}', 'title' => ''],
+ 'Id' => ['description' => 'The ID of the patch baseline.'."\n", 'type' => 'string', 'example' => 'pb-445340b5c6504a85a300', 'title' => ''],
+ 'ShareType' => ['description' => 'The share type of the patch baseline.'."\n", 'type' => 'string', 'example' => 'Private', 'title' => ''],
+ 'RejectedPatches' => [
+ 'description' => 'The rejected patches.'."\n",
+ 'type' => 'array',
+ 'items' => ['description' => 'The name of the rejected patch.'."\n", 'type' => 'string', 'example' => 'RejectedPatch1', 'title' => ''],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'RejectedPatchesAction' => ['description' => 'The action of the rejected patch.'."\n", 'type' => 'string', 'example' => 'ALLOW_AS_DEPENDENCY', 'title' => ''],
+ 'ApprovedPatches' => [
+ 'description' => 'The approved patches.'."\n",
+ 'type' => 'array',
+ 'items' => ['description' => 'The name of the approved patch.'."\n", 'type' => 'string', 'example' => 'ApprovedPatch1', 'title' => ''],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'ApprovedPatchesEnableNonSecurity' => ['description' => 'Indicates whether the approved patch involves updates other than security-related updates.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''],
+ 'Sources' => [
+ 'description' => 'The patch source configurations.'."\n",
+ 'type' => 'array',
+ 'items' => ['description' => 'The configuration of the patch source.'."\n", 'type' => 'string', 'example' => '[main]'."\n"
+ .'name=MyCustomRepository'."\n"
+ .'baseurl=https://my-custom-repository'."\n"
+ .'enabled=1', 'title' => ''],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'Tags' => [
+ 'description' => 'The tags.'."\n",
+ 'type' => 'array',
+ 'items' => [
'description' => '',
- 'type' => 'string',
- 'example' => 'master',
+ 'type' => 'object',
+ 'properties' => [
+ 'TagKey' => ['description' => 'The key of the tag.'."\n", 'type' => 'string', 'example' => 'key', 'title' => ''],
+ 'TagValue' => ['description' => 'The value of the tag.'."\n", 'type' => 'string', 'example' => 'value', 'title' => ''],
+ ],
+ 'title' => '',
+ 'example' => '',
],
+ 'title' => '',
+ 'example' => '',
],
+ 'ResourceGroupId' => ['description' => 'The ID of the resource group.'."\n", 'type' => 'string', 'example' => 'rg-acfmy2zdbbjplii', 'title' => ''],
],
- ],
- 'Count' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
+ 'title' => '',
+ 'example' => '',
],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"DBA6E6C8-F75D-41DE-AFF5-1FA03F551CA3\\",\\n \\"GitBranches\\": [\\n {\\n \\"Name\\": \\"master\\"\\n }\\n ],\\n \\"Count\\": 1\\n}","type":"json"}]',
- ],
- 'ListGitAccounts' => [
- 'summary' => '获取当前阿里云用户已授权在应用管理的托管平台账户',
- 'methods' => [
- 'post',
- 'get',
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"1457F46C-7AAE-59FA-BD12-0BDB3751E6F8\\",\\n \\"PatchBaseline\\": {\\n \\"OperationSystem\\": \\"Windows\\",\\n \\"Description\\": \\"UpdatePatchBaseline\\",\\n \\"UpdatedDate\\": \\"2021-09-08T07:26:37Z\\",\\n \\"UpdatedBy\\": \\"root(130900000)\\",\\n \\"CreatedBy\\": \\"root(130900000)\\",\\n \\"CreatedDate\\": \\"2021-09-07T03:42:56Z\\",\\n \\"Name\\": \\"MyPatchBaseline\\",\\n \\"ApprovalRules\\": \\"{\\\\\\"PatchRules\\\\\\":[{\\\\\\"PatchFilterGroup\\\\\\":[{\\\\\\"Key\\\\\\":\\\\\\"PatchSet\\\\\\",\\\\\\"Values\\\\\\":[\\\\\\"OS\\\\\\"]},{\\\\\\"Key\\\\\\":\\\\\\"ProductFamily\\\\\\",\\\\\\"Values\\\\\\":[\\\\\\"Windows\\\\\\"]},{\\\\\\"Key\\\\\\":\\\\\\"Product\\\\\\",\\\\\\"Values\\\\\\":[\\\\\\"Windows 10\\\\\\",\\\\\\"Windows 7\\\\\\"]},{\\\\\\"Key\\\\\\":\\\\\\"Classification\\\\\\",\\\\\\"Values\\\\\\":[\\\\\\"Security Updates\\\\\\",\\\\\\"Updates\\\\\\",\\\\\\"Update Rollups\\\\\\",\\\\\\"Critical Updates\\\\\\"]},{\\\\\\"Key\\\\\\":\\\\\\"Severity\\\\\\",\\\\\\"Values\\\\\\":[\\\\\\"Critical\\\\\\",\\\\\\"Important\\\\\\",\\\\\\"Moderate\\\\\\"]}],\\\\\\"ApproveAfterDays\\\\\\":7,\\\\\\"EnableNonSecurity\\\\\\":true,\\\\\\"ComplianceLevel\\\\\\":\\\\\\"Medium\\\\\\"}]}\\",\\n \\"Id\\": \\"pb-445340b5c6504a85a300\\",\\n \\"ShareType\\": \\"Private\\",\\n \\"RejectedPatches\\": [\\n \\"RejectedPatch1\\"\\n ],\\n \\"RejectedPatchesAction\\": \\"ALLOW_AS_DEPENDENCY\\",\\n \\"ApprovedPatches\\": [\\n \\"ApprovedPatch1\\"\\n ],\\n \\"ApprovedPatchesEnableNonSecurity\\": true,\\n \\"Sources\\": [\\n \\"[main]\\\\nname=MyCustomRepository\\\\nbaseurl=https://my-custom-repository\\\\nenabled=1\\"\\n ],\\n \\"Tags\\": [\\n {\\n \\"TagKey\\": \\"key\\",\\n \\"TagValue\\": \\"value\\"\\n }\\n ],\\n \\"ResourceGroupId\\": \\"rg-acfmy2zdbbjplii\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"<PatchBaseline>\\n <UpdatedBy>root(130900000)</UpdatedBy>\\n <CreatedBy>root(130900000)</CreatedBy>\\n <Description>UpdatePatchBaseline</Description>\\n <UpdatedDate>2021-09-08T07:26:37Z</UpdatedDate>\\n <CreatedDate>2021-09-07T03:42:56Z</CreatedDate>\\n <Id>pb-445340b5c6504a85a300</Id>\\n <OperationSystem>Windows</OperationSystem>\\n <ApprovalRules>\\n <PatchRules>\\n <PatchFilterGroup>\\n <Key>PatchSet</Key>\\n <Values>OS</Values>\\n </PatchFilterGroup>\\n <PatchFilterGroup>\\n <Key>ProductFamily</Key>\\n <Values>Windows</Values>\\n </PatchFilterGroup>\\n <PatchFilterGroup>\\n <Key>Product</Key>\\n <Values>Windows 10</Values>\\n <Values>Windows 7</Values>\\n </PatchFilterGroup>\\n <PatchFilterGroup>\\n <Key>Classification</Key>\\n <Values>Security Updates</Values>\\n <Values>Updates</Values>\\n <Values>Update Rollups</Values>\\n <Values>Critical Updates</Values>\\n </PatchFilterGroup>\\n <PatchFilterGroup>\\n <Key>Severity</Key>\\n <Values>Critical</Values>\\n <Values>Important</Values>\\n <Values>Moderate</Values>\\n </PatchFilterGroup>\\n <ApproveAfterDays>7</ApproveAfterDays>\\n <ApproveUntilDate/>\\n <EnableNonSecurity>true</EnableNonSecurity>\\n <ComplianceLevel>Medium</ComplianceLevel>\\n </PatchRules>\\n </ApprovalRules>\\n <Name>MyPatchBaseline</Name>\\n <ShareType>Private</ShareType>\\n</PatchBaseline>\\n<RequestId>1457F46C-7AAE-59FA-BD12-0BDB3751E6F8</RequestId>","errorExample":""}]',
+ 'title' => 'UpdatePatchBaseline',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ 'changeSet' => [],
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'oos:UpdatePatchBaseline',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [
+ ['conditionKey' => 'oos:TLSVersion'],
+ ],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'OOS', 'resourceType' => 'patchbaseline', 'arn' => 'acs:oos:{#regionId}:{#accountId}:patchbaseline/{#patchbaselineName}'],
+ ],
+ ],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'UpdatePatchBaseline'],
+ ],
],
+ ],
+ 'UpdateSecretParameter' => [
+ 'summary' => 'Updates an encryption parameter. Make sure that you have the permissions to call the UpdateSecretValue operation of Key Management Service (KMS) before you call this operation.',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'read',
+ 'operationType' => 'write',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'list',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- 'abilityTreeCode' => '208781',
- 'abilityTreeNodes' => [
- 'FEATUREoosCPYH5Z',
- ],
- 'autoTest' => false,
- 'notSupportAutoTestReason' => '需要进行Github/Gitee平台的Oauth授权',
- 'tenantRelevance' => 'publicInformation',
+ 'operationType' => 'update',
+ 'abilityTreeCode' => '94007',
+ 'abilityTreeNodes' => ['FEATUREoosBA3MI8'],
],
'parameters' => [
[
- 'name' => 'ClientToken',
+ 'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => '-',
- ],
+ 'schema' => ['description' => 'The ID of the region.'."\n", 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''],
],
[
- 'name' => 'Platform',
+ 'name' => 'Name',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'github',
- ],
+ 'schema' => ['description' => 'The name of the parameter. The name must be 1 to 180 characters in length, and can contain letters, digits, hyphens (-), and underscores (\\_). It cannot start with ALIYUN, ACS, ALIBABA, ALICLOUD, or OOS.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'MySecretParameter', 'title' => ''],
],
[
- 'name' => 'RegionId',
+ 'name' => 'Value',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => 'The value of the parameter. The value must be 1 to 4096 characters in length.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'update', 'title' => ''],
],
[
- 'name' => 'RoleName',
+ 'name' => 'Description',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'roleName',
- ],
+ 'schema' => ['description' => 'The description of the parameter. The description must be 1 to 200 characters in length.'."\n", 'type' => 'string', 'required' => false, 'example' => 'SecretParameter', 'title' => ''],
],
[
- 'name' => 'BindType',
+ 'name' => 'Tags',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- ],
+ 'style' => 'json',
+ 'schema' => ['description' => 'The tags of the parameter.'."\n", 'type' => 'object', 'required' => false, 'example' => '{"k1": "v1", "k2": "v2"}', 'title' => ''],
+ ],
+ [
+ 'name' => 'ResourceGroupId',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The ID of the resource group.'."\n", 'type' => 'string', 'required' => false, 'example' => 'rg-acfmxsn4m4******', 'title' => ''],
],
],
'responses' => [
@@ -15948,55 +12160,67 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '1457F46C-7AAE-59FA-BD12-0BDB3751E6F8',
- ],
- 'GitAccounts' => [
- 'description' => '',
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'Owner' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'LYH-RAIN',
- ],
- 'IsActive' => [
- 'description' => '',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- ],
+ 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '0B419FF3-ABC6-4DF0-95E5-636DC8CBB8AF', 'title' => ''],
+ 'Parameter' => [
+ 'description' => 'The information about the parameter.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'Type' => ['description' => 'The type of the parameter.'."\n", 'type' => 'string', 'example' => 'Secret', 'title' => ''],
+ 'UpdatedDate' => ['description' => 'The time when the parameter was updated.'."\n", 'type' => 'string', 'example' => '2020-09-01T09:33:11Z', 'title' => ''],
+ 'UpdatedBy' => ['description' => 'The user who updated the parameter.'."\n", 'type' => 'string', 'example' => 'root(130900000)', 'title' => ''],
+ 'KeyId' => ['description' => 'The ID of customer master key (CMK) of Key Management Service (KMS) that is used for encryption.'."\n", 'type' => 'string', 'example' => '80e9409f-78fa-42ab-84bd-83f40c******', 'title' => ''],
+ 'Tags' => ['description' => 'The tags of the parameter.'."\n", 'type' => 'string', 'example' => '{"k1": "v1", "k2": "v2"}', 'title' => ''],
+ 'Description' => ['description' => 'The description of the parameter.'."\n", 'type' => 'string', 'example' => 'SecretParameter', 'title' => ''],
+ 'Constraints' => ['description' => 'The constraints of the parameter.'."\n", 'type' => 'string', 'example' => '\'{\'\'AllowedValues":["secretparameter"],"AllowedPattern":".*","MinLength":0,"MaxLength":20}\'', 'title' => ''],
+ 'ResourceGroupId' => ['description' => 'The ID of the resource group.'."\n", 'type' => 'string', 'example' => 'rg-acfmxsn4m4******', 'title' => ''],
+ 'CreatedBy' => ['description' => 'The user who created the parameter.'."\n", 'type' => 'string', 'example' => 'root(130900000)', 'title' => ''],
+ 'CreatedDate' => ['description' => 'The time when the parameter was created.'."\n", 'type' => 'string', 'example' => '2020-09-01T09:30:36Z', 'title' => ''],
+ 'ParameterVersion' => ['description' => 'The version number of the parameter.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '2', 'title' => ''],
+ 'Name' => ['description' => 'The name of the parameter.'."\n", 'type' => 'string', 'example' => 'MyParameter', 'title' => ''],
+ 'Id' => ['description' => 'The ID of the parameter.'."\n", 'type' => 'string', 'example' => 'p-0b0fff9919c946xxxxxx', 'title' => ''],
+ 'ShareType' => ['description' => 'The share type of the parameter.'."\n", 'type' => 'string', 'example' => 'Private', 'title' => ''],
],
- ],
- 'Count' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
+ 'title' => '',
+ 'example' => '',
],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"1457F46C-7AAE-59FA-BD12-0BDB3751E6F8\\",\\n \\"GitAccounts\\": [\\n {\\n \\"Owner\\": \\"LYH-RAIN\\",\\n \\"IsActive\\": true\\n }\\n ],\\n \\"Count\\": 1\\n}","type":"json"}]',
- ],
- 'CreateGitRepository' => [
- 'summary' => '创建仓库',
- 'methods' => [
- 'post',
- 'get',
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"0B419FF3-ABC6-4DF0-95E5-636DC8CBB8AF\\",\\n \\"Parameter\\": {\\n \\"Type\\": \\"Secret\\",\\n \\"UpdatedDate\\": \\"2020-09-01T09:33:11Z\\",\\n \\"UpdatedBy\\": \\"root(130900000)\\",\\n \\"KeyId\\": \\"80e9409f-78fa-42ab-84bd-83f40c******\\",\\n \\"Tags\\": \\"{\\\\\\"k1\\\\\\": \\\\\\"v1\\\\\\", \\\\\\"k2\\\\\\": \\\\\\"v2\\\\\\"}\\",\\n \\"Description\\": \\"SecretParameter\\",\\n \\"Constraints\\": \\"\'{\'\'AllowedValues\\\\\\":[\\\\\\"secretparameter\\\\\\"],\\\\\\"AllowedPattern\\\\\\":\\\\\\".*\\\\\\",\\\\\\"MinLength\\\\\\":0,\\\\\\"MaxLength\\\\\\":20}\'\\",\\n \\"ResourceGroupId\\": \\"rg-acfmxsn4m4******\\",\\n \\"CreatedBy\\": \\"root(130900000)\\",\\n \\"CreatedDate\\": \\"2020-09-01T09:30:36Z\\",\\n \\"ParameterVersion\\": 2,\\n \\"Name\\": \\"MyParameter\\",\\n \\"Id\\": \\"p-0b0fff9919c946xxxxxx\\",\\n \\"ShareType\\": \\"Private\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"<UpdateSecretParameterResponse>\\n <RequestId>0B419FF3-ABC6-4DF0-95E5-636DC8CBB8AF</RequestId>\\n <Parameter>\\n <Type>Secret</Type>\\n <UpdatedDate>2020-09-01T09:33:11Z</UpdatedDate>\\n <UpdatedBy>root(130900000)</UpdatedBy>\\n <KeyId>80e9409f-78fa-42ab-84bd-83f40c******</KeyId>\\n <Tags>{\\"k1\\": \\"v1\\", \\"k2\\": \\"v2\\"}</Tags>\\n <Description>SecretParameter</Description>\\n <Constraints>\'{\'\'AllowedValues\\":[\\"secretparameter\\"],\\"AllowedPattern\\":\\".*\\",\\"MinLength\\":0,\\"MaxLength\\":20}\'</Constraints>\\n <ResourceGroupId>rg-acfmxsn4m4******</ResourceGroupId>\\n <CreatedBy>root(130900000)</CreatedBy>\\n <CreatedDate>2020-09-01T09:30:36Z</CreatedDate>\\n <ParameterVersion>2</ParameterVersion>\\n <Name>MyParameter</Name>\\n <Id>p-0b0fff9919c946xxxxxx</Id>\\n <ShareType>Private</ShareType>\\n </Parameter>\\n</UpdateSecretParameterResponse>","errorExample":""}]',
+ 'title' => 'UpdateSecretParameter',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'UpdateSecretParameter'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'oos:UpdateSecretParameter',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [
+ ['conditionKey' => 'oos:TLSVersion'],
+ ],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'OOS', 'resourceType' => 'secretparameter', 'arn' => 'acs:oos:{#regionId}:{#accountId}:secretparameter/{#secretparameterName}'],
+ ],
+ ],
+ ],
],
+ ],
+ 'UpdateStateConfiguration' => [
+ 'summary' => 'Updates a desired-state configuration.',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -16005,127 +12229,67 @@
'operationType' => 'write',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'create',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- 'abilityTreeCode' => '220997',
- 'abilityTreeNodes' => [
- 'FEATUREoosCPYH5Z',
- ],
- 'autoTest' => false,
- 'notSupportAutoTestReason' => '需要Github/Gitee的OAuth授权',
- 'tenantRelevance' => 'publicInformation',
+ 'operationType' => 'update',
+ 'abilityTreeCode' => '94008',
+ 'abilityTreeNodes' => ['FEATUREoosLDUDPP'],
],
'parameters' => [
[
- 'name' => 'ClientToken',
+ 'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'TF-CreateApplication-1647587475-84104b89-eba5-47a8-b2fd-807b8b7d',
- ],
+ 'schema' => ['description' => 'The region ID.'."\n", 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''],
],
[
- 'name' => 'Platform',
+ 'name' => 'Description',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'gitee',
- ],
+ 'schema' => ['description' => 'The description.'."\n", 'type' => 'string', 'required' => false, 'example' => 'ACS-ECS-InventoryDataCollection', 'title' => ''],
],
[
- 'name' => 'Owner',
+ 'name' => 'Parameters',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'JJGGu',
- ],
+ 'style' => 'json',
+ 'schema' => ['description' => 'The parameters.'."\n", 'type' => 'object', 'required' => false, 'example' => '{ "policy": { "ACS:Application": { "Collection": "Enabled" }, "ACS:Network": { "Collection": "Enabled" } } }', 'title' => ''],
],
[
- 'name' => 'SourceRepoOwner',
+ 'name' => 'ConfigureMode',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'aliyun-computenest',
- ],
+ 'schema' => ['description' => 'The configuration mode. Valid values: ApplyOnce: The configuration is applied only once. After a configuration is updated, the new configuration is applied. ApplyAndMonitor: The configuration is applied only once. After the configuration is applied, the system only checks whether the configuration is migrated in the future. ApplyAndAutoCorrect: The configuration is always applied.'."\n", 'type' => 'string', 'required' => false, 'example' => 'ApplyOnce', 'title' => ''],
],
[
- 'name' => 'SourceRepoName',
+ 'name' => 'ScheduleType',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'test-repo',
- ],
+ 'schema' => ['description' => 'The schedule type.'."\n", 'type' => 'string', 'required' => false, 'example' => 'rate', 'title' => ''],
],
[
- 'name' => 'SourceRepoBranch',
+ 'name' => 'ScheduleExpression',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'main',
- ],
+ 'schema' => ['description' => 'The schedule expression.'."\n", 'type' => 'string', 'required' => false, 'example' => '1 hour', 'title' => ''],
],
[
- 'name' => 'TargetRepoOwner',
+ 'name' => 'Targets',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'namexx',
- ],
+ 'schema' => ['description' => 'The resources to be queried.'."\n", 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => '{ "ResourceType": "ALIYUN::ECS::Instance", "Filters": [ { "Type": "All", "RegionId": "cn-hangzhou", "Parameters": { "RegionId": "cn-hangzhou", "Status": "Running" } } ] }', 'title' => ''],
],
[
- 'name' => 'TargetRepoName',
+ 'name' => 'ClientToken',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'test-repo',
- ],
+ 'schema' => ['description' => 'The client token that is used to ensure the idempotence of the request.'."\n", 'type' => 'string', 'required' => false, 'example' => 'DASKJJLKADS-AHKLJHJSAKL-AJK', 'title' => ''],
],
[
- 'name' => 'IsPrivate',
+ 'name' => 'StateConfigurationId',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'False',
- ],
+ 'schema' => ['description' => 'The ID of the desired-state configuration.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'sc-asfgdhj12345', 'title' => ''],
],
[
- 'name' => 'RegionId',
+ 'name' => 'Tags',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'style' => 'json',
+ 'schema' => ['description' => 'The tags to be added to the configuration.'."\n", 'type' => 'object', 'required' => false, 'example' => '{"Key": "oos", "Value": "sc"}', 'title' => ''],
],
[
- 'name' => 'OrgId',
+ 'name' => 'ResourceGroupId',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => '5ffd468b1e45db3c1cc26ad6',
- ],
+ 'schema' => ['description' => 'The resource group ID.'."\n", 'type' => 'string', 'required' => false, 'example' => 'rg-acfmxsn4m4******', 'title' => ''],
],
],
'responses' => [
@@ -16133,145 +12297,212 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'AA9FA778-AE4B-55EC-81CC-C46BAF08A166',
- ],
- 'GitRepo' => [
- 'description' => '',
- 'type' => 'object',
- 'properties' => [
- 'FullName' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'aliyun-computest/lingo',
- ],
- 'Description' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'Test parameter for security testing',
- ],
- 'HtmlUrl' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'https://github.com/alibaba/fastjson',
- ],
- 'IsPrivate' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'False',
+ 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '1306108F-610C-40FD-AAD5-DA13E8B00BE9', 'title' => ''],
+ 'StateConfiguration' => [
+ 'description' => 'The details of the configuration.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'UpdateTime' => ['description' => 'The time when the configuration was updated.'."\n", 'type' => 'string', 'example' => '2021-03-22T03:13:32Z', 'title' => ''],
+ 'CreateTime' => ['description' => 'The time when the configuration was created.'."\n", 'type' => 'string', 'example' => '2021-03-22T03:13:32Z', 'title' => ''],
+ 'Targets' => ['description' => 'The queried resources.'."\n", 'type' => 'string', 'example' => '{ "ResourceType": "ALIYUN::ECS::Instance", "Filters": [ { "Type": "All", "RegionId": "cn-hangzhou", "Parameters": { "RegionId": "cn-hangzhou", "Status": "Running" } } ] }', 'title' => ''],
+ 'Tags' => ['description' => 'The tags added to the configuration.'."\n", 'type' => 'object', 'example' => '{"Key": "oos", "Value": "inventory"}', 'title' => ''],
+ 'StateConfigurationId' => ['description' => 'The ID of the desired-state configuration.'."\n", 'type' => 'string', 'example' => 'StateConfigurationId', 'title' => ''],
+ 'ScheduleExpression' => ['description' => 'The CRON expression.'."\n", 'type' => 'string', 'example' => '1 hour', 'title' => ''],
+ 'TemplateName' => ['description' => 'The name of the template.'."\n", 'type' => 'string', 'example' => 'ACS-ECS-InventoryDataCollection', 'title' => ''],
+ 'TemplateVersion' => ['description' => 'The name of the template version.'."\n", 'type' => 'string', 'example' => 'v1', 'title' => ''],
+ 'ConfigureMode' => ['description' => 'The configuration mode. Valid values:'."\n", 'type' => 'string', 'example' => 'ApplyAndAutoCorrect', 'title' => ''],
+ 'ScheduleType' => ['description' => 'The schedule type.'."\n", 'type' => 'string', 'example' => 'rate', 'title' => ''],
+ 'Parameters' => ['description' => 'The parameters.'."\n", 'type' => 'string', 'example' => '{"policy": {"ACS:Network": {"Collection": "Enabled"}, "ACS:Application": {"Collection": "Enabled"}}}', 'title' => ''],
+ 'Description' => ['description' => 'The description of the desired-state configuration.'."\n", 'type' => 'string', 'example' => 'Collect Inventory data', 'title' => ''],
+ 'ResourceGroupId' => ['description' => 'The resource group ID.'."\n", 'type' => 'string', 'example' => 'rg-acfmxsn4m4******', 'title' => ''],
+ 'TemplateId' => ['description' => 'The template ID.'."\n", 'type' => 'string', 'example' => 't-1234asadf', 'title' => ''],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
+ 'title' => '',
+ 'example' => '',
],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"AA9FA778-AE4B-55EC-81CC-C46BAF08A166\\",\\n \\"GitRepo\\": {\\n \\"FullName\\": \\"aliyun-computest/lingo\\",\\n \\"Description\\": \\"Test parameter for security testing\\",\\n \\"HtmlUrl\\": \\"https://github.com/alibaba/fastjson\\",\\n \\"IsPrivate\\": \\"False\\"\\n }\\n}","type":"json"}]',
- ],
- 'CheckGitRepositoryExists' => [
- 'summary' => '检测仓库是否存在',
- 'methods' => [
- 'post',
- 'get',
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"1306108F-610C-40FD-AAD5-DA13E8B00BE9\\",\\n \\"StateConfiguration\\": [\\n {\\n \\"UpdateTime\\": \\"2021-03-22T03:13:32Z\\",\\n \\"CreateTime\\": \\"2021-03-22T03:13:32Z\\",\\n \\"Targets\\": \\"{ \\\\\\"ResourceType\\\\\\": \\\\\\"ALIYUN::ECS::Instance\\\\\\", \\\\\\"Filters\\\\\\": [ { \\\\\\"Type\\\\\\": \\\\\\"All\\\\\\", \\\\\\"RegionId\\\\\\": \\\\\\"cn-hangzhou\\\\\\", \\\\\\"Parameters\\\\\\": { \\\\\\"RegionId\\\\\\": \\\\\\"cn-hangzhou\\\\\\", \\\\\\"Status\\\\\\": \\\\\\"Running\\\\\\" } } ] }\\",\\n \\"Tags\\": {\\n \\"Key\\": \\"oos\\",\\n \\"Value\\": \\"inventory\\"\\n },\\n \\"StateConfigurationId\\": \\"StateConfigurationId\\",\\n \\"ScheduleExpression\\": \\"1 hour\\",\\n \\"TemplateName\\": \\"ACS-ECS-InventoryDataCollection\\",\\n \\"TemplateVersion\\": \\"v1\\",\\n \\"ConfigureMode\\": \\"ApplyAndAutoCorrect\\",\\n \\"ScheduleType\\": \\"rate\\",\\n \\"Parameters\\": \\"{\\\\\\"policy\\\\\\": {\\\\\\"ACS:Network\\\\\\": {\\\\\\"Collection\\\\\\": \\\\\\"Enabled\\\\\\"}, \\\\\\"ACS:Application\\\\\\": {\\\\\\"Collection\\\\\\": \\\\\\"Enabled\\\\\\"}}}\\",\\n \\"Description\\": \\"Collect Inventory data\\",\\n \\"ResourceGroupId\\": \\"rg-acfmxsn4m4******\\",\\n \\"TemplateId\\": \\"t-1234asadf\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]',
+ 'title' => 'UpdateStateConfiguration',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'UpdateStateConfiguration'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'oos:UpdateStateConfiguration',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [
+ ['conditionKey' => 'oos:TLSVersion'],
+ ],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'OOS', 'resourceType' => 'stateconfiguration', 'arn' => 'acs:oos:{#regionId}:{#accountId}:stateconfiguration/{#stateconfigurationId}'],
+ ],
+ ],
+ ],
],
+ ],
+ 'UpdateTemplate' => [
+ 'summary' => 'Updates the information about an existing template.',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'readAndWrite',
- 'deprecated' => false,
'systemTags' => [
- 'operationType' => 'get',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- 'abilityTreeCode' => '217077',
- 'abilityTreeNodes' => [
- 'FEATUREoosCPYH5Z',
- ],
- 'autoTest' => true,
- 'tenantRelevance' => 'publicInformation',
+ 'operationType' => 'update',
+ 'abilityTreeCode' => '94009',
+ 'abilityTreeNodes' => ['FEATUREoosCPYH5Z'],
],
'parameters' => [
[
- 'name' => 'ClientToken',
+ 'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => '123e4567-e89b-12d3-a456-42665544****',
- ],
+ 'schema' => ['description' => 'The ID of the region.'."\n", 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''],
],
[
- 'name' => 'Platform',
- 'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'gitee',
- ],
- ],
- [
- 'name' => 'Owner',
+ 'name' => 'TemplateName',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'ir9SK9n1u',
- ],
+ 'schema' => ['description' => 'The name of the template. The name can be up to 200 characters in length and can contain letters, digits, hyphens (-), and underscores (\\_). The name cannot start with ALIYUN, ACS, ALIBABA, or ALICLOUD.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'MyTemplate', 'title' => ''],
],
[
- 'name' => 'RepoFullName',
+ 'name' => 'Content',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'LYH-RAIN/vue-color-avatar',
- ],
+ 'schema' => ['description' => 'The content of the template. The content must be in the JSON or YAML format, and its maximum size is 64 KB.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '{'."\n"
+ .' "FormatVersion": "OOS-2019-06-01",'."\n"
+ .' "Description": {'."\n"
+ .' "en": "Bulky starts the ECS instances",'."\n"
+ .' "zh-cn": "批量启动ECS实例",'."\n"
+ .' "name-en": "Bulky Start Instances",'."\n"
+ .' "name-zh-cn": "批量启动实例"'."\n"
+ .' },'."\n"
+ .' "Parameters": {'."\n"
+ .' "regionId": {'."\n"
+ .' "Type": "String",'."\n"
+ .' "Label": {'."\n"
+ .' "en": "RegionId",'."\n"
+ .' "zh-cn": "地域ID"'."\n"
+ .' },'."\n"
+ .' "AssociationProperty": "RegionId",'."\n"
+ .' "Default": "{{ ACS::RegionId }}"'."\n"
+ .' },'."\n"
+ .' "targets": {'."\n"
+ .' "Type": "Json",'."\n"
+ .' "Label": {'."\n"
+ .' "en": "TargetInstance",'."\n"
+ .' "zh-cn": "目标实例"'."\n"
+ .' },'."\n"
+ .' "AssociationProperty": "Targets",'."\n"
+ .' "AssociationPropertyMetadata": {'."\n"
+ .' "ResourceType": "ALIYUN::ECS::Instance",'."\n"
+ .' "RegionId": "regionId"'."\n"
+ .' }'."\n"
+ .' },'."\n"
+ .' "rateControl": {'."\n"
+ .' "Label": {'."\n"
+ .' "en": "RateControl",'."\n"
+ .' "zh-cn": "任务执行的并发比率"'."\n"
+ .' },'."\n"
+ .' "Type": "Json",'."\n"
+ .' "AssociationProperty": "RateControl",'."\n"
+ .' "Default": {'."\n"
+ .' "Mode": "Concurrency",'."\n"
+ .' "MaxErrors": 0,'."\n"
+ .' "Concurrency": 10'."\n"
+ .' }'."\n"
+ .' },'."\n"
+ .' "OOSAssumeRole": {'."\n"
+ .' "Label": {'."\n"
+ .' "en": "OOSAssumeRole",'."\n"
+ .' "zh-cn": "OOS扮演的RAM角色"'."\n"
+ .' },'."\n"
+ .' "Type": "String",'."\n"
+ .' "Default": "OOSServiceRole"'."\n"
+ .' }'."\n"
+ .' },'."\n"
+ .' "RamRole": "{{ OOSAssumeRole }}",'."\n"
+ .' "Tasks": ['."\n"
+ .' {'."\n"
+ .' "Name": "getInstance",'."\n"
+ .' "Description": {'."\n"
+ .' "en": "Views the ECS instances",'."\n"
+ .' "zh-cn": "获取ECS实例"'."\n"
+ .' },'."\n"
+ .' "Action": "ACS::SelectTargets",'."\n"
+ .' "Properties": {'."\n"
+ .' "ResourceType": "ALIYUN::ECS::Instance",'."\n"
+ .' "RegionId": "{{ regionId }}",'."\n"
+ .' "Filters": ['."\n"
+ .' "{{ targets }}"'."\n"
+ .' ]'."\n"
+ .' },'."\n"
+ .' "Outputs": {'."\n"
+ .' "instanceIds": {'."\n"
+ .' "Type": "List",'."\n"
+ .' "ValueSelector": "Instances.Instance[].InstanceId"'."\n"
+ .' }'."\n"
+ .' }'."\n"
+ .' },'."\n"
+ .' {'."\n"
+ .' "Name": "startInstance",'."\n"
+ .' "Action": "ACS::ECS::StartInstance",'."\n"
+ .' "Description": {'."\n"
+ .' "en": "Starts the ECS instances",'."\n"
+ .' "zh-cn": "启动实例"'."\n"
+ .' },'."\n"
+ .' "Properties": {'."\n"
+ .' "regionId": "{{ regionId }}",'."\n"
+ .' "instanceId": "{{ ACS::TaskLoopItem }}"'."\n"
+ .' },'."\n"
+ .' "Loop": {'."\n"
+ .' "RateControl": "{{ rateControl }}",'."\n"
+ .' "Items": "{{ getInstance.instanceIds }}"'."\n"
+ .' }'."\n"
+ .' }'."\n"
+ .' ],'."\n"
+ .' "Outputs": {'."\n"
+ .' "instanceIds": {'."\n"
+ .' "Type": "List",'."\n"
+ .' "Value": "{{ getInstance.instanceIds }}"'."\n"
+ .' }'."\n"
+ .' }'."\n"
+ .'}', 'title' => ''],
],
[
- 'name' => 'RegionId',
+ 'name' => 'Tags',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'style' => 'json',
+ 'schema' => ['description' => 'The tag keys and values. The number of key-value pairs ranges from 1 to 20.'."\n", 'type' => 'object', 'required' => false, 'example' => '{"k1":"k2","k2":"v2"}', 'title' => ''],
],
[
- 'name' => 'OrgId',
+ 'name' => 'VersionName',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => '5ffd468b1e45db3c1cc26ad6',
- ],
+ 'schema' => ['description' => 'The name of the template version.'."\n", 'type' => 'string', 'required' => false, 'example' => 'v2', 'title' => ''],
],
[
- 'name' => 'RepoId',
+ 'name' => 'ResourceGroupId',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '2859382',
- ],
+ 'schema' => ['description' => 'The ID of the resource group.'."\n", 'type' => 'string', 'required' => false, 'example' => 'rg-acfmxsn4m4******', 'title' => ''],
],
],
'responses' => [
@@ -16279,123 +12510,115 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'AA9FA778-AE4B-55EC-81CC-C46BAF08A166',
- ],
- 'RepoExists' => [
- 'description' => '',
- 'type' => 'boolean',
- 'example' => 'true',
+ 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '2075899A-585D-4A41-A9B2-28DF4F534F', 'title' => ''],
+ 'Template' => [
+ 'description' => 'The metadata of the template.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'Hash' => ['description' => 'The SHA-256 value of the template content.'."\n", 'type' => 'string', 'example' => '4bc7d7a21b3e003434b9c223f6e6d2578b5ebfeb5be28c1fcf8a8a1b11907bb4', 'title' => ''],
+ 'UpdatedDate' => ['description' => 'The time when the information about the template was last modified.'."\n", 'type' => 'string', 'example' => '2019-05-16T10:26:14Z', 'title' => ''],
+ 'UpdatedBy' => ['description' => 'The user who last modified the information about the template.'."\n", 'type' => 'string', 'example' => 'root(1309000)', 'title' => ''],
+ 'Tags' => ['description' => 'The tag keys and values. The number of key-value pairs ranges from 1 to 20.'."\n", 'type' => 'object', 'example' => '{"k1":"k2","k2":"v2"}', 'title' => ''],
+ 'TemplateName' => ['description' => 'The name of the template.'."\n", 'type' => 'string', 'example' => 'MyTemplate', 'title' => ''],
+ 'TemplateVersion' => ['description' => 'The version of the template. The name of the version consists of the letter v and a number. The number starts from 1.'."\n", 'type' => 'string', 'example' => 'v2', 'title' => ''],
+ 'TemplateFormat' => ['description' => 'The format of the template. The system automatically determines whether the format is JSON or YAML.'."\n", 'type' => 'string', 'example' => 'JSON', 'title' => ''],
+ 'Description' => ['description' => 'The description of the template.'."\n", 'type' => 'string', 'example' => 'Describe instances of given status', 'title' => ''],
+ 'ResourceGroupId' => ['description' => 'The ID of the resource group.'."\n", 'type' => 'string', 'example' => 'rg-acfmxsn4m4******', 'title' => ''],
+ 'CreatedBy' => ['description' => 'The user who created the template.'."\n", 'type' => 'string', 'example' => 'root(130920000)', 'title' => ''],
+ 'CreatedDate' => ['description' => 'The time when the template was created.'."\n", 'type' => 'string', 'example' => '2019-05-16T10:26:14Z', 'title' => ''],
+ 'TemplateId' => ['description' => 'The ID of the template.'."\n", 'type' => 'string', 'example' => 't-94753deed38', 'title' => ''],
+ 'HasTrigger' => ['description' => 'Indicates whether the template is configured with a trigger.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''],
+ 'ShareType' => ['description' => 'The share type of the template. The share type of a user-created template is **Private**.'."\n", 'type' => 'string', 'example' => 'Private', 'title' => ''],
+ ],
+ 'title' => '',
+ 'example' => '',
],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"AA9FA778-AE4B-55EC-81CC-C46BAF08A166\\",\\n \\"RepoExists\\": true\\n}","type":"json"}]',
- ],
- 'GetGitBranch' => [
- 'summary' => '查询Git分支详情',
- 'methods' => [
- 'post',
- 'get',
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"2075899A-585D-4A41-A9B2-28DF4F534F\\",\\n \\"Template\\": {\\n \\"Hash\\": \\"4bc7d7a21b3e003434b9c223f6e6d2578b5ebfeb5be28c1fcf8a8a1b11907bb4\\",\\n \\"UpdatedDate\\": \\"2019-05-16T10:26:14Z\\",\\n \\"UpdatedBy\\": \\"root(1309000)\\",\\n \\"Tags\\": {\\n \\"k1\\": \\"k2\\",\\n \\"k2\\": \\"v2\\"\\n },\\n \\"TemplateName\\": \\"MyTemplate\\",\\n \\"TemplateVersion\\": \\"v2\\",\\n \\"TemplateFormat\\": \\"JSON\\",\\n \\"Description\\": \\"Describe instances of given status\\",\\n \\"ResourceGroupId\\": \\"rg-acfmxsn4m4******\\",\\n \\"CreatedBy\\": \\"root(130920000)\\",\\n \\"CreatedDate\\": \\"2019-05-16T10:26:14Z\\",\\n \\"TemplateId\\": \\"t-94753deed38\\",\\n \\"HasTrigger\\": true,\\n \\"ShareType\\": \\"Private\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"<UpdateTemplateResponse>\\n <RequestId>2075899A-585D-4A41-A9B2-28DF4F534F</RequestId>\\n <Template>\\n <Hash>4bc7d7a21b3e003434b9c223f6e6d2578b5ebfeb5be28c1fcf8a8a1b11907bb4</Hash>\\n <UpdatedDate>2019-05-16T10:26:14Z</UpdatedDate>\\n <UpdatedBy>root(1309000)</UpdatedBy>\\n <TemplateName>MyTemplate</TemplateName>\\n <TemplateVersion>v2</TemplateVersion>\\n <TemplateFormat>JSON</TemplateFormat>\\n <Description>Describe instances of given status</Description>\\n <ResourceGroupId>rg-acfmxsn4m4******</ResourceGroupId>\\n <CreatedBy>root(130920000)</CreatedBy>\\n <CreatedDate>2019-05-16T10:26:14Z</CreatedDate>\\n <TemplateId>t-94753deed38</TemplateId>\\n <HasTrigger>true</HasTrigger>\\n <Tags>\\n <k1>v1</k1>\\n <k2>v2</k2>\\n </Tags>\\n <ShareType>Private</ShareType>\\n </Template>\\n</UpdateTemplateResponse>","errorExample":""}]',
+ 'title' => 'UpdateTemplate',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'UpdateTemplate'],
+ ],
],
- 'schemes' => [
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'oos:UpdateTemplate',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [
+ ['conditionKey' => 'oos:tag', 'validationType' => 'always'],
+ ['conditionKey' => 'oos:TLSVersion'],
+ ],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'OOS', 'resourceType' => 'template', 'arn' => 'acs:oos:{#regionId}:{#accountId}:template/{#templateName}'],
+ ],
+ ],
+ 'additionalActions' => [
+ ['action' => 'ram:PassRole', 'validationType' => 'always'],
+ ],
+ ],
],
+ ],
+ 'UpdateTemplateAttributes' => [
+ 'summary' => 'Updates the attributes of a template.',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'read',
- 'deprecated' => false,
+ 'operationType' => 'write',
'systemTags' => [
- 'operationType' => 'get',
+ 'operationType' => 'update',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeCode' => '233936',
- 'abilityTreeNodes' => [
- 'FEATUREoosCPYH5Z',
- ],
- 'autoTest' => true,
+ 'abilityTreeCode' => '200756',
+ 'abilityTreeNodes' => ['FEATUREoosCPYH5Z'],
'tenantRelevance' => 'publicInformation',
],
'parameters' => [
[
- 'name' => 'Platform',
- 'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'github',
- ],
- ],
- [
- 'name' => 'Owner',
+ 'name' => 'TemplateName',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'namexxx',
- ],
+ 'schema' => ['description' => 'The name of the template.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'MyTemplate', 'title' => ''],
],
[
- 'name' => 'RepoFullName',
+ 'name' => 'IsFavorite',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'alibaba/fastjson',
- ],
+ 'schema' => ['description' => 'Specifies whether to add the template to or remove it from favorites.', 'type' => 'boolean', 'required' => false, 'example' => 'true', 'title' => ''],
],
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => 'The region ID.', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''],
],
[
- 'name' => 'Branch',
+ 'name' => 'SharePermissionAction',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'main',
- ],
+ 'schema' => ['description' => 'The action to perform on the shared template.', 'type' => 'string', 'required' => false, 'example' => 'Share', 'title' => ''],
],
[
- 'name' => 'OrgId',
+ 'name' => 'ShareTemplateVersion',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => '5ffd468b1e45db3c1cc26ad6',
- ],
+ 'schema' => ['description' => 'The version of the shared template.', 'type' => 'string', 'required' => false, 'example' => 'v1', 'title' => ''],
],
[
- 'name' => 'RepoId',
+ 'name' => 'AccountIds',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '2823742',
- ],
+ 'schema' => ['description' => 'The list of Alibaba Cloud accounts with which to share the template. A maximum of five accounts can be specified at a time.', 'type' => 'string', 'required' => false, 'example' => '["1319994761488600"]', 'title' => ''],
],
],
'responses' => [
@@ -16403,45 +12626,27 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'Commit' => [
- 'description' => '',
- 'type' => 'object',
- 'properties' => [
- 'Sha' => [
- 'description' => 'git commit hash',
- 'type' => 'string',
- 'example' => '51417755',
- ],
- 'Message' => [
- 'description' => 'git commit message',
- 'type' => 'string',
- 'example' => 'OK',
- ],
- ],
- ],
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'AA9FA778-AE4B-55EC-81CC-C46BAF08A166',
- ],
+ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'A5320F1D-92D9-44BB-A416-5FC525ED6D57', 'title' => ''],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => 'UpdateTemplateAttributes',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Commit\\": {\\n \\"Sha\\": \\"51417755\\",\\n \\"Message\\": \\"OK\\"\\n },\\n \\"RequestId\\": \\"AA9FA778-AE4B-55EC-81CC-C46BAF08A166\\"\\n}","type":"json"}]',
+ 'ramActions' => [],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A5320F1D-92D9-44BB-A416-5FC525ED6D57\\"\\n}","type":"json"}]',
],
- 'ListGitRepositoryContents' => [
- 'summary' => '获取仓库文件与目录信息',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'ValidateTemplateContent' => [
+ 'summary' => 'Validates the syntax of a template.',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -16450,1316 +12655,1995 @@
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'list',
+ 'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeCode' => '249153',
- 'abilityTreeNodes' => [
- 'FEATUREoosCPYH5Z',
- ],
- 'autoTest' => true,
+ 'abilityTreeCode' => '94010',
+ 'abilityTreeNodes' => ['FEATUREoosCPYH5Z'],
'tenantRelevance' => 'publicInformation',
],
'parameters' => [
[
- 'name' => 'ClientToken',
+ 'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => '-',
- ],
+ 'schema' => ['description' => 'The region ID.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'cn-hangzhou'],
],
[
- 'name' => 'RegionId',
+ 'name' => 'Content',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => 'The content of the template.', 'type' => 'string', 'required' => false, 'docRequired' => true, 'title' => '', 'example' => '{"FormatVersion": "OOS-2019-06-01", "Description": "Describe instances of given status", "Parameters": {"Status": {"Type": "String", "Description": "(Required) The status of the Ecs instance."}}, "Tasks": [{"Properties": {"Parameters": {"Status": "{{ Status }}"}, "API": "DescribeInstances", "Service": "Ecs"}, "Name": "foo", "Action": "ACS::ExecuteApi"}]}'],
],
[
- 'name' => 'Platform',
+ 'name' => 'TemplateURL',
'in' => 'query',
+ 'schema' => ['description' => 'The URL of the OOS template in Object Storage Service (OSS). Only public-read URLs are supported. This parameter lets you create an execution from the template content stored at the URL without having to create a template first. Do not specify this parameter if you create an execution from an existing template.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'http:/oos-template.cn-hangzhou.oss.aliyun-inc.com/oos-template.json'],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Outputs' => ['description' => 'The outputs of the template.', 'type' => 'string', 'title' => '', 'example' => '{}'],
+ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => 'D5EE9591-1F2D-573E-8751-7F08BBB388D4'],
+ 'Parameters' => ['description' => 'The parameters of the template.', 'type' => 'string', 'title' => '', 'example' => '{ "Status": { "Description": "(Required) The status of the Ecs instance.", "Type": "String" } }'],
+ 'RamRole' => ['description' => 'The RAM role.', 'type' => 'string', 'title' => '', 'example' => 'OOSServiceRole'],
+ 'Tasks' => [
+ 'description' => 'The tasks defined in the template.',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Outputs' => ['description' => 'The outputs of the task.', 'type' => 'string', 'title' => '', 'example' => '.instanceId'],
+ 'Type' => ['description' => 'The action type.', 'type' => 'string', 'title' => '', 'example' => 'ACS::ExecuteAPI'],
+ 'Description' => ['description' => 'The description of the task.', 'type' => 'string', 'title' => '', 'example' => '(Required) The status of the Ecs instance.'],
+ 'Name' => ['description' => 'The name of the task.', 'type' => 'string', 'title' => '', 'example' => 'foo'],
+ 'Properties' => ['description' => 'The properties of the task.', 'type' => 'string', 'title' => '', 'example' => '{"API": "DescribeInstances","Parameters": {"Status": "{{ Status }}"},"Service": "Ecs"}'],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'gitee',
+ 'title' => '',
+ 'example' => '',
],
],
+ ],
+ 'title' => 'ValidateTemplateContent',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ValidateTemplateContent'],
+ ],
+ ],
+ 'ramActions' => [
[
- 'name' => 'Owner',
- 'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'dhuai',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'oos:ValidateTemplateContent',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [
+ ['conditionKey' => 'oos:TLSVersion'],
+ ],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'OOS', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
],
],
- [
- 'name' => 'OrgId',
- 'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => '6fekfmnfll135123kdf33',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Outputs\\": \\"{}\\",\\n \\"RequestId\\": \\"D5EE9591-1F2D-573E-8751-7F08BBB388D4\\",\\n \\"Parameters\\": \\"{ \\\\\\"Status\\\\\\": { \\\\\\"Description\\\\\\": \\\\\\"(Required) The status of the Ecs instance.\\\\\\", \\\\\\"Type\\\\\\": \\\\\\"String\\\\\\" } }\\",\\n \\"RamRole\\": \\"OOSServiceRole\\",\\n \\"Tasks\\": [\\n {\\n \\"Outputs\\": \\".instanceId\\",\\n \\"Type\\": \\"ACS::ExecuteAPI\\",\\n \\"Description\\": \\"(Required) The status of the Ecs instance.\\",\\n \\"Name\\": \\"foo\\",\\n \\"Properties\\": \\"{\\\\\\"API\\\\\\": \\\\\\"DescribeInstances\\\\\\",\\\\\\"Parameters\\\\\\": {\\\\\\"Status\\\\\\": \\\\\\"{{ Status }}\\\\\\"},\\\\\\"Service\\\\\\": \\\\\\"Ecs\\\\\\"}\\"\\n }\\n ]\\n}","type":"json"}]',
+ ],
+ ],
+ 'endpoints' => [
+ ['regionId' => 'cn-beijing', 'regionName' => 'China (Beijing)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'oos.cn-beijing.aliyuncs.com', 'endpoint' => 'oos.cn-beijing.aliyuncs.com', 'vpc' => 'oos-vpc.cn-beijing.aliyuncs.com'],
+ ['regionId' => 'cn-zhengzhou-jva', 'regionName' => 'Zhengzhou (China Unicom Joint Venture)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'oos.cn-zhengzhou-jva.aliyuncs.com', 'endpoint' => 'oos.cn-zhengzhou-jva.aliyuncs.com', 'vpc' => 'oos-vpc.cn-zhengzhou-jva.aliyuncs.com'],
+ ['regionId' => 'cn-heyuan', 'regionName' => 'China (Heyuan)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'oos.cn-heyuan.aliyuncs.com', 'endpoint' => 'oos.cn-heyuan.aliyuncs.com', 'vpc' => 'oos-vpc.cn-heyuan.aliyuncs.com'],
+ ['regionId' => 'cn-zhangjiakou', 'regionName' => 'China (Zhangjiakou)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'oos.cn-zhangjiakou.aliyuncs.com', 'endpoint' => 'oos.cn-zhangjiakou.aliyuncs.com', 'vpc' => 'oos-vpc.cn-zhangjiakou.aliyuncs.com'],
+ ['regionId' => 'ap-northeast-2', 'regionName' => 'South Korea (Seoul)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'oos.ap-northeast-2.aliyuncs.com', 'endpoint' => 'oos.ap-northeast-2.aliyuncs.com', 'vpc' => 'oos-vpc.ap-northeast-2.aliyuncs.com'],
+ ['regionId' => 'ap-northeast-1', 'regionName' => 'Japan (Tokyo)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'oos.ap-northeast-1.aliyuncs.com', 'endpoint' => 'oos.ap-northeast-1.aliyuncs.com', 'vpc' => 'oos-vpc.ap-northeast-1.aliyuncs.com'],
+ ['regionId' => 'ap-southeast-1', 'regionName' => 'Singapore', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'oos.ap-southeast-1.aliyuncs.com', 'endpoint' => 'oos.ap-southeast-1.aliyuncs.com', 'vpc' => 'oos-vpc.ap-southeast-1.aliyuncs.com'],
+ ['regionId' => 'ap-southeast-2', 'regionName' => 'Australia (Sydney) Closed', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'oos.ap-southeast-2.aliyuncs.com', 'endpoint' => 'oos.ap-southeast-2.aliyuncs.com', 'vpc' => 'oos-vpc.ap-southeast-2.aliyuncs.com'],
+ ['regionId' => 'ap-southeast-3', 'regionName' => 'Malaysia (Kuala Lumpur)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'oos.ap-southeast-3.aliyuncs.com', 'endpoint' => 'oos.ap-southeast-3.aliyuncs.com', 'vpc' => 'oos-vpc.ap-southeast-3.aliyuncs.com'],
+ ['regionId' => 'ap-southeast-5', 'regionName' => 'Indonesia (Jakarta)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'oos.ap-southeast-5.aliyuncs.com', 'endpoint' => 'oos.ap-southeast-5.aliyuncs.com', 'vpc' => 'oos-vpc.ap-southeast-5.aliyuncs.com'],
+ ['regionId' => 'ap-southeast-6', 'regionName' => 'Philippines (Manila)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'oos.ap-southeast-6.aliyuncs.com', 'endpoint' => 'oos.ap-southeast-6.aliyuncs.com', 'vpc' => 'oos-vpc.ap-southeast-6.aliyuncs.com'],
+ ['regionId' => 'ap-southeast-7', 'regionName' => 'Thailand (Bangkok)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'oos.ap-southeast-7.aliyuncs.com', 'endpoint' => 'oos.ap-southeast-7.aliyuncs.com', 'vpc' => 'oos-vpc.ap-southeast-7.aliyuncs.com'],
+ ['regionId' => 'ap-southeast-8', 'regionName' => 'Malaysia (Johor)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'oos.ap-southeast-8.aliyuncs.com', 'endpoint' => 'oos.ap-southeast-8.aliyuncs.com', 'vpc' => 'oos-vpc.ap-southeast-8.aliyuncs.com'],
+ ['regionId' => 'cn-wulanchabu', 'regionName' => 'China (Ulanqab)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'oos.cn-wulanchabu.aliyuncs.com', 'endpoint' => 'oos.cn-wulanchabu.aliyuncs.com', 'vpc' => 'oos-vpc.cn-wulanchabu.aliyuncs.com'],
+ ['regionId' => 'cn-qingdao', 'regionName' => 'China (Qingdao)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'oos.cn-qingdao.aliyuncs.com', 'endpoint' => 'oos.cn-qingdao.aliyuncs.com', 'vpc' => 'oos-vpc.cn-qingdao.aliyuncs.com'],
+ ['regionId' => 'cn-wuhan-lr', 'regionName' => 'China (Wuhan - Local Region)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'oos.cn-wuhan-lr.aliyuncs.com', 'endpoint' => 'oos.cn-wuhan-lr.aliyuncs.com', 'vpc' => 'oos-vpc.cn-wuhan-lr.aliyuncs.com'],
+ ['regionId' => 'cn-shanghai', 'regionName' => 'China (Shanghai)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'oos.cn-shanghai.aliyuncs.com', 'endpoint' => 'oos.cn-shanghai.aliyuncs.com', 'vpc' => 'oos-vpc.cn-shanghai.aliyuncs.com'],
+ ['regionId' => 'cn-hongkong', 'regionName' => 'China (Hong Kong)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'oos.cn-hongkong.aliyuncs.com', 'endpoint' => 'oos.cn-hongkong.aliyuncs.com', 'vpc' => 'oos-vpc.cn-hongkong.aliyuncs.com'],
+ ['regionId' => 'cn-shenzhen', 'regionName' => 'China (Shenzhen)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'oos.cn-shenzhen.aliyuncs.com', 'endpoint' => 'oos.cn-shenzhen.aliyuncs.com', 'vpc' => 'oos-vpc.cn-shenzhen.aliyuncs.com'],
+ ['regionId' => 'cn-nanjing', 'regionName' => 'China (Nanjing - Local Region)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'oos.cn-nanjing.aliyuncs.com', 'endpoint' => 'oos.cn-nanjing.aliyuncs.com', 'vpc' => 'oos-vpc.cn-nanjing.aliyuncs.com'],
+ ['regionId' => 'cn-fuzhou', 'regionName' => 'China (Fuzhou - Local Region)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'oos.cn-fuzhou.aliyuncs.com', 'endpoint' => 'oos.cn-fuzhou.aliyuncs.com', 'vpc' => 'oos-vpc.cn-fuzhou.aliyuncs.com'],
+ ['regionId' => 'cn-chengdu', 'regionName' => 'China (Chengdu)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'oos.cn-chengdu.aliyuncs.com', 'endpoint' => 'oos.cn-chengdu.aliyuncs.com', 'vpc' => 'oos-vpc.cn-chengdu.aliyuncs.com'],
+ ['regionId' => 'cn-guangzhou', 'regionName' => 'China (Guangzhou)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'oos.cn-guangzhou.aliyuncs.com', 'endpoint' => 'oos.cn-guangzhou.aliyuncs.com', 'vpc' => 'oos-vpc.cn-guangzhou.aliyuncs.com'],
+ ['regionId' => 'cn-huhehaote', 'regionName' => 'China (Hohhot)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'oos.cn-huhehaote.aliyuncs.com', 'endpoint' => 'oos.cn-huhehaote.aliyuncs.com', 'vpc' => 'oos-vpc.cn-huhehaote.aliyuncs.com'],
+ ['regionId' => 'cn-hangzhou', 'regionName' => 'China (Hangzhou)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'oos.cn-hangzhou.aliyuncs.com', 'endpoint' => 'oos.cn-hangzhou.aliyuncs.com', 'vpc' => 'oos-vpc.cn-hangzhou.aliyuncs.com'],
+ ['regionId' => 'us-southeast-1', 'regionName' => 'US(Atlanta)', 'areaId' => 'europeAmerica', 'areaName' => 'Europe & Americas', 'public' => 'oos.us-southeast-1.aliyuncs.com', 'endpoint' => 'oos.us-southeast-1.aliyuncs.com', 'vpc' => 'oos-vpc.us-southeast-1.aliyuncs.com'],
+ ['regionId' => 'eu-west-1', 'regionName' => 'UK (London)', 'areaId' => 'europeAmerica', 'areaName' => 'Europe & Americas', 'public' => 'oos.eu-west-1.aliyuncs.com', 'endpoint' => 'oos.eu-west-1.aliyuncs.com', 'vpc' => 'oos-vpc.eu-west-1.aliyuncs.com'],
+ ['regionId' => 'eu-central-1', 'regionName' => 'Germany (Frankfurt)', 'areaId' => 'europeAmerica', 'areaName' => 'Europe & Americas', 'public' => 'oos.eu-central-1.aliyuncs.com', 'endpoint' => 'oos.eu-central-1.aliyuncs.com', 'vpc' => 'oos-vpc.eu-central-1.aliyuncs.com'],
+ ['regionId' => 'us-east-1', 'regionName' => 'US (Virginia)', 'areaId' => 'europeAmerica', 'areaName' => 'Europe & Americas', 'public' => 'oos.us-east-1.aliyuncs.com', 'endpoint' => 'oos.us-east-1.aliyuncs.com', 'vpc' => 'oos-vpc.us-east-1.aliyuncs.com'],
+ ['regionId' => 'us-west-1', 'regionName' => 'US (Silicon Valley)', 'areaId' => 'europeAmerica', 'areaName' => 'Europe & Americas', 'public' => 'oos.us-west-1.aliyuncs.com', 'endpoint' => 'oos.us-west-1.aliyuncs.com', 'vpc' => 'oos-vpc.us-west-1.aliyuncs.com'],
+ ['regionId' => 'na-south-1', 'regionName' => 'Mexico', 'areaId' => 'europeAmerica', 'areaName' => 'Europe & Americas', 'public' => 'oos.na-south-1.aliyuncs.com', 'endpoint' => 'oos.na-south-1.aliyuncs.com', 'vpc' => 'oos-vpc.na-south-1.aliyuncs.com'],
+ ['regionId' => 'me-east-1', 'regionName' => 'UAE (Dubai)', 'areaId' => 'middleEast', 'areaName' => 'Middle East', 'public' => 'oos.me-east-1.aliyuncs.com', 'endpoint' => 'oos.me-east-1.aliyuncs.com', 'vpc' => 'oos-vpc.me-east-1.aliyuncs.com'],
+ ['regionId' => 'ap-south-1', 'regionName' => 'India (Mumbai) Closed', 'areaId' => 'middleEast', 'areaName' => 'Middle East', 'public' => 'oos.ap-south-1.aliyuncs.com', 'endpoint' => 'oos.ap-south-1.aliyuncs.com', 'vpc' => 'oos-vpc.ap-south-1.aliyuncs.com'],
+ ['regionId' => 'me-central-1', 'regionName' => 'Saudi Arabia (Riyadh)', 'areaId' => 'middleEast', 'areaName' => 'Middle East', 'public' => 'oos.me-central-1.aliyuncs.com', 'endpoint' => 'oos.me-central-1.aliyuncs.com', 'vpc' => 'oos-vpc.me-central-1.aliyuncs.com'],
+ ['regionId' => 'cn-hangzhou-finance', 'regionName' => 'China East 1 Finance', 'areaId' => 'industryCloud', 'areaName' => 'Industry Cloud', 'public' => 'oos.cn-hangzhou-finance.aliyuncs.com', 'endpoint' => 'oos.cn-hangzhou-finance.aliyuncs.com', 'vpc' => 'oos-vpc.cn-hangzhou-finance.aliyuncs.com'],
+ ['regionId' => 'cn-shenzhen-finance-1', 'regionName' => 'China South 1 Finance', 'areaId' => 'industryCloud', 'areaName' => 'Industry Cloud', 'public' => 'oos.cn-shenzhen-finance-1.aliyuncs.com', 'endpoint' => 'oos.cn-shenzhen-finance-1.aliyuncs.com', 'vpc' => 'oos-vpc.cn-shenzhen-finance-1.aliyuncs.com'],
+ ['regionId' => 'cn-beijing-finance-1', 'regionName' => 'China North 2 Finance (Preview)', 'areaId' => 'industryCloud', 'areaName' => 'Industry Cloud', 'public' => 'oos.cn-beijing-finance-1.aliyuncs.com', 'endpoint' => 'oos.cn-beijing-finance-1.aliyuncs.com', 'vpc' => 'oos-vpc.cn-beijing-finance-1.aliyuncs.com'],
+ ['regionId' => 'cn-shanghai-finance-1', 'regionName' => 'China East 2 Finance', 'areaId' => 'industryCloud', 'areaName' => 'Industry Cloud', 'public' => 'oos.cn-shanghai-finance-1.aliyuncs.com', 'endpoint' => 'oos.cn-shanghai-finance-1.aliyuncs.com', 'vpc' => 'oos-vpc.cn-shanghai-finance-1.aliyuncs.com'],
+ ['regionId' => 'cn-wulanchabu-gic-1', 'regionName' => 'China (Ulanqab) GIC', 'areaId' => 'industryCloud', 'areaName' => 'Industry Cloud', 'public' => 'oos.cn-wulanchabu-gic-1.aliyuncs.com', 'endpoint' => 'oos.cn-wulanchabu-gic-1.aliyuncs.com', 'vpc' => 'oos-vpc.cn-wulanchabu-gic-1.aliyuncs.com'],
+ ['regionId' => 'cn-heyuan-acdr-1', 'regionName' => 'Heyuan ACDR Auto', 'areaId' => 'industryCloud', 'areaName' => 'Industry Cloud', 'public' => 'oos.cn-heyuan-acdr-1.aliyuncs.com', 'endpoint' => 'oos.cn-heyuan-acdr-1.aliyuncs.com', 'vpc' => 'oos-vpc.cn-heyuan-acdr-1.aliyuncs.com'],
+ ],
+ 'errorCodes' => [
+ ['code' => 'AlreadyApprove', 'message' => 'You have already approved this execution before.', 'http_code' => 400, 'description' => 'You have already approved this execution before.'],
+ ['code' => 'AssumeRoleFailed', 'message' => 'Failed to assume the role.', 'http_code' => 400, 'description' => 'Failed to assume the role.'],
+ ['code' => 'AssumeRoleNotExist', 'message' => 'Assumes role failed.', 'http_code' => 400, 'description' => ''],
+ ['code' => 'CircularDependencyError', 'message' => 'Circular dependency contains an error.', 'http_code' => 400, 'description' => 'Circular dependency contains an error.'],
+ ['code' => 'CreateServiceLinkedRoleDenied', 'message' => 'Please make sure the account has ram:CreateServiceLinkedRole permission.', 'http_code' => 403, 'description' => 'The current account does not have the permission to create a service linked role. The service linked role cannot be created.'],
+ ['code' => 'CreateServiceLinkedRoleFailed', 'message' => 'Create service linked role failed.', 'http_code' => 400, 'description' => 'Failed to create service association role.'],
+ ['code' => 'DefaultParameterCircularReference', 'message' => 'The default value of the parameter is circularly referred.', 'http_code' => 400, 'description' => 'The default value of the parameter is circularly referred.'],
+ ['code' => 'DeleteConflict.Application', 'message' => 'The specified application %s is not empty.', 'http_code' => 403, 'description' => 'The specified application %s is not empty.'],
+ ['code' => 'DistributedLockNotSupported', 'message' => 'Distributed lock is not supported.', 'http_code' => 500, 'description' => 'Distributed lock is not supported.'],
+ ['code' => 'DownstreamThrottled', 'message' => 'Downstream API calling is throttled by OOS.', 'http_code' => 400, 'description' => 'Downstream API calling is throttled by OOS.'],
+ ['code' => 'Duplicate.TagKey', 'message' => 'The tag key ({key}) is duplicated.', 'http_code' => 401, 'description' => 'The tag key or value is duplicated.'],
+ ['code' => 'DuplicatedTaskName', 'message' => 'The task name is duplicated in the template.', 'http_code' => 400, 'description' => 'Duplicate task name in template.'],
+ ['code' => 'EnginePermanentException', 'message' => 'A permanent error occurred to the engine.', 'http_code' => 400, 'description' => 'A permanent error occurred in the dispatch system.'],
+ ['code' => 'EngineTemporaryException', 'message' => 'A temporary error occurred to the engine.', 'http_code' => 400, 'description' => 'A temporary error occurred to the engine.'],
+ ['code' => 'EngineWaitEventException', 'message' => 'An engine wait event error occurred.', 'http_code' => 400, 'description' => 'An engine wait event error occurred.'],
+ ['code' => 'EntityAlreadyExist.Application', 'message' => 'The specified application %s already exist.', 'http_code' => 403, 'description' => 'The specified application %s already exist.'],
+ ['code' => 'EntityAlreadyExist.Connection', 'message' => 'The specified connection already exist.', 'http_code' => 404, 'description' => ''],
+ ['code' => 'EntityAlreadyExist.Parameter', 'message' => 'The parameter %s already exists.', 'http_code' => 403, 'description' => 'The parameter %s already exists.'],
+ ['code' => 'EntityAlreadyExist.Template', 'message' => 'The specified template already exists.', 'http_code' => 403, 'description' => 'The template already exists.'],
+ ['code' => 'EntityAlreadyExist.Template', 'message' => 'The template already exists.', 'http_code' => 400, 'description' => ''],
+ ['code' => 'EntityAlreadyExists.Application', 'message' => 'The specified application already exists.', 'http_code' => 403, 'description' => ''],
+ ['code' => 'EntityAlreadyExists.Execution', 'message' => 'The specified execution already existes.', 'http_code' => 403, 'description' => 'The specified execution already exists.'],
+ ['code' => 'EntityNotExists.Action', 'message' => 'The specified action does not exist.', 'http_code' => 404, 'description' => 'The specified action does not exist.'],
+ ['code' => 'EntityNotExists.Application', 'message' => 'The specified application %s does not exist.', 'http_code' => 404, 'description' => 'The specified application %s does not exist.'],
+ ['code' => 'EntityNotExists.ApplicationGroup', 'message' => 'The specified application group %s does not exist.', 'http_code' => 404, 'description' => 'The specified application group %s does not exist.'],
+ ['code' => 'EntityNotExists.Connection', 'message' => 'The specified connection does not exist.', 'http_code' => 404, 'description' => 'The application link does not exist'],
+ ['code' => 'EntityNotExists.Event', 'message' => 'The specified event does not exist.', 'http_code' => 404, 'description' => 'The specified event does not exist.'],
+ ['code' => 'EntityNotExists.Execution', 'message' => 'The specified execution does not exist.', 'http_code' => 404, 'description' => 'The specified execution does not exist.'],
+ ['code' => 'EntityNotExists.Parameter', 'message' => 'The specified parameter %s does not exist.', 'http_code' => 404, 'description' => 'The specified parameter %s does not exist.'],
+ ['code' => 'EntityNotExists.Parameter', 'message' => 'The specified parameter %s does not exist.', 'http_code' => 404, 'description' => 'The specified parameter %s does not exist.'],
+ ['code' => 'EntityNotExists.Parameter', 'message' => 'The specified parameter %s does not exist.', 'http_code' => 404, 'description' => 'The specified parameter %s does not exist.'],
+ ['code' => 'EntityNotExists.PatchBaseline', 'message' => 'The specified patch baseline %s does not exist.', 'http_code' => 404, 'description' => 'The specified patch baseline %s does not exist.'],
+ ['code' => 'EntityNotExists.TaskExecution', 'message' => 'The specified task execution does not exist.', 'http_code' => 404, 'description' => 'The specified task execution does not exist.'],
+ ['code' => 'EntityNotExists.Template', 'message' => 'The specified template does not exist.', 'http_code' => 404, 'description' => 'The specified template does not exist.'],
+ ['code' => 'Execution.CalculateLoopTaskOutputFailed', 'message' => 'Cannot calculate loop task outputs.', 'http_code' => 400, 'description' => 'Cannot calculate loop task outputs.'],
+ ['code' => 'Execution.CancelFailed', 'message' => 'Failed to cancel the execution.', 'http_code' => 400, 'description' => 'Failed to cancel the execution.'],
+ ['code' => 'Execution.DeleteFailed', 'message' => 'Failed to delete an execution.', 'http_code' => 400, 'description' => 'Failed to delete an execution.'],
+ ['code' => 'Execution.LimitExceeded', 'message' => 'Failed to create an execution.', 'http_code' => 403, 'description' => 'Failed to create an execution.'],
+ ['code' => 'Execution.TriggerStartedFailed', 'message' => 'Failed to create an execution. It cannot be created twice.', 'http_code' => 400, 'description' => 'Failed to create an execution. It cannot be created twice.'],
+ ['code' => 'ExpiredStsToken', 'message' => 'The specified STS token has expired.', 'http_code' => 400, 'description' => 'The specified STS token has expired.'],
+ ['code' => 'ExpiredStsToken', 'message' => 'The STS token that can perform the operation has expired.', 'http_code' => 400, 'description' => ''],
+ ['code' => 'FeatureNotSupported', 'message' => 'The feature is not supported in the current region.', 'http_code' => 403, 'description' => ''],
+ ['code' => 'FunctionError', 'message' => 'An error occurred to the function.', 'http_code' => 400, 'description' => 'An error occurred to the function.'],
+ ['code' => 'GitOauthBindFailed', 'message' => 'Git oauth bind failed.', 'http_code' => 400, 'description' => 'Failed to bind Git platform account.'],
+ ['code' => 'InvalidAccountType', 'message' => 'The specified account type is not supported.', 'http_code' => 400, 'description' => 'The specified account type is not supported.'],
+ ['code' => 'InvalidAccountType', 'message' => 'The account type is not supported.', 'http_code' => 400, 'description' => ''],
+ ['code' => 'InvalidApiAction', 'message' => 'The API operation is invalid.', 'http_code' => 400, 'description' => 'The API operation is invalid.'],
+ ['code' => 'InvalidApiVersion', 'message' => 'The OpenAPI version is invalid.', 'http_code' => 400, 'description' => 'The OpenAPI version is invalid.'],
+ ['code' => 'InvalidDurationFormat', 'message' => 'The duration format is invalid.', 'http_code' => 400, 'description' => 'The duration format is invalid.'],
+ ['code' => 'InvalidDurationRange', 'message' => 'The duration range is invalid.', 'http_code' => 400, 'description' => 'The duration range is invalid.'],
+ ['code' => 'InvalidEventTrigger', 'message' => 'The event trigger configuration is invalid.', 'http_code' => 400, 'description' => 'The event trigger configuration is invalid.'],
+ ['code' => 'InvalidFunctionParameters', 'message' => 'The parameters of the specified function are invalid.', 'http_code' => 400, 'description' => 'The parameters of the specified function are invalid.'],
+ ['code' => 'InvalidIdempotenceParameter', 'message' => 'The specified parameters are different from before.', 'http_code' => 400, 'description' => 'The specified parameters are different from before.'],
+ ['code' => 'InvalidNextToken', 'message' => 'The NextToken is invalid.', 'http_code' => 400, 'description' => 'The NextToken is invalid.'],
+ ['code' => 'InvalidNextTokenQuery', 'message' => 'The query parameter changed the NextToken.', 'http_code' => 400, 'description' => 'The query parameter changed the NextToken.'],
+ ['code' => 'InvalidParameter', 'message' => 'The parameter is invalid.', 'http_code' => 400, 'description' => 'The specified parameter is invalid.'],
+ ['code' => 'InvalidParameterWithMessage', 'message' => 'The specified parameter is invalid.', 'http_code' => 400, 'description' => 'The specified parameter is invalid.'],
+ ['code' => 'InvalidRepeatListParameter', 'message' => 'The parameter is not a valid list.', 'http_code' => 400, 'description' => 'This parameter is not a valid list.'],
+ ['code' => 'InvalidResourceId', 'message' => 'The specified ResourceId is invalid.', 'http_code' => 400, 'description' => 'The specified ResourceId is invalid.'],
+ ['code' => 'InvalidResourceId.NotFound', 'message' => 'The ResourceId does not exist.', 'http_code' => 404, 'description' => 'The ResourceId does not exist.'],
+ ['code' => 'InvalidResourceType.NotFound', 'message' => 'The ResourceType does not exist.', 'http_code' => 404, 'description' => 'The ResourceType does not exist.'],
+ ['code' => 'InvalidSchemaError', 'message' => 'The Schema is invalid.', 'http_code' => 400, 'description' => 'The Schema is invalid.'],
+ ['code' => 'InvalidServiceParameter', 'message' => 'The service name is not supported by the Service parameter.', 'http_code' => 400, 'description' => 'The service name is not supported by the Service parameter.'],
+ ['code' => 'InvalidSleepEndDateParameter', 'message' => 'The sleep parameter EndDate is invalid.', 'http_code' => 400, 'description' => 'The sleep parameter EndDate is invalid.'],
+ ['code' => 'InvalidSleepParameter', 'message' => 'Either the sleep parameter EndDate or Duration must be specified.', 'http_code' => 400, 'description' => 'Fill in at least one of the sleep end time or sleep interval duration.'],
+ ['code' => 'InvalidStsToken', 'message' => 'The STS token is invalid.', 'http_code' => 400, 'description' => 'The STS token is invalid.'],
+ ['code' => 'InvalidTaskExecuteApiParameters', 'message' => 'The parameter is not supported.', 'http_code' => 400, 'description' => 'The parameter is not supported.'],
+ ['code' => 'InvalidTaskLoopSetting', 'message' => 'The task loop setting is invalid.', 'http_code' => 400, 'description' => 'The task loop setting is invalid.'],
+ ['code' => 'InvalidTaskTriggerEndDate', 'message' => 'The trigger EndDate format is invalid.', 'http_code' => 400, 'description' => 'The trigger EndDate format is invalid.'],
+ ['code' => 'InvalidTaskTriggerParameters', 'message' => 'The trigger parameter format is invalid.', 'http_code' => 400, 'description' => 'The trigger parameter format is invalid.'],
+ ['code' => 'InvalidTemplateDependency', 'message' => 'The specified dependency name is not defined in the template.', 'http_code' => 400, 'description' => 'The specified dependency name is not defined in the template.'],
+ ['code' => 'InvalidTemplateDependency', 'message' => 'The dependency is invalid. The parameter is not defined.', 'http_code' => 400, 'description' => ''],
+ ['code' => 'InvalidTemplateParameter', 'message' => 'The parameter has no attributes.', 'http_code' => 400, 'description' => 'The parameter has no attributes.'],
+ ['code' => 'InvalidTemplateReference', 'message' => 'The specified reference is invalid.', 'http_code' => 400, 'description' => 'The specified reference is invalid.'],
+ ['code' => 'InvalidTemplateSection', 'message' => 'The template content is invalid.', 'http_code' => 400, 'description' => 'The template content is invalid.'],
+ ['code' => 'InvalidTemplateVersion', 'message' => 'The template version is invalid.', 'http_code' => 400, 'description' => 'The template version is invalid.'],
+ ['code' => 'InvalidTimerExpression', 'message' => 'Invalid timer expression.', 'http_code' => 400, 'description' => 'Illegal timing expression.'],
+ ['code' => 'InvalidTimerTriggerParameter', 'message' => 'The parameter is invalid.', 'http_code' => 400, 'description' => 'The parameter is invalid.'],
+ ['code' => 'InvalidVersion', 'message' => 'The specified Version is invalid.', 'http_code' => 400, 'description' => 'The specified Version is invalid. The specified Version is invalid.'],
+ ['code' => 'JQResolvedError', 'message' => 'An error occurred while running the JQ script.', 'http_code' => 400, 'description' => 'An error occurred while running the JQ script.'],
+ ['code' => 'Kms.DecryptFailed', 'message' => 'Failed to perform KMS encryption.', 'http_code' => 400, 'description' => 'Failed to perform KMS encryption.'],
+ ['code' => 'Kms.SecretFailed', 'message' => 'Failed to operate kms secret.', 'http_code' => 400, 'description' => 'Failed to operate the oos encryption parameter due to kms.'],
+ ['code' => 'Location.NotSupport', 'message' => 'The location service is not supported.', 'http_code' => 400, 'description' => 'The location service is not supported.'],
+ ['code' => 'LocationError', 'message' => 'Failed to call the location service.', 'http_code' => 500, 'description' => 'Failed to call the location service.'],
+ ['code' => 'LockFailed', 'message' => 'Failed to acquire or release distributed lock.', 'http_code' => 400, 'description' => 'Failed to acquire or release distributed lock.'],
+ ['code' => 'MissingExecutionParameter', 'message' => 'The parameter does not exist in the template.', 'http_code' => 400, 'description' => 'The parameter does not exist in the template.'],
+ ['code' => 'NoneClientToken', 'message' => 'You must specify ClientToken.', 'http_code' => 400, 'description' => 'You must specify ClientToken.'],
+ ['code' => 'NoPermission', 'message' => 'You are not authorized to create the service linked role AliyunServiceRoleForOOSExecutionDelivery.', 'http_code' => 400, 'description' => ''],
+ ['code' => 'NoPermission.SystemTag', 'message' => 'You are not authorized to operate the system tag.', 'http_code' => 401, 'description' => 'You are not authorized to operate the system tag.'],
+ ['code' => 'NotifyFailed', 'message' => 'Failed to notify.', 'http_code' => 400, 'description' => 'Failed to notify.'],
+ ['code' => 'NotifyFailed.Execution', 'message' => 'The specified execution is not in the state of waiting.', 'http_code' => 400, 'description' => 'The specified execution is not in the state of waiting.'],
+ ['code' => 'NotInApproverList', 'message' => 'You are not on the list of approval administrators.', 'http_code' => 400, 'description' => 'You are not on the list of approval administrators.'],
+ ['code' => 'ParameterValidationError', 'message' => 'Constraint validates error.', 'http_code' => 400, 'description' => 'Constraint validates error.'],
+ ['code' => 'Processing', 'message' => 'The request is being processed.', 'http_code' => 400, 'description' => 'The request is being processed.'],
+ ['code' => 'ProcessingTimeout', 'message' => 'The request has timed out.', 'http_code' => 400, 'description' => 'The request has timed out.'],
+ ['code' => 'QuotaExceed', 'message' => 'The maximum number of certain attributes (such as template number and execution number) is exceeded.', 'http_code' => 403, 'description' => 'The maximum number of certain attributes (such as template number and execution number) is exceeded.'],
+ ['code' => 'QuotaExceed', 'message' => 'The quota is exceeded.', 'http_code' => 403, 'description' => ''],
+ ['code' => 'Ram.CheckFailed', 'message' => 'The operation checking permission has failed.', 'http_code' => 400, 'description' => 'The operation checking permission has failed.'],
+ ['code' => 'ServiceNotAuthorized', 'message' => 'Account is not authorized to provide this service.', 'http_code' => 400, 'description' => 'Account is not authorized to provide this service.'],
+ ['code' => 'SignatureNonceUsed', 'message' => 'Specified signature nonce was used already.', 'http_code' => 400, 'description' => 'The API call signature is invalid.'],
+ ['code' => 'TagError', 'message' => 'An error occurred while operating the tag.', 'http_code' => 400, 'description' => 'An error occurred while operating the tag.'],
+ ['code' => 'TaskNotFound', 'message' => 'The specified task does not exist.', 'http_code' => 400, 'description' => 'The specified task does not exist.'],
+ ['code' => 'Template.LimitExceeded', 'message' => 'Failed to create a template.', 'http_code' => 403, 'description' => 'Failed to create a template.'],
+ ['code' => 'Template.UpdateLimitExceeded', 'message' => 'Failed to update the template.', 'http_code' => 403, 'description' => 'Failed to update the template.'],
+ ['code' => 'TemplateUpdateFailed', 'message' => 'The template update failed due to concurrence. Please try again.', 'http_code' => 403, 'description' => 'The template update failed due to concurrence. Please try again.'],
+ ['code' => 'TemplateValidationError', 'message' => 'Failed to verify template constraints such as parameter type and value.', 'http_code' => 400, 'description' => 'Failed to verify template constraints such as parameter type and value.'],
+ ['code' => 'TemplateValidationError', 'message' => 'Failed to validate the template.', 'http_code' => 400, 'description' => ''],
+ ['code' => 'Throttling', 'message' => 'The request has been throttled.', 'http_code' => 403, 'description' => 'The request has been throttled.'],
+ ['code' => 'TriggerExecutionFailed', 'message' => 'Failed to trigger execution.', 'http_code' => 400, 'description' => 'Failed to trigger execution'],
+ ['code' => 'UnknownExecutionParameter', 'message' => 'The parameter is not defined in template.', 'http_code' => 400, 'description' => 'The parameter is not defined in template.'],
+ ['code' => 'UpdateExecutionError', 'message' => 'Failed to update execution.', 'http_code' => 400, 'description' => 'Failed to update execution.'],
+ ['code' => 'User.NoPermission', 'message' => 'The user is authorized to perform the operation.', 'http_code' => 401, 'description' => 'The user is not authorized to perform the operation. Please check whether the current user has been granted OOS API permissions in RAM.'],
+ ],
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteApplicationGroup'],
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListTagResources'],
+ ['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GetInventorySchema'],
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UntagResources'],
+ ['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'CancelExecution'],
+ ['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'SetServiceSettings'],
+ ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateApplication'],
+ ['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListTemplateVersions'],
+ ['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'UpdatePatchBaseline'],
+ ['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GenerateExecutionPolicy'],
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListInstancePatches'],
+ ['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListActions'],
+ ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ContinueDeployApplicationGroup'],
+ ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetApplicationGroup'],
+ ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeployApplicationGroup'],
+ ['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DeleteOpsItems'],
+ ['threshold' => '600', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GetParameter'],
+ ['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListTaskExecutions'],
+ ['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GetTemplateParameterConstraints'],
+ ['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListExecutionLogs'],
+ ['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GetExecutionTemplate'],
+ ['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'CreateStateConfiguration'],
+ ['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'UpdateParameter'],
+ ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateApplicationGroup'],
+ ['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GetTemplate'],
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'NotifyExecution'],
+ ['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DeleteParameter'],
+ ['threshold' => '600', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GetSecretParameters'],
+ ['threshold' => '600', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GetSecretParameter'],
+ ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListApplicationGroups'],
+ ['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListInstancePackageStates'],
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListOpsItems'],
+ ['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ValidateTemplateContent'],
+ ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteApplication'],
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListTagKeys'],
+ ['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListInventoryEntries'],
+ ['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DeleteExecutions'],
+ ['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListParameterVersions'],
+ ['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DeleteSecretParameter'],
+ ['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DeleteTemplate'],
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetOpsItem'],
+ ['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'RegisterDefaultPatchBaseline'],
+ ['threshold' => '600', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListExecutions'],
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListTagValues'],
+ ['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'CreateTemplate'],
+ ['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DeleteStateConfigurations'],
+ ['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'UpdateExecution'],
+ ['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListResourceExecutionStatus'],
+ ['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GetParametersByPath'],
+ ['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListPatchBaselines'],
+ ['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListTemplates'],
+ ['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'CreateParameter'],
+ ['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListSecretParameters'],
+ ['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'CreatePatchBaseline'],
+ ['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListExecutionRiskyTasks'],
+ ['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'StartExecution'],
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateOpsItem'],
+ ['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DescribeRegions'],
+ ['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GetSecretParametersByPath'],
+ ['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'SearchInventory'],
+ ['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'UpdateTemplate'],
+ ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateApplication'],
+ ['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GetServiceSettings'],
+ ['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListSecretParameterVersions'],
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateOpsItem'],
+ ['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListParameters'],
+ ['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'CreateSecretParameter'],
+ ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateApplicationGroup'],
+ ['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'UpdateInstancePackageState'],
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListInstancePatchStates'],
+ ['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'UpdateStateConfiguration'],
+ ['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListStateConfigurations'],
+ ['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DeletePatchBaseline'],
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeApplicationGroupBill'],
+ ['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GetPatchBaseline'],
+ ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GenerateOpsItem'],
+ ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListApplications'],
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'TriggerExecution'],
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'TagResources'],
+ ['threshold' => '600', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GetParameters'],
+ ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetApplication'],
+ ['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ChangeResourceGroup'],
+ ['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DeleteTemplates'],
+ ['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'UpdateSecretParameter'],
+ ],
+ ],
+ 'ram' => [
+ 'productCode' => 'OOS',
+ 'productName' => 'CloudOps Orchestration Service ',
+ 'ramCodes' => ['oos'],
+ 'ramLevel' => 'RESOURCE',
+ 'ramConditions' => [
+ [
+ 'name' => 'oos:IsOOSAssumeRole',
+ 'schema' => ['type' => 'Boolean', 'description' => 'Whether the OOS StartExecution is called by AssumeRole'],
+ ],
+ [
+ 'name' => 'oos:TLSVersion',
+ 'schema' => [
+ 'type' => 'String',
+ 'description' => 'TLS version used for OOS OpenAPI calls',
+ 'enums' => ['TLSv1', 'TLSv1.1', 'TLSv1.2', 'TLSv1.3'],
+ ],
+ ],
+ [
+ 'name' => 'oos:tag',
+ 'schema' => ['type' => 'String', 'description' => 'OOS tag information, it is used in combination with tag key, oos:tag/&lt;tag-key&gt;. Example: Assuming the tag is team:dev, the condition key and its value are \\\\\\\\&quot;oos:tag/team\\\\\\\\&quot;: \\\\\\\\&quot;dev\\\\\\\\&quot;'],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'apiName' => 'StartDebugExecution',
+ 'description' => '',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'oos:StartDebugExecution',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [
+ ['conditionKey' => 'oos:tag', 'validationType' => 'always'],
+ ['conditionKey' => 'oos:IsOOSAssumeRole'],
+ ['conditionKey' => 'oos:TLSVersion'],
+ ],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'OOS', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
- [
- 'name' => 'RepoFullName',
- 'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'LYH-RAIN/vue-color-avatar',
+ ],
+ [
+ 'apiName' => 'CheckGitRepoFileExists',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'oos:CheckGitRepoFileExists',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [
+ ['conditionKey' => 'oos:TLSVersion'],
+ ],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'OOS', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
- [
- 'name' => 'Branch',
- 'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'dev',
+ ],
+ [
+ 'apiName' => 'ListGitRepositories',
+ 'description' => '',
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'oos:ListGitRepositories',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [
+ ['conditionKey' => 'oos:TLSVersion'],
+ ],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'OOS', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
- [
- 'name' => 'Path',
- 'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'dir1',
+ ],
+ [
+ 'apiName' => 'DescribeRegions',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'oos:DescribeRegions',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [
+ ['conditionKey' => 'oos:TLSVersion'],
+ ],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'OOS', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
- [
- 'name' => 'ContentType',
- 'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'dir',
+ ],
+ [
+ 'apiName' => 'UpdateSecretParameter',
+ 'description' => '',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'oos:UpdateSecretParameter',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [
+ ['conditionKey' => 'oos:TLSVersion'],
+ ],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'OOS', 'resourceType' => 'secretparameter', 'arn' => 'acs:oos:{#regionId}:{#accountId}:secretparameter/{#secretparameterName}'],
],
],
- [
- 'name' => 'RepoId',
- 'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '2642213',
+ ],
+ [
+ 'apiName' => 'CreateSecretParameter',
+ 'description' => '',
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'oos:CreateSecretParameter',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [
+ ['conditionKey' => 'oos:TLSVersion'],
+ ],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'OOS', 'resourceType' => 'secretparameter', 'arn' => 'acs:oos:{#regionId}:{#accountId}:secretparameter/{#secretparameterName}'],
],
],
],
- 'responses' => [
- 200 => [
- 'schema' => [
- 'type' => 'object',
- 'properties' => [
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '2075899A-585D-4A41-A9B2-28DA8534',
- ],
- 'Contents' => [
- 'description' => '',
- 'type' => 'array',
- 'items' => [
- 'description' => '',
- 'type' => 'object',
- 'properties' => [
- 'Name' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'mydir',
- ],
- 'Path' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'dir1',
- ],
- 'Type' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'dir',
- ],
- 'Content' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'mydir',
- ],
- ],
- ],
- ],
- 'Count' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- ],
+ [
+ 'apiName' => 'ListGitAccounts',
+ 'description' => '',
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'oos:ListGitAccounts',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [
+ ['conditionKey' => 'oos:TLSVersion'],
+ ],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'OOS', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
+ [
+ 'apiName' => 'DeleteTemplate',
+ 'description' => '',
+ 'operationType' => 'delete',
+ 'ramAction' => [
+ 'action' => 'oos:DeleteTemplate',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [
+ ['conditionKey' => 'oos:tag', 'validationType' => 'always'],
+ ['conditionKey' => 'oos:TLSVersion'],
+ ],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'OOS', 'resourceType' => 'Template', 'arn' => 'acs:oos:{#regionId}:{#accountId}:template/{#templateName}'],
+ ],
+ ],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"2075899A-585D-4A41-A9B2-28DA8534\\",\\n \\"Contents\\": [\\n {\\n \\"Name\\": \\"mydir\\",\\n \\"Path\\": \\"dir1\\",\\n \\"Type\\": \\"dir\\",\\n \\"Content\\": \\"mydir\\"\\n }\\n ],\\n \\"Count\\": 1\\n}","type":"json"}]',
- ],
- 'GetGitRepository' => [
- 'summary' => '查询Git仓库详情',
- 'methods' => [
- 'post',
- 'get',
+ [
+ 'apiName' => 'GetSecretParameter',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'oos:GetSecretParameter',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [
+ ['conditionKey' => 'oos:TLSVersion'],
+ ],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'OOS', 'resourceType' => 'secretparameter', 'arn' => 'acs:oos:{#regionId}:{#accountId}:secretparameter/{#secretparameterName}'],
+ ],
+ ],
],
- 'schemes' => [
- 'https',
+ [
+ 'apiName' => 'UntagResources',
+ 'description' => '',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'oos:UntagResources',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [
+ ['conditionKey' => 'oos:tag', 'validationType' => 'always'],
+ ['conditionKey' => 'oos:TLSVersion'],
+ ],
+ 'resources' => [
+ ['validationType' => 'conditional', 'product' => 'OOS', 'resourceType' => 'execution', 'arn' => 'acs:oos:{#regionId}:{#accountId}:execution/{#executionId}'],
+ ['validationType' => 'conditional', 'product' => 'OOS', 'resourceType' => 'template', 'arn' => 'acs:oos:{#regionId}:{#accountId}:template/{#templateName}'],
+ ],
+ ],
],
- 'security' => [
- [
- 'AK' => [],
+ [
+ 'apiName' => 'RegisterDefaultPatchBaseline',
+ 'description' => '',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'oos:RegisterDefaultPatchBaseline',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [
+ ['conditionKey' => 'oos:TLSVersion'],
+ ],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'OOS', 'resourceType' => 'patchbaseline', 'arn' => 'acs:oos:{#regionId}:{#accountId}:patchbaseline/{#patchbaselineName}'],
+ ],
],
],
- 'operationType' => 'read',
- 'deprecated' => false,
- 'systemTags' => [
+ [
+ 'apiName' => 'GetGitBranch',
+ 'description' => '',
'operationType' => 'get',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- 'abilityTreeCode' => '259124',
- 'abilityTreeNodes' => [
- 'FEATUREoos1PL94A',
+ 'ramAction' => [
+ 'action' => 'oos:GetGitBranch',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [
+ ['conditionKey' => 'oos:TLSVersion'],
+ ],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'OOS', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
],
- 'autoTest' => true,
- 'tenantRelevance' => 'publicInformation',
],
- 'parameters' => [
- [
- 'name' => 'Platform',
- 'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'github',
+ [
+ 'apiName' => 'CancelExecution',
+ 'description' => '',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'oos:CancelExecution',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [
+ ['conditionKey' => 'oos:tag', 'validationType' => 'always'],
+ ['conditionKey' => 'oos:TLSVersion'],
+ ],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'OOS', 'resourceType' => 'Execution', 'arn' => 'acs:oos:{#regionId}:{#accountId}:execution/{#executionId}'],
],
],
- [
- 'name' => 'Owner',
- 'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'testowner',
+ ],
+ [
+ 'apiName' => 'ListResourceExecutionStatus',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'oos:ListResourceExecutionStatus',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [
+ ['conditionKey' => 'oos:tag', 'validationType' => 'always'],
+ ['conditionKey' => 'oos:TLSVersion'],
+ ],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'OOS', 'resourceType' => 'execution', 'arn' => 'acs:oos:{#regionId}:{#accountId}:execution/{#executionId}'],
],
],
- [
- 'name' => 'RepoFullName',
- 'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'alibaba/fastjson',
+ ],
+ [
+ 'apiName' => 'CreateStateConfiguration',
+ 'description' => '',
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'oos:CreateStateConfiguration',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [
+ ['conditionKey' => 'oos:TLSVersion'],
+ ],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'OOS', 'resourceType' => 'StateConfiguration', 'arn' => 'acs:oos:{#regionId}:{#accountId}:stateconfiguration/*'],
],
],
- [
- 'name' => 'RegionId',
- 'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
+ ],
+ [
+ 'apiName' => 'UpdateChatConfiguration',
+ 'description' => '',
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'oos:UpdateChatConfiguration',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'OOS', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
- [
- 'name' => 'OrgId',
- 'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => '5e9ee15af89c9700014a558a',
+ ],
+ [
+ 'apiName' => 'GetOpsItem',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'oos:GetOpsItem',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [
+ ['conditionKey' => 'oos:TLSVersion'],
+ ],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'OOS', 'resourceType' => 'OpsItem', 'arn' => 'acs:oos:{#regionId}:{#accountId}:opsitem/{#OpsItemId}'],
],
],
- [
- 'name' => 'RepoId',
- 'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '286584',
+ ],
+ [
+ 'apiName' => 'DeleteOpsItems',
+ 'description' => '',
+ 'operationType' => 'delete',
+ 'ramAction' => [
+ 'action' => 'oos:DeleteOpsItems',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [
+ ['conditionKey' => 'oos:tag', 'validationType' => 'always'],
+ ['conditionKey' => 'oos:TLSVersion'],
+ ],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'OOS', 'resourceType' => 'OpsItem', 'arn' => 'acs:oos:{#regionId}:{#accountId}:opsitem/{#OpsItemId}'],
],
],
],
- 'responses' => [
- 200 => [
- 'schema' => [
- 'type' => 'object',
- 'properties' => [
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '13B71887-D215-53B5-8818-4D3190604B26',
- ],
- 'Description' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'FASTJSON 2.0.x has been released, faster and more secure, recommend you upgrade.',
- ],
- 'HtmlUrl' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'https://github.com/alibaba/fastjson',
- ],
- 'IsPrivate' => [
- 'description' => '',
- 'type' => 'boolean',
- 'example' => 'False',
- ],
- ],
+ [
+ 'apiName' => 'DescribeApplicationGroupBill',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'oos:DescribeApplicationGroupBill',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [
+ ['conditionKey' => 'oos:TLSVersion'],
+ ],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'OOS', 'resourceType' => 'ApplicationGroup', 'arn' => 'acs:oos:{#regionId}:{#AccountId}:application/{#ApplicationName}/applicationgroup/{#ApplicationGroupName}'],
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
+ [
+ 'apiName' => 'UpdateStateConfiguration',
+ 'description' => '',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'oos:UpdateStateConfiguration',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [
+ ['conditionKey' => 'oos:TLSVersion'],
+ ],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'OOS', 'resourceType' => 'stateconfiguration', 'arn' => 'acs:oos:{#regionId}:{#accountId}:stateconfiguration/{#stateconfigurationId}'],
+ ],
+ ],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"13B71887-D215-53B5-8818-4D3190604B26\\",\\n \\"Description\\": \\"FASTJSON 2.0.x has been released, faster and more secure, recommend you upgrade.\\",\\n \\"HtmlUrl\\": \\"https://github.com/alibaba/fastjson\\",\\n \\"IsPrivate\\": true\\n}","type":"json"}]',
- ],
- 'ListTaskExecutionInvocations' => [
- 'summary' => '用于获取任务执行内部的云助手脚本执行ID',
- 'path' => '',
- 'methods' => [
- 'post',
- 'get',
+ [
+ 'apiName' => 'ListSecretParameterVersions',
+ 'description' => '',
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'oos:ListSecretParameterVersions',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [
+ ['conditionKey' => 'oos:TLSVersion'],
+ ],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'OOS', 'resourceType' => 'secretparameter', 'arn' => 'acs:oos:{#regionId}:{#accountId}:secretparameter/{#secretparameterName}'],
+ ],
+ ],
],
- 'schemes' => [
- 'https',
+ [
+ 'apiName' => 'ListExecutions',
+ 'description' => '',
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'oos:ListExecutions',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [
+ ['conditionKey' => 'oos:tag', 'validationType' => 'always'],
+ ['conditionKey' => 'oos:TLSVersion'],
+ ],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'OOS', 'resourceType' => 'Execution', 'arn' => 'acs:oos:{#regionId}:{#accountId}:execution/*'],
+ ['validationType' => 'always', 'product' => 'OOS', 'resourceType' => 'Execution', 'arn' => 'acs:oos:{#regionId}:{#accountId}:execution/{#executionId}'],
+ ],
+ ],
],
- 'security' => [
- [
- 'AK' => [],
+ [
+ 'apiName' => 'CreateApplicationGroup',
+ 'description' => '',
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'oos:CreateApplicationGroup',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [
+ ['conditionKey' => 'oos:TLSVersion'],
+ ],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'OOS', 'resourceType' => 'ApplicationGroup', 'arn' => 'acs:oos:{#regionId}:{#accountId}:application/{#applicationName}/applicationgroup/{#applicationGroupName}'],
+ ],
],
],
- 'operationType' => 'read',
- 'deprecated' => false,
- 'systemTags' => [
+ [
+ 'apiName' => 'UpdateApplication',
+ 'description' => '',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'oos:UpdateApplication',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [
+ ['conditionKey' => 'oos:TLSVersion'],
+ ],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'OOS', 'resourceType' => 'Application', 'arn' => 'acs:oos:{#regionId}:{#accountId}:application/{#ApplicationName}'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'CreateGitRepository',
+ 'description' => '',
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'oos:CreateGitRepository',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [
+ ['conditionKey' => 'oos:TLSVersion'],
+ ],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'OOS', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'ListInstancePatches',
+ 'description' => '',
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'oos:ListInstancePatches',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [
+ ['conditionKey' => 'oos:TLSVersion'],
+ ],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'OOS', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'GetExecutionTemplate',
+ 'description' => '',
'operationType' => 'get',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- 'abilityTreeCode' => '267755',
- 'abilityTreeNodes' => [
- 'FEATUREoosQL14T7',
+ 'ramAction' => [
+ 'action' => 'oos:GetExecutionTemplate',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [
+ ['conditionKey' => 'oos:tag', 'validationType' => 'always'],
+ ['conditionKey' => 'oos:TLSVersion'],
+ ],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'OOS', 'resourceType' => 'Execution', 'arn' => 'acs:oos:{#regionId}:{#accountId}:execution/{#executionId}'],
+ ],
],
],
- 'parameters' => [
- [
- 'name' => 'RegionId',
- 'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
+ [
+ 'apiName' => 'DeleteExecutions',
+ 'description' => '',
+ 'operationType' => 'delete',
+ 'ramAction' => [
+ 'action' => 'oos:DeleteExecutions',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [
+ ['conditionKey' => 'oos:tag', 'validationType' => 'always'],
+ ['conditionKey' => 'oos:TLSVersion'],
+ ],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'OOS', 'resourceType' => 'Execution', 'arn' => 'acs:oos:{#regionId}:{#accountId}:execution/{#executionId}'],
],
],
- [
- 'name' => 'Status',
- 'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'Running',
+ ],
+ [
+ 'apiName' => 'ListInstancePatchStates',
+ 'description' => '',
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'oos:ListInstancePatchStates',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [
+ ['conditionKey' => 'oos:TLSVersion'],
+ ],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'OOS', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
- [
- 'name' => 'TaskExecutionId',
- 'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'exec-a10749813b3xxxxx.t0001',
+ ],
+ [
+ 'apiName' => 'ListPatchBaselines',
+ 'description' => '',
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'oos:ListPatchBaselines',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [
+ ['conditionKey' => 'oos:TLSVersion'],
+ ],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'OOS', 'resourceType' => 'PatchBaseline', 'arn' => 'acs:oos:{#regionId}:{#accountId}:patchbaseline/{#PatchBaselineName}'],
],
],
],
- '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' => '9E011F98-4EE5-5E3A-8FA3-D38F2C531C1F',
- ],
- 'TaskExecutionInvocations' => [
- 'description' => '',
- 'type' => 'array',
- 'items' => [
- 'description' => '',
- 'type' => 'object',
- 'properties' => [
- 'InvocationTaskExecutionId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'exec-xxxx.t0001',
- ],
- 'InvocationTaskName' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'TaskName',
- ],
- 'Status' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'Running',
- ],
- 'InvocationId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 't-hz0jdfwd9f****',
- ],
- 'RegionId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'cn-hangzhou',
- ],
- ],
- ],
- ],
- ],
+ [
+ 'apiName' => 'ListApplications',
+ 'description' => '',
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'oos:ListApplications',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [
+ ['conditionKey' => 'oos:TLSVersion'],
+ ],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'OOS', 'resourceType' => 'Application', 'arn' => 'acs:oos:{#regionId}:{#accountId}:application/*'],
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
+ [
+ 'apiName' => 'DeleteApplication',
+ 'description' => '',
+ 'operationType' => 'delete',
+ 'ramAction' => [
+ 'action' => 'oos:DeleteApplication',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [
+ ['conditionKey' => 'oos:TLSVersion'],
+ ],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'OOS', 'resourceType' => 'Application', 'arn' => 'acs:oos:{#regionId}:{#accountId}:application/{#ApplicationName}'],
+ ],
+ ],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"9E011F98-4EE5-5E3A-8FA3-D38F2C531C1F\\",\\n \\"TaskExecutionInvocations\\": [\\n {\\n \\"InvocationTaskExecutionId\\": \\"exec-xxxx.t0001\\",\\n \\"InvocationTaskName\\": \\"TaskName\\",\\n \\"Status\\": \\"Running\\",\\n \\"InvocationId\\": \\"t-hz0jdfwd9f****\\",\\n \\"RegionId\\": \\"cn-hangzhou\\"\\n }\\n ]\\n}","type":"json"}]',
- ],
- 'GetChatConfiguration' => [
- 'summary' => '用于创建、更新、查询和删除聊天配置,支持钉钉等平台。',
- 'description' => '## 请求说明'."\n"
- .'该API主要用于管理和配置与钉钉等即时通讯工具集成的聊天机器人设置,包括但不限于创建新的聊天配置、更新现有配置、获取特定配置详情以及删除不再需要的配置。通过此API,可以实现对不同用户或用户组权限的精细化控制,并能够指定具体的RAM角色来执行相关操作。此外,还支持为每个配置添加标签以便于管理和分类。'."\n"
- ."\n"
- .'特别注意的是,在调用此API时,需确保提供的`RegionId`、`ConversationId`以及请求体中的各项参数准确无误,尤其是涉及到安全敏感信息如`ClientId`、`ClientSecret`等字段时更应谨慎处理,避免泄露给非授权方。'."\n",
- 'methods' => [
- 'post',
+ [
+ 'apiName' => 'UpdateParameter',
+ 'description' => '',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'oos:UpdateParameter',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [
+ ['conditionKey' => 'oos:TLSVersion'],
+ ],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'OOS', 'resourceType' => 'parameter', 'arn' => 'acs:oos:{#regionId}:{#accountId}:parameter/{#parameterName}'],
+ ],
+ ],
],
- 'schemes' => [
- 'https',
+ [
+ 'apiName' => 'StartExecution',
+ 'description' => '',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'oos:StartExecution',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [
+ ['conditionKey' => 'oos:tag', 'validationType' => 'always'],
+ ['conditionKey' => 'oos:IsOOSAssumeRole'],
+ ['conditionKey' => 'oos:TLSVersion'],
+ ],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'OOS', 'resourceType' => 'Execution', 'arn' => 'acs:oos:{#regionId}:{#accountId}:execution/*'],
+ ],
+ ],
],
- 'security' => [
- [
- 'AK' => [],
+ [
+ 'apiName' => 'DeleteStateConfigurations',
+ 'description' => '',
+ 'operationType' => 'delete',
+ 'ramAction' => [
+ 'action' => 'oos:DeleteStateConfigurations',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [
+ ['conditionKey' => 'oos:TLSVersion'],
+ ],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'OOS', 'resourceType' => 'stateconfiguration', 'arn' => 'acs:oos:{#regionId}:{#accountId}:stateconfiguration/{#stateconfigurationId}'],
+ ],
],
],
- 'operationType' => 'read',
- 'deprecated' => false,
- 'systemTags' => [
+ [
+ 'apiName' => 'GetChatConfiguration',
+ 'description' => '',
'operationType' => 'create',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREoosQL14T7',
+ 'ramAction' => [
+ 'action' => 'oos:GetChatConfiguration',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'OOS', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
],
- 'autoTest' => true,
- 'tenantRelevance' => 'publicInformation',
],
- 'parameters' => [
- [
- 'name' => 'RegionId',
- 'in' => 'query',
- 'schema' => [
- 'title' => '地域Id'."\n",
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
+ [
+ 'apiName' => 'ListTemplates',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'oos:ListTemplates',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [
+ ['conditionKey' => 'oos:tag', 'validationType' => 'always'],
+ ['conditionKey' => 'oos:TLSVersion'],
+ ],
+ 'resources' => [
+ ['validationType' => 'conditional', 'product' => 'OOS', 'resourceType' => 'Template', 'arn' => 'acs:oos:{#regionId}:{#accountId}:template/*'],
+ ['validationType' => 'conditional', 'product' => 'OOS', 'resourceType' => 'Template', 'arn' => 'acs:oos:{#regionId}:{#accountId}:template/{#templateName}'],
],
],
- [
- 'name' => 'Name',
- 'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'chatOps-qiwei',
+ ],
+ [
+ 'apiName' => 'GetTemplate',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'oos:GetTemplate',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [
+ ['conditionKey' => 'oos:tag', 'validationType' => 'always'],
+ ['conditionKey' => 'oos:TLSVersion'],
+ ],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'OOS', 'resourceType' => 'template', 'arn' => 'acs:oos:{#regionId}:{#accountId}:template/{#templateName}'],
],
],
],
- 'responses' => [
- 200 => [
- 'description' => '成功响应',
- 'schema' => [
- 'title' => '成功响应的详细信息',
- 'description' => '',
- 'type' => 'object',
- 'properties' => [
- 'RequestId' => [
- 'title' => 'Id of the request',
- 'description' => '',
- 'type' => 'string',
- 'example' => '4DB0****1234',
- ],
- 'ChatConfiguration' => [
- 'description' => '',
- 'type' => 'object',
- 'properties' => [
- 'Name' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'chatops',
- ],
- 'Type' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'DingTalk',
- ],
- 'RamRole' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'OOSServiceRole',
- ],
- 'Configuration' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '{"DingTalkClientId": "dingpxlbxp0rgs7uxmtb", "DingTalkClientSecret": "******", "DingTalkTemplateId": "381c5aee-f8af-48a4-94be-cce587e42ea4.schema"}',
- ],
- 'ResourceGroupId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 's',
- ],
- 'CreatedDate' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '2025-12-26T09:53:02+00:00',
- ],
- 'UpdatedDate' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '2026-01-07T02:14:55+00:00',
- ],
- 'Outputs' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '{"URL": "https://1407907063606569.appflow.aliyunnest.com/webhook/"}',
- ],
- ],
- 'example' => '{'."\n"
- .' "Name": "chatops",'."\n"
- .' "Type": "DingTalk",'."\n"
- .' "RamRole": "OOSServiceRole",'."\n"
- .' "Configuration": "{\\"DingTalkClientId\\": \\"dingpxlbxp0rgs7uxmtb\\", \\"DingTalkClientSecret\\": \\"******\\", \\"DingTalkTemplateId\\": \\"381c5aee-f8af-48a4-94be-cce587e42ea4.schema\\"}",'."\n"
- .' "ResourceGroupId": "s",'."\n"
- .' "CreatedDate": "2025-12-26T09:53:02+00:00",'."\n"
- .' "UpdatedDate": "2026-01-07T02:14:55+00:00",'."\n"
- .' "Outputs": "{\\"URL\\": \\"https://1407907063606569.appflow.aliyunnest.com/webhook/\\"}",'."\n"
- .' "RequestId": "4DB0****1234"'."\n"
- .'}',
- ],
- ],
+ [
+ 'apiName' => 'CreateParameter',
+ 'description' => '',
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'oos:CreateParameter',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [
+ ['conditionKey' => 'oos:TLSVersion'],
+ ],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'OOS', 'resourceType' => 'parameter', 'arn' => 'acs:oos:{#regionId}:{#accountId}:parameter/{#parameterName}'],
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
+ [
+ 'apiName' => 'UpdatePatchBaseline',
+ 'description' => '',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'oos:UpdatePatchBaseline',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [
+ ['conditionKey' => 'oos:TLSVersion'],
+ ],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'OOS', 'resourceType' => 'patchbaseline', 'arn' => 'acs:oos:{#regionId}:{#accountId}:patchbaseline/{#patchbaselineName}'],
+ ],
+ ],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"4DB0****1234\\",\\n \\"ChatConfiguration\\": {\\n \\"Name\\": \\"chatops\\",\\n \\"Type\\": \\"DingTalk\\",\\n \\"RamRole\\": \\"OOSServiceRole\\",\\n \\"Configuration\\": \\"{\\\\\\"DingTalkClientId\\\\\\": \\\\\\"dingpxlbxp0rgs7uxmtb\\\\\\", \\\\\\"DingTalkClientSecret\\\\\\": \\\\\\"******\\\\\\", \\\\\\"DingTalkTemplateId\\\\\\": \\\\\\"381c5aee-f8af-48a4-94be-cce587e42ea4.schema\\\\\\"}\\",\\n \\"ResourceGroupId\\": \\"s\\",\\n \\"CreatedDate\\": \\"2025-12-26T09:53:02+00:00\\",\\n \\"UpdatedDate\\": \\"2026-01-07T02:14:55+00:00\\",\\n \\"Outputs\\": \\"{\\\\\\"URL\\\\\\": \\\\\\"https://1407907063606569.appflow.aliyunnest.com/webhook/\\\\\\"}\\"\\n }\\n}","errorExample":""}]',
- ],
- 'CreateChatConfiguration' => [
- 'summary' => '用于创建、更新、查询和删除聊天配置,支持钉钉等平台。',
- 'description' => '## 请求说明'."\n"
- .'该API主要用于管理和配置与钉钉等即时通讯工具集成的聊天机器人设置,包括但不限于创建新的聊天配置、更新现有配置、获取特定配置详情以及删除不再需要的配置。通过此API,可以实现对不同用户或用户组权限的精细化控制,并能够指定具体的RAM角色来执行相关操作。此外,还支持为每个配置添加标签以便于管理和分类。'."\n"
- ."\n"
- .'特别注意的是,在调用此API时,需确保提供的`RegionId`、`ConversationId`以及请求体中的各项参数准确无误,尤其是涉及到安全敏感信息如`ClientId`、`ClientSecret`等字段时更应谨慎处理,避免泄露给非授权方。'."\n",
- 'methods' => [
- 'post',
+ [
+ 'apiName' => 'CreateTemplate',
+ 'description' => '',
+ 'operationType' => 'create',
+ 'additionalActions' => [
+ ['action' => 'ram:PassRole', 'validationType' => 'always'],
+ ],
+ 'ramAction' => [
+ 'action' => 'oos:CreateTemplate',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [
+ ['conditionKey' => 'oos:tag', 'validationType' => 'always'],
+ ['conditionKey' => 'oos:TLSVersion'],
+ ],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'OOS', 'resourceType' => 'Template', 'arn' => 'acs:oos:{#regionId}:{#accountId}:template/*'],
+ ],
+ ],
],
- 'schemes' => [
- 'https',
+ [
+ 'apiName' => 'GetParameter',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'oos:GetParameter',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [
+ ['conditionKey' => 'oos:TLSVersion'],
+ ],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'OOS', 'resourceType' => 'parameter', 'arn' => 'acs:oos:{#regionId}:{#accountId}:parameter/{#parameterName}'],
+ ],
+ ],
],
- 'security' => [
- [
- 'AK' => [],
+ [
+ 'apiName' => 'UpdateApplicationGroup',
+ 'description' => '',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'oos:UpdateApplicationGroup',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [
+ ['conditionKey' => 'oos:TLSVersion'],
+ ],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'OOS', 'resourceType' => 'ApplicationGroup', 'arn' => 'acs:oos:{#regionId}:{#AccountId}:application/{#applicationName}/applicationgroup/{#applicationGroupName}'],
+ ],
],
],
- 'operationType' => 'read',
- 'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'create',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREoosQL14T7',
+ [
+ 'apiName' => 'ListApplicationGroups',
+ 'description' => '',
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'oos:ListApplicationGroups',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [
+ ['conditionKey' => 'oos:TLSVersion'],
+ ],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'OOS', 'resourceType' => 'ApplicationGroup', 'arn' => 'acs:oos:{#regionId}:{#AccountId}:application/{#applicationName}/applicationgroup/*'],
+ ],
],
- 'autoTest' => true,
- 'tenantRelevance' => 'publicInformation',
],
- 'parameters' => [
- [
- 'name' => 'RegionId',
- 'in' => 'query',
- 'schema' => [
- 'title' => '地域Id'."\n",
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
+ [
+ 'apiName' => 'ListParameterVersions',
+ 'description' => '',
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'oos:ListParameterVersions',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [
+ ['conditionKey' => 'oos:TLSVersion'],
+ ],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'OOS', 'resourceType' => 'parameter', 'arn' => 'acs:oos:{#regionId}:{#accountId}:parameter/{#parameterName}'],
],
],
- [
- 'name' => 'Name',
- 'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'chatops',
+ ],
+ [
+ 'apiName' => 'GetApplication',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'oos:GetApplication',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [
+ ['conditionKey' => 'oos:TLSVersion'],
+ ],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'OOS', 'resourceType' => 'Application', 'arn' => 'acs:oos:{#regionId}:{#accountId}:application/{#ApplicationName}'],
],
],
- [
- 'name' => 'Type',
- 'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'deprecated' => false,
- 'required' => false,
- 'example' => 'DingTalk',
- 'enum' => [
- 'DingTalk',
- 'WeChat',
- ],
+ ],
+ [
+ 'apiName' => 'ListTaskExecutions',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'oos:ListTaskExecutions',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [
+ ['conditionKey' => 'oos:tag', 'validationType' => 'always'],
+ ['conditionKey' => 'oos:TLSVersion'],
+ ],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'OOS', 'resourceType' => 'Execution', 'arn' => 'acs:oos:{#regionId}:{#accountId}:execution/{#executionId}'],
],
],
- [
- 'name' => 'RamRole',
- 'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'AliyunOOSDefaultRole',
+ ],
+ [
+ 'apiName' => 'DeleteApplicationGroup',
+ 'description' => '',
+ 'operationType' => 'delete',
+ 'ramAction' => [
+ 'action' => 'oos:DeleteApplicationGroup',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [
+ ['conditionKey' => 'oos:TLSVersion'],
+ ],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'OOS', 'resourceType' => 'ApplicationGroup', 'arn' => 'acs:oos:{#regionId}:{#AccountId}:application/{#applicationName}/applicationgroup/{#applicationGroupName}'],
],
],
- [
- 'name' => 'Configuration',
- 'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => '{"BotName":"chatops"}',
+ ],
+ [
+ 'apiName' => 'CreateOpsItem',
+ 'description' => '',
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'oos:CreateOpsItem',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [
+ ['conditionKey' => 'oos:TLSVersion'],
+ ],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'OOS', 'resourceType' => 'OpsItem', 'arn' => 'acs:oos:{#regionId}:{#accountId}:opsitem/*'],
],
],
- [
- 'name' => 'ResourceGroupId',
- 'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => '',
+ ],
+ [
+ 'apiName' => 'GetInventorySchema',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'oos:GetInventorySchema',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [
+ ['conditionKey' => 'oos:TLSVersion'],
+ ],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'OOS', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
- 'responses' => [
- 200 => [
- 'description' => '成功响应',
- 'schema' => [
- 'title' => '成功响应的详细信息',
- 'description' => '',
- 'type' => 'object',
- 'properties' => [
- 'RequestId' => [
- 'title' => 'Id of the request',
- 'description' => '',
- 'type' => 'string',
- 'example' => '4DB0****1234',
- ],
- 'ChatConfiguration' => [
- 'description' => '',
- 'type' => 'object',
- 'properties' => [
- 'Name' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'TestChatConfig-9be97b40',
- ],
- 'CreatedDate' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '2025-12-11T13:49:10+00:00',
- ],
- 'UpdatedDate' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '2025-12-11T13:59:02+00:00',
- ],
- ],
- 'example' => '{"Name": "TestChatConfig-9be97b40", "CreatedDate": "2025-12-11T13:49:10+00:00", "UpdatedDate": "2025-12-11T13:59:02+00:00"}',
- ],
- ],
+ [
+ 'apiName' => 'DeleteTemplates',
+ 'description' => '',
+ 'operationType' => 'delete',
+ 'ramAction' => [
+ 'action' => 'oos:DeleteTemplates',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [
+ ['conditionKey' => 'oos:TLSVersion'],
+ ],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'OOS', 'resourceType' => 'Template', 'arn' => 'acs:oos:{#regionId}:{#accountId}:template/{#templateName}'],
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
+ [
+ 'apiName' => 'CreateDeployRevision',
+ 'description' => '',
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'oos:CreateDeployRevision',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [
+ ['conditionKey' => 'oos:TLSVersion'],
+ ],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'OOS', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"4DB0****1234\\",\\n \\"ChatConfiguration\\": {\\n \\"Name\\": \\"TestChatConfig-9be97b40\\",\\n \\"CreatedDate\\": \\"2025-12-11T13:49:10+00:00\\",\\n \\"UpdatedDate\\": \\"2025-12-11T13:59:02+00:00\\"\\n }\\n}","errorExample":""}]',
- ],
- 'ListChatConfigurations' => [
- 'summary' => '用于创建、更新、查询和删除聊天配置,支持钉钉等平台。',
- 'description' => '## 请求说明'."\n"
- .'该API主要用于管理和配置与钉钉等即时通讯工具集成的聊天机器人设置,包括但不限于创建新的聊天配置、更新现有配置、获取特定配置详情以及删除不再需要的配置。通过此API,可以实现对不同用户或用户组权限的精细化控制,并能够指定具体的RAM角色来执行相关操作。此外,还支持为每个配置添加标签以便于管理和分类。'."\n"
- ."\n"
- .'特别注意的是,在调用此API时,需确保提供的`RegionId`、`ConversationId`以及请求体中的各项参数准确无误,尤其是涉及到安全敏感信息如`ClientId`、`ClientSecret`等字段时更应谨慎处理,避免泄露给非授权方。'."\n",
- 'methods' => [
- 'post',
+ [
+ 'apiName' => 'ListGitBranches',
+ 'description' => '',
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'oos:ListGitBranches',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [
+ ['conditionKey' => 'oos:TLSVersion'],
+ ],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'OOS', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
],
- 'schemes' => [
- 'https',
+ [
+ 'apiName' => 'CreateApplication',
+ 'description' => '',
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'oos:CreateApplication',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [
+ ['conditionKey' => 'oos:TLSVersion'],
+ ],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'OOS', 'resourceType' => 'Application', 'arn' => 'acs:oos:{#regionId}:{#accountId}:application/*'],
+ ],
+ ],
],
- 'security' => [
- [
- 'AK' => [],
+ [
+ 'apiName' => 'TriggerExecution',
+ 'description' => '',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'oos:TriggerExecution',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [
+ ['conditionKey' => 'oos:TLSVersion'],
+ ],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'OOS', 'resourceType' => 'execution', 'arn' => 'acs:oos:{#regionId}:{#accountId}:execution/{#executionId}'],
+ ],
],
],
- 'operationType' => 'read',
- 'deprecated' => false,
- 'systemTags' => [
+ [
+ 'apiName' => 'DeleteSecretParameter',
+ 'description' => '',
+ 'operationType' => 'delete',
+ 'ramAction' => [
+ 'action' => 'oos:DeleteSecretParameter',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [
+ ['conditionKey' => 'oos:TLSVersion'],
+ ],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'OOS', 'resourceType' => 'secretparameter', 'arn' => 'acs:oos:{#regionId}:{#accountId}:secretparameter/{#secretparameterName}'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'ListExecutionRiskyTasks',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'oos:ListExecutionRiskyTasks',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [
+ ['conditionKey' => 'oos:tag', 'validationType' => 'always'],
+ ['conditionKey' => 'oos:TLSVersion'],
+ ],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'OOS', 'resourceType' => 'template', 'arn' => 'acs:oos:{#regionId}:{#accountId}:template/{#templateName}'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'CheckGitRepositoryExists',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'oos:CheckGitRepositoryExists',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [
+ ['conditionKey' => 'oos:TLSVersion'],
+ ],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'OOS', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'CreatePatchBaseline',
+ 'description' => '',
'operationType' => 'create',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREoosQL14T7',
+ 'ramAction' => [
+ 'action' => 'oos:CreatePatchBaseline',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [
+ ['conditionKey' => 'oos:TLSVersion'],
+ ],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'OOS', 'resourceType' => 'patchbaseline', 'arn' => 'acs:oos:{#regionId}:{#accountId}:patchbaseline/{#patchbaselineName}'],
+ ],
],
- 'autoTest' => true,
- 'tenantRelevance' => 'publicInformation',
],
- 'parameters' => [
- [
- 'name' => 'RegionId',
- 'in' => 'query',
- 'schema' => [
- 'title' => '地域Id'."\n",
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
+ [
+ 'apiName' => 'ContinueDeployApplicationGroup',
+ 'description' => '',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'oos:ContinueDeployApplicationGroup',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [
+ ['conditionKey' => 'oos:TLSVersion'],
+ ],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'OOS', 'resourceType' => 'ApplicationGroup', 'arn' => 'acs:oos:{#regionId}:{#AccountId}:application/{#applicationName}/applicationgroup/{#applicationGroupName}'],
],
],
- [
- 'name' => 'Filters',
- 'in' => 'query',
- 'style' => 'repeatList',
- 'schema' => [
- 'description' => '',
- 'type' => 'array',
- 'items' => [
- 'description' => '',
- 'type' => 'object',
- 'properties' => [
- 'Value' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'inactive',
- ],
- 'Name' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'status',
- ],
- ],
- 'required' => false,
- 'example' => '{"Name": "status", "Value": "inactive"}',
- ],
- 'required' => false,
- 'example' => '[{"Name": "status", "Value": "inactive"}, {"Name": "type", "Value": "private"}]',
- 'maxItems' => 100,
+ ],
+ [
+ 'apiName' => 'GenerateOpsItem',
+ 'description' => '',
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'oos:GenerateOpsItem',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [
+ ['conditionKey' => 'oos:TLSVersion'],
+ ],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'OOS', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
- [
- 'name' => 'MaxResults',
- 'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '10',
+ ],
+ [
+ 'apiName' => 'ListOpsItems',
+ 'description' => '',
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'oos:ListOpsItems',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [
+ ['conditionKey' => 'oos:TLSVersion'],
+ ],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'OOS', 'resourceType' => 'OpsItem', 'arn' => 'acs:oos:{#regionId}:{#accountId}:opsitem/*'],
],
],
- [
- 'name' => 'NextToken',
- 'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'AQEBARoBBgEAAgIBBQ==',
+ ],
+ [
+ 'apiName' => 'ListChatConfigurations',
+ 'description' => '',
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'oos:ListChatConfigurations',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'OOS', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
- 'responses' => [
- 200 => [
- 'description' => '成功响应',
- 'schema' => [
- 'title' => '成功响应的详细信息',
- 'description' => '',
- 'type' => 'object',
- 'properties' => [
- 'RequestId' => [
- 'title' => 'Id of the request',
- 'description' => '',
- 'type' => 'string',
- 'example' => '4DB0****1234',
- ],
- 'ChatConfigurations' => [
- 'description' => '',
- 'type' => 'array',
- 'items' => [
- 'description' => '',
- 'type' => 'object',
- 'properties' => [
- 'Name' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'test-wechat',
- ],
- 'CreatedDate' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '2025-12-10T10:09:32+00:00',
- ],
- 'UpdatedDate' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '2025-12-28T13:59:48+00:00',
- ],
- 'RamRole' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'OOSServiceRole',
- ],
- 'Type' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'WeChat',
- ],
- 'Outputs' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '{"URL": "https://1407907063606569.appflow.aliyunnes", "AesKey": "UKAxyRabaJlaDxS3XZ6st18grPteemRtGeDVVgF"}',
- ],
- ],
- 'example' => '{"Name": "test-wechat", "CreatedDate": "2025-12-10T10:09:32+00:00", "UpdatedDate": "2025-12-28T13:59:48+00:00", "RamRole": "OOSServiceRole", "Type": "WeChat", "Outputs": "{\\"URL\\": \\"https://1407907063606569.appflow.aliyunnes\\"}"}',
- ],
- 'example' => '[{"Name": "test-wechat", "CreatedDate": "2025-12-10T10:09:32+00:00", "UpdatedDate": "2025-12-28T13:59:48+00:00", "RamRole": "OOSServiceRole", "Type": "WeChat", "Outputs": "{\\"URL\\": \\"https://1407907063606569.appflow.aliyunnes\\"}]}',
- ],
- ],
+ [
+ 'apiName' => 'ListTagKeys',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'oos:ListTagKeys',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [
+ ['conditionKey' => 'oos:TLSVersion'],
+ ],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'OOS', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
+ [
+ 'apiName' => 'NotifyExecution',
+ 'description' => '',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'oos:NotifyExecution',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [
+ ['conditionKey' => 'oos:tag', 'validationType' => 'always'],
+ ['conditionKey' => 'oos:TLSVersion'],
+ ],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'OOS', 'resourceType' => 'execution', 'arn' => 'acs:oos:{#regionId}:{#accountId}:execution/{#executionId}'],
+ ],
+ ],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"4DB0****1234\\",\\n \\"ChatConfigurations\\": [\\n {\\n \\"Name\\": \\"test-wechat\\",\\n \\"CreatedDate\\": \\"2025-12-10T10:09:32+00:00\\",\\n \\"UpdatedDate\\": \\"2025-12-28T13:59:48+00:00\\",\\n \\"RamRole\\": \\"OOSServiceRole\\",\\n \\"Type\\": \\"WeChat\\",\\n \\"Outputs\\": \\"{\\\\\\"URL\\\\\\": \\\\\\"https://1407907063606569.appflow.aliyunnes\\\\\\", \\\\\\"AesKey\\\\\\": \\\\\\"UKAxyRabaJlaDxS3XZ6st18grPteemRtGeDVVgF\\\\\\"}\\"\\n }\\n ]\\n}","errorExample":""}]',
- ],
- 'UpdateChatConfiguration' => [
- 'summary' => '用于创建、更新、查询和删除聊天配置,支持钉钉等平台。',
- 'description' => '## 请求说明'."\n"
- .'该API主要用于管理和配置与钉钉等即时通讯工具集成的聊天机器人设置,包括但不限于创建新的聊天配置、更新现有配置、获取特定配置详情以及删除不再需要的配置。通过此API,可以实现对不同用户或用户组权限的精细化控制,并能够指定具体的RAM角色来执行相关操作。此外,还支持为每个配置添加标签以便于管理和分类。'."\n"
- ."\n"
- .'特别注意的是,在调用此API时,需确保提供的`RegionId`、`ConversationId`以及请求体中的各项参数准确无误,尤其是涉及到安全敏感信息如`ClientId`、`ClientSecret`等字段时更应谨慎处理,避免泄露给非授权方。'."\n",
- 'methods' => [
- 'post',
+ [
+ 'apiName' => 'ValidateTemplateContent',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'oos:ValidateTemplateContent',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [
+ ['conditionKey' => 'oos:TLSVersion'],
+ ],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'OOS', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
],
- 'schemes' => [
- 'https',
+ [
+ 'apiName' => 'SetServiceSettings',
+ 'description' => '',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'oos:SetServiceSettings',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [
+ ['conditionKey' => 'oos:TLSVersion'],
+ ],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'OOS', 'resourceType' => 'ServiceSetting', 'arn' => 'acs:oos:{#regionId}:{#accountId}:ServiceSetting'],
+ ],
+ ],
],
- 'security' => [
- [
- 'AK' => [],
+ [
+ 'apiName' => 'GetSecretParameters',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'oos:GetSecretParameters',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [
+ ['conditionKey' => 'oos:TLSVersion'],
+ ],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'OOS', 'resourceType' => 'secretparameter', 'arn' => 'acs:oos:{#regionId}:{#accountId}:secretparameter/{#secretparameterName}'],
+ ],
],
],
- 'operationType' => 'read',
- 'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'create',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREoosQL14T7',
+ [
+ 'apiName' => 'UpdateTemplate',
+ 'description' => '',
+ 'operationType' => 'update',
+ 'additionalActions' => [
+ ['action' => 'ram:PassRole', 'validationType' => 'always'],
+ ],
+ 'ramAction' => [
+ 'action' => 'oos:UpdateTemplate',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [
+ ['conditionKey' => 'oos:tag', 'validationType' => 'always'],
+ ['conditionKey' => 'oos:TLSVersion'],
+ ],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'OOS', 'resourceType' => 'template', 'arn' => 'acs:oos:{#regionId}:{#accountId}:template/{#templateName}'],
+ ],
],
- 'autoTest' => true,
- 'tenantRelevance' => 'publicInformation',
],
- 'parameters' => [
- [
- 'name' => 'RegionId',
- 'in' => 'query',
- 'schema' => [
- 'title' => '地域Id'."\n",
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
+ [
+ 'apiName' => 'ListTaskExecutionInvocations',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'oos:ListTaskExecutionInvocations',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [
+ ['conditionKey' => 'oos:tag', 'validationType' => 'always'],
+ ['conditionKey' => 'oos:TLSVersion'],
+ ],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'OOS', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
- [
- 'name' => 'Name',
- 'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'Ginlong-AIops',
+ ],
+ [
+ 'apiName' => 'GetPatchBaseline',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'oos:GetPatchBaseline',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [
+ ['conditionKey' => 'oos:TLSVersion'],
+ ],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'OOS', 'resourceType' => 'patchbaseline', 'arn' => 'acs:oos:{#regionId}:{#accountId}:patchbaseline/{#patchbaselineName}'],
],
],
- [
- 'name' => 'Type',
- 'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'DingTalk',
- 'enum' => [
- 'WeChat',
- 'DingTalk',
- ],
+ ],
+ [
+ 'apiName' => 'DeletePatchBaseline',
+ 'description' => '',
+ 'operationType' => 'delete',
+ 'ramAction' => [
+ 'action' => 'oos:DeletePatchBaseline',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [
+ ['conditionKey' => 'oos:TLSVersion'],
+ ],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'OOS', 'resourceType' => 'PatchBaseline', 'arn' => 'acs:oos:{#regionId}:{#accountId}:patchbaseline/{#Name}'],
],
],
- [
- 'name' => 'RamRole',
- 'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'AliyunOOSLifecycleHook4CSRole',
+ ],
+ [
+ 'apiName' => 'ListGitOrganizations',
+ 'description' => '',
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'oos:ListGitOrganizations',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [
+ ['conditionKey' => 'oos:TLSVersion'],
+ ],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'OOS', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
- [
- 'name' => 'Configuration',
- 'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => '{"BotName":"chatops"}',
+ ],
+ [
+ 'apiName' => 'GetParameters',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'oos:GetParameters',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [
+ ['conditionKey' => 'oos:TLSVersion'],
+ ],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'OOS', 'resourceType' => 'parameter', 'arn' => 'acs:oos:{#regionId}:{#accountId}:parameter/{#parameterName}'],
],
],
- [
- 'name' => 'ResourceGroupId',
- 'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'rg-2cd3****9dc2',
+ ],
+ [
+ 'apiName' => 'DeleteParameter',
+ 'description' => '',
+ 'operationType' => 'delete',
+ 'ramAction' => [
+ 'action' => 'oos:DeleteParameter',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [
+ ['conditionKey' => 'oos:TLSVersion'],
+ ],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'OOS', 'resourceType' => 'parameter', 'arn' => 'acs:oos:{#regionId}:{#accountId}:parameter/{#parameterName}'],
],
],
],
- 'responses' => [
- 200 => [
- 'description' => '成功响应',
- 'schema' => [
- 'title' => '成功响应的详细信息',
- 'description' => '',
- 'type' => 'object',
- 'properties' => [
- 'RequestId' => [
- 'title' => 'Id of the request',
- 'description' => '',
- 'type' => 'string',
- 'example' => '4DB0****1234',
- ],
- 'ChatConfiguration' => [
- 'description' => '',
- 'type' => 'object',
- 'properties' => [
- 'Name' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'dingtalk',
- ],
- 'CreatedDate' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '2025-12-23T10:14:28+00:00',
- ],
- 'UpdatedDate' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '2025-12-23T10:16:37.178097',
- ],
- ],
- 'example' => '{"Name": "dingtalk", "CreatedDate": "2025-12-23T10:14:28+00:00", "UpdatedDate": "2025-12-23T10:16:37.178097"}',
- ],
- ],
+ [
+ 'apiName' => 'ListGitRepositoryContents',
+ 'description' => '',
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'oos:ListGitRepositoryContents',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [
+ ['conditionKey' => 'oos:TLSVersion'],
+ ],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'OOS', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
+ [
+ 'apiName' => 'UpdateExecution',
+ 'description' => '',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'oos:UpdateExecution',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [
+ ['conditionKey' => 'oos:TLSVersion'],
+ ],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'OOS', 'resourceType' => 'execution', 'arn' => 'acs:oos:{#regionId}:{#accountId}:execution/{#executionId}'],
+ ],
+ ],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"4DB0****1234\\",\\n \\"ChatConfiguration\\": {\\n \\"Name\\": \\"dingtalk\\",\\n \\"CreatedDate\\": \\"2025-12-23T10:14:28+00:00\\",\\n \\"UpdatedDate\\": \\"2025-12-23T10:16:37.178097\\"\\n }\\n}","type":"json"}]',
- ],
- 'DeleteChatConfiguration' => [
- 'summary' => '用于创建、更新、查询和删除聊天配置,支持钉钉等平台。',
- 'description' => '## 请求说明'."\n"
- .'该API主要用于管理和配置与钉钉等即时通讯工具集成的聊天机器人设置,包括但不限于创建新的聊天配置、更新现有配置、获取特定配置详情以及删除不再需要的配置。通过此API,可以实现对不同用户或用户组权限的精细化控制,并能够指定具体的RAM角色来执行相关操作。此外,还支持为每个配置添加标签以便于管理和分类。'."\n"
- ."\n"
- .'特别注意的是,在调用此API时,需确保提供的`RegionId`、`ConversationId`以及请求体中的各项参数准确无误,尤其是涉及到安全敏感信息如`ClientId`、`ClientSecret`等字段时更应谨慎处理,避免泄露给非授权方。'."\n",
- 'methods' => [
- 'post',
+ [
+ 'apiName' => 'ListStateConfigurations',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'oos:ListStateConfigurations',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [
+ ['conditionKey' => 'oos:TLSVersion'],
+ ],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'OOS', 'resourceType' => 'StateConfiguration', 'arn' => 'acs:oos:{#regionId}:{#accountId}:stateconfiguration/*'],
+ ['validationType' => 'always', 'product' => 'OOS', 'resourceType' => 'StateConfiguration', 'arn' => 'acs:oos:{#regionId}:{#accountId}:stateconfiguration/{#StateConfigurationId}'],
+ ],
+ ],
],
- 'schemes' => [
- 'https',
+ [
+ 'apiName' => 'ListSecretParameters',
+ 'description' => '',
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'oos:ListSecretParameters',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [
+ ['conditionKey' => 'oos:TLSVersion'],
+ ],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'OOS', 'resourceType' => 'SecretParameter', 'arn' => 'acs:oos:{#regionId}:{#accountId}:secretparameter/*'],
+ ],
+ ],
],
- 'security' => [
- [
- 'AK' => [],
+ [
+ 'apiName' => 'GetGitRepository',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'oos:GetGitRepository',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [
+ ['conditionKey' => 'oos:TLSVersion'],
+ ],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'OOS', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
],
],
- 'operationType' => 'read',
- 'deprecated' => false,
- 'systemTags' => [
+ [
+ 'apiName' => 'CreateChatConfiguration',
+ 'description' => '',
'operationType' => 'create',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREoosQL14T7',
+ 'ramAction' => [
+ 'action' => 'oos:CreateChatConfiguration',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'OOS', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
],
- 'autoTest' => true,
- 'tenantRelevance' => 'publicInformation',
],
- 'parameters' => [
- [
- 'name' => 'RegionId',
- 'in' => 'query',
- 'schema' => [
- 'title' => '地域Id'."\n",
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
+ [
+ 'apiName' => 'ListExecutionLogs',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'oos:ListExecutionLogs',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [
+ ['conditionKey' => 'oos:tag', 'validationType' => 'always'],
+ ['conditionKey' => 'oos:TLSVersion'],
+ ],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'OOS', 'resourceType' => 'execution', 'arn' => 'acs:oos:{#regionId}:{#accountId}:execution/{#executionId}'],
],
],
- [
- 'name' => 'Name',
- 'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'TestChatConfig-9be97b40',
+ ],
+ [
+ 'apiName' => 'TagResources',
+ 'description' => '',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'oos:TagResources',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [
+ ['conditionKey' => 'oos:tag', 'validationType' => 'always'],
+ ['conditionKey' => 'oos:TLSVersion'],
+ ],
+ 'resources' => [
+ ['validationType' => 'conditional', 'product' => 'OOS', 'resourceType' => 'execution', 'arn' => 'acs:oos:{#regionId}:{#accountId}:execution/{#executionId}'],
+ ['validationType' => 'conditional', 'product' => 'OOS', 'resourceType' => 'template', 'arn' => 'acs:oos:{#regionId}:{#accountId}:template/{#templateName}'],
],
],
],
- 'responses' => [
- 200 => [
- 'description' => '成功响应',
- 'schema' => [
- 'title' => '成功响应的详细信息',
- 'description' => '',
- 'type' => 'object',
- 'properties' => [
- 'Content' => [
- 'title' => '响应消息,描述请求处理的结果',
- 'description' => '',
- 'type' => 'string',
- 'example' => 'Chat configuration deleted successfully.',
- ],
- 'RequestId' => [
- 'title' => 'Id of the request',
- 'description' => '',
- 'type' => 'string',
- 'example' => '4DB0****1234',
- ],
- ],
+ [
+ 'apiName' => 'ChangeResourceGroup',
+ 'description' => '',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'oos:ChangeResourceGroup',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [
+ ['conditionKey' => 'oos:TLSVersion'],
+ ],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'OOS', 'resourceType' => 'Template', 'arn' => 'acs:oos:{#regionId}:{#accountId}:template/{#TemplateName}'],
+ ['validationType' => 'always', 'product' => 'OOS', 'resourceType' => 'StateConfiguration', 'arn' => 'acs:oos:{#regionId}:{#accountId}:stateconfiguration/{#StateConfigurationId}'],
+ ['validationType' => 'always', 'product' => 'OOS', 'resourceType' => 'Parameter', 'arn' => 'acs:oos:{#regionId}:{#accountId}:parameter/{#ParameterName}'],
+ ['validationType' => 'always', 'product' => 'OOS', 'resourceType' => 'SecretParameter', 'arn' => 'acs:oos:{#regionId}:{#accountId}:secretparameter/{#SecretParameterName}'],
+ ['validationType' => 'always', 'product' => 'OOS', 'resourceType' => 'OpsItem', 'arn' => 'acs:oos:{#regionId}:{#accountId}:opsitem/{#OpsItemId}'],
+ ['validationType' => 'always', 'product' => 'OOS', 'resourceType' => 'PatchBaseline', 'arn' => 'acs:oos:{#regionId}:{#accountId}:patchbaseline/{#PatchBaselineName}'],
+ ['validationType' => 'always', 'product' => 'OOS', 'resourceType' => 'Execution', 'arn' => 'acs:oos:{#regionId}:{#accountId}:execution/{#ExecutionId}'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'UpdateOpsItem',
+ 'description' => '',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'oos:UpdateOpsItem',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [
+ ['conditionKey' => 'oos:TLSVersion'],
+ ],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'OOS', 'resourceType' => 'OpsItem', 'arn' => 'acs:oos:{#regionId}:{#accountId}:opsitem/{#OpsItemId}'],
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
+ [
+ 'apiName' => 'GetTemplateParameterConstraints',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'oos:GetTemplateParameterConstraints',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [
+ ['conditionKey' => 'oos:TLSVersion'],
+ ],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'OOS', 'resourceType' => 'Template', 'arn' => 'acs:oos:{#regionId}:{#accountId}:template/{#TemplateName}'],
+ ],
+ ],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"Content\\": \\"Chat configuration deleted successfully.\\",\\n \\"RequestId\\": \\"4DB0****1234\\"\\n}","errorExample":""}]',
- ],
- 'StartDebugExecution' => [
- 'summary' => '启动一个调试执行',
- 'methods' => [
- 'post',
- 'get',
+ [
+ 'apiName' => 'GetSecretParametersByPath',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'oos:GetSecretParametersByPath',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [
+ ['conditionKey' => 'oos:TLSVersion'],
+ ],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'OOS', 'resourceType' => 'secretparameter', 'arn' => 'acs:oos:{#regionId}:{#accountId}:secretparameter/{#secretparameterName}'],
+ ],
+ ],
],
- 'schemes' => [
- 'https',
+ [
+ 'apiName' => 'ListTagResources',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'oos:ListTagResources',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [
+ ['conditionKey' => 'oos:tag', 'validationType' => 'always'],
+ ['conditionKey' => 'oos:TLSVersion'],
+ ],
+ 'resources' => [
+ ['validationType' => 'conditional', 'product' => 'OOS', 'resourceType' => 'Execution', 'arn' => 'acs:oos:{#regionId}:{#accountId}:execution/{#executionId}'],
+ ['validationType' => 'conditional', 'product' => 'OOS', 'resourceType' => 'Template', 'arn' => 'acs:oos:{#regionId}:{#accountId}:template/{#TemplateName}'],
+ ['validationType' => 'conditional', 'product' => 'OOS', 'resourceType' => 'StateConfiguration', 'arn' => 'acs:oos:{#regionId}:{#accountId}:stateconfiguration/{#StateConfigurationId}'],
+ ['validationType' => 'conditional', 'product' => 'OOS', 'resourceType' => 'Parameter', 'arn' => 'acs:oos:{#regionId}:{#accountId}:parameter/{#ParameterName}'],
+ ['validationType' => 'conditional', 'product' => 'OOS', 'resourceType' => 'SecretParameter', 'arn' => 'acs:oos:{#regionId}:{#accountId}:secretparameter/{#SecretParameterName}'],
+ ['validationType' => 'conditional', 'product' => 'OOS', 'resourceType' => 'OpsItem', 'arn' => 'acs:oos:{#regionId}:{#accountId}:opsitem/{#OpsItemId}'],
+ ['validationType' => 'conditional', 'product' => 'OOS', 'resourceType' => 'PatchBaseline', 'arn' => 'acs:oos:{#regionId}:{#accountId}:patchbaseline/{#PatchBaselineName}'],
+ ['validationType' => 'conditional', 'product' => 'OOS', 'resourceType' => 'Execution', 'arn' => 'acs:oos:{#regionId}:{#accountId}:execution/*'],
+ ['validationType' => 'conditional', 'product' => 'OOS', 'resourceType' => 'Template', 'arn' => 'acs:oos:{#regionId}:{#accountId}:template/*'],
+ ['validationType' => 'conditional', 'product' => 'OOS', 'resourceType' => 'OpsItem', 'arn' => 'acs:oos:{#regionId}:{#accountId}:opsitem/*'],
+ ['validationType' => 'conditional', 'product' => 'OOS', 'resourceType' => 'SecretParameter', 'arn' => 'acs:oos:{#regionId}:{#accountId}:secretparameter/*'],
+ ['validationType' => 'conditional', 'product' => 'OOS', 'resourceType' => 'PatchBaseline', 'arn' => 'acs:oos:{#regionId}:{#accountId}:patchbaseline/*'],
+ ['validationType' => 'conditional', 'product' => 'OOS', 'resourceType' => 'StateConfiguration', 'arn' => 'acs:oos:{#regionId}:{#accountId}:stateconfiguration/*'],
+ ['validationType' => 'conditional', 'product' => 'OOS', 'resourceType' => 'Parameter', 'arn' => 'acs:oos:{#regionId}:{#accountId}:parameter/*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'UpdateTemplateAttributes',
+ 'description' => '',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'oos:UpdateTemplateAttributes',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [
+ ['conditionKey' => 'oos:tag', 'validationType' => 'always'],
+ ['conditionKey' => 'oos:TLSVersion'],
+ ],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'OOS', 'resourceType' => 'Template', 'arn' => 'acs:oos:{#regionId}:{#accountId}:template/{#templateName}'],
+ ],
+ ],
],
- 'security' => [
- [
- 'AK' => [],
+ [
+ 'apiName' => 'GetServiceSettings',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'oos:GetServiceSettings',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [
+ ['conditionKey' => 'oos:TLSVersion'],
+ ],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'OOS', 'resourceType' => 'ServiceSetting', 'arn' => 'acs:oos:{#regionId}:{#accountId}:ServiceSetting'],
+ ],
],
],
- 'operationType' => 'write',
- 'deprecated' => false,
- 'systemTags' => [
+ [
+ 'apiName' => 'ListParameters',
+ 'description' => '',
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'oos:ListParameters',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [
+ ['conditionKey' => 'oos:TLSVersion'],
+ ],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'OOS', 'resourceType' => 'Parameter', 'arn' => 'acs:oos:{#regionId}:{#accountId}:parameter/*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'GenerateExecutionPolicy',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'oos:GenerateExecutionPolicy',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [
+ ['conditionKey' => 'oos:TLSVersion'],
+ ],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'OOS', 'resourceType' => 'Template', 'arn' => 'acs:oos:{#regionId}:{#accountId}:template/{#templateName}'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DeployApplicationGroup',
+ 'description' => '',
'operationType' => 'update',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- 'abilityTreeCode' => '93998',
- 'abilityTreeNodes' => [
- 'FEATUREoosC47MF8',
+ 'ramAction' => [
+ 'action' => 'oos:DeployApplicationGroup',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [
+ ['conditionKey' => 'oos:TLSVersion'],
+ ],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'OOS', 'resourceType' => 'ApplicationGroup', 'arn' => 'acs:oos:{#regionId}:{#AccountId}:application/{#applicationName}/applicationgroup/{#applicationGroupName}'],
+ ],
],
- 'tenantRelevance' => 'publicInformation',
],
- 'parameters' => [
- [
- 'name' => 'RegionId',
- 'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
+ [
+ 'apiName' => 'GetParametersByPath',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'oos:GetParametersByPath',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [
+ ['conditionKey' => 'oos:TLSVersion'],
+ ],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'OOS', 'resourceType' => 'parameter', 'arn' => 'acs:oos:{#regionId}:{#accountId}:parameter/{#parameterName}'],
],
],
- [
- 'name' => 'TaskType',
- 'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'docRequired' => false,
- 'example' => 'ACS::ExecuteAPI',
+ ],
+ [
+ 'apiName' => 'ListInventoryEntries',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'oos:ListInventoryEntries',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [
+ ['conditionKey' => 'oos:TLSVersion'],
+ ],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'OOS', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
- [
- 'name' => 'Properties',
- 'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => '{"Service": "ecs", "API": "DescribeRegions"}',
+ ],
+ [
+ 'apiName' => 'DeleteChatConfiguration',
+ 'description' => '',
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'oos:DeleteChatConfiguration',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'OOS', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
- [
- 'name' => 'ClientToken',
- 'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'abcde3OARpx77No54nv6',
+ ],
+ [
+ 'apiName' => 'ListDeployRevisions',
+ 'description' => '',
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'oos:ListDeployRevisions',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'OOS', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
- 'responses' => [
- 200 => [
- 'schema' => [
- 'type' => 'object',
- 'properties' => [
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'A5320F1D-92D9-44BB-A416-5FC525ED6D57',
- ],
- 'ExecutionId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'exec-xxx',
- ],
- ],
+ [
+ 'apiName' => 'ListInstancePackageStates',
+ 'description' => '',
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'oos:ListInstancePackageStates',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [
+ ['conditionKey' => 'oos:tag', 'validationType' => 'always'],
+ ['conditionKey' => 'oos:TLSVersion'],
+ ],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'OOS', 'resourceType' => 'Template', 'arn' => 'acs:oos:{#regionId}:{#accountId}:template/{#templateNames}'],
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A5320F1D-92D9-44BB-A416-5FC525ED6D57\\",\\n \\"ExecutionId\\": \\"exec-xxx\\"\\n}","type":"json"}]',
- ],
- ],
- 'endpoints' => [
- [
- 'regionId' => 'cn-qingdao',
- 'endpoint' => 'oos.cn-qingdao.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-beijing',
- 'endpoint' => 'oos.cn-beijing.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-zhangjiakou',
- 'endpoint' => 'oos.cn-zhangjiakou.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-zhengzhou-jva',
- 'endpoint' => 'oos.cn-zhengzhou-jva.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-huhehaote',
- 'endpoint' => 'oos.cn-huhehaote.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-wulanchabu',
- 'endpoint' => 'oos.cn-wulanchabu.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-hangzhou',
- 'endpoint' => 'oos.cn-hangzhou.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shanghai',
- 'endpoint' => 'oos.cn-shanghai.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-nanjing',
- 'endpoint' => 'oos.cn-nanjing.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-fuzhou',
- 'endpoint' => 'oos.cn-fuzhou.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shenzhen',
- 'endpoint' => 'oos.cn-shenzhen.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-heyuan',
- 'endpoint' => 'oos.cn-heyuan.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-guangzhou',
- 'endpoint' => 'oos.cn-guangzhou.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-chengdu',
- 'endpoint' => 'oos.cn-chengdu.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-wuhan-lr',
- 'endpoint' => 'oos.cn-wuhan-lr.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-hongkong',
- 'endpoint' => 'oos.cn-hongkong.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-northeast-1',
- 'endpoint' => 'oos.ap-northeast-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-northeast-2',
- 'endpoint' => 'oos.ap-northeast-2.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-southeast-1',
- 'endpoint' => 'oos.ap-southeast-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-southeast-2',
- 'endpoint' => 'oos.ap-southeast-2.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-southeast-3',
- 'endpoint' => 'oos.ap-southeast-3.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-southeast-5',
- 'endpoint' => 'oos.ap-southeast-5.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-southeast-6',
- 'endpoint' => 'oos.ap-southeast-6.aliyuncs.com',
- ],
- [
- 'regionId' => 'us-east-1',
- 'endpoint' => 'oos.us-east-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'us-west-1',
- 'endpoint' => 'oos.us-west-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'eu-west-1',
- 'endpoint' => 'oos.eu-west-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'eu-central-1',
- 'endpoint' => 'oos.eu-central-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-south-1',
- 'endpoint' => 'oos.ap-south-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'me-east-1',
- 'endpoint' => 'oos.me-east-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-hangzhou-finance',
- 'endpoint' => 'oos.cn-hangzhou-finance.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shanghai-finance-1',
- 'endpoint' => 'oos.cn-shanghai-finance-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shenzhen-finance-1',
- 'endpoint' => 'oos.cn-shenzhen-finance-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-southeast-7',
- 'endpoint' => 'oos.ap-southeast-7.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-beijing-finance-1',
- 'endpoint' => 'oos.cn-beijing-finance-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'me-central-1',
- 'endpoint' => 'oos.me-central-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-heyuan-acdr-1',
- 'endpoint' => 'oos.cn-heyuan-acdr-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'na-south-1',
- 'endpoint' => 'oos.na-south-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'us-southeast-1',
- 'endpoint' => 'oos.us-southeast-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-wulanchabu-gic-1',
- 'endpoint' => 'oos.cn-wulanchabu-gic-1.aliyuncs.com',
+ [
+ 'apiName' => 'SearchInventory',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'oos:SearchInventory',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [
+ ['conditionKey' => 'oos:TLSVersion'],
+ ],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'OOS', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'GetApplicationGroup',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'oos:GetApplicationGroup',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [
+ ['conditionKey' => 'oos:TLSVersion'],
+ ],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'OOS', 'resourceType' => 'ApplicationGroup', 'arn' => 'acs:oos:{#regionId}:{#AccountId}:application/{#applicationName}/applicationgroup/{#applicationGroupName}'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'ListTemplateVersions',
+ 'description' => '',
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'oos:ListTemplateVersions',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [
+ ['conditionKey' => 'oos:TLSVersion'],
+ ],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'OOS', 'resourceType' => 'Template', 'arn' => 'acs:oos:{#regionId}:{#accountId}:template/{#templateName}'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'UpdateInstancePackageState',
+ 'description' => '',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'oos:UpdateInstancePackageState',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [
+ ['conditionKey' => 'oos:tag', 'validationType' => 'always'],
+ ['conditionKey' => 'oos:TLSVersion'],
+ ],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'OOS', 'resourceType' => 'Template', 'arn' => 'acs:oos:{#regionId}:{#accountId}:template/{#templateName}'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'GetDeployRevision',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'oos:GetDeployRevision',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [
+ ['conditionKey' => 'oos:TLSVersion'],
+ ],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'OOS', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'ListTagValues',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'oos:ListTagValues',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [
+ ['conditionKey' => 'oos:TLSVersion'],
+ ],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'OOS', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ 'resourceTypes' => [
+ ['validationType' => 'always', 'resourceType' => 'Execution', 'arn' => 'acs:oos:{#regionId}:{#accountId}:execution/*'],
+ ['validationType' => 'always', 'resourceType' => 'secretparameter', 'arn' => 'acs:oos:{#regionId}:{#accountId}:secretparameter/{#secretparameterName}'],
+ ['validationType' => 'always', 'resourceType' => 'Template', 'arn' => 'acs:oos:{#regionId}:{#accountId}:template/{#templateName}'],
+ ['validationType' => 'conditional', 'resourceType' => 'execution', 'arn' => 'acs:oos:{#regionId}:{#accountId}:execution/{#executionId}'],
+ ['validationType' => 'conditional', 'resourceType' => 'template', 'arn' => 'acs:oos:{#regionId}:{#accountId}:template/{#templateName}'],
+ ['validationType' => 'always', 'resourceType' => 'patchbaseline', 'arn' => 'acs:oos:{#regionId}:{#accountId}:patchbaseline/{#patchbaselineName}'],
+ ['validationType' => 'always', 'resourceType' => 'Execution', 'arn' => 'acs:oos:{#regionId}:{#accountId}:execution/{#executionId}'],
+ ['validationType' => 'always', 'resourceType' => 'StateConfiguration', 'arn' => 'acs:oos:{#regionId}:{#accountId}:stateconfiguration/*'],
+ ['validationType' => 'always', 'resourceType' => 'OpsItem', 'arn' => 'acs:oos:{#regionId}:{#accountId}:opsitem/{#OpsItemId}'],
+ ['validationType' => 'always', 'resourceType' => 'ApplicationGroup', 'arn' => 'acs:oos:{#regionId}:{#AccountId}:application/{#ApplicationName}/applicationgroup/{#ApplicationGroupName}'],
+ ['validationType' => 'always', 'resourceType' => 'stateconfiguration', 'arn' => 'acs:oos:{#regionId}:{#accountId}:stateconfiguration/{#stateconfigurationId}'],
+ ['validationType' => 'always', 'resourceType' => 'Application', 'arn' => 'acs:oos:{#regionId}:{#accountId}:application/{#ApplicationName}'],
+ ['validationType' => 'always', 'resourceType' => 'PatchBaseline', 'arn' => 'acs:oos:{#regionId}:{#accountId}:patchbaseline/{#PatchBaselineName}'],
+ ['validationType' => 'always', 'resourceType' => 'Application', 'arn' => 'acs:oos:{#regionId}:{#accountId}:application/*'],
+ ['validationType' => 'always', 'resourceType' => 'parameter', 'arn' => 'acs:oos:{#regionId}:{#accountId}:parameter/{#parameterName}'],
+ ['validationType' => 'conditional', 'resourceType' => 'Template', 'arn' => 'acs:oos:{#regionId}:{#accountId}:template/*'],
+ ['validationType' => 'always', 'resourceType' => 'ApplicationGroup', 'arn' => 'acs:oos:{#regionId}:{#AccountId}:application/{#applicationName}/applicationgroup/*'],
+ ['validationType' => 'always', 'resourceType' => 'OpsItem', 'arn' => 'acs:oos:{#regionId}:{#accountId}:opsitem/*'],
+ ['validationType' => 'always', 'resourceType' => 'DeployRevision', 'arn' => 'acs:oos:{#regionId}:{#accountId}:application/{#DeployRevisionId}'],
+ ['validationType' => 'always', 'resourceType' => 'tags', 'arn' => 'acs:oos:{#regionId}:{#accountId}:tags/*'],
+ ['validationType' => 'always', 'resourceType' => 'ServiceSetting', 'arn' => 'acs:oos:{#regionId}:{#accountId}:ServiceSetting'],
+ ['validationType' => 'always', 'resourceType' => 'TaskExecution', 'arn' => 'acs:oos:{#regionId}:{#accountId}:taskexecution/*'],
+ ['validationType' => 'always', 'resourceType' => 'PatchBaseline', 'arn' => 'acs:oos:{#regionId}:{#accountId}:patchbaseline/{#Name}'],
+ ['validationType' => 'always', 'resourceType' => 'StateConfiguration', 'arn' => 'acs:oos:{#regionId}:{#accountId}:stateconfiguration/{#StateConfigurationId}'],
+ ['validationType' => 'always', 'resourceType' => 'SecretParameter', 'arn' => 'acs:oos:{#regionId}:{#accountId}:secretparameter/*'],
+ ['validationType' => 'always', 'resourceType' => 'Parameter', 'arn' => 'acs:oos:{#regionId}:{#accountId}:parameter/{#ParameterName}'],
+ ['validationType' => 'always', 'resourceType' => 'SecretParameter', 'arn' => 'acs:oos:{#regionId}:{#accountId}:secretparameter/{#SecretParameterName}'],
+ ['validationType' => 'conditional', 'resourceType' => 'PatchBaseline', 'arn' => 'acs:oos:{#regionId}:{#accountId}:patchbaseline/*'],
+ ['validationType' => 'conditional', 'resourceType' => 'Parameter', 'arn' => 'acs:oos:{#regionId}:{#accountId}:parameter/*'],
+ ['validationType' => 'always', 'resourceType' => 'Template', 'arn' => 'acs:oos:{#regionId}:{#accountId}:template/{#templateNames}'],
],
],
];