'1.0', 'info' => ['style' => 'RPC', 'product' => 'adcp', 'version' => '2022-01-01'], 'components' => [ 'schemas' => [ 'Tag' => [ 'type' => 'object', 'properties' => [ 'Key' => ['type' => 'string'], 'Value' => ['type' => 'string'], ], ], ], ], 'apis' => [ 'AttachClusterToHub' => [ 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], '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' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'ResourceId', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'ResourceType', 'in' => 'query', 'schema' => [ 'type' => 'string', '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], ], [ 'name' => 'ApiServerPublicEip', 'in' => 'formData', 'schema' => ['type' => 'boolean', 'required' => false], ], [ 'name' => 'Name', 'in' => 'formData', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'VSwitches', 'in' => 'formData', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'AuditLogEnabled', 'in' => 'formData', 'schema' => ['type' => 'boolean', 'required' => false], ], [ 'name' => 'IsEnterpriseSecurityGroup', 'in' => 'formData', 'schema' => ['type' => 'boolean', 'required' => false], ], [ 'name' => 'Profile', 'in' => 'formData', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'ArgoServerEnabled', 'in' => 'formData', 'schema' => ['type' => 'boolean', 'required' => false], ], [ 'name' => 'WorkflowScheduleMode', 'in' => 'formData', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'PriceLimit', 'in' => 'formData', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'ResourceGroupID', 'in' => 'formData', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'Tag', 'in' => 'query', 'style' => 'json', 'schema' => [ 'type' => 'array', 'required' => false, 'items' => ['$ref' => '#/components/schemas/Tag', 'required' => false], ], ], ], ], 'DeleteHubCluster' => [ 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'ClusterId', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'Force', 'in' => 'query', 'schema' => ['type' => 'boolean', 'required' => false], ], [ 'name' => 'RetainResources', 'in' => 'query', 'style' => 'json', 'schema' => [ 'type' => 'array', 'required' => false, 'items' => ['type' => 'string', 'required' => false], ], ], ], ], 'DeletePolicyInstance' => [ 'methods' => ['get', 'post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ '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' => 'array', 'required' => false, 'items' => ['type' => 'string', 'required' => false], ], ], ], ], 'DeleteUserPermission' => [ 'methods' => ['get', 'post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'UserId', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'ClusterId', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true], ], ], ], 'DeployPolicyInstance' => [ 'methods' => ['get', 'post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'PolicyName', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'Namespaces', 'in' => 'query', 'style' => 'json', 'schema' => [ 'type' => 'array', 'required' => false, 'items' => ['type' => 'string', 'required' => false], ], ], [ 'name' => 'ClusterIds', 'in' => 'query', 'style' => 'json', 'schema' => [ 'type' => 'array', 'required' => true, 'items' => ['type' => 'string', 'required' => false], ], ], [ 'name' => 'PolicyAction', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => true, 'enum' => ['deny', 'warn'], ], ], [ 'name' => 'ClusterId', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true], ], ], ], 'DescribeHubClusterDetails' => [ 'methods' => ['get', 'post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'ClusterId', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true], ], ], ], 'DescribeHubClusterKubeconfig' => [ 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'ClusterId', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'PrivateIpAddress', 'in' => 'query', 'schema' => ['type' => 'boolean', 'required' => false], ], ], ], 'DescribeHubClusterLogs' => [ 'methods' => ['get', 'post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'ClusterId', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true], ], ], ], 'DescribeHubClusters' => [ 'methods' => ['get', 'post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'Profile', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'ResourceGroupId', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'Tag', 'in' => 'query', 'style' => 'json', 'schema' => [ 'type' => 'array', 'required' => false, 'items' => ['$ref' => '#/components/schemas/Tag', 'required' => false], ], ], ], ], 'DescribeManagedClusters' => [ 'methods' => ['get', 'post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'ClusterId', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true], ], ], ], 'DescribePolicies' => [ 'methods' => ['get', 'post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [], ], 'DescribePolicyDetails' => [ 'methods' => ['get', 'post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'PolicyName', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true], ], ], ], 'DescribePolicyGovernanceInCluster' => [ 'methods' => ['get', 'post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'ClusterId', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true], ], ], ], 'DescribePolicyInstances' => [ 'methods' => ['get', 'post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'PolicyName', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'ClusterId', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true], ], ], ], 'DescribePolicyInstancesStatus' => [ 'methods' => ['get', 'post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'ClusterId', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true], ], ], ], 'DescribeRegions' => [ 'methods' => ['get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'Language', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], ], ], 'DescribeUserPermissions' => [ 'methods' => ['get', 'post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'UserId', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true], ], ], ], 'DetachClusterFromHub' => [ 'methods' => ['get', 'post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'ClusterId', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'ClusterIds', 'in' => 'formData', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'DetachFromMesh', 'in' => 'query', 'schema' => ['type' => 'boolean', 'required' => false], ], ], ], 'GrantUserPermission' => [ 'methods' => ['get', 'post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'RoleType', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => true, 'enum' => ['cluster', 'namespace'], ], ], [ 'name' => 'RoleName', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => true, 'enum' => [], ], ], [ 'name' => 'ClusterId', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'Namespace', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'UserId', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'IsRamRole', 'in' => 'query', 'schema' => ['type' => 'boolean', 'required' => false], ], ], ], 'UpdateHubClusterFeature' => [ 'methods' => ['get', 'post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'ClusterId', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'Name', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'AuditLogEnabled', 'in' => 'query', 'schema' => ['type' => 'boolean', 'required' => false], ], [ 'name' => 'EnableMesh', 'in' => 'query', 'schema' => ['type' => 'boolean', 'required' => false], ], [ 'name' => 'DeletionProtection', 'in' => 'query', 'schema' => ['type' => 'boolean', 'required' => false], ], [ '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], ], [ 'name' => 'PriceLimit', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'VSwitches', 'in' => 'query', 'style' => 'json', 'schema' => [ 'type' => 'array', 'required' => false, 'items' => ['type' => 'string', 'required' => false], ], ], [ 'name' => 'MonitorEnabled', 'in' => 'query', 'schema' => ['type' => 'boolean', 'required' => false], ], [ 'name' => 'ArgoCDHAEnabled', 'in' => 'query', 'schema' => ['type' => 'boolean', 'required' => false], ], [ 'name' => 'PublicAccessEnabled', 'in' => 'query', 'schema' => ['type' => 'boolean', 'required' => false], ], [ 'name' => 'AccessControlList', 'in' => 'query', 'style' => 'json', 'schema' => [ 'type' => 'array', 'required' => false, 'items' => ['type' => 'string', 'required' => false], ], ], [ 'name' => 'ArgoEventsEnabled', 'in' => 'query', 'schema' => ['type' => 'boolean', 'required' => false], ], [ 'name' => 'GatewayEnabled', 'in' => 'query', 'schema' => ['type' => 'boolean', 'required' => false], ], [ 'name' => 'TrainOperatorEnabled', 'in' => 'query', 'schema' => ['type' => 'boolean', 'required' => false], ], [ 'name' => 'CostInsightsEnabled', 'in' => 'query', 'schema' => ['type' => 'boolean', 'required' => false], ], [ 'name' => 'FluidEnabled', 'in' => 'query', 'schema' => ['type' => 'boolean', 'required' => false], ], [ 'name' => 'RRSAEnabled', 'in' => 'query', 'schema' => ['type' => 'boolean', 'required' => false], ], [ 'name' => 'SparkOperatorEnabled', 'in' => 'query', 'schema' => ['type' => 'boolean', 'required' => false], ], [ 'name' => 'KubeRayEnabled', 'in' => 'query', 'schema' => ['type' => 'boolean', 'required' => false], ], [ 'name' => 'MCSandboxEnabled', 'in' => 'query', 'schema' => ['type' => 'boolean'], ], [ 'name' => 'GatewayAPIEnabled', 'in' => 'query', 'schema' => ['type' => 'boolean'], ], [ 'name' => 'EnvoyGatewayEnabled', 'in' => 'query', 'schema' => ['type' => 'boolean'], ], ], ], 'UpdateUserPermission' => [ 'methods' => ['get', 'post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'RoleType', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => true, 'enum' => ['cluster', 'namespace'], ], ], [ 'name' => 'RoleName', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => true, 'enum' => ['admin', 'dev'], ], ], [ 'name' => 'ClusterId', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'Namespace', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'UserId', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true], ], ], ], ], 'endpoints' => [ ['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'], ], ];