'1.0', 'info' => ['style' => 'RPC', 'product' => 'adcp', 'version' => '2022-01-01'], 'directories' => [ [ 'children' => ['CreateHubCluster', 'DescribeHubClusterDetails', 'DeleteHubCluster', 'AttachClusterToHub', 'DescribeManagedClusters', 'DetachClusterFromHub', 'UpdateHubClusterFeature'], 'type' => 'directory', 'title' => 'Cluster', ], [ 'children' => ['DescribeHubClusterKubeconfig'], 'type' => 'directory', 'title' => 'Authorization', ], [ 'children' => ['ChangeResourceGroup', 'DeletePolicyInstance', 'DeleteUserPermission', 'DeployPolicyInstance', 'DescribeHubClusterLogs', 'DescribeHubClusters', 'DescribePolicies', 'DescribePolicyDetails', 'DescribePolicyGovernanceInCluster', 'DescribePolicyInstances', 'DescribePolicyInstancesStatus', 'DescribeRegions', 'DescribeUserPermissions', 'GrantUserPermission', 'UpdateUserPermission'], 'title' => 'Others', 'type' => 'directory', ], ], 'components' => [ 'schemas' => [ 'Tag' => [ 'title' => '', 'description' => '集群Tag配置 ', 'type' => 'object', 'properties' => [ 'Key' => ['title' => '', 'type' => 'string', 'example' => 'env', 'description' => ''], 'Value' => ['title' => '', 'type' => 'string', 'example' => 'prod', 'description' => ''], ], 'example' => '', ], ], ], 'apis' => [ 'AttachClusterToHub' => [ '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 fleet ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cd08d62e6506a4fa5a8c44c19d0fc****', 'title' => ''], ], [ 'name' => 'ClusterIds', 'in' => 'formData', 'schema' => ['description' => 'A JSON-formatted string that can be parsed into an array of member cluster IDs to add to the fleet instance.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '["cdea10134be464ba4acb36cc831a6****"]', 'title' => ''], ], [ 'name' => 'AttachToMesh', 'in' => 'query', 'schema' => ['description' => 'Specifies whether to add the member clusters to a Service Mesh (ASM) instance.'."\n" ."\n" .'- true: Adds the clusters to the Service Mesh instance.'."\n" ."\n" .'- false: Does not add the clusters to the Service Mesh instance.', 'type' => 'boolean', 'required' => false, 'example' => 'true', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'EA06613B-37A3-549E-BAE0-E4AD8A6E93D7', 'title' => ''], 'ClusterId' => ['description' => 'The fleet ID.', 'type' => 'string', 'example' => 'c8e28143817db4b039b8548d7c899****', 'title' => ''], 'ManagedClusterIds' => [ 'description' => 'A list of member cluster IDs.', 'type' => 'array', 'items' => ['description' => 'The ID of a member cluster.', 'type' => 'string', 'example' => '[\'ce11727a7d2114790bf1392b2051e****\']', 'title' => ''], 'title' => '', 'example' => '', ], 'TaskId' => ['description' => 'The task ID.', 'type' => 'string', 'example' => 'T-623a96b7bbeaac074b00****', 'title' => ''], ], 'description' => 'The response body.', 'title' => '', 'example' => '', ], ], ], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], 'title' => 'AttachClusterToHub', 'summary' => 'Adds an ACK cluster to an ACK One fleet instance.', 'changeSet' => [ ['createdAt' => '2022-07-04T02:06:54.000Z', 'description' => 'Response parameters changed'], ['createdAt' => '2021-12-31T00:42:07.000Z', 'description' => 'Request parameters changed'], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '1000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'AttachClusterToHub'], ], ], 'ramActions' => [ [ 'operationType' => 'create', 'ramAction' => [ 'action' => 'adcp:AttachClusterToHub', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'AckOne', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], '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"}]', 'translator' => 'machine', ], 'ChangeResourceGroup' => [ '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. For example, if ResourceType is set to \\`cluster\\`, this parameter specifies the cluster ID.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'c9603ee23a84a41d6a1424619cb80****'], ], [ 'name' => 'ResourceType', 'in' => 'query', 'schema' => [ 'description' => 'The resource type. Only \\`cluster\\` is supported.', 'type' => 'string', 'required' => false, 'enum' => ['cluster'], 'title' => '', 'example' => 'cluster', ], ], [ 'name' => 'NewResourceGroupId', 'in' => 'query', 'schema' => ['description' => 'The ID of the new resource group. You can find the IDs of active resource groups in the Resource Group console.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'rg-aekzlvgbhaca***'], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => '', 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ 'RequestId' => ['title' => '', 'description' => 'The request ID.', 'type' => 'string', 'example' => '5BE4C329-DCC2-5B61-8F66-112B7D7FC712'], ], 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'title' => 'Change Resource Group', 'summary' => 'Changes the resource group of a resource.', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '1000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ChangeResourceGroup'], ], ], 'ramActions' => [ [ 'operationType' => 'update', 'ramAction' => [ 'action' => 'adcp:ChangeResourceGroup', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'AckOne', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"5BE4C329-DCC2-5B61-8F66-112B7D7FC712\\"\\n}","type":"json"}]', 'translator' => 'machine', ], 'CreateHubCluster' => [ '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.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cn-beijing', 'title' => ''], ], [ '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.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'vpc-f8zin0jscsr84s96tg***', 'title' => ''], ], [ '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" ."\n" .'- false: exposes the API server to the internal network.', 'type' => 'boolean', 'required' => false, 'example' => 'true', 'title' => ''], ], [ 'name' => 'Name', 'in' => 'formData', 'schema' => ['description' => 'The name of the master instance.', 'type' => 'string', 'required' => false, 'example' => 'ack-demo', 'title' => ''], ], [ 'name' => 'VSwitches', 'in' => 'formData', 'schema' => ['description' => 'The ID of the vSwitch.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '["vsw-2zeaijsas4zkzz81xm***"]', 'title' => ''], ], [ '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" ."\n" .'- false: disables the audit log feature.', 'type' => 'boolean', 'required' => false, 'example' => 'false', 'title' => ''], ], [ 'name' => 'IsEnterpriseSecurityGroup', 'in' => 'formData', 'schema' => ['description' => 'Specifies whether to use an advanced security group.', 'type' => 'boolean', 'required' => false, 'title' => '', 'example' => 'false'], ], [ 'name' => 'Profile', 'in' => 'formData', 'schema' => ['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" ."\n" .'- `XFlow`: The master instance is suitable for workflow scenarios.'."\n" ."\n" .'Default value: `Default`.', 'type' => 'string', 'required' => false, 'example' => 'Default', 'title' => ''], ], [ '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" ."\n" .'- false', 'type' => 'boolean', 'required' => false, 'example' => 'true', 'title' => ''], ], [ '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" ."\n" .'- stock-optimized: inventory-prioritized scheduling mode.', 'type' => 'string', 'required' => false, 'example' => 'cost-optimized', 'title' => ''], ], [ '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.', 'type' => 'string', 'required' => false, 'example' => '0.08', 'title' => ''], ], [ 'name' => 'ResourceGroupID', 'in' => 'formData', 'schema' => ['description' => 'The Resource Group ID.', 'type' => 'string', 'required' => false, 'example' => 'rg-d1ye4kpy1z***', 'title' => ''], ], [ 'name' => 'Tag', 'in' => 'query', 'style' => 'json', 'schema' => [ 'description' => 'The tags.'."\n" ."\n" .'You can specify at most 20 tags in each call.', 'type' => 'array', 'items' => ['description' => 'The list of tags.', '$ref' => '#/components/schemas/Tag', 'required' => false, 'title' => '', 'example' => ''], 'required' => false, 'title' => '', 'example' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => '62F5AA2B-A2C9-5135-BCE2-C2167099****', 'title' => ''], 'ClusterId' => ['description' => 'The ID of the master instance.', 'type' => 'string', 'example' => 'c09946603cd764dac96135f51d1ba****', 'title' => ''], 'TaskId' => ['description' => 'The ID of the task.', 'type' => 'string', 'example' => 'T-62523eda841eca071400****', 'title' => ''], ], 'description' => 'The response body.', 'title' => '', 'example' => '', ], ], ], 'title' => 'CreateHubCluster', 'summary' => 'Creates a master instance in Alibaba Cloud Distributed Cloud Container Platform (ACK One).', 'changeSet' => [ ['createdAt' => '2024-05-13T06:57:57.000Z', 'description' => 'Request parameters changed'], ['createdAt' => '2024-04-16T07:55:47.000Z', 'description' => 'Request parameters changed'], ['createdAt' => '2023-10-18T03:30:57.000Z', 'description' => 'Response parameters changed'], ['createdAt' => '2023-01-06T02:28:15.000Z', 'description' => 'Request parameters changed, Response parameters changed'], ['createdAt' => '2022-09-20T03:17:37.000Z', 'description' => 'Request parameters changed'], ['createdAt' => '2021-12-31T00:42:07.000Z', 'description' => 'Request parameters changed'], ['createdAt' => '2021-12-31T00:42:07.000Z', 'description' => 'Request parameters changed'], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '1000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateHubCluster'], ], ], 'ramActions' => [ [ 'operationType' => 'create', 'ramAction' => [ 'action' => 'adcp:CreateHubCluster', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'AckOne', 'resourceType' => 'Cluster', 'arn' => 'acs:adcp:{#regionId}:{#accountId}:cluster/*'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"62F5AA2B-A2C9-5135-BCE2-C2167099****\\",\\n \\"ClusterId\\": \\"c09946603cd764dac96135f51d1ba****\\",\\n \\"TaskId\\": \\"T-62523eda841eca071400****\\"\\n}","type":"json"}]', 'translator' => 'manual', ], 'DeleteHubCluster' => [ '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.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cd90dd24a86fd42f895a1b77df620****', 'title' => ''], ], [ '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" ."\n" .'- false: does not forcibly delete the master instance in ACK One.'."\n" ."\n" .'Default value: false.', 'type' => 'boolean', 'required' => false, 'example' => 'false', 'title' => ''], ], [ 'name' => 'RetainResources', 'in' => 'query', 'style' => 'json', 'schema' => [ 'description' => 'The list of resources to retain.', '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.', 'type' => 'string', 'required' => false, 'example' => '["eip-eip-bp1v18egqyuxzmeg****]', 'title' => ''], 'required' => false, 'title' => '', 'example' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => '7A827E32-6D24-5757-B3FD-D9396495FBDC', 'title' => ''], 'ClusterId' => ['description' => 'The ID of the cluster.', 'type' => 'string', 'example' => 'cb09fda0dc2f94a8397c76638c7ec****', 'title' => ''], 'TaskId' => ['description' => 'The ID of the job.', 'type' => 'string', 'example' => 'T-623a96b7bbeaac074b00****', 'title' => ''], ], 'description' => 'The response body.', 'title' => '', 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'asynchronous', 'callback' => 'adcp::2022-01-01::DescribeHubClusterDetails', 'callbackInterval' => 15000, 'maxCallbackTimes' => 1000], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], 'title' => 'DeleteHubCluster', 'summary' => 'Deletes a master cluster in Alibaba Cloud Distributed Cloud Container Platform (ACK One).', 'changeSet' => [ ['createdAt' => '2023-10-18T03:30:57.000Z', 'description' => 'Response parameters changed'], ['createdAt' => '2023-01-05T03:12:59.000Z', 'description' => 'Request parameters changed, Response parameters changed'], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '1000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteHubCluster'], ], ], 'ramActions' => [ [ 'operationType' => 'create', 'ramAction' => [ 'action' => 'adcp:DeleteHubCluster', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'AckOne', 'resourceType' => 'Cluster', 'arn' => 'acs:adcp:{#regionId}:{#accountId}:cluster/{#ClusterId}'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"7A827E32-6D24-5757-B3FD-D9396495FBDC\\",\\n \\"ClusterId\\": \\"cb09fda0dc2f94a8397c76638c7ec****\\",\\n \\"TaskId\\": \\"T-623a96b7bbeaac074b00****\\"\\n}","type":"json"}]', 'translator' => 'manual', ], 'DeletePolicyInstance' => [ '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****', 'title' => ''], ], [ 'name' => 'PolicyName', 'in' => 'query', 'schema' => ['description' => 'The name of the policy.'."\n", 'type' => 'string', 'required' => true, 'example' => 'ACKNoEnvVarSecrets', 'title' => ''], ], [ '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****"]', 'title' => ''], 'required' => false, 'title' => '', 'example' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => '', 'description' => 'Schema of Response'."\n", 'type' => 'object', 'properties' => [ 'RequestId' => ['title' => '', 'description' => 'The request ID.'."\n", 'type' => 'string', 'example' => 'EA06613B-37A3-549E-BAE0-E4AD8A6E93D7'], ], 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], 'title' => 'DeletePolicyInstance', 'summary' => 'Deletes a policy for associated clusters.', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '1000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeletePolicyInstance'], ], ], 'ramActions' => [ [ 'operationType' => 'none', 'ramAction' => [ 'action' => 'adcp:DeletePolicyInstance', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'AckOne', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"EA06613B-37A3-549E-BAE0-E4AD8A6E93D7\\"\\n}","type":"json"}]', ], '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****', 'title' => ''], ], [ 'name' => 'ClusterId', 'in' => 'query', 'schema' => ['description' => 'The ID of the master instance.'."\n", 'type' => 'string', 'required' => true, 'example' => 'c09946603cd764dac96135f51d1ba****', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => '', 'description' => 'Schema of Response'."\n", 'type' => 'object', 'properties' => [ 'RequestId' => ['title' => '', 'description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '2D676EFC-8C04-5CCE-A08E-BB97D24B47E8'], ], 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], 'title' => 'DeleteUserPermission', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '1000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteUserPermission'], ], ], 'ramActions' => [ [ 'operationType' => 'delete', 'ramAction' => [ 'action' => 'adcp:DeleteUserPermission', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'AckOne', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"2D676EFC-8C04-5CCE-A08E-BB97D24B47E8\\"\\n}","type":"json"}]', ], 'DeployPolicyInstance' => [ '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', 'title' => ''], ], [ '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"]', 'title' => ''], 'required' => false, 'title' => '', 'example' => '', ], ], [ '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****"]', 'title' => ''], 'required' => true, 'title' => '', 'example' => '', ], ], [ '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'], 'title' => '', ], ], [ 'name' => 'ClusterId', 'in' => 'query', 'schema' => ['description' => 'The ID of the master instance.'."\n", 'type' => 'string', 'required' => true, 'example' => 'c102fe5f1ee5d4c87a68121a77d8b****', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => '', 'description' => 'Schema of Response'."\n", 'type' => 'object', 'properties' => [ 'RequestId' => ['title' => '', 'description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '2D676EFC-8C04-5CCE-A08E-BB97D24B47E8'], ], 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], 'title' => 'DeployPolicyInstance', 'summary' => 'Deploys a policy instance in the clusters that are associated with a master instance.', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '1000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeployPolicyInstance'], ], ], 'ramActions' => [ [ 'operationType' => 'create', 'ramAction' => [ 'action' => 'adcp:DeployPolicyInstance', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'AckOne', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"2D676EFC-8C04-5CCE-A08E-BB97D24B47E8\\"\\n}","type":"json"}]', ], 'DescribeHubClusterDetails' => [ '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' => ['description' => 'The fleet ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'title' => '', 'example' => 'c676decda7b8148d69a9aba751877****'], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '52C1B7DF-96C1-5214-97B6-1B0859FEAFE5', 'title' => ''], 'Cluster' => [ 'description' => 'The details of the cluster.', 'type' => 'object', 'properties' => [ 'Endpoints' => [ 'description' => 'The endpoints of the cluster.', 'type' => 'object', 'properties' => [ 'IntranetApiServerEndpoint' => ['description' => 'The internal endpoint of the API server.', 'type' => 'string', 'example' => 'https://172.16.6.**:6443', 'title' => ''], 'PublicApiServerEndpoint' => ['description' => 'The public endpoint of the API server.', 'type' => 'string', 'example' => 'https://123.57.21.***:6443', 'title' => ''], ], 'title' => '', 'example' => '', ], 'ClusterInfo' => [ 'description' => 'The details of the cluster.', 'type' => 'object', 'properties' => [ 'Profile' => ['description' => 'The configurations of the cluster.', 'type' => 'string', 'example' => 'Default', 'title' => ''], 'CreationTime' => ['description' => 'The time when the cluster was created.', 'type' => 'string', 'example' => '2022-03-23T06:22:28Z', 'title' => ''], 'UpdateTime' => ['description' => 'The time when the cluster was last updated.', 'type' => 'string', 'example' => '2022-03-21T02:51:35.542Z', 'title' => ''], 'ErrorMessage' => ['description' => 'The error message returned if the cluster fails to be created.', 'type' => 'string', 'example' => 'The specified product does not exist.', 'title' => ''], 'Version' => ['description' => 'The version of the cluster.', 'type' => 'string', 'example' => '1.22.3-aliyun.1', 'title' => ''], 'State' => ['description' => 'The status of the cluster. Valid values:'."\n" ."\n" .'- initial: The cluster is being initialized.'."\n" ."\n" .'- failed: The cluster failed to be created.'."\n" ."\n" .'- running: The cluster is running.'."\n" ."\n" .'- inactive: The cluster is pending activation.'."\n" ."\n" .'- deleting: The cluster is being deleted.'."\n" ."\n" .'- delete\\_failed: The cluster failed to be deleted.'."\n" ."\n" .'- deleted: The cluster is deleted.', 'type' => 'string', 'example' => 'running', 'title' => ''], 'ClusterId' => ['description' => 'The fleet ID.', 'type' => 'string', 'example' => 'cb09fda0dc2f94a8397c76638c7ecf***', 'title' => ''], 'Name' => ['description' => 'The name of the cluster.', 'type' => 'string', 'example' => 'ackone-heyuan', 'title' => ''], 'RegionId' => ['description' => 'The ID of the region where the cluster resides.', 'type' => 'string', 'example' => 'cn-beijing', 'title' => ''], 'ClusterSpec' => ['description' => 'The specification of the cluster.'."\n" ."\n" .'- ack.pro.small: Basic Edition', 'type' => 'string', 'example' => 'ack.pro.small ', 'title' => ''], 'MetaData' => [ 'description' => 'The metadata.', 'type' => 'object', 'properties' => [ 'ACKOne' => [ 'description' => 'The metadata of the ACK One fleet.', 'type' => 'object', 'properties' => [ 'GitOps' => [ 'description' => 'The metadata of ACK One GitOps.', 'type' => 'object', 'properties' => [ 'Enabled' => ['description' => 'Indicates whether GitOps is enabled. Valid values:'."\n" ."\n" .'- true: GitOps is enabled.'."\n" ."\n" .'- false: GitOps is disabled.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], 'HAEnabled' => ['description' => 'Indicates whether high availability (HA) is enabled for GitOps. Valid values:'."\n" ."\n" .'- true: HA is enabled.'."\n" ."\n" .'- false: HA is disabled.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], 'PublicAccessEnabled' => ['description' => 'Indicates whether public domain name resolution is enabled for the ArgoCD console. Valid values:'."\n" ."\n" .'- true: Public domain name resolution is enabled.'."\n" ."\n" .'- false: Public domain name resolution is disabled.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], 'AccessControlList' => [ 'description' => 'The access control list (ACL) for public network access. This parameter is valid only when PublicAccessEnabled is set to true.', 'type' => 'array', 'items' => ['description' => 'The ACL for public network access. This parameter is valid only when PublicAccessEnabled is set to true.', 'type' => 'string', 'example' => '["192.168.0.0/16"]', 'title' => ''], 'title' => '', 'example' => '', ], ], 'title' => '', 'example' => '', ], 'WorkFlow' => [ 'description' => 'The metadata of the ACK One workflow.', 'type' => 'object', 'properties' => [ 'ArgoWorkflow' => [ 'description' => 'The metadata of the ACK One workflow.', 'type' => 'object', 'properties' => [ 'Enabled' => ['description' => 'Indicates whether the workflow configuration is enabled. Valid values:'."\n" ."\n" .'- true: The workflow configuration is enabled.'."\n" ."\n" .'- false: The workflow configuration is disabled.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], 'ServerEnabled' => ['description' => 'Indicates whether the Argo Server UI is enabled. Valid values:'."\n" ."\n" .'- true: The Argo Server UI is enabled.'."\n" ."\n" .'- false: The Argo Server UI is disabled.', 'type' => 'string', 'example' => 'true', 'title' => ''], 'PublicAccessEnabled' => ['description' => 'Indicates whether public domain name resolution is enabled for the Argo Workflow console. Valid values:'."\n" ."\n" .'- true: Public domain name resolution is enabled.'."\n" ."\n" .'- false: Public domain name resolution is disabled.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], 'AccessControlList' => [ 'description' => 'The ACL for public network access. This parameter is valid only when PublicAccessEnabled is set to true.', 'type' => 'array', 'items' => ['description' => 'The ACL for public network access. This parameter is valid only when PublicAccessEnabled is set to true.', 'type' => 'string', 'example' => '["192.168.0.0/16"]'."\n", 'title' => ''], 'title' => '', 'example' => '', ], ], 'title' => '', 'example' => '', ], ], 'title' => '', 'example' => '', ], ], 'title' => '', 'example' => '', ], ], 'title' => '', 'example' => '', ], 'ResourceGroupID' => ['description' => 'The resource group ID.', 'type' => 'string', 'example' => 'rg-2nnnd0b6q37***', 'title' => ''], 'Tags' => [ 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'Key' => ['description' => 'The key of the tag.', 'type' => 'string', 'example' => 'user_resource', 'title' => ''], 'Value' => ['description' => 'The value of the tag.', 'type' => 'string', 'example' => 'gfggfwq-697', 'title' => ''], ], 'description' => 'The tag.', 'title' => '', 'example' => '', ], 'description' => 'The list of tags.', 'title' => '', 'example' => '', ], ], 'title' => '', 'example' => '', ], 'Network' => [ 'description' => 'The network configurations of the cluster.', 'type' => 'object', 'properties' => [ 'VpcId' => ['description' => 'The ID of the VPC.', 'type' => 'string', 'example' => 'vpc-f8ziib1019r9o0hdv2***', 'title' => ''], 'VSwitches' => [ 'description' => 'The list of vSwitches.', 'type' => 'array', 'items' => ['description' => 'The vSwitch ID.', 'type' => 'string', 'example' => '["vsw-f8zubs2z9x1cjnzk29***"]', 'title' => ''], 'title' => '', 'example' => '', ], 'SecurityGroupIDs' => [ 'description' => 'The IDs of the associated security groups.', 'type' => 'array', 'items' => ['description' => 'The ID of the associated security group.', 'type' => 'string', 'example' => '["sg-f8zubs2z9x1cj***"]', 'title' => ''], 'title' => '', 'example' => '', ], 'IPStack' => ['description' => 'The IP version that is supported. Valid values:'."\n" ."\n" .'- ipv4: IPv4'."\n" ."\n" .'- ipv6: IPv6'."\n" ."\n" .'- dual: IPv4 and IPv6', 'type' => 'string', 'example' => 'ipv4', 'title' => ''], 'ClusterDomain' => ['description' => 'The domain name of the cluster.', 'type' => 'string', 'example' => 'cluster.local', 'title' => ''], ], 'title' => '', 'example' => '', ], 'ApiServer' => [ 'description' => 'The information about the API server.', 'type' => 'object', 'properties' => [ 'EnabledPublic' => ['description' => 'Indicates whether the public endpoint of the API server is enabled. Valid values:'."\n" ."\n" .'- true: The public endpoint is enabled.'."\n" ."\n" .'- false: The public endpoint is disabled.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], 'LoadBalancerId' => ['description' => 'The ID of the Server Load Balancer (SLB) instance.', 'type' => 'string', 'example' => 'lb-hp3ioqbfeq37h13rwe***', 'title' => ''], 'ApiServerEipId' => ['description' => 'The EIP ID.', 'type' => 'string', 'example' => 'eip-abc****', 'title' => ''], ], 'title' => '', 'example' => '', ], 'MeshConfig' => [ 'description' => 'The configurations of the Service Mesh (ASM) instance.', 'type' => 'object', 'properties' => [ 'EnableMesh' => ['description' => 'Indicates whether Service Mesh (ASM) is enabled. Valid values:'."\n" ."\n" .'- true: ASM is enabled.'."\n" ."\n" .'- false: ASM is disabled.', 'type' => 'boolean', 'example' => 'false', 'title' => ''], 'MeshId' => ['description' => 'The ID of the Service Mesh (ASM) instance.', 'type' => 'string', 'example' => 'cb09fda0dc2f94a8397c76638c7ecf***'."\n", 'title' => ''], ], 'title' => '', 'example' => '', ], 'LogConfig' => [ 'description' => 'The log configurations.', 'type' => 'object', 'properties' => [ 'EnableLog' => ['description' => 'Indicates whether the audit log feature is enabled. Valid values:'."\n" ."\n" .'- true: The audit log feature is enabled.'."\n" ."\n" .'- false: The audit log feature is disabled.', 'type' => 'boolean', 'example' => 'false', 'title' => ''], 'LogProject' => ['description' => 'The name of the Simple Log Service project.', 'type' => 'string', 'example' => 'k8s-log-abc', 'title' => ''], 'LogStoreTTL' => ['description' => 'The number of days that logs are stored.', 'type' => 'string', 'example' => '7', 'title' => ''], ], 'title' => '', 'example' => '', ], 'Conditions' => [ 'description' => 'The list of conditions for cluster deletion.', 'type' => 'array', 'items' => [ 'description' => 'The condition for cluster deletion.', 'type' => 'object', 'properties' => [ 'Type' => ['description' => 'The type of the condition.', 'type' => 'string', 'example' => 'DeletionProtection', 'title' => ''], 'Status' => ['description' => 'The status of the condition. Valid values:'."\n" ."\n" .'- True: The cluster cannot be deleted.'."\n" ."\n" .'- False: The cluster can be deleted.'."\n" ."\n" .'- Unknown: The status is unknown.', 'type' => 'string', 'example' => 'True', 'title' => ''], 'Reason' => ['description' => 'The reason for the condition.', 'type' => 'string', 'example' => 'Successful', 'title' => ''], 'Message' => ['description' => 'The error message associated with the deletion condition.', 'type' => 'string', 'example' => 'Successful', 'title' => ''], ], 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], 'WorkflowConfig' => [ 'description' => 'The configurations of the workflow cluster.', 'type' => 'object', 'properties' => [ 'ArgoServerEnabled' => ['description' => 'Indicates whether the Argo Server UI is enabled. Valid values:'."\n" ."\n" .'- true: The Argo Server UI is enabled.'."\n" ."\n" .'- false: The Argo Server UI is disabled.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], 'WorkflowScheduleMode' => ['description' => 'The scheduling mode of the workflow. Valid values:'."\n" ."\n" .'- cost-optimized: cost-prioritized'."\n" ."\n" .'- stock-optimized: inventory-prioritized', 'type' => 'string', 'example' => 'cost-optimized', 'title' => ''], 'PriceLimit' => ['description' => 'The price limit for the workflow payload. This parameter is valid only when WorkflowScheduleMode is set to cost-optimized.', 'type' => 'string', 'example' => '0.08', 'title' => ''], 'WorkflowUnits' => [ 'description' => 'The list of region-specific configurations for the workflow cluster.', 'type' => 'array', 'items' => [ 'description' => 'The region-specific configuration for the workflow cluster.', 'type' => 'object', 'properties' => [ 'RegionId' => ['description' => 'The region ID.', 'type' => 'string', 'example' => 'cn-beijing', 'title' => ''], 'VpcId' => ['description' => 'The ID of the VPC.', 'type' => 'string', 'example' => 'vpc-f8zukabbkv5aw7zkm****', 'title' => ''], 'VSwitches' => [ 'description' => 'The list of vSwitches for the workflow cluster.', 'type' => 'array', 'items' => [ 'description' => 'The vSwitch for the workflow cluster.', 'type' => 'object', 'properties' => [ 'VswitchId' => ['description' => 'The vSwitch ID.', 'type' => 'string', 'example' => 'vsw-wz9sf0hsuizl7bxnj****', 'title' => ''], 'ZoneId' => ['description' => 'The zone ID.', 'type' => 'string', 'example' => 'cn-hangzhou-e', 'title' => ''], ], 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], ], 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], ], 'title' => '', 'example' => '', ], ], 'title' => '', 'example' => '', ], ], 'description' => 'The response body.', 'title' => '', 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ ['errorCode' => 'Cluster.NotFound', 'errorMessage' => 'Cluster Not Found', 'description' => 'The master instance does not exist.'], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], 'title' => 'DescribeHubClusterDetails', 'summary' => 'Describes the details of an ACK One fleet.', 'changeSet' => [ ['createdAt' => '2024-05-13T06:57:57.000Z', 'description' => 'Response parameters changed'], ['createdAt' => '2024-04-17T07:02:45.000Z', 'description' => 'Response parameters changed'], ['createdAt' => '2023-11-27T07:13:54.000Z', 'description' => 'Response parameters changed, Response parameters changed'], ['createdAt' => '2023-10-18T03:30:57.000Z', 'description' => 'Error codes changed'], ['createdAt' => '2022-06-11T05:51:37.000Z', 'description' => 'Response parameters changed'], ['createdAt' => '2021-12-30T14:07:34.000Z', 'description' => 'Response parameters changed'], ['createdAt' => '2021-12-30T14:07:34.000Z', 'description' => 'Response parameters changed'], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '1000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeHubClusterDetails'], ], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'adcp:DescribeHubClusterDetails', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'AckOne', 'resourceType' => 'Cluster', 'arn' => 'acs:adcp:{#regionId}:{#accountId}:cluster/{#ClusterId}'], ], ], ], ], '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"}]', 'translator' => 'machine', ], 'DescribeHubClusterKubeconfig' => [ '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.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'c102fe5f1ee5d4c87a68121a77d8b****', 'title' => ''], ], [ '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" ."\n" .'- `false`: obtains the kubeconfig file that is used to connect to the master instance over the Internet.'."\n" ."\n" .'Default value: `false`', 'type' => 'boolean', 'required' => false, 'example' => 'false', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => '5BE4C329-DCC2-5B61-8F66-112B7D7FC712', 'title' => ''], 'Kubeconfig' => ['description' => 'The content of the kubeconfig file.', '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", 'title' => ''], ], 'description' => 'The response body.', 'title' => '', 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], 'title' => '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.', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '500', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeHubClusterKubeconfig'], ], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'adcp:DescribeHubClusterKubeconfig', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'AckOne', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], '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"}]', 'translator' => 'manual', ], 'DescribeHubClusterLogs' => [ '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' => '', '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' => 'c9cb1d933b2ab47ff9cd25571477d****'], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => '', 'description' => 'The response parameters.'."\n", 'type' => 'object', 'properties' => [ 'RequestId' => ['title' => '', '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', 'title' => ''], 'ClusterId' => ['description' => 'The ID of the Fleet instance.'."\n", 'type' => 'string', 'example' => 'c102fe5f1ee5d4c87a68121a77d8b****', 'title' => ''], 'ClusterLog' => ['description' => 'The log of the Fleet instance.'."\n", 'type' => 'string', 'example' => 'Cluster Created', 'title' => ''], 'LogLevel' => ['description' => 'The log level. Valid values:'."\n" ."\n" .'* error'."\n" .'* warn'."\n" .'* info'."\n", 'type' => 'string', 'example' => 'info', 'title' => ''], ], 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], ], 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], 'title' => 'DescribeHubClusterLogs', 'summary' => 'Queries the logs of the Fleet instance of a multi-cluster fleet of Distributed Cloud Container Platform for Kubernetes (ACK One).', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '500', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeHubClusterLogs'], ], ], 'ramActions' => [ [ 'operationType' => 'list', 'ramAction' => [ 'action' => 'adcp:DescribeHubClusterLogs', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'AckOne', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], '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"}]', ], 'DescribeHubClusters' => [ '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', 'title' => ''], ], [ 'name' => 'ResourceGroupId', 'in' => 'query', 'schema' => ['description' => 'The resource group ID.'."\n", 'type' => 'string', 'required' => false, 'example' => 'rg-aek3dinj3xkf***', 'title' => ''], ], [ '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', 'title' => '', 'example' => ''], 'required' => false, 'title' => '', 'example' => '', ], ], ], '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', 'title' => ''], '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", 'title' => ''], 'PublicApiServerEndpoint' => ['description' => 'The public endpoint of the API server.'."\n", 'type' => 'string', 'example' => 'https://123.57.21.***:6443'."\n", 'title' => ''], ], 'title' => '', 'example' => '', ], 'ClusterInfo' => [ 'description' => 'The details of the cluster.'."\n", 'type' => 'object', 'properties' => [ 'Profile' => ['description' => 'The configurations of the cluster.'."\n", 'type' => 'string', 'example' => 'Default', 'title' => ''], 'CreationTime' => ['description' => 'The time when the cluster was created.'."\n", 'type' => 'string', 'example' => '2021-11-05T10:25:48Z', 'title' => ''], 'UpdateTime' => ['description' => 'The time when the cluster was last modified.'."\n", 'type' => 'string', 'example' => '2021-09-02T13:39:50Z', 'title' => ''], 'ErrorMessage' => ['description' => 'The error message that is returned if the cluster failed to be created.'."\n", 'type' => 'string', 'example' => 'Success', 'title' => ''], 'Version' => ['description' => 'The version of the cluster.'."\n", 'type' => 'string', 'example' => '1.22.3-aliyun.1'."\n", 'title' => ''], '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', 'title' => ''], 'ClusterId' => ['description' => 'The cluster ID.'."\n", 'type' => 'string', 'example' => 'c2d3e0121ea214b438010502a8019****', 'title' => ''], 'Name' => ['description' => 'The cluster name.'."\n", 'type' => 'string', 'example' => 'ackone-heyuan', 'title' => ''], 'RegionId' => ['description' => 'The region ID.'."\n", 'type' => 'string', 'example' => 'cn-beijing', 'title' => ''], 'ClusterSpec' => ['description' => 'The specifications of the cluster.'."\n" ."\n" .'* Only ack.pro.small may be returned.'."\n", 'type' => 'string', 'example' => 'ack.pro.small', 'title' => ''], 'ResourceGroupID' => ['description' => 'The resource group ID.'."\n", 'type' => 'string', 'example' => 'rg-dt6rk4xm1r6***', 'title' => ''], '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', 'title' => ''], 'Value' => ['description' => 'The tag value.'."\n", 'type' => 'string', 'example' => 'release', 'title' => ''], ], 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], ], 'title' => '', 'example' => '', ], '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****', 'title' => ''], '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****"]', 'title' => ''], 'title' => '', 'example' => '', ], 'SecurityGroupIDs' => [ 'description' => 'The security group IDs.'."\n", 'type' => 'array', 'items' => ['description' => 'The security group ID.'."\n", 'type' => 'string', 'example' => '["sg-2ze1h7tt2fgr****"]'."\n", 'title' => ''], 'title' => '', 'example' => '', ], 'ClusterDomain' => ['description' => 'The domain name of the cluster.'."\n", 'type' => 'string', 'example' => 'cluster.local', 'title' => ''], ], 'title' => '', 'example' => '', ], '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', 'title' => ''], 'LoadBalancerId' => ['description' => 'The ID of the Server Load Balancer (SLB) instance that is associated with the cluster.'."\n", 'type' => 'string', 'example' => 'lb-bp1qyp4l6bscqxw69****', 'title' => ''], 'ApiServerEipId' => ['description' => 'The elastic IP address (EIP) ID.'."\n", 'type' => 'string', 'example' => 'eip-xxx', 'title' => ''], ], 'title' => '', 'example' => '', ], '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', 'title' => ''], 'MeshId' => ['description' => 'The ASM instance ID.'."\n", 'type' => 'string', 'example' => 'c2d3e0121ea214b438010502a8019****', 'title' => ''], ], 'title' => '', 'example' => '', ], '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', 'title' => ''], 'LogProject' => ['description' => 'The name of the project in Simple Log Service.'."\n", 'type' => 'string', 'example' => 'audit-log-abc', 'title' => ''], 'LogStoreTTL' => ['description' => 'The number of days that logs are retained by Simple Log Service.'."\n", 'type' => 'string', 'example' => '7', 'title' => ''], ], 'title' => '', 'example' => '', ], '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', 'title' => ''], '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', 'title' => '', ], 'Reason' => ['description' => 'The reason for the deletion condition.'."\n", 'type' => 'string', 'example' => 'Successful', 'title' => ''], 'Message' => ['description' => 'The error message returned.'."\n", 'type' => 'string', 'example' => 'Successful!', 'title' => ''], ], 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], ], 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], ], 'title' => '', 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'title' => 'DescribeHubClusters', 'summary' => 'Queries the Fleet instances in the Distributed Cloud Container Platform for Kubernetes (ACK One) cluster.', 'changeSet' => [ ['createdAt' => '2024-05-13T06:51:16.000Z', 'description' => 'Request parameters changed, Response parameters changed'], ['createdAt' => '2024-04-17T07:02:45.000Z', 'description' => 'Request parameters changed, Response parameters changed'], ['createdAt' => '2022-09-22T03:28:55.000Z', 'description' => 'Request parameters changed'], ['createdAt' => '2022-06-11T05:51:37.000Z', 'description' => 'Response parameters changed'], ['createdAt' => '2021-12-30T14:03:48.000Z', 'description' => 'Response parameters changed'], ['createdAt' => '2021-12-30T14:03:48.000Z', 'description' => 'Response parameters changed'], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '500', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeHubClusters'], ], ], 'ramActions' => [ [ 'operationType' => 'list', 'ramAction' => [ 'action' => 'adcp:DescribeHubClusters', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'AckOne', 'resourceType' => 'Cluster', 'arn' => 'acs:adcp::{#accountId}:cluster/*'], ], ], ], ], '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"}]', ], 'DescribeManagedClusters' => [ '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' => '', 'description' => 'The fleet ID.', 'type' => 'string', 'required' => true, 'example' => 'c2f41fd4599454a9c9ad8b3daafe8****'], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'BDA85C7A-FC81-56C4-9BC2-9112EE970059', 'title' => ''], 'Clusters' => [ 'description' => 'The list of clusters.', 'type' => 'array', 'items' => [ 'description' => 'The details of the cluster.', 'type' => 'object', 'properties' => [ 'Cluster' => [ 'description' => 'The information about the cluster.', 'type' => 'object', 'properties' => [ 'Name' => ['description' => 'The name of the cluster.', 'type' => 'string', 'example' => 'ackone-heyuan', 'title' => ''], 'ClusterID' => ['description' => 'The cluster ID.', 'type' => 'string', 'example' => 'c2f41fd4599454a9c9ad8b3daafe8****', 'title' => ''], 'Region' => ['description' => 'The region ID of the cluster.', 'type' => 'string', 'example' => 'cn-hangzhou', 'title' => ''], 'State' => ['description' => 'The state of the member cluster. Valid values:'."\n" ."\n" .'- `initial`: The cluster is being initialized.'."\n" ."\n" .'- `failed`: The cluster failed to be created.'."\n" ."\n" .'- `running`: The cluster is running.'."\n" ."\n" .'- `inactive`: The cluster is pending activation.'."\n" ."\n" .'- `deleting`: The cluster is being deleted.'."\n" ."\n" .'- `delete_failed`: The cluster failed to be deleted.'."\n" ."\n" .'- `deleted`: The cluster is deleted.', 'type' => 'string', 'example' => 'running', 'title' => ''], 'ClusterType' => ['description' => 'The type of the cluster.', 'type' => 'string', 'example' => 'One', 'title' => ''], 'Created' => ['description' => 'The time when the cluster was created.', 'type' => 'string', 'example' => '2022-03-23T06:22:28Z', 'title' => ''], 'Updated' => ['description' => 'The time when the cluster was last updated.', 'type' => 'string', 'example' => '2022-03-23T06:22:28Z', 'title' => ''], 'InitVersion' => ['description' => 'The initial version of the cluster.', 'type' => 'string', 'example' => '1.20.4-aliyun.1', 'title' => ''], 'CurrentVersion' => ['description' => 'The current version of the cluster.', 'type' => 'string', 'example' => '1.22.3-aliyun.1', 'title' => ''], 'ResourceGroupId' => ['description' => 'The resource group ID.', 'type' => 'string', 'example' => 'rg-acfmx7o7ewy****', 'title' => ''], 'VpcID' => ['description' => 'The VPC ID.', 'type' => 'string', 'example' => 'vpc-bp1fhizs9fxuvit06****', 'title' => ''], 'VSwitchID' => ['description' => 'The virtual switch ID.', 'type' => 'string', 'example' => 'vsw-m5e0pbkgmhvzecf7e****', 'title' => ''], 'Profile' => ['description' => 'The cluster profile.', 'type' => 'string', 'example' => 'Default', 'title' => ''], 'ClusterSpec' => ['description' => 'The specification of the cluster. `ack.pro.small` indicates the Basic Edition.', 'type' => 'string', 'example' => 'ack.pro.small', 'title' => ''], ], 'title' => '', 'example' => '', ], 'Status' => [ 'description' => 'The state of the member cluster in the fleet.', 'type' => 'object', 'properties' => [ 'State' => ['description' => 'The state of the member cluster in the fleet. Valid values:'."\n" ."\n" .'- `Installing`: The cluster is being added to the fleet.'."\n" ."\n" .'- `Successed`: The cluster is added to the fleet.'."\n" ."\n" .'- `Failed`: The cluster failed to be added to the fleet.'."\n" ."\n" .'- `Deleting`: The cluster is being removed from the fleet.'."\n" ."\n" .'- `Deleted`: The cluster is removed from the fleet.', 'type' => 'string', 'example' => 'Successed', 'title' => ''], 'Message' => ['description' => 'The status message.', 'type' => 'string', 'example' => 'SUCCESS', 'title' => ''], ], 'title' => '', 'example' => '', ], 'MeshStatus' => [ 'description' => 'The state of the member cluster in the service mesh.', 'type' => 'object', 'properties' => [ 'InMesh' => ['description' => 'Indicates whether the member cluster is in the service mesh. Valid values:'."\n" ."\n" .'- `true`: The member cluster is in the service mesh instance.'."\n" ."\n" .'- `false`: The member cluster is not in the service mesh instance.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], ], 'title' => '', 'example' => '', ], ], 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], ], 'description' => 'The response body.', 'title' => '', 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], 'title' => 'Query the clusters that are associated with a master instance.', 'summary' => 'Queries the list of member clusters in an ACK One fleet instance.', 'changeSet' => [ ['createdAt' => '2021-12-30T14:07:34.000Z', 'description' => 'Response parameters changed'], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '500', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeManagedClusters'], ], ], 'ramActions' => [ [ 'operationType' => 'list', 'ramAction' => [ 'action' => 'adcp:DescribeManagedClusters', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'AckOne', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], '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"}]', 'translator' => 'machine', ], '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' => '', 'description' => 'Schema of Response'."\n", 'type' => 'object', 'properties' => [ 'RequestId' => ['title' => '', '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', 'title' => ''], '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', 'title' => ''], 'title' => '', 'example' => '', ], ], 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], ], 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'title' => 'DescribePolicies', 'changeSet' => [ ['createdAt' => '2023-04-26T03:07:42.000Z', 'description' => 'OpenAPI offline'], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '500', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribePolicies'], ], ], 'ramActions' => [ [ 'operationType' => 'list', 'ramAction' => [ 'action' => 'adcp:DescribePolicies', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'AckOne', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], '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"}]', ], '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.', 'type' => 'string', 'docRequired' => true, 'required' => true, 'example' => 'ACKAllowedRepos', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => '', 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ 'RequestId' => ['title' => '', 'description' => 'The request ID.', 'type' => 'string', 'example' => '2D676EFC-8C04-5CCE-A08E-BB97D24B47E8'], 'Policy' => [ 'description' => 'The policies.', 'type' => 'object', 'properties' => [ 'Name' => ['description' => 'The name of the policy.', 'type' => 'string', 'example' => 'ACKAllowedRepos', 'title' => ''], 'Category' => ['description' => 'The type of the policy.', 'type' => 'string', 'example' => 'k8s-general'."\n", 'title' => ''], 'Description' => ['description' => 'The description of the policy.', 'type' => 'string', 'example' => 'Requires container images to begin with a repo string from a specified list'."\n", 'title' => ''], 'Action' => ['description' => 'The action of the policy. Valid values:'."\n" ."\n" .'- enforce: blocks deployments that match the policy.'."\n" ."\n" .'- inform: generates alerts for deployments that match the policy.', 'type' => 'string', 'example' => 'enforce', 'title' => ''], 'Severity' => ['description' => 'The severity level of the policy.', 'type' => 'string', 'example' => 'high', 'title' => ''], 'Template' => ['description' => 'The content of the policy.', 'type' => 'string', 'example' => 'The content of the policy.', 'title' => ''], 'NoConfig' => ['description' => 'Indicates whether parameters are required. Valid values:'."\n" ."\n" .'- 0: Parameters are required.'."\n" ."\n" .'- 1: Parameters are not required.', 'type' => 'integer', 'format' => 'int32', 'example' => '0', 'title' => ''], 'Created' => ['description' => 'The time when the policy was created.', 'type' => 'string', 'example' => '2021-11-18T10:52:17+08:00', 'title' => ''], 'Updated' => ['description' => 'The time when the policy was last updated.', 'type' => 'string', 'example' => '2021-11-18T10:52:17+08:00', 'title' => ''], ], 'title' => '', 'example' => '', ], ], 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], 'title' => 'DescribePolicyDetails', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '500', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribePolicyDetails'], ], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'adcp:DescribePolicyDetails', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'AckOne', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], '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\\": \\"The content of the policy.\\",\\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"}]', 'translator' => 'manual', ], 'DescribePolicyGovernanceInCluster' => [ '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****', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => '', 'description' => 'Schema of Response'."\n", 'type' => 'object', 'properties' => [ 'RequestId' => ['title' => '', '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****', 'title' => ''], 'Name' => ['description' => 'The name of the associated cluster.'."\n", 'type' => 'string', 'example' => 'ack-001', 'title' => ''], 'RegionId' => ['description' => 'The region ID of the associated cluster.'."\n", 'type' => 'string', 'example' => 'cn-heyuan', 'title' => ''], 'State' => ['description' => 'The status of the associated cluster.'."\n", 'type' => 'string', 'example' => 'running', 'title' => ''], 'ClusterType' => ['description' => 'The type of the associated cluster.'."\n", 'type' => 'string', 'example' => 'ManagedKubernetes', 'title' => ''], 'ClusterSpec' => ['description' => 'The specifications of the associated cluster.'."\n", 'type' => 'string', 'example' => 'ack.pro.small ', 'title' => ''], 'Profile' => ['description' => 'The identifier of the associated cluster.'."\n", 'type' => 'string', 'example' => 'Default', 'title' => ''], ], 'title' => '', 'example' => '', ], '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', 'title' => ''], 'TotalCount' => ['description' => 'The types of policies of each severity level.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '2', 'title' => ''], 'Severity' => ['description' => 'The severity level.'."\n", 'type' => 'string', 'example' => 'low', 'title' => ''], ], 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], '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', 'title' => ''], 'Count' => ['description' => 'The number of log entries in the query result.'."\n", 'type' => 'string', 'example' => '100', 'title' => ''], '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", 'title' => ''], 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], 'LogProject' => ['description' => 'The name of the Log Service project.'."\n", 'type' => 'string', 'example' => 'demo', 'title' => ''], 'LogStore' => ['description' => 'The name of the Logstore.'."\n", 'type' => 'string', 'example' => 'demo', 'title' => ''], ], 'title' => '', 'example' => '', ], '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', 'title' => ''], 'Violations' => ['description' => 'The number of deployments that are blocked.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '2', 'title' => ''], ], 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], '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', 'title' => ''], 'Violations' => ['description' => 'The number of deployments that have triggered alerting.'."\n", 'type' => 'string', 'example' => '2', 'title' => ''], ], 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], ], 'title' => '', 'example' => '', ], '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', 'title' => ''], 'PolicyDescription' => ['description' => 'The description of the policy.'."\n", 'type' => 'string', 'example' => 'Restricts secrets used in pod envs'."\n", 'title' => ''], 'Severity' => ['description' => 'The severity level of the policy.'."\n", 'type' => 'string', 'example' => 'low', 'title' => ''], 'Violations' => ['description' => 'The number of times that the policy blocks deployments.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '2', 'title' => ''], ], 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], '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', 'title' => ''], 'PolicyDescription' => ['description' => 'The description of the policy.'."\n", 'type' => 'string', 'example' => 'Restricts secrets used in pod envs'."\n", 'title' => ''], 'Severity' => ['description' => 'The severity level of the policy.'."\n", 'type' => 'string', 'example' => 'low', 'title' => ''], 'Violations' => ['description' => 'The number of times that the policy generates alerts.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '2', 'title' => ''], ], 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], ], 'title' => '', 'example' => '', ], ], 'title' => '', 'example' => '', ], ], 'title' => '', 'example' => '', ], ], 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], ], 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], 'title' => 'DescribePolicyGovernanceInCluster', 'summary' => 'Queries detailed information about the policies used by the clusters that are associated with a master instance.', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '500', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribePolicyGovernanceInCluster'], ], ], 'ramActions' => [ [ 'operationType' => 'list', 'ramAction' => [ 'action' => 'adcp:DescribePolicyGovernanceInCluster', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'AckOne', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], '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"}]', ], 'DescribePolicyInstances' => [ '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', 'title' => ''], ], [ 'name' => 'ClusterId', 'in' => 'query', 'schema' => ['description' => 'The ID of the master instance.'."\n", 'type' => 'string', 'required' => true, 'example' => 'c102fe5f1ee5d4c87a68121a77d8b****', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => '', 'description' => 'Schema of Response'."\n", 'type' => 'object', 'properties' => [ 'RequestId' => ['title' => '', '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', 'title' => ''], 'InstanceName' => ['description' => 'The name of the policy instance.'."\n", 'type' => 'string', 'example' => 'no-env-var-secrets-****'."\n", 'title' => ''], 'PolicyCategory' => ['description' => 'The type of the policy.'."\n", 'type' => 'string', 'example' => 'k8s-general'."\n", 'title' => ''], 'PolicyDescription' => ['description' => 'The description of the policy.'."\n", 'type' => 'string', 'example' => 'Restricts secrets used in pod envs'."\n", 'title' => ''], 'PolicySeverity' => ['description' => 'The severity level of the policy.'."\n", 'type' => 'string', 'example' => 'low', 'title' => ''], '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' => '*', 'title' => ''], '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', 'title' => ''], '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', 'title' => ''], 'ClusterId' => ['description' => 'The ID of the associated cluster.'."\n", 'type' => 'string', 'example' => 'cd0e6882394f7496589837cac3585****', 'title' => ''], '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", 'title' => ''], 'title' => '', 'example' => '', ], ], 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], ], 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], 'title' => 'DescribePolicyInstances', 'summary' => 'Queries policy instances that are deployed in the clusters associated with a master instance.', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '500', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribePolicyInstances'], ], ], 'ramActions' => [ [ 'operationType' => 'list', 'ramAction' => [ 'action' => 'adcp:DescribePolicyInstances', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'AckOne', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], '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"}]', ], 'DescribePolicyInstancesStatus' => [ '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****', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => '', 'description' => 'The response object.'."\n", 'type' => 'object', 'properties' => [ 'RequestId' => ['title' => '', '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', 'title' => ''], 'PolicyCategory' => ['description' => 'The type of the policy.'."\n", 'type' => 'string', 'example' => 'compliance'."\n", 'title' => ''], 'PolicyDescription' => ['description' => 'The description of the policy.'."\n", 'type' => 'string', 'example' => 'Restricts use of the cluster-admin role.'."\n", 'title' => ''], 'PolicySeverity' => ['description' => 'The severity level of the policy.'."\n", 'type' => 'string', 'example' => 'low', 'title' => ''], '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', 'title' => ''], '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****', 'title' => ''], 'Status' => ['description' => 'The status of the policy deployment.'."\n", 'type' => 'string', 'example' => 'Success', 'title' => ''], ], 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], ], 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], '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', 'title' => ''], 'SeverityCount' => ['description' => 'The number of policy instances.'."\n", 'type' => 'string', 'example' => '2', 'title' => ''], ], 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], ], 'title' => '', 'example' => '', ], ], 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], 'title' => 'DescribePolicyInstancesStatus', 'summary' => 'Queries detailed information about policy instances that are deployed in the clusters associated with a master instance.', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '500', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribePolicyInstancesStatus'], ], ], 'ramActions' => [ [ 'operationType' => 'list', 'ramAction' => [ 'action' => 'adcp:DescribePolicyInstancesStatus', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'AckOne', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], '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"}]', ], 'DescribeRegions' => [ '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:'."\n" ."\n" .'- `zh`: Chinese.'."\n" ."\n" .'- `en`: English.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'en'], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => '', 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ 'RequestId' => ['title' => '', 'description' => 'The request ID.', 'type' => 'string', 'example' => 'C0EE05F4-6C1D-5993-B028-B569F9ED6B51'], 'Regions' => [ 'description' => 'A list of regions.', 'type' => 'array', 'items' => [ 'description' => 'Region data.', 'type' => 'object', 'properties' => [ 'RegionId' => ['description' => 'The region ID.', 'type' => 'string', 'title' => '', 'example' => 'cn-hangzhou'], 'LocalName' => ['description' => 'The region name.', 'type' => 'string', 'title' => '', 'example' => 'China (Hangzhou)'], ], 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], ], 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], 'title' => 'DescribeRegions', 'summary' => 'Describes the available regions.', 'changeSet' => [ ['createdAt' => '2022-03-15T07:07:39.000Z', 'description' => 'Request parameters changed, Response parameters changed'], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '500', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeRegions'], ], ], 'ramActions' => [], '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"}]', 'translator' => 'machine', ], 'DescribeUserPermissions' => [ '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", 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => '', 'description' => 'Schema of Response'."\n", 'type' => 'object', 'properties' => [ 'RequestId' => ['title' => '', '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', 'title' => ''], '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', 'title' => ''], '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', 'title' => ''], '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****', 'title' => ''], ], 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], ], 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], 'title' => 'DescribeUserPermissions', 'summary' => 'Query the permissions of a Resource Access Management (RAM) user.', 'changeSet' => [ ['createdAt' => '2023-03-16T01:38:38.000Z', 'description' => 'Response parameters changed'], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '500', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeUserPermissions'], ], ], 'ramActions' => [ [ 'operationType' => 'list', 'ramAction' => [ 'action' => 'adcp:DescribeUserPermissions', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'AckOne', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], '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"}]', ], 'DetachClusterFromHub' => [ '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 fleet ID. You can call the [DescribeHubClusters](~~424404~~) operation to obtain the IDs of created fleet instances.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cb09fda0dc2f94a8397c76638c7ec****', 'title' => ''], ], [ 'name' => 'ClusterIds', 'in' => 'formData', 'schema' => ['description' => 'The array of IDs for the child clusters to remove from the fleet. You can call the [DescribeManagedClusters](~~424408~~) operation to obtain the IDs of child clusters that are added to the fleet.'."\n" ."\n" .'The value is a JSON string that can be parsed into a string array.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '["c1c731554c1ec4a1ca9bb690ff9ed****"]', 'title' => ''], ], [ 'name' => 'DetachFromMesh', 'in' => 'query', 'schema' => ['description' => 'Specifies whether to remove the child cluster only from the Service Mesh (ASM) instance.'."\n" ."\n" .'- true: Removes the child cluster only from the ASM instance.'."\n" ."\n" .'- false: Removes the child cluster from both the ASM instance and ACK One.'."\n" ."\n" .'If this parameter is not set, the default value is **false**. The child cluster is removed from both the ASM instance and ACK One.', 'type' => 'boolean', 'required' => false, 'example' => 'false', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '4412F213-DBCD-5D1B-A9A1-F6C26C6C19D9', 'title' => ''], 'ClusterId' => ['description' => 'The fleet ID.', 'type' => 'string', 'example' => 'cc490b1e67ccc43a784727f29f33e****', 'title' => ''], 'ManagedClusterIds' => [ 'description' => 'A list of child clusters.', 'type' => 'array', 'items' => ['description' => 'The ID of the child cluster.', 'type' => 'string', 'example' => '[\'c33106e9aeebd480c84da7ec6873a****\']', 'title' => ''], 'title' => '', 'example' => '', ], 'TaskId' => ['description' => 'The task ID.', 'type' => 'string', 'example' => 'T-623a96b7bbeaac074b00****', 'title' => ''], ], 'description' => 'The response body.', 'title' => '', 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], 'title' => 'DetachClusterFromHub', 'summary' => 'Removes an ACK child cluster from an ACK One fleet instance.', 'extraInfo' => '控制台相关操作,请参见[管理关联集群](~~415167~~)。', 'changeSet' => [ ['createdAt' => '2022-07-04T02:06:54.000Z', 'description' => 'Response parameters changed'], ['createdAt' => '2021-12-31T00:42:07.000Z', 'description' => 'Request parameters changed'], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '500', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DetachClusterFromHub'], ], ], 'ramActions' => [ [ 'operationType' => 'update', 'ramAction' => [ 'action' => 'adcp:DetachClusterFromHub', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'AckOne', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], '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"}]', 'translator' => 'machine', ], 'GrantUserPermission' => [ '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'], 'title' => '', ], ], [ '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' => [], 'title' => '', ], ], [ 'name' => 'ClusterId', 'in' => 'query', 'schema' => ['description' => 'The cluster ID.'."\n", 'type' => 'string', 'required' => true, 'example' => 'c102fe5f1ee5d4c87a68121a77d8b****', 'title' => ''], ], [ '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', 'title' => ''], ], [ 'name' => 'UserId', 'in' => 'query', 'schema' => ['description' => 'The ID of the RAM user or RAM role.'."\n", 'type' => 'string', 'required' => true, 'example' => '2176****', 'title' => ''], ], [ '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', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => '', 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ 'RequestId' => ['title' => '', 'description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '2D676EFC-8C04-5CCE-A08E-BB97D24B47E8'], ], 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], 'title' => '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.', '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", 'changeSet' => [ ['createdAt' => '2023-07-28T07:12:14.000Z', 'description' => 'Request parameters changed'], ['createdAt' => '2023-05-22T04:01:33.000Z', 'description' => 'Request parameters changed'], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '500', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GrantUserPermission'], ], ], 'ramActions' => [ [ 'operationType' => 'create', 'ramAction' => [ 'action' => 'adcp:GrantUserPermission', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'AckOne', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"2D676EFC-8C04-5CCE-A08E-BB97D24B47E8\\"\\n}","type":"json"}]', ], 'UpdateHubClusterFeature' => [ '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' => '', 'description' => 'The fleet ID. You can call the [DescribeHubClusters](~~424404~~) operation to query the IDs of created fleet instances.', 'type' => 'string', 'required' => true, 'example' => 'c46979b1075f04d99b5f2b710393e5****'], ], [ 'name' => 'Name', 'in' => 'query', 'schema' => ['description' => 'The fleet name. The name must be 1 to 63 characters in length and must start with a letter. The name can contain digits, underscores (_), or hyphens (-).', 'type' => 'string', 'required' => false, 'example' => 'ack-demo', 'title' => ''], ], [ 'name' => 'AuditLogEnabled', 'in' => 'query', 'allowEmptyValue' => true, 'schema' => ['description' => 'Specifies whether to enable audit logging. Valid values:'."\n" ."\n" .'- true: Enabled.'."\n" .'- false: Disabled.', 'type' => 'boolean', 'required' => false, 'example' => 'true', 'title' => ''], ], [ 'name' => 'EnableMesh', 'in' => 'query', 'allowEmptyValue' => true, 'schema' => ['description' => 'Specifies whether to enable Alibaba Cloud Service Mesh (ASM). Valid values:'."\n" ."\n" .'- true: Enabled.'."\n" .'- false: Disabled.', 'type' => 'boolean', 'required' => false, 'example' => 'true', 'title' => ''], ], [ 'name' => 'DeletionProtection', 'in' => 'query', 'allowEmptyValue' => true, 'schema' => ['description' => 'Specifies whether to enable deletion protection for the fleet. If deletion protection is enabled, the fleet cannot be deleted in the console or by calling the [DeleteHubCluster](~~424406~~) operation. Valid values:'."\n" ."\n" .'- true: Enabled.'."\n" .'- false: Disabled.'."\n" ."\n" .'Default value: false.', 'type' => 'boolean', 'required' => false, 'example' => 'true', 'title' => ''], ], [ 'name' => 'PublicApiServerEnabled', 'in' => 'query', 'allowEmptyValue' => true, 'schema' => ['description' => 'Specifies whether to attach a public IP address to the API server. Valid values:'."\n" ."\n" .'- true: Attaches a public Elastic IP Address (EIP). You can specify the ApiServerEipId parameter to use an existing EIP. If you do not specify this parameter, the system uses automatic creation of an EIP instance.'."\n" .'- false: Detaches the public EIP.', 'type' => 'boolean', 'required' => false, 'example' => 'true', 'title' => ''], ], [ 'name' => 'ApiServerEipId', 'in' => 'query', 'allowEmptyValue' => true, 'schema' => ['description' => 'The EIP instance ID.', 'type' => 'string', 'required' => false, 'example' => 'eip-xxx', 'title' => ''], ], [ 'name' => 'ArgoCDEnabled', 'in' => 'query', 'allowEmptyValue' => true, 'schema' => ['description' => 'Specifies whether to enable ArgoCD. This parameter takes effect only when Profile is set to XFlow. You can call the [DescribeHubClusterDetails](~~424405~~) operation to query the Profile parameter.'."\n" ."\n" .'Valid values:'."\n" .'- true: Enabled.'."\n" .'- false: Disabled.', 'type' => 'boolean', 'required' => false, 'example' => 'true', 'title' => ''], ], [ 'name' => 'ArgoServerEnabled', 'in' => 'query', 'allowEmptyValue' => true, 'schema' => ['description' => 'Specifies whether to enable the workflow instance UI. This parameter takes effect only when Profile is set to XFlow. You can call the [DescribeHubClusterDetails](~~424405~~) operation to query the Profile parameter.'."\n" ."\n" .'Valid values:'."\n" .'- true: Enabled.'."\n" .'- false: Disabled.', 'type' => 'boolean', 'required' => false, 'example' => 'true', 'title' => ''], ], [ 'name' => 'WorkflowScheduleMode', 'in' => 'query', 'allowEmptyValue' => true, 'schema' => ['description' => 'The workflow scheduling mode. This parameter takes effect only when Profile is set to XFlow. You can call the [DescribeHubClusterDetails](~~424405~~) operation to query the Profile parameter.'."\n" ."\n" .'Valid values:'."\n" .'- cost-optimized: cost first.'."\n" .'- stock-optimized: inventory first.', 'type' => 'string', 'required' => false, 'example' => 'cost-optimized', 'title' => ''], ], [ 'name' => 'PriceLimit', 'in' => 'query', 'allowEmptyValue' => true, 'schema' => ['description' => 'The price limit for workflow workloads. This parameter takes effect only when WorkflowScheduleMode is set to cost-optimized.', 'type' => 'string', 'required' => false, 'example' => '0.08', 'title' => ''], ], [ 'name' => 'VSwitches', 'in' => 'query', 'style' => 'json', 'schema' => [ 'description' => 'The list of vSwitches.', 'type' => 'array', 'items' => ['description' => 'The vSwitch ID.', 'type' => 'string', 'required' => false, 'example' => '["vsw-2zeaijsas4zkzz81xm***"]', 'title' => ''], 'required' => false, 'title' => '', 'example' => '', ], ], [ 'name' => 'ArgoCDHAEnabled', 'in' => 'query', 'schema' => ['description' => 'Specifies whether to enable high availability for ArgoCD. Valid values:'."\n" ."\n" .'- true: Enabled.'."\n" .'- false: Disabled.', 'type' => 'boolean', 'required' => false, 'example' => 'true', 'title' => ''], ], [ 'name' => 'PublicAccessEnabled', 'in' => 'query', 'schema' => ['description' => 'Specifies whether to enable public domain name resolution for the ArgoCD or Argo Workflow console. Valid values:'."\n" ."\n" .'- true: Enabled.'."\n" .'- false: Disabled.', 'type' => 'boolean', 'required' => false, 'example' => 'true', 'title' => ''], ], [ 'name' => 'AccessControlList', 'in' => 'query', 'style' => 'json', 'schema' => [ 'description' => 'The access control list (ACL) for public network access. This parameter takes effect only when PublicAccessEnabled is set to true.', 'type' => 'array', 'items' => ['description' => 'The CIDR block for public network access restriction. Example: 192.168.1.0/24.', 'type' => 'string', 'required' => false, 'example' => '["192.168.1.0/24"]', 'title' => ''], 'required' => false, 'title' => '', 'example' => '', ], ], [ 'name' => 'ArgoEventsEnabled', 'in' => 'query', 'schema' => ['description' => 'Specifies whether to enable ArgoEvents. Valid values:'."\n" ."\n" .'- true: Enabled.'."\n" .'- false: Disabled.', 'type' => 'boolean', 'required' => false, 'example' => 'true', 'title' => ''], ], [ 'name' => 'GatewayEnabled', 'in' => 'query', 'schema' => ['description' => 'Specifies whether to enable the Gateway feature. Valid values:'."\n" ."\n" .'- true: Enabled.'."\n" .'- false: Disabled.', 'type' => 'boolean', 'required' => false, 'example' => 'true', 'title' => ''], ], [ 'name' => 'TrainOperatorEnabled', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['description' => 'Specifies whether to enable the machine learning training task orchestration feature. Valid values:'."\n" ."\n" .'- true: Enabled.'."\n" .'- false: Disabled.', 'type' => 'boolean', 'required' => false, 'example' => 'true', 'title' => ''], ], [ 'name' => 'CostInsightsEnabled', 'in' => 'query', 'schema' => ['description' => 'Specifies whether to enable the cost insights feature. Valid values:'."\n" ."\n" .'- true: Enabled.'."\n" .'- false: Disabled.', 'type' => 'boolean', 'required' => false, 'example' => 'true', 'title' => ''], ], [ 'name' => 'FluidEnabled', 'in' => 'query', 'schema' => ['type' => 'boolean', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], ], [ 'name' => 'RRSAEnabled', 'in' => 'query', 'schema' => ['type' => 'boolean', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], ], [ 'name' => 'SparkOperatorEnabled', 'in' => 'query', 'schema' => ['type' => 'boolean', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], ], [ 'name' => 'KubeRayEnabled', 'in' => 'query', 'schema' => ['type' => 'boolean', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], ], [ 'name' => 'MCSandboxEnabled', 'in' => 'query', 'schema' => ['type' => 'boolean', 'description' => '', 'title' => '', 'example' => ''], ], [ 'name' => 'GatewayAPIEnabled', 'in' => 'query', 'schema' => ['type' => 'boolean', 'description' => '', 'title' => '', 'example' => ''], ], [ 'name' => 'EnvoyGatewayEnabled', 'in' => 'query', 'schema' => ['type' => 'boolean', 'description' => '', 'title' => '', 'example' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => '', 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ 'RequestId' => ['title' => '', 'description' => 'The request ID.', 'type' => 'string', 'example' => '52C1B7DF-96C1-5214-97B6-1B0859FEAFE5'], ], 'example' => '', ], ], ], 'title' => 'Update fleet features', 'summary' => 'Updates the features of a fleet.', 'changeSet' => [ ['createdAt' => '2025-05-22T09:37:53.000Z', 'description' => 'Request parameters changed'], ['createdAt' => '2025-03-26T09:43:16.000Z', 'description' => 'Request parameters changed'], ['createdAt' => '2025-02-19T06:39:20.000Z', 'description' => 'Request parameters changed'], ['createdAt' => '2023-11-14T03:26:36.000Z', 'description' => 'Request parameters changed'], ['createdAt' => '2023-10-11T09:19:59.000Z', 'description' => 'Request parameters changed'], ['createdAt' => '2023-09-13T06:04:59.000Z', 'description' => 'Request parameters changed'], ['createdAt' => '2023-08-02T06:18:05.000Z', 'description' => 'Request parameters changed'], ['createdAt' => '2023-06-07T07:57:41.000Z', 'description' => 'Response parameters changed'], ['createdAt' => '2023-01-04T02:55:31.000Z', 'description' => 'Request parameters changed, Response parameters changed'], ['createdAt' => '2022-09-20T02:28:33.000Z', 'description' => 'Request parameters changed'], ['createdAt' => '2022-06-13T10:48:16.000Z', 'description' => 'Request parameters changed'], ['createdAt' => '2022-04-22T03:02:08.000Z', 'description' => 'OpenAPI offline'], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '500', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateHubClusterFeature'], ], ], 'ramActions' => [ [ 'operationType' => 'update', 'ramAction' => [ 'action' => 'adcp:UpdateHubClusterFeature', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'AckOne', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"52C1B7DF-96C1-5214-97B6-1B0859FEAFE5\\"\\n}","type":"json"}]', ], 'UpdateUserPermission' => [ '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'], 'title' => '', ], ], [ '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'], 'title' => '', ], ], [ 'name' => 'ClusterId', 'in' => 'query', 'schema' => ['description' => 'The ID of the master instance.'."\n", 'type' => 'string', 'required' => true, 'example' => 'c8e28143817db4b039b8548d7c899****', 'title' => ''], ], [ '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', 'title' => ''], ], [ 'name' => 'UserId', 'in' => 'query', 'schema' => ['description' => 'The ID of the RAM user.'."\n", 'type' => 'string', 'required' => true, 'example' => '2176****', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => '', 'description' => 'Schema of Response'."\n", 'type' => 'object', 'properties' => [ 'RequestId' => ['title' => '', 'description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '62F5AA2B-A2C9-5135-BCE2-C2167099****'], ], 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], 'title' => 'UpdateUserPermission', 'summary' => 'Updates the role-based access control (RBAC) permissions of a RAM user.', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '500', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateUserPermission'], ], ], 'ramActions' => [ [ 'operationType' => 'update', 'ramAction' => [ 'action' => 'adcp:UpdateUserPermission', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'AckOne', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"62F5AA2B-A2C9-5135-BCE2-C2167099****\\"\\n}","type":"json"}]', ], ], 'endpoints' => [ ['regionId' => 'cn-beijing', 'regionName' => 'China (Beijing)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'adcp.cn-beijing.aliyuncs.com', 'endpoint' => 'adcp.cn-beijing.aliyuncs.com', 'vpc' => 'adcp-vpc.cn-beijing.aliyuncs.com'], ['regionId' => 'cn-shanghai', 'regionName' => 'China (Shanghai)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'adcp.cn-shanghai.aliyuncs.com', 'endpoint' => 'adcp.cn-shanghai.aliyuncs.com', 'vpc' => 'adcp-vpc.cn-shanghai.aliyuncs.com'], ['regionId' => 'cn-hongkong', 'regionName' => 'China (Hong Kong)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'adcp.cn-hongkong.aliyuncs.com', 'endpoint' => 'adcp.cn-hongkong.aliyuncs.com', 'vpc' => 'adcp-vpc.cn-hongkong.aliyuncs.com'], ['regionId' => 'cn-heyuan', 'regionName' => 'China (Heyuan)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'adcp.cn-heyuan.aliyuncs.com', 'endpoint' => 'adcp.cn-heyuan.aliyuncs.com', 'vpc' => 'adcp-vpc.cn-heyuan.aliyuncs.com'], ['regionId' => 'cn-zhangjiakou', 'regionName' => 'China (Zhangjiakou)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'adcp.cn-zhangjiakou.aliyuncs.com', 'endpoint' => 'adcp.cn-zhangjiakou.aliyuncs.com', 'vpc' => 'adcp-vpc.cn-zhangjiakou.aliyuncs.com'], ['regionId' => 'cn-shenzhen', 'regionName' => 'China (Shenzhen)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'adcp.cn-shenzhen.aliyuncs.com', 'endpoint' => 'adcp.cn-shenzhen.aliyuncs.com', 'vpc' => 'adcp-vpc.cn-shenzhen.aliyuncs.com'], ['regionId' => 'ap-northeast-1', 'regionName' => 'Japan (Tokyo)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'adcp.ap-northeast-1.aliyuncs.com', 'endpoint' => 'adcp.ap-northeast-1.aliyuncs.com', 'vpc' => 'adcp-vpc.ap-northeast-1.aliyuncs.com'], ['regionId' => 'ap-southeast-1', 'regionName' => 'Singapore', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'adcp.ap-southeast-1.aliyuncs.com', 'endpoint' => 'adcp.ap-southeast-1.aliyuncs.com', 'vpc' => 'adcp-vpc.ap-southeast-1.aliyuncs.com'], ['regionId' => 'ap-southeast-5', 'regionName' => 'Indonesia (Jakarta)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'adcp.ap-southeast-5.aliyuncs.com', 'endpoint' => 'adcp.ap-southeast-5.aliyuncs.com', 'vpc' => 'adcp-vpc.ap-southeast-5.aliyuncs.com'], ['regionId' => 'cn-hangzhou', 'regionName' => 'China (Hangzhou)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'adcp.cn-hangzhou.aliyuncs.com', 'endpoint' => 'adcp.cn-hangzhou.aliyuncs.com', 'vpc' => 'adcp-vpc.cn-hangzhou.aliyuncs.com'], ['regionId' => 'me-central-1', 'regionName' => 'Saudi Arabia (Riyadh)', 'areaId' => 'middleEast', 'areaName' => 'Middle East', 'public' => 'adcp.me-central-1.aliyuncs.com', 'endpoint' => 'adcp.me-central-1.aliyuncs.com', 'vpc' => 'adcp-vpc.me-central-1.aliyuncs.com'], ['regionId' => 'cn-shenzhen-finance-1', 'regionName' => 'China South 1 Finance', 'areaId' => 'industryCloud', 'areaName' => 'Industry Cloud', 'public' => 'adcp.cn-shenzhen-finance-1.aliyuncs.com', 'endpoint' => 'adcp.cn-shenzhen-finance-1.aliyuncs.com', 'vpc' => 'adcp-vpc.cn-shenzhen-finance-1.aliyuncs.com'], ['regionId' => 'cn-shanghai-finance-1', 'regionName' => 'China East 2 Finance', 'areaId' => 'industryCloud', 'areaName' => 'Industry Cloud', 'public' => 'adcp.cn-shanghai-finance-1.aliyuncs.com', 'endpoint' => 'adcp.cn-shanghai-finance-1.aliyuncs.com', 'vpc' => 'adcp-vpc.cn-shanghai-finance-1.aliyuncs.com'], ], 'errorCodes' => [ ['code' => 'Cluster.NotFound', 'message' => 'Cluster Not Found', 'http_code' => 400, 'description' => 'The master instance does not exist.'], ['code' => 'Cluster.NotFound', 'message' => 'Cluster Not Found.', 'http_code' => 400, 'description' => 'The master instance does not exist.'], ], 'changeSet' => [ [ 'apis' => [ ['description' => 'Request parameters changed', 'api' => 'UpdateHubClusterFeature'], ], 'createdAt' => '2025-02-19T06:39:29.000Z', 'description' => '', ], [ 'apis' => [ ['description' => 'Request parameters changed', 'api' => 'CreateHubCluster'], ['description' => 'Response parameters changed', 'api' => 'DescribeHubClusterDetails'], ], 'createdAt' => '2024-05-13T06:58:04.000Z', 'description' => '', ], [ 'apis' => [ ['description' => 'Request parameters changed, Response parameters changed', 'api' => 'DescribeHubClusters'], ], 'createdAt' => '2024-05-13T06:51:23.000Z', 'description' => '', ], [ 'apis' => [ ['description' => 'Response parameters changed', 'api' => 'DescribeHubClusterDetails'], ['description' => 'Request parameters changed, Response parameters changed', 'api' => 'DescribeHubClusters'], ], 'createdAt' => '2024-04-17T07:02:53.000Z', 'description' => '', ], [ 'apis' => [ ['description' => 'Request parameters changed', 'api' => 'CreateHubCluster'], ], 'createdAt' => '2024-04-16T07:55:55.000Z', 'description' => '', ], [ 'apis' => [ ['description' => 'Response parameters changed, Response parameters changed', 'api' => 'DescribeHubClusterDetails'], ], 'createdAt' => '2023-11-27T07:14:03.000Z', 'description' => '', ], [ 'apis' => [ ['description' => 'Request parameters changed', 'api' => 'UpdateHubClusterFeature'], ], 'createdAt' => '2023-11-14T03:26:43.000Z', 'description' => '', ], [ 'apis' => [ ['description' => 'Response parameters changed', 'api' => 'CreateHubCluster'], ['description' => 'Response parameters changed', 'api' => 'DeleteHubCluster'], ['description' => 'Error codes changed', 'api' => 'DescribeHubClusterDetails'], ], 'createdAt' => '2023-10-18T03:31:06.000Z', 'description' => '', ], [ 'apis' => [ ['description' => 'Request parameters changed', 'api' => 'UpdateHubClusterFeature'], ], 'createdAt' => '2023-10-11T09:20:05.000Z', 'description' => '', ], [ 'apis' => [ ['description' => 'Request parameters changed', 'api' => 'UpdateHubClusterFeature'], ], 'createdAt' => '2023-09-13T06:05:05.000Z', 'description' => '', ], [ 'apis' => [ ['description' => 'Request parameters changed', 'api' => 'UpdateHubClusterFeature'], ], 'createdAt' => '2023-08-02T06:18:14.000Z', 'description' => '', ], [ 'apis' => [ ['description' => 'Request parameters changed', 'api' => 'GrantUserPermission'], ['description' => 'Request parameters changed', 'api' => 'GrantUserPermissions'], ], 'createdAt' => '2023-07-28T07:12:25.000Z', 'description' => '', ], [ 'apis' => [ ['description' => 'Response parameters changed', 'api' => 'UpdateHubClusterFeature'], ], 'createdAt' => '2023-06-07T07:57:47.000Z', 'description' => '', ], [ 'apis' => [ ['description' => 'Request parameters changed', 'api' => 'GrantUserPermission'], ['description' => 'Request parameters changed', 'api' => 'GrantUserPermissions'], ], 'createdAt' => '2023-05-22T04:01:39.000Z', 'description' => '', ], [ 'apis' => [ ['description' => 'OpenAPI offline', 'api' => 'DescribePolicies'], ], 'createdAt' => '2023-04-26T03:07:46.000Z', 'description' => '', ], [ 'apis' => [ ['description' => 'Request parameters changed', 'api' => 'GrantUserPermissions'], ], 'createdAt' => '2023-03-24T08:23:38.000Z', 'description' => '', ], [ 'apis' => [ ['description' => 'Response parameters changed', 'api' => 'DescribeUserPermissions'], ], 'createdAt' => '2023-03-24T08:21:58.000Z', 'description' => '', ], [ 'apis' => [ ['description' => 'Request parameters changed, Response parameters changed', 'api' => 'CreateHubCluster'], ], 'createdAt' => '2023-01-06T02:28:45.000Z', 'description' => '创建工作流集群支持配置调度模式以及价格限制。', ], [ 'apis' => [ ['description' => 'Request parameters changed, Response parameters changed', 'api' => 'DeleteHubCluster'], ], 'createdAt' => '2023-01-05T03:13:19.000Z', 'description' => '删除集群,新增保留资源选项', ], [ 'apis' => [ ['description' => 'Request parameters changed, Response parameters changed', 'api' => 'UpdateHubClusterFeature'], ], 'createdAt' => '2023-01-04T02:55:54.000Z', 'description' => '更新集群特性,增加工作流集群配置特性。', ], [ 'apis' => [ ['description' => 'Request parameters changed', 'api' => 'DescribeHubClusters'], ], 'createdAt' => '2022-09-22T03:29:11.000Z', 'description' => '增加Profile过滤条件', ], [ 'apis' => [ ['description' => 'Request parameters changed', 'api' => 'CreateHubCluster'], ], 'createdAt' => '2022-09-20T03:17:57.000Z', 'description' => '增加Profile的可见性', ], [ 'apis' => [ ['description' => 'Request parameters changed', 'api' => 'UpdateHubClusterFeature'], ], 'createdAt' => '2022-09-20T02:28:57.000Z', 'description' => '支持argoCD以及xflow集群', ], [ 'apis' => [ ['description' => 'Response parameters changed', 'api' => 'AttachClusterToHub'], ['description' => 'Response parameters changed', 'api' => 'DetachClusterFromHub'], ], 'createdAt' => '2022-07-04T02:09:06.000Z', 'description' => '增加返回TaskId', ], [ 'apis' => [ ['description' => 'Request parameters changed', 'api' => 'UpdateHubClusterFeature'], ], 'createdAt' => '2022-06-13T10:48:40.000Z', 'description' => '允许参数为空', ], [ 'apis' => [ ['description' => 'Response parameters changed', 'api' => 'DescribeHubClusterDetails'], ['description' => 'Response parameters changed', 'api' => 'DescribeHubClusters'], ], 'createdAt' => '2022-06-11T05:51:58.000Z', 'description' => '新增扩展信息', ], [ 'apis' => [ ['description' => 'Request parameters changed', 'api' => 'AttachClusterToHub'], ['description' => 'Request parameters changed', 'api' => 'CreateHubCluster'], ['description' => 'Response parameters changed', 'api' => 'DescribeHubClusterDetails'], ['description' => 'Response parameters changed', 'api' => 'DescribeHubClusters'], ['description' => 'Response parameters changed', 'api' => 'DescribeManagedClusters'], ['description' => 'Request parameters changed', 'api' => 'DetachClusterFromHub'], ['description' => 'OpenAPI offline', 'api' => 'UpdateHubClusterFeature'], ], 'createdAt' => '2022-04-22T03:02:59.000Z', 'description' => '1. 更新API的出入参2. 新增API UpdateClusterFeature', ], [ 'apis' => [ ['description' => 'Request parameters changed, Response parameters changed', 'api' => 'DescribeRegions'], ], 'createdAt' => '2022-04-20T06:15:08.000Z', 'description' => '增加语言选择', ], [ 'apis' => [ ['description' => 'Request parameters changed', 'api' => 'CreateHubCluster'], ], 'createdAt' => '2022-04-13T03:30:36.000Z', 'description' => '调整参数可见性', ], [ 'apis' => [ ['description' => 'Response parameters changed', 'api' => 'DescribeHubClusterDetails'], ['description' => 'Response parameters changed', 'api' => 'DescribeHubClusters'], ], 'createdAt' => '2022-04-12T00:55:18.000Z', 'description' => '移除隐私参数', ], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '500', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeHubClusterLogs'], ['threshold' => '1000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'AttachClusterToHub'], ['threshold' => '500', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GrantUserPermission'], ['threshold' => '500', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribePolicyGovernanceInCluster'], ['threshold' => '500', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeUserPermissions'], ['threshold' => '500', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeHubClusters'], ['threshold' => '500', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribePolicyInstancesStatus'], ['threshold' => '500', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateUserPermission'], ['threshold' => '500', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribePolicies'], ['threshold' => '500', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateHubClusterFeature'], ['threshold' => '500', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeManagedClusters'], ['threshold' => '1000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeletePolicyInstance'], ['threshold' => '1000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteHubCluster'], ['threshold' => '1000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteUserPermission'], ['threshold' => '500', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribePolicyDetails'], ['threshold' => '500', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DetachClusterFromHub'], ['threshold' => '1000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateHubCluster'], ['threshold' => '1000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeHubClusterDetails'], ['threshold' => '500', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribePolicyInstances'], ['threshold' => '500', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeHubClusterKubeconfig'], ['threshold' => '500', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeRegions'], ['threshold' => '1000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeployPolicyInstance'], ['threshold' => '1000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ChangeResourceGroup'], ], ], 'ram' => [ 'productCode' => 'AckOne', 'productName' => 'Distributed Cloud Container Platform for Kubernetes', 'ramCodes' => ['adcp'], 'ramLevel' => 'RESOURCE', 'ramConditions' => [], 'ramActions' => [ [ 'apiName' => 'DeleteComponentBaseline', 'description' => '', 'operationType' => 'none', 'ramAction' => [ 'action' => 'adcp:DeleteComponentBaseline', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'AckOne', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'CheckServiceRole', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'adcp:CheckServiceRole', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'AckOne', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'DescribePolicies', 'description' => '', 'operationType' => 'list', 'ramAction' => [ 'action' => 'adcp:DescribePolicies', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'AckOne', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'DescribePolicyInstancesStatus', 'description' => '', 'operationType' => 'list', 'ramAction' => [ 'action' => 'adcp:DescribePolicyInstancesStatus', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'AckOne', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'DescribeComponentBaselineDeployJobDetail', 'description' => '', 'operationType' => 'none', 'ramAction' => [ 'action' => 'adcp:DescribeComponentBaselineDeployJobDetail', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'AckOne', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'CreateComponentBaseline', 'description' => '', 'operationType' => 'none', 'ramAction' => [ 'action' => 'adcp:CreateComponentBaseline', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'AckOne', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'CreateComponentBaselineDeployJob', 'description' => '', 'operationType' => 'none', 'ramAction' => [ 'action' => 'adcp:CreateComponentBaselineDeployJob', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'AckOne', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'DeleteUserPermission', 'description' => '', 'operationType' => 'delete', 'ramAction' => [ 'action' => 'adcp:DeleteUserPermission', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'AckOne', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'CreateHubCluster', 'description' => '', 'operationType' => 'create', 'ramAction' => [ 'action' => 'adcp:CreateHubCluster', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'AckOne', 'resourceType' => 'Cluster', 'arn' => 'acs:adcp:{#regionId}:{#accountId}:cluster/*'], ], ], ], [ 'apiName' => 'AbortComponentBaselineDeployJob', 'description' => '', 'operationType' => 'none', 'ramAction' => [ 'action' => 'adcp:AbortComponentBaselineDeployJob', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'AckOne', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'ComponentBaselinePreCheck', 'description' => '', 'operationType' => 'none', 'ramAction' => [ 'action' => 'adcp:ComponentBaselinePreCheck', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'AckOne', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'DetachClusterFromHub', 'description' => '', 'operationType' => 'update', 'ramAction' => [ 'action' => 'adcp:DetachClusterFromHub', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'AckOne', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'ResumeComponentBaselineDeployJob', 'description' => '', 'operationType' => 'none', 'ramAction' => [ 'action' => 'adcp:ResumeComponentBaselineDeployJob', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'AckOne', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'ListTagResources', 'description' => '', 'operationType' => 'list', 'ramAction' => [ 'action' => 'adcp:ListTagResources', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'AckOne', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'DeployPolicyInstance', 'description' => '', 'operationType' => 'create', 'ramAction' => [ 'action' => 'adcp:DeployPolicyInstance', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'AckOne', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'RollbackComponentBaselineDeployBatch', 'description' => '', 'operationType' => 'none', 'ramAction' => [ 'action' => 'adcp:RollbackComponentBaselineDeployBatch', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'AckOne', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'UpdateUserPermission', 'description' => '', 'operationType' => 'update', 'ramAction' => [ 'action' => 'adcp:UpdateUserPermission', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'AckOne', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'UntagResources', 'description' => '', 'operationType' => 'delete', 'ramAction' => [ 'action' => 'adcp:UntagResources', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'AckOne', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'UpdateComponentBaseline', 'description' => '', 'operationType' => 'none', 'ramAction' => [ 'action' => 'adcp:UpdateComponentBaseline', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'AckOne', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'DeleteHubCluster', 'description' => '', 'operationType' => 'create', 'ramAction' => [ 'action' => 'adcp:DeleteHubCluster', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'AckOne', 'resourceType' => 'Cluster', 'arn' => 'acs:adcp:{#regionId}:{#accountId}:cluster/{#ClusterId}'], ], ], ], [ 'apiName' => 'DescribePolicyGovernanceInCluster', 'description' => '', 'operationType' => 'list', 'ramAction' => [ 'action' => 'adcp:DescribePolicyGovernanceInCluster', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'AckOne', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'GrantUserPermission', 'description' => '', 'operationType' => 'create', 'ramAction' => [ 'action' => 'adcp:GrantUserPermission', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'AckOne', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'UpdateHubClusterFeature', 'description' => '', 'operationType' => 'update', 'ramAction' => [ 'action' => 'adcp:UpdateHubClusterFeature', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'AckOne', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'AbortComponentBaselineDeployBatch', 'description' => '', 'operationType' => 'none', 'ramAction' => [ 'action' => 'adcp:AbortComponentBaselineDeployBatch', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'AckOne', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'ChangeResourceGroup', 'description' => '', 'operationType' => 'update', 'ramAction' => [ 'action' => 'adcp:ChangeResourceGroup', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'AckOne', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'DescribeHubClusterLogs', 'description' => '', 'operationType' => 'list', 'ramAction' => [ 'action' => 'adcp:DescribeHubClusterLogs', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'AckOne', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'StartComponentBaselineDeployJob', 'description' => '', 'operationType' => 'none', 'ramAction' => [ 'action' => 'adcp:StartComponentBaselineDeployJob', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'AckOne', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'DescribePolicyDetails', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'adcp:DescribePolicyDetails', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'AckOne', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'CheckSLRExists', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'adcp:CheckSLRExists', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'AckOne', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'UpdateClusterTags', 'description' => '', 'operationType' => 'create', 'ramAction' => [ 'action' => 'adcp:UpdateClusterTags', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'AckOne', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'DeletePolicyInstance', 'description' => '', 'operationType' => 'none', 'ramAction' => [ 'action' => 'adcp:DeletePolicyInstance', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'AckOne', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'DescribeHubClusterKubeconfig', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'adcp:DescribeHubClusterKubeconfig', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'AckOne', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'DescribePolicyInstances', 'description' => '', 'operationType' => 'list', 'ramAction' => [ 'action' => 'adcp:DescribePolicyInstances', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'AckOne', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'DescribeManagedClusters', 'description' => '', 'operationType' => 'list', 'ramAction' => [ 'action' => 'adcp:DescribeManagedClusters', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'AckOne', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'SuspendComponentBaselineDeployJob', 'description' => '', 'operationType' => 'none', 'ramAction' => [ 'action' => 'adcp:SuspendComponentBaselineDeployJob', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'AckOne', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'DescribeComponentListOfHubCluster', 'description' => '', 'operationType' => 'none', 'ramAction' => [ 'action' => 'adcp:DescribeComponentListOfHubCluster', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'AckOne', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'DescribeComponentBaselines', 'description' => '', 'operationType' => 'none', 'ramAction' => [ 'action' => 'adcp:DescribeComponentBaselines', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'AckOne', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'DescribeUserPermissions', 'description' => '', 'operationType' => 'list', 'ramAction' => [ 'action' => 'adcp:DescribeUserPermissions', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'AckOne', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'DescribeClusterEvents', 'description' => '', 'operationType' => 'list', 'ramAction' => [ 'action' => 'adcp:DescribeClusterEvents', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'AckOne', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'StartComponentBaselineDeployBatch', 'description' => '', 'operationType' => 'none', 'ramAction' => [ 'action' => 'adcp:StartComponentBaselineDeployBatch', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'AckOne', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'DescribeHubClusters', 'description' => '', 'operationType' => 'list', 'ramAction' => [ 'action' => 'adcp:DescribeHubClusters', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'AckOne', 'resourceType' => 'Cluster', 'arn' => 'acs:adcp::{#accountId}:cluster/*'], ], ], ], [ 'apiName' => 'TagResources', 'description' => '', 'operationType' => 'create', 'ramAction' => [ 'action' => 'adcp:TagResources', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'AckOne', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'DescribeComponentBaselineDetail', 'description' => '', 'operationType' => 'none', 'ramAction' => [ 'action' => 'adcp:DescribeComponentBaselineDetail', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'AckOne', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'AttachClusterToHub', 'description' => '', 'operationType' => 'create', 'ramAction' => [ 'action' => 'adcp:AttachClusterToHub', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'AckOne', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'DeleteComponentBaselineDeployJob', 'description' => '', 'operationType' => 'none', 'ramAction' => [ 'action' => 'adcp:DeleteComponentBaselineDeployJob', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'AckOne', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'DescribeHubClusterDetails', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'adcp:DescribeHubClusterDetails', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'AckOne', 'resourceType' => 'Cluster', 'arn' => 'acs:adcp:{#regionId}:{#accountId}:cluster/{#ClusterId}'], ], ], ], [ 'apiName' => 'DescribeComponentBaselineDeployJobs', 'description' => '', 'operationType' => 'none', 'ramAction' => [ 'action' => 'adcp:DescribeComponentBaselineDeployJobs', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'AckOne', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'GrantUserPermissions', 'description' => '', 'operationType' => 'create', 'ramAction' => [ 'action' => 'adcp:GrantUserPermissions', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'AckOne', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], 'resourceTypes' => [ ['validationType' => 'always', 'resourceType' => 'Cluster', 'arn' => 'acs:adcp:{#regionId}:{#accountId}:cluster/*'], ['validationType' => 'always', 'resourceType' => 'Cluster', 'arn' => 'acs:adcp:{#regionId}:{#accountId}:cluster/{#ClusterId}'], ['validationType' => 'always', 'resourceType' => 'Cluster', 'arn' => 'acs:adcp::{#accountId}:cluster/*'], ], ], ];