From 814ec806c22e2782390af5a4a05cb6281aabd5e1 Mon Sep 17 00:00:00 2001 From: Zhineng Li Date: Sun, 12 Jul 2026 16:56:35 +0800 Subject: update APIs 20260712 --- data/adcp/2022-01-01/api-docs.php | 1141 ++++++++++++------------------------- 1 file changed, 365 insertions(+), 776 deletions(-) (limited to 'data/adcp/2022-01-01/api-docs.php') diff --git a/data/adcp/2022-01-01/api-docs.php b/data/adcp/2022-01-01/api-docs.php index c5bcef5..3ccc6dc 100644 --- a/data/adcp/2022-01-01/api-docs.php +++ b/data/adcp/2022-01-01/api-docs.php @@ -1,35 +1,48 @@ '1.0', - 'info' => [ - 'style' => 'RPC', - 'product' => 'adcp', - 'version' => '2022-01-01', - ], + 'info' => ['style' => 'RPC', 'product' => 'adcp', 'version' => '2022-01-01'], 'components' => [ 'schemas' => [ 'Tag' => [ 'type' => 'object', 'properties' => [ - 'Key' => [ - 'type' => 'string', - ], - 'Value' => [ - 'type' => 'string', - ], + 'Key' => ['type' => 'string'], + 'Value' => ['type' => 'string'], ], ], ], ], 'apis' => [ - 'CreateHubCluster' => [ - 'methods' => [ - 'post', - 'get', + 'AttachClusterToHub' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], ], - 'schemes' => [ - 'http', - 'https', + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'ClusterId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'ClusterIds', + 'in' => 'formData', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'AttachToMesh', + 'in' => 'query', + 'schema' => ['type' => 'boolean', 'required' => false], + ], ], + ], + 'ChangeResourceGroup' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -38,100 +51,95 @@ 'deprecated' => false, 'parameters' => [ [ - 'name' => 'RegionId', - 'in' => 'formData', + 'name' => 'ResourceId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'ResourceType', + 'in' => 'query', 'schema' => [ 'type' => 'string', - 'required' => true, + 'required' => false, + 'enum' => ['cluster'], ], ], + [ + 'name' => 'NewResourceGroupId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], + ], + ], + ], + 'CreateHubCluster' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'RegionId', + 'in' => 'formData', + 'schema' => ['type' => 'string', 'required' => true], + ], [ 'name' => 'VpcId', 'in' => 'formData', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'ApiServerPublicEip', 'in' => 'formData', - 'schema' => [ - 'type' => 'boolean', - 'required' => false, - ], + 'schema' => ['type' => 'boolean', 'required' => false], ], [ 'name' => 'Name', 'in' => 'formData', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'VSwitches', 'in' => 'formData', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'AuditLogEnabled', 'in' => 'formData', - 'schema' => [ - 'type' => 'boolean', - 'required' => false, - ], + 'schema' => ['type' => 'boolean', 'required' => false], ], [ 'name' => 'IsEnterpriseSecurityGroup', 'in' => 'formData', - 'schema' => [ - 'type' => 'boolean', - 'required' => false, - ], + 'schema' => ['type' => 'boolean', 'required' => false], ], [ 'name' => 'Profile', 'in' => 'formData', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'ArgoServerEnabled', 'in' => 'formData', - 'schema' => [ - 'type' => 'boolean', - 'required' => false, - ], + 'schema' => ['type' => 'boolean', 'required' => false], ], [ 'name' => 'WorkflowScheduleMode', 'in' => 'formData', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'PriceLimit', 'in' => 'formData', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'ResourceGroupID', 'in' => 'formData', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'Tag', @@ -140,23 +148,14 @@ 'schema' => [ 'type' => 'array', 'required' => false, - 'items' => [ - '$ref' => '#/components/schemas/Tag', - 'required' => false, - ], + 'items' => ['$ref' => '#/components/schemas/Tag', 'required' => false], ], ], ], ], - 'DescribeHubClusters' => [ - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'DeleteHubCluster' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -165,45 +164,30 @@ 'deprecated' => false, 'parameters' => [ [ - 'name' => 'Profile', + 'name' => 'ClusterId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'ResourceGroupId', + 'name' => 'Force', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'boolean', 'required' => false], ], [ - 'name' => 'Tag', + 'name' => 'RetainResources', 'in' => 'query', 'style' => 'json', 'schema' => [ 'type' => 'array', 'required' => false, - 'items' => [ - '$ref' => '#/components/schemas/Tag', - 'required' => false, - ], + 'items' => ['type' => 'string', 'required' => false], ], ], ], ], - 'DescribeHubClusterDetails' => [ - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'DeletePolicyInstance' => [ + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -214,22 +198,28 @@ [ 'name' => 'ClusterId', 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'PolicyName', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'ClusterIds', + 'in' => 'query', + 'style' => 'json', 'schema' => [ - 'type' => 'string', - 'required' => true, + 'type' => 'array', + 'required' => false, + 'items' => ['type' => 'string', 'required' => false], ], ], ], ], - 'DeleteHubCluster' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'DeleteUserPermission' => [ + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -238,45 +228,20 @@ 'deprecated' => false, 'parameters' => [ [ - 'name' => 'ClusterId', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'Force', + 'name' => 'UserId', 'in' => 'query', - 'schema' => [ - 'type' => 'boolean', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'RetainResources', + 'name' => 'ClusterId', 'in' => 'query', - 'style' => 'json', - 'schema' => [ - 'type' => 'array', - 'required' => false, - 'items' => [ - 'type' => 'string', - 'required' => false, - ], - ], + 'schema' => ['type' => 'string', 'required' => true], ], ], ], - 'AttachClusterToHub' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'DeployPolicyInstance' => [ + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -285,40 +250,49 @@ 'deprecated' => false, 'parameters' => [ [ - 'name' => 'ClusterId', + 'name' => 'PolicyName', 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'Namespaces', + 'in' => 'query', + 'style' => 'json', 'schema' => [ - 'type' => 'string', - 'required' => true, + 'type' => 'array', + 'required' => false, + 'items' => ['type' => 'string', 'required' => false], ], ], [ 'name' => 'ClusterIds', - 'in' => 'formData', + 'in' => 'query', + 'style' => 'json', 'schema' => [ - 'type' => 'string', + 'type' => 'array', 'required' => true, + 'items' => ['type' => 'string', 'required' => false], ], ], [ - 'name' => 'AttachToMesh', + 'name' => 'PolicyAction', 'in' => 'query', 'schema' => [ - 'type' => 'boolean', - 'required' => false, + 'type' => 'string', + 'required' => true, + 'enum' => ['deny', 'warn'], ], ], + [ + 'name' => 'ClusterId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], + ], ], ], - 'DescribeManagedClusters' => [ - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'DescribeHubClusterDetails' => [ + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -329,22 +303,13 @@ [ 'name' => 'ClusterId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], ], ], - 'DetachClusterFromHub' => [ - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'DescribeHubClusterKubeconfig' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -355,38 +320,18 @@ [ 'name' => 'ClusterId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'ClusterIds', - 'in' => 'formData', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'DetachFromMesh', + 'name' => 'PrivateIpAddress', 'in' => 'query', - 'schema' => [ - 'type' => 'boolean', - 'required' => false, - ], + 'schema' => ['type' => 'boolean', 'required' => false], ], ], ], - 'UpdateHubClusterFeature' => [ - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'DescribeHubClusterLogs' => [ + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -397,208 +342,163 @@ [ 'name' => 'ClusterId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], + ], + ], + 'DescribeHubClusters' => [ + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'Name', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'AK' => [], ], + ], + 'deprecated' => false, + 'parameters' => [ [ - 'name' => 'AuditLogEnabled', + 'name' => 'Profile', 'in' => 'query', - 'schema' => [ - 'type' => 'boolean', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'EnableMesh', + 'name' => 'ResourceGroupId', 'in' => 'query', - 'schema' => [ - 'type' => 'boolean', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'DeletionProtection', + 'name' => 'Tag', 'in' => 'query', + 'style' => 'json', 'schema' => [ - 'type' => 'boolean', + 'type' => 'array', 'required' => false, + 'items' => ['$ref' => '#/components/schemas/Tag', 'required' => false], ], ], + ], + ], + 'DescribeManagedClusters' => [ + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'PublicApiServerEnabled', - 'in' => 'query', - 'schema' => [ - 'type' => 'boolean', - 'required' => false, - ], - ], - [ - 'name' => 'ApiServerEipId', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'ArgoCDEnabled', - 'in' => 'query', - 'schema' => [ - 'type' => 'boolean', - 'required' => false, - ], - ], - [ - 'name' => 'ArgoServerEnabled', - 'in' => 'query', - 'schema' => [ - 'type' => 'boolean', - 'required' => false, - ], - ], - [ - 'name' => 'WorkflowScheduleMode', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'AK' => [], ], + ], + 'deprecated' => false, + 'parameters' => [ [ - 'name' => 'PriceLimit', + 'name' => 'ClusterId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => true], ], + ], + ], + 'DescribePolicies' => [ + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'VSwitches', - 'in' => 'query', - 'style' => 'json', - 'schema' => [ - 'type' => 'array', - 'required' => false, - 'items' => [ - 'type' => 'string', - 'required' => false, - ], - ], + 'AK' => [], ], + ], + 'deprecated' => false, + 'parameters' => [], + ], + 'DescribePolicyDetails' => [ + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'ArgoCDHAEnabled', - 'in' => 'query', - 'schema' => [ - 'type' => 'boolean', - 'required' => false, - ], + 'AK' => [], ], + ], + 'deprecated' => false, + 'parameters' => [ [ - 'name' => 'PublicAccessEnabled', + 'name' => 'PolicyName', 'in' => 'query', - 'schema' => [ - 'type' => 'boolean', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => true], ], + ], + ], + 'DescribePolicyGovernanceInCluster' => [ + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'AccessControlList', - 'in' => 'query', - 'style' => 'json', - 'schema' => [ - 'type' => 'array', - 'required' => false, - 'items' => [ - 'type' => 'string', - 'required' => false, - ], - ], + 'AK' => [], ], + ], + 'deprecated' => false, + 'parameters' => [ [ - 'name' => 'ArgoEventsEnabled', + 'name' => 'ClusterId', 'in' => 'query', - 'schema' => [ - 'type' => 'boolean', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => true], ], + ], + ], + 'DescribePolicyInstances' => [ + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'GatewayEnabled', - 'in' => 'query', - 'schema' => [ - 'type' => 'boolean', - 'required' => false, - ], + 'AK' => [], ], + ], + 'deprecated' => false, + 'parameters' => [ [ - 'name' => 'TrainOperatorEnabled', + 'name' => 'PolicyName', 'in' => 'query', - 'schema' => [ - 'type' => 'boolean', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'CostInsightsEnabled', + 'name' => 'ClusterId', 'in' => 'query', - 'schema' => [ - 'type' => 'boolean', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => true], ], + ], + ], + 'DescribePolicyInstancesStatus' => [ + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'FluidEnabled', - 'in' => 'query', - 'schema' => [ - 'type' => 'boolean', - 'required' => false, - ], + 'AK' => [], ], + ], + 'deprecated' => false, + 'parameters' => [ [ - 'name' => 'RRSAEnabled', + 'name' => 'ClusterId', 'in' => 'query', - 'schema' => [ - 'type' => 'boolean', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => true], ], + ], + ], + 'DescribeRegions' => [ + 'methods' => ['get'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'SparkOperatorEnabled', - 'in' => 'query', - 'schema' => [ - 'type' => 'boolean', - 'required' => false, - ], + 'AK' => [], ], + ], + 'deprecated' => false, + 'parameters' => [ [ - 'name' => 'KubeRayEnabled', + 'name' => 'Language', 'in' => 'query', - 'schema' => [ - 'type' => 'boolean', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], ], 'DescribeUserPermissions' => [ - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -609,22 +509,13 @@ [ 'name' => 'UserId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], ], ], - 'DescribeHubClusterKubeconfig' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'DetachClusterFromHub' => [ + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -635,30 +526,23 @@ [ 'name' => 'ClusterId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'PrivateIpAddress', + 'name' => 'ClusterIds', + 'in' => 'formData', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'DetachFromMesh', 'in' => 'query', - 'schema' => [ - 'type' => 'boolean', - 'required' => false, - ], + 'schema' => ['type' => 'boolean', 'required' => false], ], ], ], 'GrantUserPermission' => [ - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -672,10 +556,7 @@ 'schema' => [ 'type' => 'string', 'required' => true, - 'enum' => [ - 'cluster', - 'namespace', - ], + 'enum' => ['cluster', 'namespace'], ], ], [ @@ -690,46 +571,28 @@ [ 'name' => 'ClusterId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'Namespace', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'UserId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'IsRamRole', 'in' => 'query', - 'schema' => [ - 'type' => 'boolean', - 'required' => false, - ], + 'schema' => ['type' => 'boolean', 'required' => false], ], ], ], - 'UpdateUserPermission' => [ - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'UpdateHubClusterFeature' => [ + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -738,371 +601,155 @@ 'deprecated' => false, 'parameters' => [ [ - 'name' => 'RoleType', + 'name' => 'ClusterId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - 'enum' => [ - 'cluster', - 'namespace', - ], - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'RoleName', + 'name' => 'Name', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - 'enum' => [ - 'admin', - 'dev', - ], - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'ClusterId', + 'name' => 'AuditLogEnabled', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'boolean', 'required' => false], ], [ - 'name' => 'Namespace', + 'name' => 'EnableMesh', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'boolean', 'required' => false], ], [ - 'name' => 'UserId', + 'name' => 'DeletionProtection', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - ], - ], - 'DeleteUserPermission' => [ - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], + 'schema' => ['type' => 'boolean', 'required' => false], ], - ], - 'deprecated' => false, - 'parameters' => [ [ - 'name' => 'UserId', + 'name' => 'PublicApiServerEnabled', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'boolean', 'required' => false], ], [ - 'name' => 'ClusterId', + 'name' => 'ApiServerEipId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - ], - ], - 'DescribePolicies' => [ - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], + 'schema' => ['type' => 'string', 'required' => false], ], - ], - 'deprecated' => false, - 'parameters' => [], - ], - 'DescribePolicyDetails' => [ - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ [ - 'AK' => [], + 'name' => 'ArgoCDEnabled', + 'in' => 'query', + 'schema' => ['type' => 'boolean', 'required' => false], ], - ], - 'deprecated' => false, - 'parameters' => [ [ - 'name' => 'PolicyName', + 'name' => 'ArgoServerEnabled', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'boolean', 'required' => false], ], - ], - ], - 'DeployPolicyInstance' => [ - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ [ - 'AK' => [], + 'name' => 'WorkflowScheduleMode', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], ], - ], - 'deprecated' => false, - 'parameters' => [ [ - 'name' => 'PolicyName', + 'name' => 'PriceLimit', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'Namespaces', + 'name' => 'VSwitches', 'in' => 'query', 'style' => 'json', 'schema' => [ 'type' => 'array', 'required' => false, - 'items' => [ - 'type' => 'string', - 'required' => false, - ], + 'items' => ['type' => 'string', 'required' => false], ], ], [ - 'name' => 'ClusterIds', + 'name' => 'MonitorEnabled', 'in' => 'query', - 'style' => 'json', - 'schema' => [ - 'type' => 'array', - 'required' => true, - 'items' => [ - 'type' => 'string', - 'required' => false, - ], - ], + 'schema' => ['type' => 'boolean', 'required' => false], ], [ - 'name' => 'PolicyAction', + 'name' => 'ArgoCDHAEnabled', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - 'enum' => [ - 'deny', - 'warn', - ], - ], + 'schema' => ['type' => 'boolean', 'required' => false], ], [ - 'name' => 'ClusterId', + 'name' => 'PublicAccessEnabled', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'boolean', 'required' => false], ], - ], - ], - 'DescribePolicyInstances' => [ - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ [ - 'AK' => [], - ], - ], - 'deprecated' => false, - 'parameters' => [ - [ - 'name' => 'PolicyName', + 'name' => 'AccessControlList', 'in' => 'query', + 'style' => 'json', 'schema' => [ - 'type' => 'string', - 'required' => true, + 'type' => 'array', + 'required' => false, + 'items' => ['type' => 'string', 'required' => false], ], ], [ - 'name' => 'ClusterId', + 'name' => 'ArgoEventsEnabled', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'boolean', 'required' => false], ], - ], - ], - 'DescribePolicyInstancesStatus' => [ - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ [ - 'AK' => [], + 'name' => 'GatewayEnabled', + 'in' => 'query', + 'schema' => ['type' => 'boolean', 'required' => false], ], - ], - 'deprecated' => false, - 'parameters' => [ [ - 'name' => 'ClusterId', + 'name' => 'TrainOperatorEnabled', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'boolean', 'required' => false], ], - ], - ], - 'DescribePolicyGovernanceInCluster' => [ - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ [ - 'AK' => [], + 'name' => 'CostInsightsEnabled', + 'in' => 'query', + 'schema' => ['type' => 'boolean', 'required' => false], ], - ], - 'deprecated' => false, - 'parameters' => [ [ - 'name' => 'ClusterId', + 'name' => 'FluidEnabled', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'boolean', 'required' => false], ], - ], - ], - 'DeletePolicyInstance' => [ - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ [ - 'AK' => [], + 'name' => 'RRSAEnabled', + 'in' => 'query', + 'schema' => ['type' => 'boolean', 'required' => false], ], - ], - 'deprecated' => false, - 'parameters' => [ [ - 'name' => 'ClusterId', + 'name' => 'SparkOperatorEnabled', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'boolean', 'required' => false], ], [ - 'name' => 'PolicyName', + 'name' => 'KubeRayEnabled', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'boolean', 'required' => false], ], [ - 'name' => 'ClusterIds', + 'name' => 'MCSandboxEnabled', 'in' => 'query', - 'style' => 'json', - 'schema' => [ - 'type' => 'array', - 'required' => false, - 'items' => [ - 'type' => 'string', - 'required' => false, - ], - ], + 'schema' => ['type' => 'boolean'], ], - ], - ], - 'DescribeHubClusterLogs' => [ - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ [ - 'AK' => [], + 'name' => 'GatewayAPIEnabled', + 'in' => 'query', + 'schema' => ['type' => 'boolean'], ], - ], - 'deprecated' => false, - 'parameters' => [ [ - 'name' => 'ClusterId', + 'name' => 'EnvoyGatewayEnabled', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'boolean'], ], ], ], - 'DescribeRegions' => [ - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'UpdateUserPermission' => [ + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -1111,112 +758,54 @@ 'deprecated' => false, 'parameters' => [ [ - 'name' => 'Language', + 'name' => 'RoleType', 'in' => 'query', 'schema' => [ 'type' => 'string', - 'required' => false, + 'required' => true, + 'enum' => ['cluster', 'namespace'], ], ], - ], - ], - 'ChangeResourceGroup' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'https', - ], - 'security' => [ [ - 'AK' => [], - ], - ], - 'deprecated' => false, - 'parameters' => [ - [ - 'name' => 'ResourceId', + 'name' => 'RoleName', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => true, + 'enum' => ['admin', 'dev'], ], ], [ - 'name' => 'ResourceType', + 'name' => 'ClusterId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - 'enum' => [ - 'cluster', - ], - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'NewResourceGroupId', + 'name' => 'Namespace', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'UserId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], ], ], ], ], 'endpoints' => [ - [ - 'regionId' => 'cn-beijing', - 'endpoint' => 'adcp.cn-beijing.aliyuncs.com', - ], - [ - 'regionId' => 'cn-zhangjiakou', - 'endpoint' => 'adcp.cn-zhangjiakou.aliyuncs.com', - ], - [ - 'regionId' => 'cn-hangzhou', - 'endpoint' => 'adcp.cn-hangzhou.aliyuncs.com', - ], - [ - 'regionId' => 'cn-shanghai', - 'endpoint' => 'adcp.cn-shanghai.aliyuncs.com', - ], - [ - 'regionId' => 'cn-shenzhen', - 'endpoint' => 'adcp.cn-shenzhen.aliyuncs.com', - ], - [ - 'regionId' => 'cn-heyuan', - 'endpoint' => 'adcp.cn-heyuan.aliyuncs.com', - ], - [ - 'regionId' => 'cn-hongkong', - 'endpoint' => 'adcp.cn-hongkong.aliyuncs.com', - ], - [ - 'regionId' => 'ap-northeast-1', - 'endpoint' => 'adcp.ap-northeast-1.aliyuncs.com', - ], - [ - 'regionId' => 'ap-southeast-1', - 'endpoint' => 'adcp.ap-southeast-1.aliyuncs.com', - ], - [ - 'regionId' => 'ap-southeast-5', - 'endpoint' => 'adcp.ap-southeast-5.aliyuncs.com', - ], - [ - 'regionId' => 'cn-shanghai-finance-1', - 'endpoint' => 'adcp.cn-shanghai-finance-1.aliyuncs.com', - ], - [ - 'regionId' => 'cn-shenzhen-finance-1', - 'endpoint' => 'adcp.cn-shenzhen-finance-1.aliyuncs.com', - ], - [ - 'regionId' => 'me-central-1', - 'endpoint' => 'adcp.me-central-1.aliyuncs.com', - ], + ['regionId' => 'cn-beijing', 'regionName' => '华北2(北京)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'adcp.cn-beijing.aliyuncs.com', 'endpoint' => 'adcp.cn-beijing.aliyuncs.com', 'vpc' => 'adcp-vpc.cn-beijing.aliyuncs.com'], + ['regionId' => 'cn-shanghai', 'regionName' => '华东2(上海)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'adcp.cn-shanghai.aliyuncs.com', 'endpoint' => 'adcp.cn-shanghai.aliyuncs.com', 'vpc' => 'adcp-vpc.cn-shanghai.aliyuncs.com'], + ['regionId' => 'cn-hongkong', 'regionName' => '中国香港', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'adcp.cn-hongkong.aliyuncs.com', 'endpoint' => 'adcp.cn-hongkong.aliyuncs.com', 'vpc' => 'adcp-vpc.cn-hongkong.aliyuncs.com'], + ['regionId' => 'cn-heyuan', 'regionName' => '华南2(河源)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'adcp.cn-heyuan.aliyuncs.com', 'endpoint' => 'adcp.cn-heyuan.aliyuncs.com', 'vpc' => 'adcp-vpc.cn-heyuan.aliyuncs.com'], + ['regionId' => 'cn-zhangjiakou', 'regionName' => '华北3(张家口)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'adcp.cn-zhangjiakou.aliyuncs.com', 'endpoint' => 'adcp.cn-zhangjiakou.aliyuncs.com', 'vpc' => 'adcp-vpc.cn-zhangjiakou.aliyuncs.com'], + ['regionId' => 'cn-shenzhen', 'regionName' => '华南1(深圳)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'adcp.cn-shenzhen.aliyuncs.com', 'endpoint' => 'adcp.cn-shenzhen.aliyuncs.com', 'vpc' => 'adcp-vpc.cn-shenzhen.aliyuncs.com'], + ['regionId' => 'ap-northeast-1', 'regionName' => '日本(东京)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', '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' => '新加坡', 'areaId' => 'asiaPacific', 'areaName' => '亚太', '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' => '印度尼西亚(雅加达)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', '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' => '华东1(杭州)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'adcp.cn-hangzhou.aliyuncs.com', 'endpoint' => 'adcp.cn-hangzhou.aliyuncs.com', 'vpc' => 'adcp-vpc.cn-hangzhou.aliyuncs.com'], + ['regionId' => 'me-central-1', 'regionName' => '沙特(利雅得)', 'areaId' => 'middleEast', 'areaName' => '中东', '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' => '华南1 金融云', 'areaId' => 'industryCloud', 'areaName' => '行业云', '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' => '华东2 金融云', 'areaId' => 'industryCloud', 'areaName' => '行业云', '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'], ], ]; -- cgit v1.2.3