summaryrefslogtreecommitdiff
path: root/data/en_us/adcp/2022-01-01/api-docs.php
diff options
context:
space:
mode:
authorZhineng Li <[email protected]>2026-02-13 10:54:11 +0800
committerZhineng Li <[email protected]>2026-02-13 10:54:11 +0800
commit7347bac4ab7e136157fc94777e6cf87ef9e08599 (patch)
tree0dec367dac6e152161a6f7cc0dba6ebbef1f34a2 /data/en_us/adcp/2022-01-01/api-docs.php
downloadacs-metadata-full-main.tar.gz
acs-metadata-full-main.zip
Diffstat (limited to 'data/en_us/adcp/2022-01-01/api-docs.php')
-rw-r--r--data/en_us/adcp/2022-01-01/api-docs.php3838
1 files changed, 3838 insertions, 0 deletions
diff --git a/data/en_us/adcp/2022-01-01/api-docs.php b/data/en_us/adcp/2022-01-01/api-docs.php
new file mode 100644
index 0000000..843fe65
--- /dev/null
+++ b/data/en_us/adcp/2022-01-01/api-docs.php
@@ -0,0 +1,3838 @@
+<?php return [
+ 'version' => '1.0',
+ 'info' => [
+ 'style' => 'RPC',
+ 'product' => 'adcp',
+ 'version' => '2022-01-01',
+ ],
+ 'directories' => [
+ [
+ 'id' => 165693,
+ 'title' => 'Clusters',
+ 'type' => 'directory',
+ 'children' => [
+ 'CreateHubCluster',
+ 'DescribeHubClusters',
+ 'DescribeHubClusterDetails',
+ 'DeleteHubCluster',
+ 'AttachClusterToHub',
+ 'DescribeManagedClusters',
+ 'DetachClusterFromHub',
+ 'UpdateHubClusterFeature',
+ ],
+ ],
+ [
+ 'id' => 165701,
+ 'title' => 'Authorization',
+ 'type' => 'directory',
+ 'children' => [
+ 'DescribeUserPermissions',
+ 'DescribeHubClusterKubeconfig',
+ 'GrantUserPermission',
+ 'UpdateUserPermission',
+ 'DeleteUserPermission',
+ ],
+ ],
+ [
+ 'id' => 182212,
+ 'title' => 'Security Policies',
+ 'type' => 'directory',
+ 'children' => [
+ 'DescribePolicies',
+ 'DescribePolicyDetails',
+ 'DeployPolicyInstance',
+ 'DescribePolicyInstances',
+ 'DescribePolicyInstancesStatus',
+ 'DescribePolicyGovernanceInCluster',
+ 'DeletePolicyInstance',
+ ],
+ ],
+ [
+ 'id' => 165703,
+ 'title' => 'Logs',
+ 'type' => 'directory',
+ 'children' => [
+ 'DescribeHubClusterLogs',
+ ],
+ ],
+ [
+ 'id' => 165799,
+ 'title' => 'Others',
+ 'type' => 'directory',
+ 'children' => [
+ 'DescribeRegions',
+ 'ChangeResourceGroup',
+ ],
+ ],
+ ],
+ 'components' => [
+ 'schemas' => [],
+ ],
+ 'apis' => [
+ 'CreateHubCluster' => [
+ 'summary' => 'Creates a master instance in Alibaba Cloud Distributed Cloud Container Platform (ACK One).',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'create',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '118358',
+ 'abilityTreeNodes' => [
+ 'FEATUREadcpMQ5GFM',
+ 'FEATUREadcpH1M5DC',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'RegionId',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'The ID of the region. You can call the DescribeRegions operation to query available regions.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'cn-beijing',
+ ],
+ ],
+ [
+ 'name' => 'VpcId',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'The ID of the virtual private cloud (VPC) to which the master instance belongs. You can call the DescribeVpcs operation to query available VPCs.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'vpc-f8zin0jscsr84s96tg***',
+ ],
+ ],
+ [
+ 'name' => 'ApiServerPublicEip',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'Specifies whether to expose the API server to the Internet. Valid values:'."\n"
+ ."\n"
+ .'* true: exposes the API server to the Internet.'."\n"
+ .'* false: exposes the API server to the internal network.'."\n",
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => 'true',
+ ],
+ ],
+ [
+ 'name' => 'Name',
+ 'in' => 'formData',
+ 'schema' => [
+ 'title' => '集群名称',
+ 'description' => 'The name of the master instance.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'ack-demo',
+ ],
+ ],
+ [
+ 'name' => 'VSwitches',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'The ID of the vSwitch.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => '["vsw-2zeaijsas4zkzz81xm***"]',
+ ],
+ ],
+ [
+ 'name' => 'AuditLogEnabled',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'Specifies whether to enable the audit log feature. Valid values:'."\n"
+ ."\n"
+ .'* true: enables the audit log feature.'."\n"
+ .'* false: disables the audit log feature.'."\n",
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => 'false',
+ ],
+ ],
+ [
+ 'name' => 'IsEnterpriseSecurityGroup',
+ 'in' => 'formData',
+ 'schema' => [
+ 'title' => '是否企业安全组',
+ 'description' => 'Specifies whether to use an advanced security group.'."\n",
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => 'false',
+ ],
+ ],
+ [
+ 'name' => 'Profile',
+ 'in' => 'formData',
+ 'schema' => [
+ 'title' => '集群配置',
+ 'description' => 'The type of scenario for which the master instance is suitable. Valid values:'."\n"
+ ."\n"
+ .'* `Default`: The master instance is suitable for standard scenarios.'."\n"
+ .'* `XFlow`: The master instance is suitable for workflow scenarios.'."\n"
+ ."\n"
+ .'Default value: `Default`.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'Default',
+ ],
+ ],
+ [
+ 'name' => 'ArgoServerEnabled',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'Specifies whether to enable the workflow instance UI. This parameter takes effect only if Profile is set to XFlow. Valid values:'."\n"
+ ."\n"
+ .'* true'."\n"
+ .'* false'."\n",
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => 'true',
+ ],
+ ],
+ [
+ 'name' => 'WorkflowScheduleMode',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'The scheduling mode of the workflow. This parameter takes effect only if Profile is set to XFlow. Valid values:'."\n"
+ ."\n"
+ .'* cost-optimized: cost-prioritized scheduling mode.'."\n"
+ .'* stock-optimized: inventory-prioritized scheduling mode.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'cost-optimized',
+ ],
+ ],
+ [
+ 'name' => 'PriceLimit',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'The limit on the prices of containers in the workflow. This parameter takes effect only if the WorkflowScheduleMode parameter is set to cost-optimized.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '0.08',
+ ],
+ ],
+ [
+ 'name' => 'ResourceGroupID',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'The Resource Group ID.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'rg-1exm6tg2h48***',
+ ],
+ ],
+ [
+ 'name' => 'Tag',
+ 'in' => 'query',
+ 'style' => 'json',
+ 'schema' => [
+ 'description' => 'The tags.'."\n"
+ ."\n"
+ .'You can specify at most 20 tags in each call.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The list of tags.'."\n",
+ 'required' => false,
+ '$ref' => '#/components/schemas/Tag',
+ ],
+ 'required' => false,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'description' => 'The ID of the request.'."\n",
+ 'type' => 'string',
+ 'example' => '62F5AA2B-A2C9-5135-BCE2-C2167099****',
+ ],
+ 'ClusterId' => [
+ 'description' => 'The ID of the master instance.'."\n",
+ 'type' => 'string',
+ 'example' => 'c09946603cd764dac96135f51d1ba****',
+ ],
+ 'TaskId' => [
+ 'description' => 'The ID of the task.'."\n",
+ 'type' => 'string',
+ 'example' => 'T-62523eda841eca071400****',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"62F5AA2B-A2C9-5135-BCE2-C2167099****\\",\\n \\"ClusterId\\": \\"c09946603cd764dac96135f51d1ba****\\",\\n \\"TaskId\\": \\"T-62523eda841eca071400****\\"\\n}","type":"json"}]',
+ 'title' => 'CreateHubCluster',
+ ],
+ 'DescribeHubClusters' => [
+ 'summary' => 'Queries the Fleet instances in the Distributed Cloud Container Platform for Kubernetes (ACK One) cluster.',
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '118356',
+ 'abilityTreeNodes' => [
+ 'FEATUREadcpMQ5GFM',
+ 'FEATUREadcpH1M5DC',
+ ],
+ 'tenantRelevance' => 'publicInformation',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'Profile',
+ 'in' => 'query',
+ 'allowEmptyValue' => true,
+ 'schema' => [
+ 'description' => 'The types of Fleet instances used in different scenarios. Valid values:'."\n"
+ ."\n"
+ .'* `Default`: The Fleet instances suitable for standard scenarios.'."\n"
+ .'* `XFlow`: The Fleet instance suitable for workflow scenarios.'."\n"
+ ."\n"
+ .'Default value: `Default`.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'Default',
+ ],
+ ],
+ [
+ 'name' => 'ResourceGroupId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The resource group ID.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'rg-aekz77rhypeu***',
+ ],
+ ],
+ [
+ 'name' => 'Tag',
+ 'in' => 'query',
+ 'style' => 'json',
+ 'schema' => [
+ 'description' => 'The tags. You can specify up to 20 tags.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The tag.'."\n",
+ 'required' => false,
+ '$ref' => '#/components/schemas/Tag',
+ ],
+ 'required' => false,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => 'The response parameters.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'description' => 'The ID of the request.'."\n",
+ 'type' => 'string',
+ 'example' => '2D676EFC-8C04-5CCE-A08E-BB97D24B47E8',
+ ],
+ 'Clusters' => [
+ 'description' => 'The information about clusters.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The cluster information.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'Endpoints' => [
+ 'description' => 'The endpoints of the cluster.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'IntranetApiServerEndpoint' => [
+ 'description' => 'The internal endpoint of the API server.'."\n",
+ 'type' => 'string',
+ 'example' => 'https://172.16.6.**:6443'."\n",
+ ],
+ 'PublicApiServerEndpoint' => [
+ 'description' => 'The public endpoint of the API server.'."\n",
+ 'type' => 'string',
+ 'example' => 'https://123.57.21.***:6443'."\n",
+ ],
+ ],
+ ],
+ 'ClusterInfo' => [
+ 'description' => 'The details of the cluster.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'Profile' => [
+ 'description' => 'The configurations of the cluster.'."\n",
+ 'type' => 'string',
+ 'example' => 'Default',
+ ],
+ 'CreationTime' => [
+ 'description' => 'The time when the cluster was created.'."\n",
+ 'type' => 'string',
+ 'example' => '2021-11-05T10:25:48Z',
+ ],
+ 'UpdateTime' => [
+ 'description' => 'The time when the cluster was last modified.'."\n",
+ 'type' => 'string',
+ 'example' => '2021-09-02T13:39:50Z',
+ ],
+ 'ErrorMessage' => [
+ 'description' => 'The error message that is returned if the cluster failed to be created.'."\n",
+ 'type' => 'string',
+ 'example' => 'Success',
+ ],
+ 'Version' => [
+ 'description' => 'The version of the cluster.'."\n",
+ 'type' => 'string',
+ 'example' => '1.22.3-aliyun.1'."\n",
+ ],
+ 'State' => [
+ 'description' => 'The state of the cluster. Valid values:'."\n"
+ ."\n"
+ .'* initial: The cluster is being initialized.'."\n"
+ .'* failed: The cluster failed to be created.'."\n"
+ .'* running: The cluster is running'."\n"
+ .'* inactive: The cluster is not activated.'."\n"
+ .'* deleting: The cluster is being deleted.'."\n"
+ .'* delete_failed: The cluster failed to be deleted.'."\n"
+ .'* deleted: The cluster is deleted.'."\n",
+ 'type' => 'string',
+ 'example' => 'running',
+ ],
+ 'ClusterId' => [
+ 'description' => 'The cluster ID.'."\n",
+ 'type' => 'string',
+ 'example' => 'c2d3e0121ea214b438010502a8019****',
+ ],
+ 'Name' => [
+ 'description' => 'The cluster name.'."\n",
+ 'type' => 'string',
+ 'example' => 'ackone-heyuan',
+ ],
+ 'RegionId' => [
+ 'description' => 'The region ID.'."\n",
+ 'type' => 'string',
+ 'example' => 'cn-beijing',
+ ],
+ 'ClusterSpec' => [
+ 'description' => 'The specifications of the cluster.'."\n"
+ ."\n"
+ .'* Only ack.pro.small may be returned.'."\n",
+ 'type' => 'string',
+ 'example' => 'ack.pro.small',
+ ],
+ 'ResourceGroupID' => [
+ 'description' => 'The resource group ID.'."\n",
+ 'type' => 'string',
+ 'example' => 'rg-qh2zgjsdv52***',
+ ],
+ 'Tags' => [
+ 'description' => 'The tags.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The tag.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'Key' => [
+ 'description' => 'The tag key.'."\n",
+ 'type' => 'string',
+ 'example' => 'headername',
+ ],
+ 'Value' => [
+ 'description' => 'The tag value.'."\n",
+ 'type' => 'string',
+ 'example' => 'release',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'Network' => [
+ 'description' => 'The network configurations of the cluster.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'VpcId' => [
+ 'description' => 'The ID of the virtual private cloud (VPC) to which the cluster belongs.'."\n",
+ 'type' => 'string',
+ 'example' => 'vpc-2zeusrwi7c2mlww4a****',
+ ],
+ 'VSwitches' => [
+ 'description' => 'The IDs of vSwitches to which the cluster belongs.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The vSwitch ID.'."\n",
+ 'type' => 'string',
+ 'example' => '["vsw-2ze1h7tt2fgr1gxlx****"]',
+ ],
+ ],
+ 'SecurityGroupIDs' => [
+ 'description' => 'The security group IDs.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The security group ID.'."\n",
+ 'type' => 'string',
+ 'example' => '["sg-2ze1h7tt2fgr****"]'."\n",
+ ],
+ ],
+ 'ClusterDomain' => [
+ 'description' => 'The domain name of the cluster.'."\n",
+ 'type' => 'string',
+ 'example' => 'cluster.local',
+ ],
+ ],
+ ],
+ 'ApiServer' => [
+ 'description' => 'The information about the API server.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'EnabledPublic' => [
+ 'description' => 'Indicates whether the public endpoint is enabled for the API server. Valid values:'."\n"
+ ."\n"
+ .'* true'."\n"
+ .'* false'."\n",
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'LoadBalancerId' => [
+ 'description' => 'The ID of the Server Load Balancer (SLB) instance that is associated with the cluster.'."\n",
+ 'type' => 'string',
+ 'example' => 'lb-bp1qyp4l6bscqxw69****',
+ ],
+ 'ApiServerEipId' => [
+ 'description' => 'The elastic IP address (EIP) ID.'."\n",
+ 'type' => 'string',
+ 'example' => 'eip-xxx',
+ ],
+ ],
+ ],
+ 'MeshConfig' => [
+ 'description' => 'The configurations of Alibaba Cloud Service Mesh (ASM).'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'EnableMesh' => [
+ 'description' => 'Indicates whether ASM is enabled. Valid values:'."\n"
+ ."\n"
+ .'* true'."\n"
+ .'* false'."\n",
+ 'type' => 'boolean',
+ 'example' => 'false',
+ ],
+ 'MeshId' => [
+ 'description' => 'The ASM instance ID.'."\n",
+ 'type' => 'string',
+ 'example' => 'c2d3e0121ea214b438010502a8019****',
+ ],
+ ],
+ ],
+ 'LogConfig' => [
+ 'description' => 'The logging configurations.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'EnableLog' => [
+ 'description' => 'Indicates whether the audit logging feature is enabled. Valid values:'."\n"
+ ."\n"
+ .'* true'."\n"
+ .'* false'."\n",
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'LogProject' => [
+ 'description' => 'The name of the project in Simple Log Service.'."\n",
+ 'type' => 'string',
+ 'example' => 'audit-log-abc',
+ ],
+ 'LogStoreTTL' => [
+ 'description' => 'The number of days that logs are retained by Simple Log Service.'."\n",
+ 'type' => 'string',
+ 'example' => '7',
+ ],
+ ],
+ ],
+ 'Conditions' => [
+ 'description' => 'The deletion conditions of the cluster.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The details of the condition.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'Type' => [
+ 'description' => 'The type of deletion condition.'."\n",
+ 'type' => 'string',
+ 'example' => 'DeletionProtection',
+ ],
+ 'Status' => [
+ 'description' => 'The state of the cluster that the deletion condition indicates. Valid values:'."\n"
+ ."\n"
+ .'* True: The cluster cannot be deleted.'."\n"
+ .'* False: The cluster can be deleted.'."\n"
+ .'* Unknow: Whether the cluster can be deleted is unknown.'."\n",
+ 'type' => 'string',
+ 'enumValueTitles' => [],
+ 'example' => 'True',
+ ],
+ 'Reason' => [
+ 'description' => 'The reason for the deletion condition.'."\n",
+ 'type' => 'string',
+ 'example' => 'Successful',
+ ],
+ 'Message' => [
+ 'description' => 'The error message returned.'."\n",
+ 'type' => 'string',
+ 'example' => 'Successful!',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"2D676EFC-8C04-5CCE-A08E-BB97D24B47E8\\",\\n \\"Clusters\\": [\\n {\\n \\"Endpoints\\": {\\n \\"IntranetApiServerEndpoint\\": \\"https://172.16.6.**:6443\\\\n\\",\\n \\"PublicApiServerEndpoint\\": \\"https://123.57.21.***:6443\\\\n\\"\\n },\\n \\"ClusterInfo\\": {\\n \\"Profile\\": \\"Default\\",\\n \\"CreationTime\\": \\"2021-11-05T10:25:48Z\\",\\n \\"UpdateTime\\": \\"2021-09-02T13:39:50Z\\",\\n \\"ErrorMessage\\": \\"Success\\",\\n \\"Version\\": \\"1.22.3-aliyun.1\\\\n\\",\\n \\"State\\": \\"running\\",\\n \\"ClusterId\\": \\"c2d3e0121ea214b438010502a8019****\\",\\n \\"Name\\": \\"ackone-heyuan\\",\\n \\"RegionId\\": \\"cn-beijing\\",\\n \\"ClusterSpec\\": \\"ack.pro.small\\",\\n \\"ResourceGroupID\\": \\"rg-dt6rk4xm1r6***\\",\\n \\"Tags\\": [\\n {\\n \\"Key\\": \\"headername\\",\\n \\"Value\\": \\"release\\"\\n }\\n ]\\n },\\n \\"Network\\": {\\n \\"VpcId\\": \\"vpc-2zeusrwi7c2mlww4a****\\",\\n \\"VSwitches\\": [\\n \\"[\\\\\\"vsw-2ze1h7tt2fgr1gxlx****\\\\\\"]\\"\\n ],\\n \\"SecurityGroupIDs\\": [\\n \\"[\\\\\\"sg-2ze1h7tt2fgr****\\\\\\"]\\\\n\\"\\n ],\\n \\"ClusterDomain\\": \\"cluster.local\\"\\n },\\n \\"ApiServer\\": {\\n \\"EnabledPublic\\": true,\\n \\"LoadBalancerId\\": \\"lb-bp1qyp4l6bscqxw69****\\",\\n \\"ApiServerEipId\\": \\"eip-xxx\\"\\n },\\n \\"MeshConfig\\": {\\n \\"EnableMesh\\": false,\\n \\"MeshId\\": \\"c2d3e0121ea214b438010502a8019****\\"\\n },\\n \\"LogConfig\\": {\\n \\"EnableLog\\": true,\\n \\"LogProject\\": \\"audit-log-abc\\",\\n \\"LogStoreTTL\\": \\"7\\"\\n },\\n \\"Conditions\\": [\\n {\\n \\"Type\\": \\"DeletionProtection\\",\\n \\"Status\\": \\"True\\",\\n \\"Reason\\": \\"Successful\\",\\n \\"Message\\": \\"Successful!\\"\\n }\\n ]\\n }\\n ]\\n}","type":"json"}]',
+ 'title' => 'DescribeHubClusters',
+ ],
+ 'DescribeHubClusterDetails' => [
+ 'summary' => 'Queries the details of a master instance in Alibaba Cloud Distributed Cloud Container Platform (ACK One).',
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '118359',
+ 'abilityTreeNodes' => [
+ 'FEATUREadcpMQ5GFM',
+ 'FEATUREadcpH1M5DC',
+ ],
+ 'tenantRelevance' => 'tenant',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'ClusterId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '集群ID',
+ 'description' => 'The ID of the master instance.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'c676decda7b8148d69a9aba751877****',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'description' => 'The ID of the request.'."\n",
+ 'type' => 'string',
+ 'example' => '52C1B7DF-96C1-5214-97B6-1B0859FEAFE5',
+ ],
+ 'Cluster' => [
+ 'description' => 'The details of the master instance.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'Endpoints' => [
+ 'description' => 'The endpoint of the master instance.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'IntranetApiServerEndpoint' => [
+ 'description' => 'The endpoint that is used to access the API server over the internal network.'."\n",
+ 'type' => 'string',
+ 'example' => 'https://172.16.6.**:6443',
+ ],
+ 'PublicApiServerEndpoint' => [
+ 'description' => 'The endpoint that is used to access the API server over the Internet.'."\n",
+ 'type' => 'string',
+ 'example' => 'https://123.57.21.***:6443',
+ ],
+ ],
+ ],
+ 'ClusterInfo' => [
+ 'description' => 'The details of the master instance.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'Profile' => [
+ 'description' => 'The configurations of the master instance.'."\n",
+ 'type' => 'string',
+ 'example' => 'Default',
+ ],
+ 'CreationTime' => [
+ 'description' => 'The time when the master instance was created.'."\n",
+ 'type' => 'string',
+ 'example' => '2022-03-23T06:22:28Z',
+ ],
+ 'UpdateTime' => [
+ 'description' => 'The time when the master instance was updated.'."\n",
+ 'type' => 'string',
+ 'example' => '2022-03-21T02:51:35.542Z',
+ ],
+ 'ErrorMessage' => [
+ 'description' => 'The error message returned when the master instance failed to be created.'."\n",
+ 'type' => 'string',
+ 'example' => 'The specified product does not exist.',
+ ],
+ 'Version' => [
+ 'description' => 'The version of the master instance.'."\n",
+ 'type' => 'string',
+ 'example' => '1.22.3-aliyun.1',
+ ],
+ 'State' => [
+ 'description' => 'The status of the master instance. Valid values:'."\n"
+ ."\n"
+ .'* initial: The master instance is being initialized.'."\n"
+ .'* failed: The master instance failed to be created.'."\n"
+ .'* running: The master instance is running'."\n"
+ .'* inactive: The master instance is pending.'."\n"
+ .'* deleting: The master instance is being deleted.'."\n"
+ .'* delete_failed: The master instance failed to be deleted.'."\n"
+ .'* deleted: The master instance is deleted.'."\n",
+ 'type' => 'string',
+ 'example' => 'running',
+ ],
+ 'ClusterId' => [
+ 'description' => 'The ID of the master instance.'."\n",
+ 'type' => 'string',
+ 'example' => 'cb09fda0dc2f94a8397c76638c7ecf***',
+ ],
+ 'Name' => [
+ 'description' => 'The name of the master instance.'."\n",
+ 'type' => 'string',
+ 'example' => 'ackone-heyuan',
+ ],
+ 'RegionId' => [
+ 'description' => 'The ID of the region in which the master instance resides.'."\n",
+ 'type' => 'string',
+ 'example' => 'cn-beijing',
+ ],
+ 'ClusterSpec' => [
+ 'description' => 'The specification of the master instance. Valid value:'."\n"
+ ."\n"
+ .'* ack.pro.small: ACK Pro cluster'."\n",
+ 'type' => 'string',
+ 'example' => 'ack.pro.small ',
+ ],
+ 'MetaData' => [
+ 'description' => 'The cluster metadata.',
+ 'type' => 'object',
+ 'properties' => [
+ 'ACKOne' => [
+ 'description' => 'The cluster metadata.',
+ 'type' => 'object',
+ 'properties' => [
+ 'GitOps' => [
+ 'description' => 'The GitOps metadata.',
+ 'type' => 'object',
+ 'properties' => [
+ 'Enabled' => [
+ 'description' => 'Indicates whether GitOps is enabled. Valid values:'."\n"
+ ."\n"
+ .'* true: GitOps is enabled.'."\n"
+ .'* false: GitOps is disabled.',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'HAEnabled' => [
+ 'description' => 'Indicates whether GitOps High Availability is enabled. Valid values:'."\n"
+ ."\n"
+ .'* true: GitOps High Availability is enabled.'."\n"
+ .'* false: GitOps High Availability is disabled.',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'PublicAccessEnabled' => [
+ 'description' => 'Specifies whether to enable public domain name resolution in the Argo CD or Argo Workflow console. Valid values:'."\n"
+ ."\n"
+ .'* true'."\n"
+ .'* false'."\n",
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'AccessControlList' => [
+ 'description' => 'The Internet access control list (ACL). This parameter takes effect only if PublicAccessEnabled is set to true.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The Internet access control list (ACL). This parameter takes effect only if PublicAccessEnabled is set to true.'."\n",
+ 'type' => 'string',
+ 'example' => '["192.168.0.0/16"]',
+ ],
+ ],
+ ],
+ ],
+ 'WorkFlow' => [
+ 'description' => 'The workflow metadata.',
+ 'type' => 'object',
+ 'properties' => [
+ 'ArgoWorkflow' => [
+ 'description' => 'The Argo workflow metadata.',
+ 'type' => 'object',
+ 'properties' => [
+ 'Enabled' => [
+ 'description' => 'Specifies whether to enable the argo workflow. Valid values:'."\n"
+ ."\n"
+ .'* **false** (default)'."\n"
+ .'* **true**',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'ServerEnabled' => [
+ 'description' => 'Specifies whether to enable the argo workflow. UI Valid values:'."\n"
+ ."\n"
+ .'* **false** (default)'."\n"
+ .'* **true**',
+ 'type' => 'string',
+ 'example' => 'true',
+ ],
+ 'PublicAccessEnabled' => [
+ 'description' => 'Specifies whether to enable public domain name resolution in the Argo CD or Argo Workflow console. Valid values:'."\n"
+ ."\n"
+ .'* true'."\n"
+ .'* false'."\n",
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'AccessControlList' => [
+ 'description' => 'The Internet access control list (ACL). This parameter takes effect only if PublicAccessEnabled is set to true.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The Internet access control list (ACL). This parameter takes effect only if PublicAccessEnabled is set to true.'."\n",
+ 'type' => 'string',
+ 'example' => '["192.168.0.0/16"]'."\n",
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'ResourceGroupID' => [
+ 'type' => 'string',
+ 'description' => 'The ID of Resource Group.',
+ 'example' => 'rg-1w4vdvo6p51***',
+ ],
+ 'Tags' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Key' => [
+ 'type' => 'string',
+ ],
+ 'Value' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'Network' => [
+ 'description' => 'The network configurations of the master instance.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'VpcId' => [
+ 'description' => 'The ID of the virtual private cloud (VPC) in which the master instance resides.'."\n",
+ 'type' => 'string',
+ 'example' => 'vpc-f8ziib1019r9o0hdv2***',
+ ],
+ 'VSwitches' => [
+ 'description' => 'The details of the vSwitches.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The ID of the vSwitch.'."\n",
+ 'type' => 'string',
+ 'example' => '["vsw-f8zubs2z9x1cjnzk29***"]',
+ ],
+ ],
+ 'SecurityGroupIDs' => [
+ 'description' => 'The IDs of the associated security groups.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The ID of the associated security group.'."\n",
+ 'type' => 'string',
+ 'example' => '["sg-f8zubs2z9x1cj***"]',
+ ],
+ ],
+ 'IPStack' => [
+ 'description' => 'The IP version that is supported by the master instance. Valid values:'."\n"
+ ."\n"
+ .'* ipv4: IPv4.'."\n"
+ .'* ipv6: IPv6.'."\n"
+ .'* dual: IPv4 and IPv6.'."\n",
+ 'type' => 'string',
+ 'example' => 'ipv4',
+ ],
+ 'ClusterDomain' => [
+ 'description' => 'The domain name of the master instance.'."\n",
+ 'type' => 'string',
+ 'example' => 'cluster.local',
+ ],
+ ],
+ ],
+ 'ApiServer' => [
+ 'description' => 'The details of the API server of the master instance.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'EnabledPublic' => [
+ 'description' => 'Indicates whether the API server is accessible over the Internet. Valid values:'."\n"
+ ."\n"
+ .'* true: The API server is accessible over the Internet.'."\n"
+ .'* false: The API server is inaccessible over the Internet.'."\n",
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'LoadBalancerId' => [
+ 'description' => 'The ID of the Server Load Balancer (SLB) instance.'."\n",
+ 'type' => 'string',
+ 'example' => 'lb-hp3ioqbfeq37h13rwe***',
+ ],
+ 'ApiServerEipId' => [
+ 'description' => 'The ID of the elastic IP address (EIP).'."\n",
+ 'type' => 'string',
+ 'example' => 'eip-abc****',
+ ],
+ ],
+ ],
+ 'MeshConfig' => [
+ 'description' => 'The configurations of Alibaba Cloud Service Mesh (ASM).'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'EnableMesh' => [
+ 'description' => 'Indicates whether ASM is enabled. Valid values:'."\n"
+ ."\n"
+ .'* true: ASM is enabled.'."\n"
+ .'* false: ASM is disabled.',
+ 'type' => 'boolean',
+ 'example' => 'false',
+ ],
+ 'MeshId' => [
+ 'description' => 'service mesh (ASM) instance ID'."\n",
+ 'type' => 'string',
+ 'example' => 'cb09fda0dc2f94a8397c76638c7ecf***'."\n",
+ ],
+ ],
+ ],
+ 'LogConfig' => [
+ 'description' => 'The logging configuration.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'EnableLog' => [
+ 'description' => 'Indicates whether the audit logging feature is enabled. Valid values:'."\n"
+ ."\n"
+ .'* true: Audit logging is enabled.'."\n"
+ .'* false: Audit logging is disabled.'."\n",
+ 'type' => 'boolean',
+ 'example' => 'false',
+ ],
+ 'LogProject' => [
+ 'description' => 'The name of the project of Log Service.'."\n",
+ 'type' => 'string',
+ 'example' => 'k8s-log-abc',
+ ],
+ 'LogStoreTTL' => [
+ 'description' => 'The number of days that logs are retained by Log Service.'."\n",
+ 'type' => 'string',
+ 'example' => '7',
+ ],
+ ],
+ ],
+ 'Conditions' => [
+ 'description' => 'The deletion conditions of the master instance.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The details of the deletion condition of the master instance.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'Type' => [
+ 'description' => 'The type of deletion condition.'."\n",
+ 'type' => 'string',
+ 'example' => 'DeletionProtection',
+ ],
+ 'Status' => [
+ 'description' => 'The status of the master instance that the deletion condition indicates. Valid values:'."\n"
+ ."\n"
+ .'* True: The master instance cannot be deleted.'."\n"
+ .'* False: The master instance can be deleted.'."\n"
+ .'* Unknow: Whether the master instance can be deleted is unknown.'."\n",
+ 'type' => 'string',
+ 'example' => 'True',
+ ],
+ 'Reason' => [
+ 'description' => 'The reason for the deletion condition.'."\n",
+ 'type' => 'string',
+ 'example' => 'Successful',
+ ],
+ 'Message' => [
+ 'description' => 'The error message returned.'."\n",
+ 'type' => 'string',
+ 'example' => 'Successful',
+ ],
+ ],
+ ],
+ ],
+ 'WorkflowConfig' => [
+ 'description' => 'The Argo workflow configuration.',
+ 'type' => 'object',
+ 'properties' => [
+ 'ArgoServerEnabled' => [
+ 'description' => 'Specifies whether to enable the workflow instance UI. This parameter takes effect only if Profile is set to XFlow. Valid values:'."\n"
+ ."\n"
+ .'* true'."\n"
+ .'* false'."\n",
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'WorkflowScheduleMode' => [
+ 'description' => 'The scheduling mode of the workflow. This parameter takes effect only if Profile is set to XFlow. Valid values:'."\n"
+ ."\n"
+ .'* cost-optimized: cost-prioritized scheduling mode.'."\n"
+ .'* stock-optimized: inventory-prioritized scheduling mode.'."\n",
+ 'type' => 'string',
+ 'example' => 'cost-optimized',
+ ],
+ 'PriceLimit' => [
+ 'description' => 'The limit on the prices of containers in the workflow. This parameter takes effect only if the WorkflowScheduleMode parameter is set to cost-optimized.'."\n",
+ 'type' => 'string',
+ 'example' => '0.08',
+ ],
+ 'WorkflowUnits' => [
+ 'description' => 'The Argo workflow regions configuration.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The Argo workflow regions configuration.',
+ 'type' => 'object',
+ 'properties' => [
+ 'RegionId' => [
+ 'description' => 'The region ID of the cluster.'."\n"
+ ."\n"
+ .'> You can call the [DescribeRegions](~~143074~~) operation to query the most recent region list.'."\n",
+ 'type' => 'string',
+ 'example' => 'cn-beijing',
+ ],
+ 'VpcId' => [
+ 'description' => 'The ID of the VPC.'."\n",
+ 'type' => 'string',
+ 'example' => 'vpc-f8zukabbkv5aw7zkm****',
+ ],
+ 'VSwitches' => [
+ 'description' => 'The vSwitches.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The vSwitches.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'VswitchId' => [
+ 'description' => 'The ID of the vSwitch.'."\n",
+ 'type' => 'string',
+ 'example' => 'vsw-wz9sf0hsuizl7bxnj****',
+ ],
+ 'ZoneId' => [
+ 'description' => 'The zone ID of the cluster.'."\n"
+ ."\n"
+ .'> You can call the [DescribeRegions](~~143074~~) operation to query the most recent zone list.'."\n",
+ 'type' => 'string',
+ 'example' => 'cn-hangzhou-e',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ [
+ 'errorCode' => 'Cluster.NotFound',
+ 'errorMessage' => 'Cluster Not Found',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'eventInfo' => [
+ 'enable' => false,
+ 'eventNames' => [],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"52C1B7DF-96C1-5214-97B6-1B0859FEAFE5\\",\\n \\"Cluster\\": {\\n \\"Endpoints\\": {\\n \\"IntranetApiServerEndpoint\\": \\"https://172.16.6.**:6443\\",\\n \\"PublicApiServerEndpoint\\": \\"https://123.57.21.***:6443\\"\\n },\\n \\"ClusterInfo\\": {\\n \\"Profile\\": \\"Default\\",\\n \\"CreationTime\\": \\"2022-03-23T06:22:28Z\\",\\n \\"UpdateTime\\": \\"2022-03-21T02:51:35.542Z\\",\\n \\"ErrorMessage\\": \\"The specified product does not exist.\\",\\n \\"Version\\": \\"1.22.3-aliyun.1\\",\\n \\"State\\": \\"running\\",\\n \\"ClusterId\\": \\"cb09fda0dc2f94a8397c76638c7ecf***\\",\\n \\"Name\\": \\"ackone-heyuan\\",\\n \\"RegionId\\": \\"cn-beijing\\",\\n \\"ClusterSpec\\": \\"ack.pro.small \\",\\n \\"MetaData\\": {\\n \\"ACKOne\\": {\\n \\"GitOps\\": {\\n \\"Enabled\\": true,\\n \\"HAEnabled\\": true,\\n \\"PublicAccessEnabled\\": true,\\n \\"AccessControlList\\": [\\n \\"[\\\\\\"192.168.0.0/16\\\\\\"]\\"\\n ]\\n },\\n \\"WorkFlow\\": {\\n \\"ArgoWorkflow\\": {\\n \\"Enabled\\": true,\\n \\"ServerEnabled\\": \\"true\\",\\n \\"PublicAccessEnabled\\": true,\\n \\"AccessControlList\\": [\\n \\"[\\\\\\"192.168.0.0/16\\\\\\"]\\\\n\\"\\n ]\\n }\\n }\\n }\\n },\\n \\"ResourceGroupID\\": \\"rg-2nnnd0b6q37***\\",\\n \\"Tags\\": [\\n {\\n \\"Key\\": \\"user_resource\\",\\n \\"Value\\": \\"gfggfwq-697\\"\\n }\\n ]\\n },\\n \\"Network\\": {\\n \\"VpcId\\": \\"vpc-f8ziib1019r9o0hdv2***\\",\\n \\"VSwitches\\": [\\n \\"[\\\\\\"vsw-f8zubs2z9x1cjnzk29***\\\\\\"]\\"\\n ],\\n \\"SecurityGroupIDs\\": [\\n \\"[\\\\\\"sg-f8zubs2z9x1cj***\\\\\\"]\\"\\n ],\\n \\"IPStack\\": \\"ipv4\\",\\n \\"ClusterDomain\\": \\"cluster.local\\"\\n },\\n \\"ApiServer\\": {\\n \\"EnabledPublic\\": true,\\n \\"LoadBalancerId\\": \\"lb-hp3ioqbfeq37h13rwe***\\",\\n \\"ApiServerEipId\\": \\"eip-abc****\\"\\n },\\n \\"MeshConfig\\": {\\n \\"EnableMesh\\": false,\\n \\"MeshId\\": \\"cb09fda0dc2f94a8397c76638c7ecf***\\\\n\\"\\n },\\n \\"LogConfig\\": {\\n \\"EnableLog\\": false,\\n \\"LogProject\\": \\"k8s-log-abc\\",\\n \\"LogStoreTTL\\": \\"7\\"\\n },\\n \\"Conditions\\": [\\n {\\n \\"Type\\": \\"DeletionProtection\\",\\n \\"Status\\": \\"True\\",\\n \\"Reason\\": \\"Successful\\",\\n \\"Message\\": \\"Successful\\"\\n }\\n ],\\n \\"WorkflowConfig\\": {\\n \\"ArgoServerEnabled\\": true,\\n \\"WorkflowScheduleMode\\": \\"cost-optimized\\",\\n \\"PriceLimit\\": \\"0.08\\",\\n \\"WorkflowUnits\\": [\\n {\\n \\"RegionId\\": \\"cn-beijing\\",\\n \\"VpcId\\": \\"vpc-f8zukabbkv5aw7zkm****\\",\\n \\"VSwitches\\": [\\n {\\n \\"VswitchId\\": \\"vsw-wz9sf0hsuizl7bxnj****\\",\\n \\"ZoneId\\": \\"cn-hangzhou-e\\"\\n }\\n ]\\n }\\n ]\\n }\\n }\\n}","type":"json"}]',
+ 'title' => 'DescribeHubClusterDetails',
+ ],
+ 'DeleteHubCluster' => [
+ 'summary' => 'Deletes a master cluster in Alibaba Cloud Distributed Cloud Container Platform (ACK One).',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'create',
+ 'abilityTreeCode' => '118365',
+ 'abilityTreeNodes' => [
+ 'FEATUREadcpH1M5DC',
+ 'FEATUREadcpMQ5GFM',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'ClusterId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the master instance.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'cd90dd24a86fd42f895a1b77df620****',
+ ],
+ ],
+ [
+ 'name' => 'Force',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Specifies whether to forcefully delete the master instance in ACK One. Valid values:'."\n"
+ ."\n"
+ .'* true: forcefully deletes the master instance in ACK One.'."\n"
+ .'* false: does not forcibly delete the master instance in ACK One.'."\n"
+ ."\n"
+ .'Default value: false.'."\n",
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => 'false',
+ ],
+ ],
+ [
+ 'name' => 'RetainResources',
+ 'in' => 'query',
+ 'style' => 'json',
+ 'schema' => [
+ 'description' => 'The list of resources to retain.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'A JSON string that can be parsed into a string array. You can use this JSON string to specify the IDs of the resource instances that need to be retained when the master instance is deleted.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '["eip-eip-bp1v18egqyuxzmeg****]',
+ ],
+ 'required' => false,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'description' => 'The ID of the request.'."\n",
+ 'type' => 'string',
+ 'example' => '7A827E32-6D24-5757-B3FD-D9396495FBDC',
+ ],
+ 'ClusterId' => [
+ 'description' => 'The ID of the cluster.'."\n",
+ 'type' => 'string',
+ 'example' => 'cb09fda0dc2f94a8397c76638c7ec****',
+ ],
+ 'TaskId' => [
+ 'description' => 'The ID of the job.'."\n",
+ 'type' => 'string',
+ 'example' => 'T-623a96b7bbeaac074b00****',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'asynchronous',
+ 'callback' => 'adcp::2022-01-01::DescribeHubClusterDetails',
+ 'callbackInterval' => 15000,
+ 'maxCallbackTimes' => 1000,
+ ],
+ 'eventInfo' => [
+ 'enable' => false,
+ 'eventNames' => [],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"7A827E32-6D24-5757-B3FD-D9396495FBDC\\",\\n \\"ClusterId\\": \\"cb09fda0dc2f94a8397c76638c7ec****\\",\\n \\"TaskId\\": \\"T-623a96b7bbeaac074b00****\\"\\n}","type":"json"}]',
+ 'title' => 'DeleteHubCluster',
+ ],
+ 'AttachClusterToHub' => [
+ 'summary' => 'You can call the AttachClusterToHub operation to associate an Container Service for Kubernetes (ACK) cluster with a master instance of ACK One.',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'create',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '118361',
+ 'abilityTreeNodes' => [
+ 'FEATUREadcp2RKVFZ',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'ClusterId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the task.',
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'cd08d62e6506a4fa5a8c44c19d0fc****',
+ ],
+ ],
+ [
+ 'name' => 'ClusterIds',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'The ID of the request.',
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => '["cdea10134be464ba4acb36cc831a6****"]',
+ ],
+ ],
+ [
+ 'name' => 'AttachToMesh',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The operation that you want to perform. Set the value to **AttachClusterToHub**.',
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => 'true',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'description' => 'Example 1',
+ 'type' => 'string',
+ 'example' => 'EA06613B-37A3-549E-BAE0-E4AD8A6E93D7',
+ ],
+ 'ClusterId' => [
+ 'description' => 'You can call the AttachClusterToHub operation to associate an Container Service for Kubernetes (ACK) cluster with a master instance of ACK One.',
+ 'type' => 'string',
+ 'example' => 'c8e28143817db4b039b8548d7c899****',
+ ],
+ 'ManagedClusterIds' => [
+ 'description' => 'Zhishi',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '[\'ce11727a7d2114790bf1392b2051e****\']',
+ ],
+ ],
+ 'TaskId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'T-623a96b7bbeaac074b00****',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'eventInfo' => [
+ 'enable' => false,
+ 'eventNames' => [],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"EA06613B-37A3-549E-BAE0-E4AD8A6E93D7\\",\\n \\"ClusterId\\": \\"c8e28143817db4b039b8548d7c899****\\",\\n \\"ManagedClusterIds\\": [\\n \\"[\'ce11727a7d2114790bf1392b2051e****\']\\"\\n ],\\n \\"TaskId\\": \\"T-623a96b7bbeaac074b00****\\"\\n}","type":"json"}]',
+ 'title' => 'AttachClusterToHub',
+ ],
+ 'DescribeManagedClusters' => [
+ 'summary' => 'You can call the DescribeManagedClusters operation to query the clusters that are associated with a master instance.',
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '118362',
+ 'abilityTreeNodes' => [
+ 'FEATUREadcp2RKVFZ',
+ ],
+ 'autoTest' => true,
+ 'tenantRelevance' => 'tenant',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'ClusterId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '集群ID',
+ 'description' => 'The status of the association between the clusters and Service Mesh (ASM).',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'c2f41fd4599454a9c9ad8b3daafe873ad',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'description' => 'VPC ID',
+ 'type' => 'string',
+ 'example' => 'BDA85C7A-FC81-56C4-9BC2-9112EE970059',
+ ],
+ 'Clusters' => [
+ 'description' => 'The status of the associated clusters. Valid values: - initial: The associated clusters are being initialized. - failed: The associated clustersfailed to be created. - running: The associated clusters are running. - inactive: The associated clusters are inactive. - deleting: The associated clusters are being deleted. - deleted: The associated clusters are deleted.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The operation that you want to perform. Set the value to **DescribeManagedClusters**.',
+ 'type' => 'object',
+ 'properties' => [
+ 'Cluster' => [
+ 'description' => 'The name of the master instance.',
+ 'type' => 'object',
+ 'properties' => [
+ 'Name' => [
+ 'description' => 'The status information.',
+ 'type' => 'string',
+ 'example' => 'ackone-heyuan',
+ ],
+ 'ClusterID' => [
+ 'description' => 'Information about the master instance.',
+ 'type' => 'string',
+ 'example' => 'c2f41fd4599454a9c9ad8b3daafe873ad',
+ ],
+ 'Region' => [
+ 'description' => 'The ID of the master instance.',
+ 'type' => 'string',
+ 'example' => 'cn-hangzhou',
+ ],
+ 'State' => [
+ 'description' => 'The current Kubernetes version of the master instance.',
+ 'type' => 'string',
+ 'example' => 'running',
+ ],
+ 'ClusterType' => [
+ 'description' => 'The time when the master instance was created.',
+ 'type' => 'string',
+ 'example' => 'One',
+ ],
+ 'Created' => [
+ 'description' => 'The ID of the master instance.',
+ 'type' => 'string',
+ 'example' => '2022-03-23T06:22:28Z'."\n",
+ ],
+ 'Updated' => [
+ 'description' => 'The ID of the vSwitch.',
+ 'type' => 'string',
+ 'example' => '2022-03-23T06:22:28Z'."\n",
+ ],
+ 'InitVersion' => [
+ 'description' => 'The specification of the master instance. Valid values: - ack.pro.small: ACK Pro.',
+ 'type' => 'string',
+ 'example' => '1.20.4-aliyun.1'."\n",
+ ],
+ 'CurrentVersion' => [
+ 'description' => 'The name of the master instance.',
+ 'type' => 'string',
+ 'example' => '1.22.3-aliyun.1'."\n",
+ ],
+ 'ResourceGroupId' => [
+ 'description' => 'The name of the master instance.',
+ 'type' => 'string',
+ 'example' => 'rg-acfmx7o7ewyqcby',
+ ],
+ 'VpcID' => [
+ 'description' => 'The status of the association between the clusters and the master instance. Valid values: - Installing: The clusters are being associated with the master instance. - Successed: The clusters are associated with the master instance. - Failed: The clusters failed to be associated with the master instance. - Deleting: The clusters are being disassociated from the master instance. - Deleted: The clusters are disassociated from the master instance.',
+ 'type' => 'string',
+ 'example' => 'vpc-bp1fhizs9fxuvit06zeb9',
+ ],
+ 'VSwitchID' => [
+ 'description' => 'The original Kubernetes version of the master instance.',
+ 'type' => 'string',
+ 'example' => 'vsw-m5e0pbkgmhvzecf7enfym',
+ ],
+ 'Profile' => [
+ 'description' => 'The ID of the request.',
+ 'type' => 'string',
+ 'example' => 'Default',
+ ],
+ 'ClusterSpec' => [
+ 'description' => 'The ID of the master instance.',
+ 'type' => 'string',
+ 'example' => 'ack.pro.small',
+ ],
+ ],
+ ],
+ 'Status' => [
+ 'description' => 'Example 1',
+ 'type' => 'object',
+ 'properties' => [
+ 'State' => [
+ 'description' => 'You can call the DescribeManagedClusters operation to query the clusters that are associated with a master instance.',
+ 'type' => 'string',
+ 'example' => 'Successed',
+ ],
+ 'Message' => [
+ 'description' => 'Query the clusters that are associated with a master instance.',
+ 'type' => 'string',
+ 'example' => 'SUCCESS',
+ ],
+ ],
+ ],
+ 'MeshStatus' => [
+ 'description' => 'Zhishi',
+ 'type' => 'object',
+ 'properties' => [
+ 'InMesh' => [
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'eventInfo' => [
+ 'enable' => false,
+ 'eventNames' => [],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BDA85C7A-FC81-56C4-9BC2-9112EE970059\\",\\n \\"Clusters\\": [\\n {\\n \\"Cluster\\": {\\n \\"Name\\": \\"ackone-heyuan\\",\\n \\"ClusterID\\": \\"c2f41fd4599454a9c9ad8b3daafe8****\\",\\n \\"Region\\": \\"cn-hangzhou\\",\\n \\"State\\": \\"running\\",\\n \\"ClusterType\\": \\"One\\",\\n \\"Created\\": \\"2022-03-23T06:22:28Z\\",\\n \\"Updated\\": \\"2022-03-23T06:22:28Z\\",\\n \\"InitVersion\\": \\"1.20.4-aliyun.1\\",\\n \\"CurrentVersion\\": \\"1.22.3-aliyun.1\\",\\n \\"ResourceGroupId\\": \\"rg-acfmx7o7ewy****\\",\\n \\"VpcID\\": \\"vpc-bp1fhizs9fxuvit06****\\",\\n \\"VSwitchID\\": \\"vsw-m5e0pbkgmhvzecf7e****\\",\\n \\"Profile\\": \\"Default\\",\\n \\"ClusterSpec\\": \\"ack.pro.small\\"\\n },\\n \\"Status\\": {\\n \\"State\\": \\"Successed\\",\\n \\"Message\\": \\"SUCCESS\\"\\n },\\n \\"MeshStatus\\": {\\n \\"InMesh\\": true\\n }\\n }\\n ]\\n}","type":"json"}]',
+ 'title' => 'Query the clusters that are associated with a master instance.',
+ ],
+ 'DetachClusterFromHub' => [
+ 'summary' => 'You can call the DetachClusterFromHub operation to disassociate clusters from a master instance.',
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '118363',
+ 'abilityTreeNodes' => [
+ 'FEATUREadcp2RKVFZ',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'ClusterId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the request.',
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'cb09fda0dc2f94a8397c76638c7ec****',
+ ],
+ ],
+ [
+ 'name' => 'ClusterIds',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'The operation that you want to perform. Set the value to **DetachClusterFromHub**.',
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => '["c1c731554c1ec4a1ca9bb690ff9ed****"]',
+ ],
+ ],
+ [
+ 'name' => 'DetachFromMesh',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Example 1',
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => 'false',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'description' => 'You can call the DetachClusterFromHub operation to disassociate clusters from a master instance.',
+ 'type' => 'string',
+ 'example' => '4412F213-DBCD-5D1B-A9A1-F6C26C6C19D9',
+ ],
+ 'ClusterId' => [
+ 'description' => 'Zhishi',
+ 'type' => 'string',
+ 'example' => 'cc490b1e67ccc43a784727f29f33e****',
+ ],
+ 'ManagedClusterIds' => [
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '[\'c33106e9aeebd480c84da7ec6873a****\']',
+ ],
+ ],
+ 'TaskId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'T-623a96b7bbeaac074b00****',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'eventInfo' => [
+ 'enable' => false,
+ 'eventNames' => [],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"4412F213-DBCD-5D1B-A9A1-F6C26C6C19D9\\",\\n \\"ClusterId\\": \\"cc490b1e67ccc43a784727f29f33e****\\",\\n \\"ManagedClusterIds\\": [\\n \\"[\'c33106e9aeebd480c84da7ec6873a****\']\\"\\n ],\\n \\"TaskId\\": \\"T-623a96b7bbeaac074b00****\\"\\n}","type":"json"}]',
+ 'title' => 'DetachClusterFromHub',
+ ],
+ 'UpdateHubClusterFeature' => [
+ 'summary' => 'Updates the configurations of a Container Service for Kubernetes (ACK) cluster that serves as a master instance.',
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '135264',
+ 'abilityTreeNodes' => [
+ 'FEATUREadcpMQ5GFM',
+ 'FEATUREadcpH1M5DC',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'ClusterId',
+ 'in' => 'query',
+ 'allowEmptyValue' => false,
+ 'schema' => [
+ 'title' => '集群ID',
+ 'description' => 'The cluster ID.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'c46979b1075f04d99b5f2b710393e5****',
+ ],
+ ],
+ [
+ 'name' => 'Name',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The name of the master instance. The name must be 1 to 63 characters in length. It must start with a letter, and can contain letters, digits, underscores (\\_), and hyphens (-).',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'ack-demo',
+ ],
+ ],
+ [
+ 'name' => 'AuditLogEnabled',
+ 'in' => 'query',
+ 'allowEmptyValue' => true,
+ 'schema' => [
+ 'description' => 'Specifies whether to enable the audit logging feature. Valid values:'."\n"
+ ."\n"
+ .'* true: enables the audit logging feature.'."\n"
+ .'* false: disables the audit logging feature.'."\n",
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => 'true',
+ ],
+ ],
+ [
+ 'name' => 'EnableMesh',
+ 'in' => 'query',
+ 'allowEmptyValue' => true,
+ 'schema' => [
+ 'description' => 'Specifies whether to enable Service Mesh (ASM). Valid values:'."\n"
+ ."\n"
+ .'* true'."\n"
+ .'* false'."\n",
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => 'true',
+ ],
+ ],
+ [
+ 'name' => 'DeletionProtection',
+ 'in' => 'query',
+ 'allowEmptyValue' => true,
+ 'schema' => [
+ 'description' => 'Specifies whether to enable the deletion protection feature for the cluster. After you enable the deletion protection feature for the cluster, you cannot delete the cluster in the console or by calling the DeleteHubCluster operation. Valid values:'."\n"
+ ."\n"
+ .'* true'."\n"
+ .'* false'."\n"
+ ."\n"
+ .'Default value: false.'."\n",
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => 'true',
+ ],
+ ],
+ [
+ 'name' => 'PublicApiServerEnabled',
+ 'in' => 'query',
+ 'allowEmptyValue' => true,
+ 'schema' => [
+ 'description' => 'Specifies whether to associate an elastic IP address (EIP) with the API server. Valid values:'."\n"
+ ."\n"
+ .'* true: associates an EIP with the API server. You can specify ApiServerEipId. If you do not specify ApiServerEipId, the system automatically creates an EIP.'."\n"
+ .'* false: disassociates an EIP from the API server.'."\n",
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => 'true',
+ ],
+ ],
+ [
+ 'name' => 'ApiServerEipId',
+ 'in' => 'query',
+ 'allowEmptyValue' => true,
+ 'schema' => [
+ 'description' => 'The ID of the EIP.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'eip-xxx',
+ ],
+ ],
+ [
+ 'name' => 'ArgoCDEnabled',
+ 'in' => 'query',
+ 'allowEmptyValue' => true,
+ 'schema' => [
+ 'description' => 'Specifies whether to enable Argo CD. This parameter takes effect only if Profile is set to XFlow. Valid values:'."\n"
+ ."\n"
+ .'* true'."\n"
+ .'* false'."\n",
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => 'true',
+ ],
+ ],
+ [
+ 'name' => 'ArgoServerEnabled',
+ 'in' => 'query',
+ 'allowEmptyValue' => true,
+ 'schema' => [
+ 'description' => 'Specifies whether to enable the workflow instance UI. This parameter takes effect only if Profile is set to XFlow. Valid values:'."\n"
+ ."\n"
+ .'* true'."\n"
+ .'* false'."\n",
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => 'true',
+ ],
+ ],
+ [
+ 'name' => 'WorkflowScheduleMode',
+ 'in' => 'query',
+ 'allowEmptyValue' => true,
+ 'schema' => [
+ 'description' => 'The scheduling mode of the workflow. This parameter takes effect only if Profile is set to XFlow. Valid values:'."\n"
+ ."\n"
+ .'* cost-optimized: cost-prioritized scheduling mode.'."\n"
+ .'* stock-optimized: inventory-prioritized scheduling mode.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'cost-optimized',
+ ],
+ ],
+ [
+ 'name' => 'PriceLimit',
+ 'in' => 'query',
+ 'allowEmptyValue' => true,
+ 'schema' => [
+ 'description' => 'The limit on the prices of containers in the workflow. This parameter takes effect only if the WorkflowScheduleMode parameter is set to cost-optimized.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '0.08',
+ ],
+ ],
+ [
+ 'name' => 'VSwitches',
+ 'in' => 'query',
+ 'style' => 'json',
+ 'schema' => [
+ 'description' => 'The vSwitches.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The vSwitch IDs.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '["vsw-2zeaijsas4zkzz81xm***"]',
+ ],
+ 'required' => false,
+ ],
+ ],
+ [
+ 'name' => 'ArgoCDHAEnabled',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Specifies whether to enable high availability for Argo CD. Valid values:'."\n"
+ ."\n"
+ .'* true'."\n"
+ .'* false'."\n",
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => 'true',
+ ],
+ ],
+ [
+ 'name' => 'PublicAccessEnabled',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Specifies whether to enable public domain name resolution in the Argo CD or Argo Workflow console. Valid values:'."\n"
+ ."\n"
+ .'* true'."\n"
+ .'* false'."\n",
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => 'true',
+ ],
+ ],
+ [
+ 'name' => 'AccessControlList',
+ 'in' => 'query',
+ 'style' => 'json',
+ 'schema' => [
+ 'description' => 'The Internet access control list (ACL). This parameter takes effect only if PublicAccessEnabled is set to true.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The CIDR block that is disallowed to access the Argo server over the Internet. Example: 192.168.1.0/24.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '["192.168.1.0/24"]',
+ ],
+ 'required' => false,
+ ],
+ ],
+ [
+ 'name' => 'ArgoEventsEnabled',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Specifies whether to enable ArgoEvents. Valid values:'."\n"
+ ."\n"
+ .'- true'."\n"
+ .'- false',
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => 'true',
+ ],
+ ],
+ [
+ 'name' => 'GatewayEnabled',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Specifies whether to enable Gateway. Valid values:'."\n"
+ .'- true'."\n"
+ .'- false',
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => 'true',
+ ],
+ ],
+ [
+ 'name' => 'TrainOperatorEnabled',
+ 'in' => 'query',
+ 'allowEmptyValue' => false,
+ 'schema' => [
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => 'true',
+ 'description' => 'Specifies whether to enable the orchestration of machine learning training tasks. Valid values:'."\n"
+ .'- true'."\n"
+ .'- false',
+ ],
+ ],
+ [
+ 'name' => 'CostInsightsEnabled',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => 'true',
+ 'description' => 'Specifies whether to enable Cost Insights. Valid values:'."\n"
+ .'- true'."\n"
+ .'- false',
+ ],
+ ],
+ [
+ 'name' => 'FluidEnabled',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'boolean',
+ ],
+ ],
+ [
+ 'name' => 'RRSAEnabled',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'boolean',
+ ],
+ ],
+ [
+ 'name' => 'SparkOperatorEnabled',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'boolean',
+ ],
+ ],
+ [
+ 'name' => 'KubeRayEnabled',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'boolean',
+ ],
+ ],
+ ],
+ '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' => '52C1B7DF-96C1-5214-97B6-1B0859FEAFE5',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"52C1B7DF-96C1-5214-97B6-1B0859FEAFE5\\"\\n}","type":"json"}]',
+ 'title' => 'UpdateHubClusterFeature',
+ ],
+ 'DescribeUserPermissions' => [
+ 'summary' => 'Query the permissions of a Resource Access Management (RAM) user.',
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '171407',
+ 'abilityTreeNodes' => [
+ 'FEATUREadcpP565GF',
+ 'FEATUREadcp181E1P',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'UserId',
+ 'in' => 'query',
+ 'allowEmptyValue' => false,
+ 'schema' => [
+ 'description' => 'The ID of the RAM user that you want to query.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '21175**** '."\n",
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => 'Id of the request',
+ 'description' => 'The ID of the request.'."\n",
+ 'type' => 'string',
+ 'example' => 'EA06613B-37A3-549E-BAE0-E4AD8A6E93D7',
+ ],
+ 'Permissions' => [
+ 'description' => 'The details about the permissions of the RAM user.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The details about the permissions of the RAM user.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'RoleType' => [
+ 'description' => 'The type of predefined role. Valid values:'."\n"
+ ."\n"
+ .'* admin: administrator'."\n"
+ .'* dev: developer'."\n",
+ 'type' => 'string',
+ 'example' => 'dev',
+ ],
+ 'RoleName' => [
+ 'description' => 'The name of the custom role. If a custom role is assigned, the value is the name of the assigned custom role.'."\n",
+ 'type' => 'string',
+ 'example' => 'view',
+ ],
+ 'ResourceType' => [
+ 'description' => 'The authorization type. Valid values:'."\n"
+ ."\n"
+ .'* cluster: indicates that the permissions are scoped to a cluster.'."\n"
+ .'* namespace: indicates that the permissions are scoped to a namespace of a cluster.'."\n",
+ 'type' => 'string',
+ 'example' => 'cluster',
+ ],
+ 'ResourceId' => [
+ 'description' => 'The authorization setting. Valid values:'."\n"
+ ."\n"
+ .'* {cluster_id} is returned if the permissions are scoped to a cluster.'."\n"
+ .'* {cluster_id}/{namespace} is returned if the permissions are scoped to a namespace of a cluster.'."\n"
+ .'* all-clusters is returned if the permissions are scoped to all clusters.'."\n",
+ 'type' => 'string',
+ 'example' => 'cffef3c9c7ba145b083292942a2c3****',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'eventInfo' => [
+ 'enable' => false,
+ 'eventNames' => [],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"EA06613B-37A3-549E-BAE0-E4AD8A6E93D7\\",\\n \\"Permissions\\": [\\n {\\n \\"RoleType\\": \\"dev\\",\\n \\"RoleName\\": \\"view\\",\\n \\"ResourceType\\": \\"cluster\\",\\n \\"ResourceId\\": \\"cffef3c9c7ba145b083292942a2c3****\\"\\n }\\n ]\\n}","type":"json"}]',
+ 'title' => 'DescribeUserPermissions',
+ ],
+ 'DescribeHubClusterKubeconfig' => [
+ 'summary' => 'Queries the kubeconfig file of a Distributed Cloud Container Platform for Kubernetes (ACK One) cluster. In addition to the Container Service for Kubernetes (ACK) console, you can also use the Kubernetes CLI kubectl to manage clusters and applications. If you use kubectl to manage an ACK cluster, you must obtain the kubeconfig file of the cluster and use kubectl to connect to the cluster.',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '118360',
+ 'abilityTreeNodes' => [
+ 'FEATUREadcpP565GF',
+ 'FEATUREadcp181E1P',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'ClusterId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The cluster ID.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'c102fe5f1ee5d4c87a68121a77d8b****',
+ ],
+ ],
+ [
+ 'name' => 'PrivateIpAddress',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Specifies whether to obtain the kubeconfig file that is used to connect to the cluster over the internal network. Valid values:'."\n"
+ ."\n"
+ .'* `true`: obtains the kubeconfig file that is used to connect to the master instance over the internal network.'."\n"
+ .'* `false`: obtains the kubeconfig file that is used to connect to the master instance over the Internet.'."\n"
+ ."\n"
+ .'Default value: `false`'."\n",
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => 'false',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'description' => 'The ID of the request.'."\n",
+ 'type' => 'string',
+ 'example' => '5BE4C329-DCC2-5B61-8F66-112B7D7FC712',
+ ],
+ 'Kubeconfig' => [
+ 'description' => 'The content of the kubeconfig file.'."\n",
+ 'type' => 'string',
+ 'example' => "\n"
+ .'"\\napiVersion: v1\\nclusters:\\n- cluster:\\n server: https://172.16.11.***:6443\\n certificate-authority-data: LS0tLS1CRU=...\\n name: kubernetes\\ncontexts:\\n- context:\\n cluster: kubernetes\\n user: \\"kubernetes-a****\\"\\n name: kubernetes-admin-cc2cbf5802bec4bfa9fae4014d8c****\\ncurrent-context: kubernetes-admin-cc2cbf5802bec4bfa9fae4014d8c9****\\nkind: Config\\npreferences: {}\\nusers:\\n- name: \\"kubernetes-admin\\"\\n user:\\n client-certificate-data: LS0tLS1CRU...\\n client-key-data: LS0tCg==...\\n"'."\n",
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'eventInfo' => [
+ 'enable' => false,
+ 'eventNames' => [],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"5BE4C329-DCC2-5B61-8F66-112B7D7FC712\\",\\n \\"Kubeconfig\\": \\"\\\\n\\\\\\"\\\\\\\\napiVersion: v1\\\\\\\\nclusters:\\\\\\\\n- cluster:\\\\\\\\n server: https://172.16.11.***:6443\\\\\\\\n certificate-authority-data: LS0tLS1CRU=...\\\\\\\\n name: kubernetes\\\\\\\\ncontexts:\\\\\\\\n- context:\\\\\\\\n cluster: kubernetes\\\\\\\\n user: \\\\\\\\\\\\\\"kubernetes-a****\\\\\\\\\\\\\\"\\\\\\\\n name: kubernetes-admin-cc2cbf5802bec4bfa9fae4014d8c****\\\\\\\\ncurrent-context: kubernetes-admin-cc2cbf5802bec4bfa9fae4014d8c9****\\\\\\\\nkind: Config\\\\\\\\npreferences: {}\\\\\\\\nusers:\\\\\\\\n- name: \\\\\\\\\\\\\\"kubernetes-admin\\\\\\\\\\\\\\"\\\\\\\\n user:\\\\\\\\n client-certificate-data: LS0tLS1CRU...\\\\\\\\n client-key-data: LS0tCg==...\\\\\\\\n\\\\\\"\\\\n\\"\\n}","type":"json"}]',
+ 'title' => 'DescribeHubClusterKubeconfig',
+ ],
+ 'GrantUserPermission' => [
+ 'summary' => 'Grants role-based access control (RBAC) permissions to Resource Access Management (RAM) users or RAM roles. System policies can be attached to RAM users to grant only the operation permissions on Distributed Cloud Container Platform for Kubernetes (ACK One) cluster resources. The operation permissions include creating and viewing instances. If you want to perform operations on Kubernetes resources in a specific cluster by using a RAM user or assuming a RAM role, such as creating GitOps applications and Argo workflows, you must grant RBAC permissions to the RAM user or RAM role to perform operations on the specified ACK One cluster and namespace. This topic describes how to grant RBAC permissions to a RAM user or RAM role.',
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'create',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '172097',
+ 'abilityTreeNodes' => [
+ 'FEATUREadcpP565GF',
+ 'FEATUREadcp181E1P',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'RoleType',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The authorization type. Valid values:'."\n"
+ ."\n"
+ .'* cluster: The permissions are granted to a cluster.'."\n"
+ .'* namespace: The permissions are granted to a namespace of a cluster.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'cluster',
+ 'enum' => [
+ 'cluster',
+ 'namespace',
+ ],
+ ],
+ ],
+ [
+ 'name' => 'RoleName',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The predefined role. Valid values:'."\n"
+ ."\n"
+ .'* admin: administrator'."\n"
+ .'* dev: developer'."\n"
+ .'* gitops-dev: GitOps developer. The parameter is available only for Fleet instances.'."\n"
+ ."\n"
+ .'The value of RoleName and that of RoleType must meet the following requirements:'."\n"
+ ."\n"
+ .'* If **RoleType** is set to **cluster**, this parameter must be set to **admin**.'."\n"
+ .'* If **RoleType** is set to **namespace**, this parameter must be set to **dev** or **gitops-dev**.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'enumValueTitles' => [
+ 'dev' => 'dev',
+ 'admin' => 'admin',
+ 'gitops-dev' => 'gitops-dev',
+ ],
+ 'example' => 'admin',
+ 'enum' => [],
+ ],
+ ],
+ [
+ 'name' => 'ClusterId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The cluster ID.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'c102fe5f1ee5d4c87a68121a77d8b****',
+ ],
+ ],
+ [
+ 'name' => 'Namespace',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The name of the namespace.'."\n"
+ ."\n"
+ .'* If **RoleType** is set to **cluster**, you do not need to specify this parameter.'."\n"
+ .'* This parameter is required if **RoleType** is set to **namespace**.'."\n"
+ .'* If **RoleType** is set to **namespace** and **RoleName** is set to **gitops-dev**, this parameter is required and must be set to **argocd**.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'default',
+ ],
+ ],
+ [
+ 'name' => 'UserId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the RAM user or RAM role.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '2176****',
+ ],
+ ],
+ [
+ 'name' => 'IsRamRole',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The entity to which the permissions are granted. A value of `true` indicates that the permissions are granted to a RAM user. A value of `false` indicates that the permissions are granted to a RAM role.'."\n",
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => 'false',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => 'Id of the request',
+ 'description' => 'The ID of the request.'."\n",
+ 'type' => 'string',
+ 'example' => '2D676EFC-8C04-5CCE-A08E-BB97D24B47E8',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'eventInfo' => [
+ 'enable' => false,
+ 'eventNames' => [],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"2D676EFC-8C04-5CCE-A08E-BB97D24B47E8\\"\\n}","type":"json"}]',
+ 'title' => 'GrantUserPermission',
+ 'description' => '* To call this API operation to grant permissions to a RAM user or RAM role on a specific cluster, you must use an Alibaba Cloud account, the account that is used to create the cluster, or a RAM user that has the cluster administrator permissions. A regular RAM user does not have the permissions to call this operation.'."\n"
+ .'* Before you grant RBAC permissions to a RAM user or RAM role on a cluster, you must grant the operation permissions to the RAM user or RAM role on the specified cluster. For more information, see [Attach a system permission policy to a RAM user or RAM role](~~613486~~).'."\n"
+ ."\n"
+ .'For more information, see [Authorization overview](~~613468~~).'."\n",
+ ],
+ 'UpdateUserPermission' => [
+ 'summary' => 'Updates the role-based access control (RBAC) permissions of a RAM user.',
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '172098',
+ 'abilityTreeNodes' => [
+ 'FEATUREadcpP565GF',
+ 'FEATUREadcp181E1P',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'RoleType',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The authorization type. Valid values:'."\n"
+ ."\n"
+ .'* cluster: specifies that the permissions are scoped to a master instance.'."\n"
+ .'* namespace: specifies that the permissions are scoped to a namespace of a cluster.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'cluster',
+ 'enum' => [
+ 'cluster',
+ 'namespace',
+ ],
+ ],
+ ],
+ [
+ 'name' => 'RoleName',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The predefined role. Valid values:'."\n"
+ ."\n"
+ .'* admin: administrator'."\n"
+ .'* dev: developer'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'admin',
+ 'enum' => [
+ 'admin',
+ 'dev',
+ ],
+ ],
+ ],
+ [
+ 'name' => 'ClusterId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the master instance.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'c8e28143817db4b039b8548d7c899****',
+ ],
+ ],
+ [
+ 'name' => 'Namespace',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The namespace to which the permissions are scoped. By default, this parameter is empty when you set RoleType to cluster.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'default',
+ ],
+ ],
+ [
+ 'name' => 'UserId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the RAM user.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '2176****',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => 'Id of the request',
+ 'description' => 'The ID of the request.'."\n",
+ 'type' => 'string',
+ 'example' => '62F5AA2B-A2C9-5135-BCE2-C2167099****',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'eventInfo' => [
+ 'enable' => false,
+ 'eventNames' => [],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"62F5AA2B-A2C9-5135-BCE2-C2167099****\\"\\n}","type":"json"}]',
+ 'title' => 'UpdateUserPermission',
+ ],
+ 'DeleteUserPermission' => [
+ 'summary' => 'Deletes the role-based access control (RBAC) permissions of a RAM user.',
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'delete',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '172099',
+ 'abilityTreeNodes' => [
+ 'FEATUREadcpP565GF',
+ 'FEATUREadcp181E1P',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'UserId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the RAM user.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '2176****',
+ ],
+ ],
+ [
+ 'name' => 'ClusterId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the master instance.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'c09946603cd764dac96135f51d1ba****',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => 'Id of the request',
+ 'description' => 'The ID of the request.'."\n",
+ 'type' => 'string',
+ 'example' => '2D676EFC-8C04-5CCE-A08E-BB97D24B47E8',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'eventInfo' => [
+ 'enable' => false,
+ 'eventNames' => [],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"2D676EFC-8C04-5CCE-A08E-BB97D24B47E8\\"\\n}","type":"json"}]',
+ 'title' => 'DeleteUserPermission',
+ ],
+ 'DescribePolicies' => [
+ 'summary' => 'Queries a list of policies.',
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '144926',
+ 'abilityTreeNodes' => [
+ 'FEATUREadcpVUYVM4',
+ ],
+ 'autoTest' => true,
+ 'tenantRelevance' => 'publicInformation',
+ ],
+ 'parameters' => [],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => 'Id of the request',
+ 'description' => 'The request ID.'."\n",
+ 'type' => 'string',
+ 'example' => '9439169C-64C1-5849-9F7C-E3E60BDDEF7A',
+ ],
+ 'Policies' => [
+ 'description' => 'A list of policies.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The policies.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'Category' => [
+ 'description' => 'The policy type.'."\n",
+ 'type' => 'string',
+ 'example' => 'psp',
+ ],
+ 'Names' => [
+ 'description' => 'The names of the policies of each policy type.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The name of the policy.'."\n",
+ 'type' => 'string',
+ 'example' => 'ACKCheckNginxAnnotation',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"9439169C-64C1-5849-9F7C-E3E60BDDEF7A\\",\\n \\"Policies\\": [\\n {\\n \\"Category\\": \\"psp\\",\\n \\"Names\\": [\\n \\"ACKCheckNginxAnnotation\\"\\n ]\\n }\\n ]\\n}","type":"json"}]',
+ 'title' => 'DescribePolicies',
+ ],
+ 'DescribePolicyDetails' => [
+ 'summary' => 'Queries detailed information about a policy.',
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '144927',
+ 'abilityTreeNodes' => [
+ 'FEATUREadcpVUYVM4',
+ ],
+ 'tenantRelevance' => 'publicInformation',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'PolicyName',
+ 'in' => 'query',
+ 'allowEmptyValue' => false,
+ 'schema' => [
+ 'description' => 'The policy name.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'ACKAllowedRepos',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => 'Id of the request',
+ 'description' => 'The request ID.'."\n",
+ 'type' => 'string',
+ 'example' => '2D676EFC-8C04-5CCE-A08E-BB97D24B47E8',
+ ],
+ 'Policy' => [
+ 'description' => 'The policies.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'Name' => [
+ 'description' => 'The name of the policy.'."\n",
+ 'type' => 'string',
+ 'example' => 'ACKAllowedRepos',
+ ],
+ 'Category' => [
+ 'description' => 'The type of the policy.'."\n",
+ 'type' => 'string',
+ 'example' => 'k8s-general'."\n",
+ ],
+ 'Description' => [
+ 'description' => 'The description of the policy.'."\n",
+ 'type' => 'string',
+ 'example' => 'Requires container images to begin with a repo string from a specified list'."\n",
+ ],
+ 'Action' => [
+ 'description' => 'The action of the policy. Valid values:'."\n"
+ ."\n"
+ .'* enforce: blocks deployments that match the policy.'."\n"
+ .'* inform: generates alerts for deployments that match the policy.'."\n",
+ 'type' => 'string',
+ 'example' => 'enforce',
+ ],
+ 'Severity' => [
+ 'description' => 'The severity level of the policy.'."\n",
+ 'type' => 'string',
+ 'example' => 'high',
+ ],
+ 'Template' => [
+ 'description' => 'The content of the policy.'."\n",
+ 'type' => 'string',
+ 'example' => 'The content of the policy.',
+ ],
+ 'NoConfig' => [
+ 'description' => 'Indicates whether parameters are required. Valid values:'."\n"
+ ."\n"
+ .'* 0: Parameters are required.'."\n"
+ .'* 1: Parameters are not required.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '0',
+ ],
+ 'Created' => [
+ 'description' => 'The time when the policy was created.'."\n",
+ 'type' => 'string',
+ 'example' => '2021-11-18T10:52:17+08:00',
+ ],
+ 'Updated' => [
+ 'description' => 'The time when the policy was last updated.'."\n",
+ 'type' => 'string',
+ 'example' => '2021-11-18T10:52:17+08:00',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'eventInfo' => [
+ 'enable' => false,
+ 'eventNames' => [],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"2D676EFC-8C04-5CCE-A08E-BB97D24B47E8\\",\\n \\"Policy\\": {\\n \\"Name\\": \\"ACKAllowedRepos\\",\\n \\"Category\\": \\"k8s-general\\\\n\\",\\n \\"Description\\": \\"Requires container images to begin with a repo string from a specified list\\\\n\\",\\n \\"Action\\": \\"enforce\\",\\n \\"Severity\\": \\"high\\",\\n \\"Template\\": \\"详情参考返回内容。\\",\\n \\"NoConfig\\": 0,\\n \\"Created\\": \\"2021-11-18T10:52:17+08:00\\",\\n \\"Updated\\": \\"2021-11-18T10:52:17+08:00\\"\\n }\\n}","type":"json"}]',
+ 'title' => 'DescribePolicyDetails',
+ ],
+ 'DeployPolicyInstance' => [
+ 'summary' => 'Deploys a policy instance in the clusters that are associated with a master instance.',
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'create',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '176407',
+ 'abilityTreeNodes' => [
+ 'FEATUREadcpVUYVM4',
+ ],
+ 'autoTest' => true,
+ 'tenantRelevance' => 'tenant',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'PolicyName',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The name of the policy.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'ACKNoEnvVarSecrets',
+ ],
+ ],
+ [
+ 'name' => 'Namespaces',
+ 'in' => 'query',
+ 'style' => 'json',
+ 'schema' => [
+ 'description' => 'A list of namespaces.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The applicable scope of the policy instance. If you leave this parameter empty, the policy instance is applicable to all namespaces.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '["default"]',
+ ],
+ 'required' => false,
+ ],
+ ],
+ [
+ 'name' => 'ClusterIds',
+ 'in' => 'query',
+ 'style' => 'json',
+ 'schema' => [
+ 'description' => 'An array of JSON strings. The JSON strings in the array indicate the IDs of the associated clusters in which the policy instance is deployed.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'A JSON string. The JSON string indicates the ID of the associated cluster in which the policy instance is deployed.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '["c1c731554c1ec4a1ca9bb690ff9ed****"]',
+ ],
+ 'required' => true,
+ ],
+ ],
+ [
+ 'name' => 'PolicyAction',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The action of the policy. Valid values:'."\n"
+ ."\n"
+ .'* deny: blocks deployments that match the policy.'."\n"
+ .'* warn: generates alerts for deployments that match the policy.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'warn',
+ 'enum' => [
+ 'deny',
+ 'warn',
+ ],
+ ],
+ ],
+ [
+ 'name' => 'ClusterId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the master instance.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'c102fe5f1ee5d4c87a68121a77d8b****',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => 'Id of the request',
+ 'description' => 'The request ID.'."\n",
+ 'type' => 'string',
+ 'example' => '2D676EFC-8C04-5CCE-A08E-BB97D24B47E8',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'eventInfo' => [
+ 'enable' => false,
+ 'eventNames' => [],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"2D676EFC-8C04-5CCE-A08E-BB97D24B47E8\\"\\n}","type":"json"}]',
+ 'title' => 'DeployPolicyInstance',
+ ],
+ 'DescribePolicyInstances' => [
+ 'summary' => 'Queries policy instances that are deployed in the clusters associated with a master instance.',
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '176411',
+ 'abilityTreeNodes' => [
+ 'FEATUREadcpVUYVM4',
+ ],
+ 'autoTest' => true,
+ 'tenantRelevance' => 'tenant',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'PolicyName',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The name of the policy.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'ACKNoEnvVarSecrets',
+ ],
+ ],
+ [
+ 'name' => 'ClusterId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the master instance.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'c102fe5f1ee5d4c87a68121a77d8b****',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => 'Id of the request',
+ 'description' => 'The request ID.'."\n",
+ 'type' => 'string',
+ 'example' => '5BE4C329-DCC2-5B61-8F66-112B7D7FC712',
+ ],
+ 'Policies' => [
+ 'description' => 'A list of policy instances.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The policy instance.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'PolicyName' => [
+ 'description' => 'The name of the policy.'."\n",
+ 'type' => 'string',
+ 'example' => 'ACKPSPCapabilities',
+ ],
+ 'InstanceName' => [
+ 'description' => 'The name of the policy instance.'."\n",
+ 'type' => 'string',
+ 'example' => 'no-env-var-secrets-****'."\n",
+ ],
+ 'PolicyCategory' => [
+ 'description' => 'The type of the policy.'."\n",
+ 'type' => 'string',
+ 'example' => 'k8s-general'."\n",
+ ],
+ 'PolicyDescription' => [
+ 'description' => 'The description of the policy.'."\n",
+ 'type' => 'string',
+ 'example' => 'Restricts secrets used in pod envs'."\n",
+ ],
+ 'PolicySeverity' => [
+ 'description' => 'The severity level of the policy.'."\n",
+ 'type' => 'string',
+ 'example' => 'low',
+ ],
+ 'PolicyScope' => [
+ 'description' => 'The applicable scope of the policy instance.'."\n"
+ ."\n"
+ .'A value of \\* indicates all namespaces. This is the default value.'."\n"
+ ."\n"
+ .'Multiple namespaces are separated by commas (,).'."\n",
+ 'type' => 'string',
+ 'example' => '*',
+ ],
+ 'PolicyAction' => [
+ 'description' => 'The action of the policy. Valid values:'."\n"
+ ."\n"
+ .'* deny: blocks deployments that match the policy.'."\n"
+ .'* warn: generates alerts for deployments that match the policy.'."\n",
+ 'type' => 'string',
+ 'example' => 'warn',
+ ],
+ 'TotalViolations' => [
+ 'description' => 'The total number of deployments that match the policy in the associated cluster, including the deployments that are blocked and the deployments that have triggered alerting.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '2',
+ ],
+ 'ClusterId' => [
+ 'description' => 'The ID of the associated cluster.'."\n",
+ 'type' => 'string',
+ 'example' => 'cd0e6882394f7496589837cac3585****',
+ ],
+ 'PolicyParameters' => [
+ 'description' => 'The parameters of the policy instance.'."\n",
+ 'type' => 'object',
+ 'additionalProperties' => [
+ 'type' => 'string',
+ 'description' => 'The parameters of the policy instance.'."\n",
+ 'example' => '"restrictedNamespaces": [ "test" ]'."\n",
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'eventInfo' => [
+ 'enable' => false,
+ 'eventNames' => [],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"5BE4C329-DCC2-5B61-8F66-112B7D7FC712\\",\\n \\"Policies\\": [\\n {\\n \\"PolicyName\\": \\"ACKPSPCapabilities\\",\\n \\"InstanceName\\": \\"no-env-var-secrets-****\\\\n\\",\\n \\"PolicyCategory\\": \\"k8s-general\\\\n\\",\\n \\"PolicyDescription\\": \\"Restricts secrets used in pod envs\\\\n\\",\\n \\"PolicySeverity\\": \\"low\\",\\n \\"PolicyScope\\": \\"*\\",\\n \\"PolicyAction\\": \\"warn\\",\\n \\"TotalViolations\\": 2,\\n \\"ClusterId\\": \\"cd0e6882394f7496589837cac3585****\\",\\n \\"PolicyParameters\\": {\\n \\"key\\": \\"\\\\\\"restrictedNamespaces\\\\\\": [ \\\\\\"test\\\\\\" ]\\\\n\\"\\n }\\n }\\n ]\\n}","type":"json"}]',
+ 'title' => 'DescribePolicyInstances',
+ ],
+ 'DescribePolicyInstancesStatus' => [
+ 'summary' => 'Queries detailed information about policy instances that are deployed in the clusters associated with a master instance.',
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '176412',
+ 'abilityTreeNodes' => [
+ 'FEATUREadcpVUYVM4',
+ ],
+ 'autoTest' => true,
+ 'tenantRelevance' => 'tenant',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'ClusterId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the master instance.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'c676decda7b8148d69a9aba751877****',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'The response object.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => 'Id of the request',
+ 'description' => 'The request ID.'."\n",
+ 'type' => 'string',
+ 'example' => '5D89C59A-A7EB-5BF8-B094-6479175346CA',
+ ],
+ 'Policies' => [
+ 'description' => 'The number of policy instances of each policy type.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'PolicyInstances' => [
+ 'description' => 'The number of policy instances of each policy type.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The number of policy instances of each policy type.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'PolicyName' => [
+ 'description' => 'The policy name.'."\n",
+ 'type' => 'string',
+ 'example' => 'ACKRestrictRoleBindings',
+ ],
+ 'PolicyCategory' => [
+ 'description' => 'The type of the policy.'."\n",
+ 'type' => 'string',
+ 'example' => 'compliance'."\n",
+ ],
+ 'PolicyDescription' => [
+ 'description' => 'The description of the policy.'."\n",
+ 'type' => 'string',
+ 'example' => 'Restricts use of the cluster-admin role.'."\n",
+ ],
+ 'PolicySeverity' => [
+ 'description' => 'The severity level of the policy.'."\n",
+ 'type' => 'string',
+ 'example' => 'low',
+ ],
+ 'PolicyInstancesCount' => [
+ 'description' => 'The number of policy instances that are deployed. If this parameter is left empty, no policy instance is deployed.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '2',
+ ],
+ 'PolicyClusters' => [
+ 'description' => 'The associated clusters in which the policy instances are deployed.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The associated cluster in which the policy instances are deployed.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'ClusterId' => [
+ 'description' => 'The cluster ID.'."\n",
+ 'type' => 'string',
+ 'example' => 'c639e5310e73e4a29ab18d6330a633****',
+ ],
+ 'Status' => [
+ 'description' => 'The status of the policy deployment.'."\n",
+ 'type' => 'string',
+ 'example' => 'Success',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'SeverityInfo' => [
+ 'description' => 'The number of policy instances that are deployed in the cluster.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The number of policy instances of each severity level.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'SeverityType' => [
+ 'description' => 'The severity level of the policy.'."\n",
+ 'type' => 'string',
+ 'example' => 'low',
+ ],
+ 'SeverityCount' => [
+ 'description' => 'The number of policy instances.'."\n",
+ 'type' => 'string',
+ 'example' => '2',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'eventInfo' => [
+ 'enable' => false,
+ 'eventNames' => [],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"5D89C59A-A7EB-5BF8-B094-6479175346CA\\",\\n \\"Policies\\": {\\n \\"PolicyInstances\\": [\\n {\\n \\"PolicyName\\": \\"ACKRestrictRoleBindings\\",\\n \\"PolicyCategory\\": \\"compliance\\\\n\\",\\n \\"PolicyDescription\\": \\"Restricts use of the cluster-admin role.\\\\n\\",\\n \\"PolicySeverity\\": \\"low\\",\\n \\"PolicyInstancesCount\\": 2,\\n \\"PolicyClusters\\": [\\n {\\n \\"ClusterId\\": \\"c639e5310e73e4a29ab18d6330a633****\\",\\n \\"Status\\": \\"Success\\"\\n }\\n ]\\n }\\n ],\\n \\"SeverityInfo\\": [\\n {\\n \\"SeverityType\\": \\"low\\",\\n \\"SeverityCount\\": \\"2\\"\\n }\\n ]\\n }\\n}","type":"json"}]',
+ 'title' => 'DescribePolicyInstancesStatus',
+ ],
+ 'DescribePolicyGovernanceInCluster' => [
+ 'summary' => 'Queries detailed information about the policies used by the clusters that are associated with a master instance.',
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '176414',
+ 'abilityTreeNodes' => [
+ 'FEATUREadcpVUYVM4',
+ ],
+ 'autoTest' => true,
+ 'tenantRelevance' => 'tenant',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'ClusterId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the master instance.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'c09946603cd764dac96135f51d1ba****',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => 'Id of the request',
+ 'description' => 'The request ID.'."\n",
+ 'type' => 'string',
+ 'example' => '96C6A284-0EC3-5486-9A97-E8E9EE27E9EF',
+ ],
+ 'PolicyGovernances' => [
+ 'description' => 'The detailed information about the policies.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The detailed information about the policies.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'Cluster' => [
+ 'description' => 'The information about the associated clusters in which the policies are deployed.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'ClusterId' => [
+ 'description' => 'The ID of the associated cluster.'."\n",
+ 'type' => 'string',
+ 'example' => 'ca5cf1b5edb5c4736a6ea0dfb4061****',
+ ],
+ 'Name' => [
+ 'description' => 'The name of the associated cluster.'."\n",
+ 'type' => 'string',
+ 'example' => 'ack-001',
+ ],
+ 'RegionId' => [
+ 'description' => 'The region ID of the associated cluster.'."\n",
+ 'type' => 'string',
+ 'example' => 'cn-heyuan',
+ ],
+ 'State' => [
+ 'description' => 'The status of the associated cluster.'."\n",
+ 'type' => 'string',
+ 'example' => 'running',
+ ],
+ 'ClusterType' => [
+ 'description' => 'The type of the associated cluster.'."\n",
+ 'type' => 'string',
+ 'example' => 'ManagedKubernetes',
+ ],
+ 'ClusterSpec' => [
+ 'description' => 'The specifications of the associated cluster.'."\n",
+ 'type' => 'string',
+ 'example' => 'ack.pro.small ',
+ ],
+ 'Profile' => [
+ 'description' => 'The identifier of the associated cluster.'."\n",
+ 'type' => 'string',
+ 'example' => 'Default',
+ ],
+ ],
+ ],
+ 'PolicyGovernance' => [
+ 'description' => 'The detailed policy information.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'OnState' => [
+ 'description' => 'The number of policies of each severity level enabled in the associated cluster.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The number of policies of each severity level enabled in the associated cluster.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'EnabledCount' => [
+ 'description' => 'The types of policies that are enabled in the associated cluster.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '2',
+ ],
+ 'TotalCount' => [
+ 'description' => 'The types of policies of each severity level.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '2',
+ ],
+ 'Severity' => [
+ 'description' => 'The severity level.'."\n",
+ 'type' => 'string',
+ 'example' => 'low',
+ ],
+ ],
+ ],
+ ],
+ 'AdmitLog' => [
+ 'description' => 'The audit log generated by the associated cluster.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'Progress' => [
+ 'description' => 'The status of the query. Valid values:'."\n"
+ ."\n"
+ .'* Complete: The query is successful, and the complete result is returned.'."\n"
+ .'* Incomplete: The query is successful, but the query result is incomplete. To obtain the complete result, you must call the operation again.'."\n",
+ 'type' => 'string',
+ 'example' => 'Complete',
+ ],
+ 'Count' => [
+ 'description' => 'The number of log entries in the query result.'."\n",
+ 'type' => 'string',
+ 'example' => '100',
+ ],
+ 'Logs' => [
+ 'description' => 'The content of the audit log.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The content of the audit log.'."\n",
+ 'type' => 'object',
+ 'additionalProperties' => [
+ 'type' => 'string',
+ 'description' => 'The content of the audit log.'."\n",
+ 'example' => 'c8155823d057948c69a****'."\n",
+ ],
+ ],
+ ],
+ 'LogProject' => [
+ 'description' => 'The name of the Log Service project.'."\n",
+ 'type' => 'string',
+ 'example' => 'demo',
+ ],
+ 'LogStore' => [
+ 'description' => 'The name of the Logstore.'."\n",
+ 'type' => 'string',
+ 'example' => 'demo',
+ ],
+ ],
+ ],
+ 'Violation' => [
+ 'description' => 'The number of deployments that match the policies in the associated cluster, including deployments that are blocked and deployments that have triggered alerting.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'TotalViolations' => [
+ 'description' => 'The number of deployments that match the policies in the associated cluster, including deployments that are blocked and deployments that have triggered alerting. The deployments are classified by severity level.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'Deny' => [
+ 'description' => 'The information about the deployments that are blocked.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The information about the deployments that are blocked.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'Severity' => [
+ 'description' => 'The severity level.'."\n",
+ 'type' => 'string',
+ 'example' => 'low',
+ ],
+ 'Violations' => [
+ 'description' => 'The number of deployments that are blocked.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '2',
+ ],
+ ],
+ ],
+ ],
+ 'Warn' => [
+ 'description' => 'The information about the deployments that have triggered alerting.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The information about the deployments that have triggered alerting.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'Severity' => [
+ 'description' => 'The severity level.'."\n",
+ 'type' => 'string',
+ 'example' => 'low',
+ ],
+ 'Violations' => [
+ 'description' => 'The number of deployments that have triggered alerting.'."\n",
+ 'type' => 'string',
+ 'example' => '2',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'Violations' => [
+ 'description' => 'The number of deployments that match the policies in the associated cluster, including deployments that are blocked and deployments that have triggered alerting. The deployments are classified by policy type.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'Deny' => [
+ 'description' => 'The information about the deployments that are blocked.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The information about the deployments that are blocked.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'PolicyName' => [
+ 'description' => 'The name of the policy.'."\n",
+ 'type' => 'string',
+ 'example' => 'ACKPSPCapabilities',
+ ],
+ 'PolicyDescription' => [
+ 'description' => 'The description of the policy.'."\n",
+ 'type' => 'string',
+ 'example' => 'Restricts secrets used in pod envs'."\n",
+ ],
+ 'Severity' => [
+ 'description' => 'The severity level of the policy.'."\n",
+ 'type' => 'string',
+ 'example' => 'low',
+ ],
+ 'Violations' => [
+ 'description' => 'The number of times that the policy blocks deployments.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '2',
+ ],
+ ],
+ ],
+ ],
+ 'Warn' => [
+ 'description' => 'The information about the deployments that have triggered alerting.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The information about the deployments that have triggered alerting.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'PolicyName' => [
+ 'description' => 'The name of the policy.'."\n",
+ 'type' => 'string',
+ 'example' => 'ACKPSPCapabilities',
+ ],
+ 'PolicyDescription' => [
+ 'description' => 'The description of the policy.'."\n",
+ 'type' => 'string',
+ 'example' => 'Restricts secrets used in pod envs'."\n",
+ ],
+ 'Severity' => [
+ 'description' => 'The severity level of the policy.'."\n",
+ 'type' => 'string',
+ 'example' => 'low',
+ ],
+ 'Violations' => [
+ 'description' => 'The number of times that the policy generates alerts.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '2',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'eventInfo' => [
+ 'enable' => false,
+ 'eventNames' => [],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"96C6A284-0EC3-5486-9A97-E8E9EE27E9EF\\",\\n \\"PolicyGovernances\\": [\\n {\\n \\"Cluster\\": {\\n \\"ClusterId\\": \\"ca5cf1b5edb5c4736a6ea0dfb4061****\\",\\n \\"Name\\": \\"ack-001\\",\\n \\"RegionId\\": \\"cn-heyuan\\",\\n \\"State\\": \\"running\\",\\n \\"ClusterType\\": \\"ManagedKubernetes\\",\\n \\"ClusterSpec\\": \\"ack.pro.small \\",\\n \\"Profile\\": \\"Default\\"\\n },\\n \\"PolicyGovernance\\": {\\n \\"OnState\\": [\\n {\\n \\"EnabledCount\\": 2,\\n \\"TotalCount\\": 2,\\n \\"Severity\\": \\"low\\"\\n }\\n ],\\n \\"AdmitLog\\": {\\n \\"Progress\\": \\"Complete\\",\\n \\"Count\\": \\"100\\",\\n \\"Logs\\": [\\n {\\n \\"key\\": \\"c8155823d057948c69a****\\\\n\\"\\n }\\n ],\\n \\"LogProject\\": \\"demo\\",\\n \\"LogStore\\": \\"demo\\"\\n },\\n \\"Violation\\": {\\n \\"TotalViolations\\": {\\n \\"Deny\\": [\\n {\\n \\"Severity\\": \\"low\\",\\n \\"Violations\\": 2\\n }\\n ],\\n \\"Warn\\": [\\n {\\n \\"Severity\\": \\"low\\",\\n \\"Violations\\": \\"2\\"\\n }\\n ]\\n },\\n \\"Violations\\": {\\n \\"Deny\\": [\\n {\\n \\"PolicyName\\": \\"ACKPSPCapabilities\\",\\n \\"PolicyDescription\\": \\"Restricts secrets used in pod envs\\\\n\\",\\n \\"Severity\\": \\"low\\",\\n \\"Violations\\": 2\\n }\\n ],\\n \\"Warn\\": [\\n {\\n \\"PolicyName\\": \\"ACKPSPCapabilities\\",\\n \\"PolicyDescription\\": \\"Restricts secrets used in pod envs\\\\n\\",\\n \\"Severity\\": \\"low\\",\\n \\"Violations\\": 2\\n }\\n ]\\n }\\n }\\n }\\n }\\n ]\\n}","type":"json"}]',
+ 'title' => 'DescribePolicyGovernanceInCluster',
+ ],
+ 'DeletePolicyInstance' => [
+ 'summary' => 'Deletes a policy for associated clusters.',
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'none',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '176415',
+ 'abilityTreeNodes' => [
+ 'FEATUREadcpVUYVM4',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'ClusterId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the master instance.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'c09946603cd764dac96135f51d1ba****',
+ ],
+ ],
+ [
+ 'name' => 'PolicyName',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The name of the policy.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'ACKNoEnvVarSecrets',
+ ],
+ ],
+ [
+ 'name' => 'ClusterIds',
+ 'in' => 'query',
+ 'style' => 'json',
+ 'schema' => [
+ 'description' => 'A array of JSON strings. The JSON strings in the array indicate the IDs of the associated clusters for which the policy is deleted.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'A JSON string. The JSON string indicates the ID of the associated cluster for which the policy is deleted.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '["c1c731554c1ec4a1ca9bb690ff9ed****"]',
+ ],
+ 'required' => false,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => 'Id of the request',
+ 'description' => 'The request ID.'."\n",
+ 'type' => 'string',
+ 'example' => 'EA06613B-37A3-549E-BAE0-E4AD8A6E93D7',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'eventInfo' => [
+ 'enable' => false,
+ 'eventNames' => [],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"EA06613B-37A3-549E-BAE0-E4AD8A6E93D7\\"\\n}","type":"json"}]',
+ 'title' => 'DeletePolicyInstance',
+ ],
+ 'DescribeHubClusterLogs' => [
+ 'summary' => 'Queries the logs of the Fleet instance of a multi-cluster fleet of Distributed Cloud Container Platform for Kubernetes (ACK One).',
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '125616',
+ 'abilityTreeNodes' => [
+ 'FEATUREadcpH1M5DC',
+ 'FEATUREadcpMQ5GFM',
+ ],
+ 'autoTest' => true,
+ 'tenantRelevance' => 'tenant',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'ClusterId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '集群ID',
+ 'description' => 'The ID of the Fleet instance. You can call the [DescribeHubClusters](~~424404~~) operation to query the created Fleet instances.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'c9cb1d933b2ab47ff9cd25571477dc8f2',
+ ],
+ ],
+ ],
+ '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' => '661192D7-25A6-54C2-B643-1129CB7D2768',
+ ],
+ 'Logs' => [
+ 'description' => 'The details of operations logs.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The content of the log entry.',
+ 'type' => 'object',
+ 'properties' => [
+ 'CreationTime' => [
+ 'description' => 'The time when the log was created. The time follows the ISO 8601 standard in the *yyyy-MM-dd*T*HH:mm:ss*Z format. The time is displayed in UTC.'."\n",
+ 'type' => 'string',
+ 'example' => '2021-12-02T11:48:15+08:00',
+ ],
+ 'ClusterId' => [
+ 'description' => 'The ID of the Fleet instance.'."\n",
+ 'type' => 'string',
+ 'example' => 'c102fe5f1ee5d4c87a68121a77d8b0f38',
+ ],
+ 'ClusterLog' => [
+ 'description' => 'The log of the Fleet instance.'."\n",
+ 'type' => 'string',
+ 'example' => 'Cluster Created',
+ ],
+ 'LogLevel' => [
+ 'description' => 'The log level. Valid values:'."\n"
+ ."\n"
+ .'* error'."\n"
+ .'* warn'."\n"
+ .'* info'."\n",
+ 'type' => 'string',
+ 'example' => 'INFO',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'eventInfo' => [
+ 'enable' => false,
+ 'eventNames' => [],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"661192D7-25A6-54C2-B643-1129CB7D2768\\",\\n \\"Logs\\": [\\n {\\n \\"CreationTime\\": \\"2021-12-02T11:48:15+08:00\\",\\n \\"ClusterId\\": \\"c102fe5f1ee5d4c87a68121a77d8b****\\",\\n \\"ClusterLog\\": \\"Cluster Created\\",\\n \\"LogLevel\\": \\"info\\"\\n }\\n ]\\n}","type":"json"}]',
+ 'title' => 'DescribeHubClusterLogs',
+ ],
+ 'DescribeRegions' => [
+ 'summary' => '查询地域列表',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '128489',
+ 'abilityTreeNodes' => [
+ 'FEATUREadcpMQ5GFM',
+ 'FEATUREadcpH1M5DC',
+ ],
+ 'autoTest' => true,
+ 'tenantRelevance' => 'publicInformation',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'Language',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The language. Valid values: zh and en.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'en',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => 'Id of the request',
+ 'description' => 'The ID of the request.'."\n"
+ ."\n",
+ 'type' => 'string',
+ 'example' => 'C0EE05F4-6C1D-5993-B028-B569F9ED6B51',
+ ],
+ 'Regions' => [
+ 'description' => 'A list of available regions that are returned.'."\n"
+ ."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'A list of available regions that are returned.',
+ 'type' => 'object',
+ 'properties' => [
+ 'RegionId' => [
+ 'description' => 'The ID of the region.',
+ 'type' => 'string',
+ 'example' => 'cn-beijing',
+ ],
+ 'LocalName' => [
+ 'description' => 'The name of the region.',
+ 'type' => 'string',
+ 'example' => 'China (Beijing)',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'eventInfo' => [
+ 'enable' => false,
+ 'eventNames' => [],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"C0EE05F4-6C1D-5993-B028-B569F9ED6B51\\",\\n \\"Regions\\": [\\n {\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"LocalName\\": \\"China (Hangzhou)\\"\\n }\\n ]\\n}","type":"json"}]',
+ 'title' => 'DescribeRegions',
+ ],
+ 'ChangeResourceGroup' => [
+ 'summary' => '更新资源组',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '218610',
+ 'abilityTreeNodes' => [
+ 'FEATUREadcpMQ5GFM',
+ 'FEATUREadcpH1M5DC',
+ ],
+ 'tenantRelevance' => 'tenant',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'ResourceId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the resource. The value of this parameter varies with the resource type. For example, if you set ResourceType to cluster, this parameter specifies a cluster ID.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'c9603ee23a84a41d6a1424619cb80****',
+ ],
+ ],
+ [
+ 'name' => 'ResourceType',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The resource type. Set the value to cluster.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'cluster',
+ 'enum' => [
+ 'cluster',
+ ],
+ ],
+ ],
+ [
+ 'name' => 'NewResourceGroupId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the new resource group. You can view the available resource groups in the Resource Management console.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'rg-aekzlvgbhaca***',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => 'Id of the request',
+ 'description' => 'Id of the request'."\n",
+ 'type' => 'string',
+ 'example' => '5BE4C329-DCC2-5B61-8F66-112B7D7FC712',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"5BE4C329-DCC2-5B61-8F66-112B7D7FC712\\"\\n}","type":"json"}]',
+ 'title' => 'Change Resource Group',
+ ],
+ ],
+ 'endpoints' => [
+ [
+ 'regionId' => 'cn-beijing',
+ 'endpoint' => 'adcp.cn-beijing.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-zhangjiakou',
+ 'endpoint' => 'adcp.cn-zhangjiakou.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-hangzhou',
+ 'endpoint' => 'adcp.cn-hangzhou.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-shanghai',
+ 'endpoint' => 'adcp.cn-shanghai.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-shenzhen',
+ 'endpoint' => 'adcp.cn-shenzhen.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-heyuan',
+ 'endpoint' => 'adcp.cn-heyuan.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-hongkong',
+ 'endpoint' => 'adcp.cn-hongkong.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'ap-northeast-1',
+ 'endpoint' => 'adcp.ap-northeast-1.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'ap-southeast-1',
+ 'endpoint' => 'adcp.ap-southeast-1.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'ap-southeast-5',
+ 'endpoint' => 'adcp.ap-southeast-5.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-shanghai-finance-1',
+ 'endpoint' => 'adcp.cn-shanghai-finance-1.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-shenzhen-finance-1',
+ 'endpoint' => 'adcp.cn-shenzhen-finance-1.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'me-central-1',
+ 'endpoint' => 'adcp.me-central-1.aliyuncs.com',
+ ],
+ ],
+];