'1.0', 'info' => ['style' => 'ROA', 'product' => 'eas', 'version' => '2021-07-01'], 'directories' => [ [ 'children' => [ 'CreateService', 'CreateServiceAutoScaler', 'CreateServiceCronScaler', 'CreateServiceInstanceToken', 'DescribeGroupEndpoints', 'DescribeServiceEndpoints', 'CloneService', 'ScaleService', 'UpdateServiceVersion', 'DeleteServiceLabel', 'DeleteServiceInstances', 'ListServices', 'UpdateServiceAutoScaler', 'UpdateServiceCronScaler', 'UpdateServiceInstance', 'DescribeService', 'DescribeServiceAutoScaler', 'DescribeServiceCronScaler', 'DescribeServiceEvent', 'DescribeSpotDiscountHistory', 'ListServiceInstances', 'ListServiceVersions', 'ListGroups', 'DescribeMachineSpec', 'CreateServiceRollout', 'DescribeServiceRollout', 'DeleteServiceRollout', 'UpdateServiceRollout', 'CreateFaultInjection', 'DeleteFaultInjection', 'ListServiceInstanceFaultInjectionInfo', ], 'type' => 'directory', 'title' => 'Service', ], [ 'children' => ['ListVirtualResource', 'DescribeVirtualResource', 'CreateResource', 'CreateResourceInstances', 'DeleteResourceInstanceLabel', 'MigrateResourceInstance', 'UpdateResourceInstance', 'DescribeResource', 'ListResourceInstances', 'ListResourceInstanceWorker', 'ListResources', 'ListResourceServices'], 'type' => 'directory', 'title' => 'Resource group', ], [ 'children' => ['ListBenchmarkTask'], 'type' => 'directory', 'title' => 'Stress testing task', ], [ 'children' => ['CreateGateway', 'DeleteGatewayLabel', 'UpdateGatewayLabel', 'ListGatewayDomains', 'ListGateway', 'DescribeGateway', 'UpdateGateway', 'CreateGatewayIntranetLinkedVpc', 'ListGatewayIntranetLinkedVpc', 'ListGatewayIntranetLinkedVpcPeer'], 'type' => 'directory', 'title' => 'Dedicated gateway', ], [ 'children' => ['ListTenantAddons', 'CreateConfig', 'DeleteConfig', 'DescribeRegions', 'ListConfigs', 'UpdateConfig'], 'type' => 'directory', 'title' => 'Other', ], [ 'children' => [ 'AttachGatewayDomain', 'CommitService', 'CreateAclPolicy', 'CreateAppService', 'CreateBenchmarkTask', 'CreateGatewayIntranetLinkedVpcPeer', 'CreateGroup', 'CreateResourceLog', 'CreateServiceMirror', 'CreateVirtualResource', 'DeleteAclPolicy', 'DeleteBenchmarkTask', 'DeleteGateway', 'DeleteGatewayIntranetLinkedVpc', 'DeleteGatewayIntranetLinkedVpcPeer', 'DeleteGroup', 'DeleteResource', 'DeleteResourceDLink', 'DeleteResourceInstances', 'DeleteResourceLog', 'DeleteService', 'DeleteServiceAutoScaler', 'DeleteServiceCronScaler', 'DeleteServiceMirror', 'DeleteVirtualResource', 'DescribeBenchmarkTask', 'DescribeBenchmarkTaskReport', 'DescribeGroup', 'DescribeResourceDLink', 'DescribeResourceLog', 'DescribeServiceDiagnosis', 'DescribeServiceInstanceDiagnosis', 'DescribeServiceLog', 'DescribeServiceMirror', 'DescribeServiceSignedUrl', 'DetachGatewayDomain', 'DevelopService', 'ListAclPolicy', 'ListGatewayIntranetSupportedZone', 'ListServiceContainers', 'ReinstallTenantAddon', 'ReleaseService', 'RestartService', 'StartBenchmarkTask', 'StartService', 'StopBenchmarkTask', 'StopService', 'UpdateAppService', 'UpdateBenchmarkTask', 'UpdateGroup', 'UpdateResource', 'UpdateResourceDLink', 'UpdateResourceInstanceLabel', 'UpdateService', 'UpdateServiceLabel', 'UpdateServiceMirror', 'UpdateServiceSafetyLock', 'UpdateVirtualResource', ], 'title' => 'Others', 'type' => 'directory', ], ], 'components' => [ 'schemas' => [ 'ContainerInfo' => [ 'title' => '', 'description' => 'The container information of the instance.', 'type' => 'object', 'properties' => [ 'Name' => ['title' => '', 'description' => 'The container name.', 'type' => 'string', 'example' => 'worker0'], 'Image' => ['title' => '', 'description' => 'The image.', 'type' => 'string', 'example' => 'registry.cn-shanghai.aliyuncs.com/eas/echo_cn-shanghai:v0.0.1-20210129111320'], 'Port' => ['title' => '', 'description' => 'The port.', 'type' => 'integer', 'format' => 'int32', 'example' => '8080'], 'RestartCount' => ['title' => '', 'description' => 'The number of restarts.', 'type' => 'integer', 'format' => 'int32', 'example' => '0'], 'Ready' => [ 'title' => '', 'description' => 'Indicates whether the health check is passed.', 'enumValueTitles' => ['true' => '是', 'false' => '否'], 'type' => 'boolean', 'example' => 'true', ], 'CurrentStatus' => ['title' => '', 'description' => 'The current status. Valid values:'."\n" .'- Waiting: waiting'."\n" .'- Running: running'."\n" .'- Terminated: terminated.', 'type' => 'string', 'example' => 'Waiting'], 'CurrentReaon' => ['title' => '', 'description' => 'The reason for the current status.', 'type' => 'string', 'example' => 'PodInitializing'], 'CurrentTimestamp' => ['title' => '', 'description' => 'The time when the current status occurred.', 'type' => 'string', 'example' => '2022-03-21T06:17:57Z'], 'LastStatus' => ['title' => '', 'description' => 'The previous status. Valid values:'."\n" .'- Waiting: waiting'."\n" .'- Running: running'."\n" .'- Terminated: terminated.', 'type' => 'string', 'example' => 'Terminated'], 'LastReason' => ['title' => '', 'description' => 'The reason for the previous status.', 'type' => 'string', 'example' => 'Error'], 'LastTimestamp' => ['title' => '', 'description' => 'The time when the previous status occurred.', 'type' => 'string', 'example' => '2022-03-21T05:17:57Z'], ], 'example' => '', ], 'Group' => [ 'title' => '', 'description' => 'The service group.', 'type' => 'object', 'properties' => [ 'Name' => ['title' => '', 'description' => 'The name of the service group.', 'type' => 'string', 'example' => 'foo'], 'ClusterId' => ['title' => '', 'description' => 'The region in which the service group resides.', 'type' => 'string', 'example' => 'cn-shanghai'], 'CreateTime' => ['title' => '', 'description' => 'The time when the service group was created. The time is in UTC.', 'type' => 'string', 'example' => '2020-05-19T14:19:42Z'], 'UpdateTime' => ['title' => '', 'description' => 'The time when the service group was last updated. The time is in UTC.', 'type' => 'string', 'example' => '2021-01-29T11:13:20Z'], 'QueueService' => ['title' => '', 'description' => 'The queue services contained in the service group.', 'type' => 'string', 'example' => 'qservice'], 'InternetEndpoint' => ['title' => '', 'description' => 'The public endpoint of the service group.', 'type' => 'string', 'example' => 'http://1110*****.cn-hangzhou.pai-eas.aliyuncs.com/api/predict/test_group'], 'IntranetEndpoint' => ['title' => '', 'description' => 'The internal endpoint of the service group.', 'type' => 'string', 'example' => 'http://1110*****.vpc.cn-hangzhou.pai-eas.aliyuncs.com/api/predict/test_group'], 'AccessToken' => ['title' => '', 'description' => 'The access token for the traffic entry of the service group.', 'type' => 'string', 'example' => 'MzJiMDI5MDliODc0MTlkYmI0ZDhlYmExYjczYTIyZTE3Zm********'], 'TrafficMode' => [ 'title' => '', 'description' => 'The traffic mode.', 'enumValueTitles' => ['auto' => '根据实例数量自动分配流量', 'customized' => '自定义流量分配'], 'type' => 'string', 'example' => 'auto', ], 'Network' => [ 'type' => 'object', 'properties' => [ 'VpcId' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], 'VSwitchId' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], 'SecurityGroupId' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], 'GatewayId' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], 'ParentUid' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], 'CallerUid' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], 'Labels' => [ 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'LabelKey' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], 'LabelValue' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], 'description' => '', 'title' => '', 'example' => '', ], ], 'example' => '', ], 'Instance' => [ 'title' => '', 'description' => 'A short description of struct', 'type' => 'object', 'properties' => [ 'HostIP' => ['title' => '', 'description' => 'The IP address of the instance\'s host.', 'type' => 'string', 'example' => '11.0.XX.XX'], 'HostName' => ['title' => '', 'description' => 'The name of the instance\'s host.', 'type' => 'string', 'example' => 'smart-scene-cls-854dbdc99d-****'], 'InnerIP' => ['title' => '', 'description' => 'The internal IP address of the instance.', 'type' => 'string', 'example' => '172.17.0.17'], 'InstanceName' => ['title' => '', 'description' => 'The name of the instance.', 'type' => 'string', 'example' => 'foo-5fc8946767-v****'], 'InstancePort' => ['title' => '', 'description' => 'The network port of the instance.', 'type' => 'integer', 'format' => 'int32', 'example' => '8080'], 'LastState' => [ 'title' => '', 'description' => 'The status of the instance when it last exited.', 'type' => 'array', 'items' => ['description' => 'The details of the status.', 'type' => 'object', 'title' => '', 'example' => '[]'], 'example' => '', ], 'Namespace' => ['title' => '', 'description' => 'The namespace of the instance.', 'type' => 'string', 'example' => 'foo'], 'Reason' => ['title' => '', 'description' => 'The identifier for the current status of the instance.', 'type' => 'string', 'example' => 'RUNNING'], 'RestartCount' => ['title' => '', 'description' => 'The number of times the instance has been restarted.', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], 'Status' => [ 'title' => '', 'description' => 'The status of the instance.', 'enumValueTitles' => ['Terminating' => '结束中', 'Succeeded' => '成功结束', 'Unknown' => '未知', 'Failed' => '失败结束', 'Running' => '运行中', 'Pending' => '等待中'], 'type' => 'string', 'example' => 'Running', ], 'TotalProcesses' => ['title' => '', 'description' => 'The total number of processes for the instance.', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], 'ReadyProcesses' => ['title' => '', 'description' => 'The number of processes that have started in the instance.', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], 'StartAt' => ['title' => '', 'description' => 'The start time of the instance. (Deprecated. Use StartTime instead.)', 'type' => 'string', 'deprecated' => true, 'example' => '2021-05-27T09:46:05Z'], 'Role' => ['title' => '', 'description' => 'The server role of the instance. Valid values include Queue, DataLoader, and Standard.', 'type' => 'string', 'example' => 'Standard'], 'ResourceType' => ['title' => '', 'description' => 'The type of the resource group to which the instance belongs. Valid values include PublicResource and PrivateResource.', 'type' => 'string', 'example' => 'PublicResource'], 'TenantInstanceIP' => ['title' => '', 'description' => 'The IP address of the instance in the dedicated network.', 'type' => 'string', 'example' => '192.168.xx.xx'], 'TenantHostIP' => ['title' => '', 'description' => 'The IP address of the host in the dedicated network.', 'type' => 'string', 'example' => '192.168.xx.xx'], 'IsSpot' => ['title' => '', 'description' => 'Indicates whether the instance is a spot instance.', 'type' => 'boolean', 'example' => 'false'], 'CurrentAmount' => ['title' => '', 'description' => 'The current hourly price of the spot instance.', 'type' => 'number', 'format' => 'float', 'example' => '0.444'], 'OriginalAmount' => ['title' => '', 'description' => 'The original price of the spot instance before discounts.', 'type' => 'number', 'format' => 'float', 'example' => '2.2'], 'Isolated' => ['title' => '', 'description' => 'Indicates whether the instance accepts traffic.', 'type' => 'boolean', 'example' => 'false'], 'Zone' => ['title' => '', 'description' => 'The zone where the instance is located.', 'type' => 'string', 'example' => 'cn-shanghai-a'], 'ExternalIP' => ['title' => '', 'description' => 'The IP address of the instance in your VPC.', 'type' => 'string', 'example' => '192.168.1.100'], 'ExternalInstancePort' => ['title' => '', 'description' => 'The port number of the instance in your VPC.', 'type' => 'integer', 'format' => 'int32', 'example' => '8080'], 'StartTime' => ['title' => '', 'description' => 'The start time of the instance.', 'type' => 'string', 'example' => '2021-05-27T09:46:05Z'], 'InstanceType' => ['title' => '', 'description' => 'The instance type.', 'type' => 'string', 'example' => 'ecs.c7.large'], 'IsLatest' => [ 'description' => 'Indicates whether the instance is running the latest version.', 'enumValueTitles' => ['true' => 'true', 'false' => 'false'], 'type' => 'boolean', 'title' => '', 'example' => 'true', ], 'Detached' => [ 'description' => 'Indicates whether the instance is removed from active service rotation.', 'enumValueTitles' => ['true' => 'true', 'false' => 'false'], 'type' => 'boolean', 'title' => '', 'example' => 'false', ], 'IsReplica' => [ 'description' => 'Indicates whether the instance is a replica.', 'enumValueTitles' => ['true' => 'true', 'false' => 'false'], 'type' => 'boolean', 'title' => '', 'example' => 'false', ], 'ReplicaName' => ['description' => 'The name of the replica.', 'type' => 'string', 'title' => '', 'example' => 'xwq-sglang-dist-7dff0'], 'CreateTime' => ['description' => 'The creation time of the instance.', 'type' => 'string', 'title' => '', 'example' => '2021-05-27T09:46:05Z'], ], 'example' => '', ], 'Resource' => [ 'title' => 'A short description of struct', 'description' => 'Contains the configuration and status information for a resource group.', 'type' => 'object', 'properties' => [ 'ResourceId' => ['title' => '资源组ID', 'description' => 'The unique identifier of the resource group.', 'type' => 'string', 'example' => 'eas-r-asdasdasd'], 'ResourceName' => ['title' => '资源组名字', 'description' => 'The name of the resource group.', 'type' => 'string', 'example' => 'iot'], 'ResourceType' => ['title' => '资源组类型', 'description' => 'The type of the resource group. Valid values:'."\n" ."\n" .'- `Dedicated`: A dedicated resource group.'."\n" ."\n" .'- `SelfManaged`: A self-managed resource group.', 'type' => 'string', 'example' => 'Dedicated'], 'ClusterId' => ['title' => '资源组所在的集群', 'description' => 'The ID of the cluster where the resource group is located.', 'type' => 'string', 'example' => 'cn-shanghai'], 'CreateTime' => ['title' => '资源组创建时间', 'description' => 'The time the resource group was created, in ISO 8601 format.', 'type' => 'string', 'example' => '2019-02-26T17:52:49Z'], 'UpdateTime' => ['title' => '资源组更新时间', 'description' => 'The time the resource group was last updated, in ISO 8601 format.', 'type' => 'string', 'example' => '2019-02-26T19:52:49Z'], 'InstanceCount' => ['title' => '资源组实例个数', 'description' => 'The total number of instances (prepaid and postpaid) in the resource group.', 'type' => 'integer', 'format' => 'int32', 'example' => '4'], 'PrePaidInstanceCount' => ['title' => '资源组预付费实例个数', 'description' => 'The number of prepaid instances.', 'type' => 'integer', 'format' => 'int32', 'example' => '2'], 'PostPaidInstanceCount' => ['title' => '资源组按量付费实例个数', 'description' => 'The number of postpaid instances.', 'type' => 'integer', 'format' => 'int32', 'example' => '2'], 'CpuCount' => ['title' => '资源组CPU数量', 'description' => 'The total number of CPU cores in the resource group.', 'type' => 'integer', 'format' => 'int32', 'example' => '64'], 'GpuCount' => ['title' => '资源组GPU个数', 'description' => 'The total number of GPUs in the resource group.', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], 'Memory' => ['title' => '资源组总内存,单位为 MB', 'description' => 'The total memory of the resource group, in MB.', 'type' => 'integer', 'example' => '8192', 'format' => 'int32'], 'CpuUsed' => ['title' => '资源组已使用 CPU 核数', 'description' => 'The number of used CPU cores in the resource group.', 'type' => 'integer', 'example' => '8', 'format' => 'int32'], 'GpuUsed' => ['title' => '资源组已使用 GPU 数', 'description' => 'The number of used GPUs in the resource group.', 'type' => 'number', 'example' => '1', 'format' => 'float'], 'MemoryUsed' => ['title' => '资源组已使用内存,单位为 MB', 'description' => 'The amount of used memory in the resource group, in MB.', 'type' => 'integer', 'example' => '2048', 'format' => 'int32'], 'Status' => ['title' => '资源组的状态', 'description' => 'The status of the resource group.', 'type' => 'string', 'example' => 'ResourceReady'], 'Message' => ['title' => '资源组摘要信息', 'description' => 'The latest status message for the resource group.', 'type' => 'string', 'example' => 'Resource is ready'], 'ExtraData' => ['title' => '资源组自定义数据', 'description' => 'Additional information.', 'type' => 'object', 'example' => '{}'], 'Vendor' => [ 'title' => '资源组机器来源', 'description' => 'The provider of the compute instances in the resource group, such as ECS.', 'enumValueTitles' => ['ECS' => 'ECS', 'BareMetal' => 'BareMetal'], 'type' => 'string', 'example' => 'ECS', 'enum' => ['ECS', 'BareMetal'], ], 'Features' => [ 'type' => 'array', 'items' => ['description' => 'A supported feature. Currently, only `GpuShare` (GPU sharing) is a valid value.', 'type' => 'string', 'title' => '', 'example' => 'GpuShare'], 'description' => 'The features supported by the resource group.', 'title' => '', 'example' => '', ], 'InstanceMaxAllocatableMemory' => ['description' => 'The maximum allocatable memory per node in the resource group.', 'type' => 'integer', 'title' => '', 'example' => '2048', 'format' => 'int32'], 'InstanceMaxAllocatableGPU' => ['description' => 'The maximum number of allocatable GPUs per node.', 'type' => 'number', 'title' => '', 'example' => '2', 'format' => 'float'], 'InstanceMaxAllocatableCPU' => ['description' => 'The maximum number of allocatable CPU cores per node.', 'type' => 'integer', 'title' => '', 'example' => '16', 'format' => 'int32'], 'UsageMode' => [ 'description' => 'The usage mode of the resource group.', 'type' => 'string', 'title' => '', 'example' => 'inference', 'enumValueTitles' => ['inference' => '推理服务资源组', 'sandbox' => '沙箱资源组'], ], 'ServiceCount' => ['description' => 'The number of services deployed in the resource group.', 'type' => 'integer', 'title' => '', 'example' => '1', 'format' => 'int32'], ], 'example' => '', ], 'ResourceInstance' => [ 'title' => 'A short description of struct', 'description' => 'A short description of struct', 'type' => 'object', 'properties' => [ 'InstanceId' => ['title' => '实例ID', 'description' => 'The instance ID.', 'type' => 'string', 'example' => 'eas-i-1800z74n30kao****'], 'InstanceName' => ['title' => '实例名称', 'description' => 'The instance name.', 'type' => 'string', 'example' => 'eas01122713204*****'], 'InstanceIp' => ['title' => '实例IP', 'description' => 'The IP address of the instance.', 'type' => 'string', 'example' => '11.227.XX.XX'], 'InstanceStatus' => [ 'title' => '实例状态', 'description' => 'The status of the instance.', 'enumValueTitles' => ['Ready-SchedulingDisabled' => '', 'Ready' => '', 'NotReady' => ''], 'type' => 'string', 'example' => 'Ready', ], 'InstancePhase' => [ 'description' => 'The lifecycle phase of the instance.', 'type' => 'string', 'title' => '', 'example' => 'succeeded', 'enumValueTitles' => ['waiting' => 'waiting', 'operating' => 'operating', 'failed' => 'failed', 'succeeded' => 'succeeded'], ], 'InstanceCpuCount' => ['title' => '实例的Cpu个数', 'description' => 'The number of CPUs for the instance.', 'type' => 'integer', 'format' => 'int32', 'example' => '4'], 'InstanceGpuCount' => ['title' => '实例的Gpu个数', 'description' => 'The number of GPUs for the instance.', 'type' => 'integer', 'format' => 'int32', 'example' => '0'], 'InstanceMemory' => ['title' => '实例的内存大小', 'description' => 'The memory size of the instance.', 'type' => 'string', 'example' => '8192M'], 'InstanceSystemDiskSize' => ['title' => '实例的系统盘大小', 'description' => 'The system disk size of the instance.', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], 'InstanceGpuMemory' => ['title' => '实例的显存大小', 'description' => 'The VRAM size of the instance.', 'type' => 'string', 'example' => '0G'], 'InstanceUsedCpu' => ['title' => '实例已使用的CPU数量', 'description' => 'The number of CPUs in use.', 'type' => 'number', 'format' => 'float', 'example' => '2.4'], 'InstanceUsedGpu' => ['title' => '实例已使用的GPU数量', 'description' => 'The number of GPUs in use.', 'type' => 'number', 'format' => 'float', 'example' => '0'], 'InstanceUsedMemory' => ['title' => '实例已使用的内存大小', 'description' => 'The amount of memory in use.', 'type' => 'string', 'example' => '1000M'], 'InstanceType' => ['title' => '实例的机型', 'description' => 'The instance type.', 'type' => 'string', 'example' => 'ecs.s6-c1m2.xlarge'], 'CreateTime' => ['title' => '实例的创建时间', 'description' => 'The time when the instance was created.', 'type' => 'string', 'example' => '2020-07-05T22:51:32Z'], 'ChargeType' => ['title' => '实例的计费类型', 'description' => 'The billing method for the instance.', 'type' => 'string', 'example' => 'PrePaid'], 'ExpiredTime' => ['title' => '实例过期时间', 'description' => 'The time when the instance expires.', 'type' => 'string', 'example' => '2020-08-05T22:51:32Z'], 'AutoRenewal' => ['title' => '实例是否自动续费', 'description' => 'Indicates whether auto-renewal is enabled for the instance.', 'type' => 'boolean', 'example' => 'false'], 'Arch' => ['title' => '实例系统架构', 'description' => 'The system architecture of the instance.', 'type' => 'string', 'example' => 'arm64'], 'Region' => ['title' => '实例所属区域', 'description' => 'The region of the instance.', 'type' => 'string', 'example' => 'cn-hangzhou'], 'Zone' => ['title' => '实例所属可用区', 'description' => 'The zone of the instance.', 'type' => 'string', 'example' => 'cn-hangzhou-b'], 'ResourceId' => ['title' => '实例所属资源组ID', 'description' => 'The ID of the resource group to which the instance belongs.', 'type' => 'string', 'example' => 'eas-r-xxxxx'], 'InstanceTenantIp' => ['title' => '实例专属网络IP', 'description' => 'The IP address of the instance in a dedicated network.', 'type' => 'string', 'example' => '192.168.XX.XX'], 'InstanceUsedGpuMemory' => ['title' => '实例已使用的显存大小', 'description' => 'The amount of VRAM in use.', 'type' => 'string', 'example' => '470M'], 'Labels' => [ 'title' => '实例标签', 'description' => 'The labels of the instance.', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'LabelKey' => ['title' => '实例标签键', 'description' => 'The label key.', 'type' => 'string', 'example' => 'key'], 'LabelValue' => ['title' => '实例标签值', 'description' => 'The label value.', 'type' => 'string', 'example' => 'value'], ], 'description' => '', 'title' => '', 'example' => '', ], 'example' => '', ], 'LastCordonOperator' => ['title' => '最后一次停止调度操作人。', 'description' => 'The operator who performed the last cordon.', 'type' => 'string', 'example' => '24340xxxxxxxx'], 'LastCordonReason' => ['title' => '最后一次停止调度操作原因。', 'description' => 'The reason for the last cordon.', 'type' => 'string', 'example' => 'operating'], ], 'example' => '', ], 'ResourceInstanceWorker' => [ 'title' => 'A short description of struct', 'description' => 'Describes a worker instance within a service, including its status and resource allocation.', 'type' => 'object', 'properties' => [ 'Name' => ['title' => 'pod名', 'description' => 'The name of the service instance.', 'type' => 'string', 'example' => 'test-india-5bbbfdbc98-****'], 'ServiceName' => ['title' => '服务名', 'description' => 'The name of the service.', 'type' => 'string', 'example' => 'test-in****'], 'Status' => [ 'title' => 'pod状态', 'description' => 'The status of the instance.', 'enumValueTitles' => ['Terminating' => '', 'Succeeded' => '', 'Unknown' => '', 'Failed' => '', 'Running' => '', 'Pending' => ''], 'type' => 'string', 'example' => 'Running', ], 'Ready' => ['title' => '是否ready', 'description' => 'Indicates whether the instance is ready.', 'type' => 'boolean', 'example' => 'true'], 'CpuRequest' => ['title' => 'CpuRequest', 'description' => 'The number of CPU cores requested.', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], 'GpuRequest' => ['title' => 'GpuRequest', 'description' => 'The number of GPUs requested.', 'type' => 'integer', 'format' => 'int32', 'example' => '0'], 'MemoryRquest' => ['title' => 'MemoryRquest', 'description' => 'The requested memory.', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], 'CpuLimit' => ['title' => 'CpuLimit', 'description' => 'The CPU core limit.', 'type' => 'integer', 'format' => 'int32', 'example' => '2'], 'GpuLimit' => ['title' => 'GpuLimit', 'description' => 'The GPU limit.', 'type' => 'integer', 'format' => 'int32', 'example' => '0'], 'MemoryLimit' => ['title' => 'MemoryLimit', 'description' => 'The memory limit.', 'type' => 'integer', 'format' => 'int64', 'example' => '400'], 'RestartCount' => ['title' => 'RestartCount', 'description' => 'The number of times the instance has been restarted.', 'type' => 'integer', 'format' => 'int64', 'example' => '3'], 'StartTime' => ['title' => 'StartTime', 'description' => 'The start time of the instance, in UTC (ISO 8601 format).', 'type' => 'string', 'example' => '2021-05-09T09:56:19Z'], ], 'example' => '', ], 'Service' => [ 'title' => 'A short description of struct', 'description' => 'The details of the service.', 'type' => 'object', 'properties' => [ 'RequestId' => ['title' => '请求ID', 'description' => 'The request ID.', 'type' => 'string', 'example' => '40325405-579C-4D82********'], 'Region' => ['title' => '服务所在的区域', 'description' => 'The region where the service is deployed.', 'type' => 'string', 'example' => 'cn-shanghai'], 'CallerUid' => ['title' => '服务创建账号的UID', 'description' => 'The UID of the account that created the service.', 'type' => 'string', 'example' => '20123*******'], 'ParentUid' => ['title' => '服务创建账号的主账号UID', 'description' => 'The UID of the primary account used to create the service.', 'type' => 'string', 'example' => '11234*******'], 'CurrentVersion' => ['title' => '当前运行的模型版本', 'description' => 'The current version of the running model.', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], 'Cpu' => ['title' => '每个实例申请的cpu', 'description' => 'The number of CPU cores requested for each instance.', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], 'Gpu' => ['title' => '每个实例申请的gpu', 'description' => 'The number of GPUs requested for each instance.', 'type' => 'integer', 'format' => 'int32', 'example' => '0'], 'Image' => ['title' => '服务的数据镜像', 'description' => 'The image used by the service.', 'type' => 'string', 'example' => 'registry.cn-shanghai.aliyuncs.com/eas/echo_cn-shanghai:v0.0.1-20210129111320'], 'PendingInstance' => ['title' => '被挂起的服务的实例个数', 'description' => 'The number of pending instances for the service.', 'type' => 'integer', 'format' => 'int32', 'example' => '0'], 'RunningInstance' => ['title' => '正在运行的服务的实例个数', 'description' => 'The number of running instances of the service.', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], 'TotalInstance' => ['title' => '服务的所有实例总个数', 'description' => 'The total number of instances for the service.', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], 'InternetEndpoint' => ['title' => '服务的公网endpoint', 'description' => 'The internet endpoint of the service. This field is returned only by the `DescribeService` operation.', 'type' => 'string', 'example' => 'http://10123*****.cn-shanghai.aliyuncs.com/api/predict/echo'], 'IntranetEndpoint' => ['title' => '服务内网endpoint', 'description' => 'The intranet endpoint of the service. This field is returned only by the `DescribeService` operation.', 'type' => 'string', 'example' => 'http://10123*****.vpc.cn-shanghai.aliyuncs.com/api/predict/echo'], 'LatestVersion' => ['title' => '服务最新版本号', 'description' => 'The latest version of the service.', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], 'Memory' => ['title' => '每个worker需要的内存大小,单位为M', 'description' => 'The amount of memory requested for each instance, in MB.', 'type' => 'integer', 'format' => 'int32', 'example' => '1024'], 'Message' => ['title' => '服务的摘要信息', 'description' => 'A message that provides information about the service status.', 'type' => 'string', 'example' => 'Service start successfully'], 'Namespace' => ['title' => '服务所在的命名空间', 'description' => 'The namespace where the service is located.', 'type' => 'string', 'example' => 'echo'], 'Reason' => ['title' => '服务的状态信息', 'description' => 'The reason for the service status.', 'type' => 'string', 'example' => 'RUNNING'], 'Resource' => ['title' => '服务所在的资源组', 'description' => 'The resource group to which the service belongs.', 'type' => 'string', 'example' => 'eas-r-xxxxxxx'], 'ResourceAlias' => ['title' => '服务所在的资源组别名', 'description' => 'The alias of the resource group to which the service belongs.', 'type' => 'string', 'example' => 'my_resource'], 'ServiceConfig' => ['title' => '服务的配置信息', 'description' => 'The configuration of the service.', 'type' => 'string', 'example' => '{"metadata":{"cpu":1,"instance":1,"memory":1024},"name":"echo","processor_entry":"libecho.so","processor_path":"http://oss-cn-hangzhou-zmf.aliyuncs.com/059247/echo_processor_release.tar.gz","processor_type":"cpp"}'], 'ServiceName' => ['title' => '服务的名字', 'description' => 'The name of the service.', 'type' => 'string', 'example' => 'echo'], 'ServiceGroup' => ['title' => '服务所在分组', 'description' => 'The group to which the service belongs.', 'type' => 'string', 'example' => 'my_group'], 'Status' => [ 'title' => '服务的状态', 'description' => 'The status of the service.', 'enumValueTitles' => [ 'Creating' => '', 'Deploying' => '', 'Stopped' => '', 'Failed' => '', 'Updating' => '', 'Stopping' => '', 'Waiting' => '', 'HotUpdate' => '', 'Starting' => '', 'DeleteFailed' => '', 'Running' => '', 'Scaling' => '', 'Pending' => '', 'Deleting' => '', ], 'type' => 'string', 'example' => 'Running', ], 'CreateTime' => ['title' => '服务的创建时间', 'description' => 'The time when the service was created, in RFC 3339 format (UTC).', 'type' => 'string', 'example' => '2021-01-29T11:13:20Z'], 'UpdateTime' => ['title' => '服务的更新时间', 'description' => 'The time when the service was last updated, in RFC 3339 format (UTC).', 'type' => 'string', 'example' => '2021-01-29T11:13:20Z'], 'Weight' => ['title' => '服务灰度发布的权重值', 'description' => 'The traffic weight for the canary release of the service.', 'type' => 'integer', 'format' => 'int32', 'example' => '100'], 'ServiceId' => ['title' => '服务ID', 'description' => 'The unique ID of the service.', 'type' => 'string', 'example' => 'eas-m-xxasdat'], 'ServiceUid' => ['title' => '服务ID,同ServiceId', 'description' => 'The service ID. This value is the same as `ServiceId`.', 'type' => 'string', 'example' => 'eas-m-xxasdat'."\n"], 'AccessToken' => ['title' => '服务的请求Token', 'description' => 'The access token for the service.', 'type' => 'string', 'example' => 'MzJiMDI5MDliODc0MTlkYmI0ZDhlYmExYjczYTIyZTE3Zm********'], 'Source' => ['title' => '服务的部署来源', 'description' => 'The deployment source of the service.', 'type' => 'string', 'example' => 'dsw'], 'ExtraData' => ['title' => '服务的额外信息', 'description' => 'Additional information about the service.', 'type' => 'string', 'example' => '{"blue_green_services":["test","testxxxx"]}'], 'Role' => ['title' => '服务角色', 'description' => 'The role of the service.', 'type' => 'string', 'example' => 'Queue'], 'RoleAttrs' => ['title' => '服务角色额外属性', 'description' => 'Additional attributes of the service role. This field is returned only by the `DescribeService` operation.', 'type' => 'string', 'example' => '{"ApproxMaxLength":null,"Length":null,"MaxPayloadBytes":null}'], 'SafetyLock' => [ 'title' => '服务安全锁', 'description' => 'The safety lock status of the service.', 'enumValueTitles' => ['all' => '', 'dangerous' => '', 'none' => ''], 'type' => 'string', 'example' => 'dangerous', 'enum' => ['none', 'dangerous', 'all'], ], 'SecondaryInternetEndpoint' => ['title' => '异步服务同步请求的公网Endpoint', 'description' => 'The internet endpoint for synchronous requests to an asynchronous service. This field is returned only by the `DescribeService` operation.', 'type' => 'string', 'example' => 'http://10123*****.cn-shanghai.aliyuncs.com/api/predict/async_path.echo'."\n"], 'SecondaryIntranetEndpoint' => ['title' => '异步服务同步请求的内网Endpoint', 'description' => 'The intranet endpoint for synchronous requests to an asynchronous service. This field is returned only by the `DescribeService` operation.', 'type' => 'string', 'example' => 'http://10123*****.vpc.cn-shanghai.aliyuncs.com/api/predict/async_path.echo'."\n"], 'Labels' => [ 'title' => '服务标签列表', 'description' => 'The labels of the service.', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'LabelKey' => ['title' => '服务标签键', 'description' => 'The key of the service label.', 'type' => 'string', 'example' => 'key1'], 'LabelValue' => ['title' => '服务标签值', 'description' => 'The value of the service label.', 'type' => 'string', 'example' => 'value1'], ], 'description' => '', 'title' => '', 'example' => '', ], 'example' => '', ], 'WorkspaceId' => ['title' => '服务所属工作空间ID', 'description' => 'The ID of the workspace to which the service belongs.', 'type' => 'string', 'example' => '123445'], 'AppType' => ['title' => '应用服务类型', 'description' => 'The application type of the service.', 'type' => 'string', 'example' => 'LLM'], 'AppConfig' => ['title' => '应用服务配置信息', 'description' => 'The application configuration for the service.', 'type' => 'string', 'example' => '{"ModelStorage":"oss"}'], 'AppSpecName' => ['title' => '应用服务规格名称', 'description' => 'The application specification name for the service.', 'type' => 'string', 'example' => 'llama_7b_fp16'], 'AppVersion' => ['title' => '应用服务版本', 'description' => 'The application version of the service.', 'type' => 'string', 'example' => 'v1'], 'TrafficState' => [ 'title' => '流量状态', 'description' => 'The traffic state of the service.', 'enumValueTitles' => ['standalone' => 'standalone', 'grouping' => 'grouping'], 'type' => 'string', 'example' => 'standalone', ], 'QuotaId' => ['description' => 'The quota ID of the service. This field is returned only for services that are deployed on a Lingjun resource quota.', 'type' => 'string', 'example' => 'quotaxxxxx', 'title' => ''], 'Gateway' => ['description' => 'The ID of the dedicated gateway for the service. This field is returned only for services that are bound to a dedicated gateway.', 'type' => 'string', 'example' => 'gw-xxxxxx', 'title' => ''], 'GPUMemory' => ['description' => 'The amount of GPU memory requested for each instance when GPU sharing is enabled.', 'type' => 'integer', 'title' => '', 'example' => '20', 'format' => 'int32'], 'GPUCorePercentage' => ['description' => 'The percentage of GPU computing power requested for each instance when GPU sharing is enabled.', 'type' => 'integer', 'title' => '', 'example' => '50', 'format' => 'int32'], 'ResourceBurstable' => [ 'description' => 'Indicates whether a burstable resource pool is enabled for the service.', 'enumValueTitles' => ['true' => 'true', 'false' => 'false'], 'type' => 'boolean', 'title' => '', 'example' => 'true', ], 'CronscalerEnabled' => [ 'description' => 'Indicates whether scheduled scaling is enabled for the service.', 'enumValueTitles' => ['true' => 'true', 'false' => 'false'], 'type' => 'boolean', 'title' => '', 'example' => 'true', ], 'AutoscalerEnabled' => [ 'description' => 'Indicates whether auto scaling is enabled for the service.', 'enumValueTitles' => ['true' => 'true', 'false' => 'false'], 'type' => 'boolean', 'title' => '', 'example' => 'true', ], 'InstanceCountInResource' => [ 'type' => 'object', 'properties' => [ 'Public' => ['description' => 'The number of instances that use public resource groups.', 'type' => 'integer', 'title' => '', 'example' => '10', 'format' => 'int32'], 'Dedicated' => ['description' => 'The number of instances that use dedicated or self-managed resource groups.', 'type' => 'integer', 'title' => '', 'example' => '10', 'format' => 'int32'], 'Quota' => ['description' => 'The number of instances that use a Lingjun quota.', 'type' => 'integer', 'title' => '', 'example' => '10', 'format' => 'int32'], ], 'description' => 'A breakdown of the instance count by resource type.', 'title' => '', 'example' => '', ], 'WorkloadType' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], ], 'example' => '', ], ], ], 'apis' => [ 'AttachGatewayDomain' => [ 'summary' => 'Binds a custom domain name to a private gateway.', 'path' => '/api/v2/gateways/{ClusterId}/{GatewayId}/domain/attach', 'methods' => ['put'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', 'abilityTreeCode' => '241083', 'abilityTreeNodes' => ['FEATURElearnMC2VJP'], ], 'parameters' => [ [ 'name' => 'ClusterId', 'in' => 'path', 'schema' => ['description' => 'The region where the private gateway resides.'."\n", 'type' => 'string', 'required' => true, 'example' => 'cn-shanghai', 'title' => ''], ], [ 'name' => 'GatewayId', 'in' => 'path', 'schema' => ['description' => 'The ID of the private gateway. To obtain the private gateway ID, see the GatewayId parameter in the response parameters of the [ListGateway](https://apiworkbench.aliyun-inc.com/document/eas/2021-07-01/ListGateway?spm=openapi-amp.newDocPublishment.0.0.765e281fL2IcjJ\\&Env=online) operation.'."\n", 'type' => 'string', 'required' => true, 'example' => 'gw-1uhcqmsc7x22******', 'title' => ''], ], [ 'name' => 'CustomDomain', 'in' => 'query', 'style' => 'json', 'schema' => [ 'description' => 'The custom domain name information.'."\n", 'type' => 'object', 'properties' => [ 'Type' => [ 'description' => 'The domain name type.'."\n" ."\n" .'Valid value:'."\n" ."\n" .'* intranet: internal network.'."\n" .'* internet: public network.'."\n", 'type' => 'string', 'required' => true, 'enumValueTitles' => ['intranet' => '', 'internet' => ''], 'example' => 'intranet', 'title' => '', ], 'CertificateId' => ['description' => 'The ID of the SSL certificate bound to the domain name. Obtain the certificate ID after you upload or purchase a certificate in the [Certificate Management Service](https://yundunnext.console.aliyun.com/?spm=5176.2020520163.console-base_help.2.4b3baJixaJixOc\\&p=cas) console.'."\n", 'type' => 'string', 'required' => false, 'example' => '1473**25', 'title' => ''], 'Domain' => ['description' => 'The custom domain name.'."\n", 'type' => 'string', 'required' => true, 'example' => 'test.com', 'title' => ''], ], 'required' => true, 'title' => '', 'example' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => 'The data returned.'."\n", 'type' => 'object', 'properties' => [ 'RequestId' => ['title' => 'Id of the request', 'description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '40325405-579C-4D82****'], 'GatewayId' => ['description' => 'The ID of the private gateway. To obtain the private gateway ID, see the GatewayId parameter in the response parameters of the [ListGateway](https://apiworkbench.aliyun-inc.com/document/eas/2021-07-01/ListGateway?spm=openapi-amp.newDocPublishment.0.0.765e281fL2IcjJ\\&Env=online) operation.'."\n", 'type' => 'string', 'example' => 'gw-1uhcqmsc7x22******', 'title' => ''], 'Message' => ['description' => 'The error message.'."\n", 'type' => 'string', 'example' => 'Successfully update custom endpoint for gateway gw-1uhcqmsc7x22******'."\n", 'title' => ''], ], 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"40325405-579C-4D82****\\",\\n \\"GatewayId\\": \\"gw-1uhcqmsc7x22******\\",\\n \\"Message\\": \\"Successfully update custom endpoint for gateway gw-1uhcqmsc7x22******\\\\n\\"\\n}","type":"json"}]', 'title' => 'AttachGatewayDomain', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'AttachGatewayDomain'], ], ], 'ramActions' => [ [ 'operationType' => 'update', 'ramAction' => [ 'action' => 'eas:AttachGatewayDomain', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'PAI', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], ], 'CloneService' => [ 'path' => '/api/v2/services/{ClusterId}/{ServiceName}/clone', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'paid', 'abilityTreeCode' => '217114', 'abilityTreeNodes' => ['FEATURElearnKDX12S'], ], 'parameters' => [ [ 'name' => 'ClusterId', 'in' => 'path', 'schema' => ['description' => 'The cluster ID.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'cn-hangzhou'], ], [ 'name' => 'ServiceName', 'in' => 'path', 'schema' => ['description' => 'The service name. For more information about how to query the service name, see [ListServices](~~412109~~).', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'foo'], ], [ 'name' => 'body', 'in' => 'body', 'schema' => ['description' => 'The request body. For more information, see [CreateService](~~412086~~).', 'type' => 'string', 'title' => '', 'required' => false, 'example' => '{ "name": "foo", "model_path": "http://path/to/model.tar.gz", "processor": "tensorflow_cpu", "metadata": { "instance": 2, "memory": 7000, "cpu": 4 } }'], ], [ 'name' => 'Labels', 'in' => 'query', 'style' => 'json', 'schema' => [ 'title' => '', 'description' => 'The label of the service to be cloned.', 'type' => 'object', 'required' => false, 'additionalProperties' => ['description' => 'The custom service label.', 'type' => 'string', 'example' => '{"key":"value"}'."\n", 'title' => ''], 'example' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => 'The response parameters.', 'type' => 'object', 'properties' => [ 'RequestId' => ['title' => 'Id of the request', 'description' => 'Id of the request', 'type' => 'string', 'example' => '40325405-579C-4D82****'], 'ServiceId' => ['description' => 'The service ID.', 'type' => 'string', 'title' => '', 'example' => 'eas-m-r9knx7n9guf2p*****'], 'ServiceName' => ['description' => 'The service name.', 'type' => 'string', 'title' => '', 'example' => 'foo'], 'Status' => ['description' => 'The service status.', 'type' => 'string', 'title' => '', 'example' => 'Creating'], 'InternetEndpoint' => ['description' => 'The public endpoint of the service.', 'type' => 'string', 'title' => '', 'example' => 'http://10123*****.cn-shanghai.aliyuncs.com/api/predict/echo'], 'IntranetEndpoint' => ['description' => 'The private endpoint of the service.', 'type' => 'string', 'title' => '', 'example' => 'http://10123*****.vpc.cn-shanghai.aliyuncs.com/api/predict/echo'], ], 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'title' => 'CloneService', 'summary' => 'Clones a service.', 'changeSet' => [ ['createdAt' => '2024-08-19T02:57:21.000Z', 'description' => 'Request parameters changed'], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CloneService'], ], ], 'ramActions' => [ [ 'operationType' => 'create', 'ramAction' => [ 'action' => 'eas:CloneService', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'PAI', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"40325405-579C-4D82****\\",\\n \\"ServiceId\\": \\"eas-m-r9knx7n9guf2p*****\\",\\n \\"ServiceName\\": \\"foo\\",\\n \\"Status\\": \\"Creating\\",\\n \\"InternetEndpoint\\": \\"http://10123*****.cn-shanghai.aliyuncs.com/api/predict/echo\\",\\n \\"IntranetEndpoint\\": \\"http://10123*****.vpc.cn-shanghai.aliyuncs.com/api/predict/echo\\"\\n}","type":"json"}]', ], 'CommitService' => [ 'summary' => 'Commits the Worker0 container in the custom container service and deploys the container as a new image.', 'path' => '/api/v2/services/{ClusterId}/{ServiceName}/commit', 'methods' => ['put'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', 'abilityTreeCode' => '161122', 'abilityTreeNodes' => ['FEATURElearnKDX12S'], ], 'parameters' => [ [ 'name' => 'ClusterId', 'in' => 'path', 'schema' => ['title' => '', 'description' => 'The ID of the region where the service is deployed.'."\n", 'type' => 'string', 'required' => false, 'example' => 'cn-beijing'], ], [ 'name' => 'ServiceName', 'in' => 'path', 'schema' => ['title' => '', 'description' => 'The service name. For more information about how to query the service name, see [ListServices](~~412109~~).'."\n", 'type' => 'string', 'required' => false, 'example' => 'foo'], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => 'The response parameters.'."\n", 'type' => 'object', 'properties' => [ 'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '40325405-579C-4D82****'], 'Message' => ['title' => '', 'description' => 'The returned message.'."\n", 'type' => 'string', 'example' => 'Success'], ], 'example' => '', ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"40325405-579C-4D82****\\",\\n \\"Message\\": \\"Success\\"\\n}","type":"json"}]', 'title' => 'CommitService', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CommitService'], ], ], 'ramActions' => [ [ 'operationType' => 'update', 'ramAction' => [ 'action' => 'eas:CommitService', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'PAI', 'resourceType' => 'Service', 'arn' => 'acs:eas:{#regionId}:{#accountId}:service/{#ServiceName}'], ], ], ], ], ], 'CreateAclPolicy' => [ 'summary' => 'Creates an access control list (ACL) for a private gateway. The IP CIDR blocks added to the ACL can access the private gateway.', 'path' => '/api/v2/gateways/{ClusterId}/{GatewayId}/acl_policy', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'create', 'abilityTreeCode' => '225604', 'abilityTreeNodes' => ['FEATURElearn6PC7M4'], ], 'parameters' => [ [ 'name' => 'ClusterId', 'in' => 'path', 'schema' => ['description' => 'The region ID of the private gateway.'."\n", 'type' => 'string', 'required' => true, 'example' => 'cn-wulanchabu', 'title' => ''], ], [ 'name' => 'GatewayId', 'in' => 'path', 'schema' => ['description' => 'The private gateway ID. To obtain the private gateway ID, see the private_gateway_id parameter in the response parameters of the ListResources operation.'."\n", 'type' => 'string', 'required' => true, 'example' => 'gw-1uhcqmsc7x22******', 'title' => ''], ], [ 'name' => 'VpcId', 'in' => 'query', 'schema' => ['description' => 'The ID of the virtual private cloud (VPC). For more information about how to obtain the VPC ID, see DescribeVpcs.'."\n", 'type' => 'string', 'required' => false, 'example' => 'vpc-uf66uio7md****', 'title' => ''], ], [ 'name' => 'AclPolicyList', 'in' => 'query', 'style' => 'json', 'schema' => [ 'description' => 'The whitelisted IP CIDR blocks in the VPC that can access the private gateway.'."\n", 'type' => 'array', 'items' => [ 'description' => 'The whitelisted IP CIDR block in the VPC that can access the private gateway.'."\n", 'type' => 'object', 'properties' => [ 'Entry' => ['description' => 'The IP CIDR block in the VPC that can access the private gateway.'."\n", 'type' => 'string', 'required' => true, 'example' => '10.23.XX.XX/32', 'title' => ''], 'Comment' => ['description' => 'The comment on the IP CIDR block in the VPC that can access the private gateway.'."\n", 'type' => 'string', 'required' => false, 'example' => 'default', 'title' => ''], ], 'required' => false, 'title' => '', 'example' => '', ], 'required' => true, 'title' => '', 'example' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => 'The response parameters.'."\n", 'type' => 'object', 'properties' => [ 'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '40325405-579C-4D82****'], 'GatewayId' => ['description' => 'The private gateway ID.'."\n", 'type' => 'string', 'example' => 'gw-1uhcqmsc7x22******', 'title' => ''], 'Message' => ['description' => 'The returned message.'."\n", 'type' => 'string', 'example' => 'Successfully add acl policy for gateway', 'title' => ''], ], 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"40325405-579C-4D82****\\",\\n \\"GatewayId\\": \\"gw-1uhcqmsc7x22******\\",\\n \\"Message\\": \\"Successfully add acl policy for gateway\\"\\n}","type":"json"}]', 'title' => 'CreateAclPolicy', 'changeSet' => [ ['createdAt' => '2024-10-11T02:05:46.000Z', 'description' => 'Request parameters changed'], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateAclPolicy'], ], ], 'ramActions' => [ [ 'operationType' => 'create', 'ramAction' => [ 'action' => 'eas:CreateAclPolicy', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'PAI', 'resourceType' => 'Gateway', 'arn' => 'acs:eas:{#regionId}:{#accountId}:gateway/{#GatewayId}'], ], ], ], ], ], 'CreateAppService' => [ 'summary' => 'Creates an application service to obtain the inference capabilities of large models.', 'path' => '/api/v2/app_services', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => ['operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'paid'], 'parameters' => [ [ 'name' => 'WorkspaceId', 'in' => 'query', 'schema' => ['description' => 'The workspace ID.'."\n", 'type' => 'string', 'required' => false, 'example' => '12****', 'title' => ''], ], [ 'name' => 'QuotaId', 'in' => 'query', 'schema' => ['description' => 'The quota ID.'."\n", 'type' => 'string', 'required' => false, 'example' => 'abcdef', 'title' => ''], ], [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'description' => 'The request body.'."\n", 'type' => 'object', 'properties' => [ 'ServiceName' => ['description' => 'The service name.'."\n", 'type' => 'string', 'required' => true, 'example' => 'foo', 'title' => ''], 'AppType' => [ 'description' => 'The application service type.'."\n" ."\n" .'Valid values:'."\n" ."\n" .'* LLM'."\n" ."\n" .' '."\n" ."\n" .' '."\n" ."\n" .' '."\n", 'type' => 'string', 'required' => true, 'enumValueTitles' => ['LLM' => 'LLM'], 'example' => 'LLM', 'title' => '', ], 'AppVersion' => ['description' => 'The application version.'."\n", 'type' => 'string', 'required' => false, 'example' => 'v1', 'title' => ''], 'ServiceSpec' => ['description' => 'The service specifications. Valid values:'."\n" ."\n" .'* llama\\_7b_fp16'."\n" .'* llama\\_7b_int8'."\n" .'* llama\\_13b_fp16'."\n" .'* llama\\_7b_int8'."\n" .'* chatglm\\_6b_fp16'."\n" .'* chatglm\\_6b_int8'."\n" .'* chatglm2\\_6b_fp16'."\n" .'* baichuan\\_7b_int8'."\n" .'* baichuan\\_13b_fp16'."\n" .'* baichuan\\_7b_fp16'."\n", 'type' => 'string', 'required' => true, 'example' => 'llama_7b_fp16', 'title' => ''], 'Replicas' => ['description' => 'The number of instances.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '1', 'title' => ''], 'Config' => [ 'description' => 'The additional configurations that are required for service deployment.'."\n", 'type' => 'object', 'required' => false, 'additionalProperties' => ['type' => 'any', 'example' => ' { "ModelStorage": "oss", "OssPath": "oss://examplebucket/xxxx/" }', 'description' => 'The application information such as model mounting. Object Storage Service (OSS) mounting and File Storage NAS (NAS) mounting are supported.'."\n" ."\n" .'* For OSS mounting, the parameters are configured in the following way: { "ModelStorage": "oss", "OssPath": "oss://examplebucket/xxxx/" }'."\n" .'* For NAS mounting, the parameters are configured in the following way: { "ModelStorage": "nas", "NasMountTarget": "317d14\\*\\*\\*\\*-****.cn-shanghai.nas.aliyuncs.com", "NasPath": "/", "SecurityGroupID": "sg-uf6e50fazt4u7smt****", "VpcID": "vpc-uf66zxxrlv0l4nj49\\*\\*\\*\\*", "VswitchID": "vsw-uf6fg76uu2bx84tci\\*\\*\\*\\*" } Parameters:'."\n" .'* ModelStorage: specifies the service in which the model is stored.'."\n" .'* OssPath: specifies the OSS bucket directory where the model resides.'."\n" .'* NasMountTarget: specifies the NAS mount target.'."\n" .'* NasPath: specifies the NAS path where the files are stored.'."\n" .'* SecurityGroupID: specifies the ID of the security group that is used to create the NAS file system.'."\n" .'* VpcID: specifies the ID of the virtual private cloud (VPC) that is used to create the NAS file system.'."\n" .'* VswitchID: specifies the ID of the vSwitch that is used to create the NAS file system.', 'title' => ''], 'title' => '', 'example' => '', ], ], 'required' => false, 'title' => '', 'example' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => 'The response parameters.'."\n", 'type' => 'object', 'properties' => [ 'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '40325405-579C-4D82****'], 'ServiceId' => ['description' => 'The service ID.'."\n", 'type' => 'string', 'example' => 'eas-m-aaxxxddf', 'title' => ''], 'ServiceName' => ['description' => 'The service name.'."\n", 'type' => 'string', 'example' => 'foo', 'title' => ''], 'Status' => ['description' => 'The service state.'."\n", 'type' => 'string', 'example' => 'Creating', 'title' => ''], 'Region' => ['description' => 'The region ID of the service.'."\n", 'type' => 'string', 'example' => 'cn-shanghai', 'title' => ''], 'InternetEndpoint' => ['description' => 'The public endpoint of the service.'."\n", 'type' => 'string', 'example' => 'http://pai-eas.cn-shanghai.****', 'title' => ''], 'IntranetEndpoint' => ['description' => 'The internal endpoint of the service.'."\n", 'type' => 'string', 'example' => 'http://pai-eas-vpc.cn-shanghai.****', 'title' => ''], ], 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"40325405-579C-4D82****\\",\\n \\"ServiceId\\": \\"eas-m-aaxxxddf\\",\\n \\"ServiceName\\": \\"foo\\",\\n \\"Status\\": \\"Creating\\",\\n \\"Region\\": \\"cn-shanghai\\",\\n \\"InternetEndpoint\\": \\"http://pai-eas.cn-shanghai.****\\",\\n \\"IntranetEndpoint\\": \\"http://pai-eas-vpc.cn-shanghai.****\\"\\n}","type":"json"}]', 'title' => 'CreateAppService', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateAppService'], ], ], 'ramActions' => [ [ 'operationType' => 'create', 'ramAction' => [ 'action' => 'eas:CreateAppService', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'PAI', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], ], 'CreateBenchmarkTask' => [ 'summary' => 'Creates a stress testing task.', 'path' => '/api/v2/benchmark-tasks', 'methods' => ['post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'systemTags' => [], 'parameters' => [ [ 'name' => 'body', 'in' => 'body', 'schema' => ['description' => 'The request body. The body includes the parameters that are set to create a stress testing task.'."\n", 'type' => 'string', 'required' => false, 'example' => '{'."\n" .' "base": {'."\n" .' "duration": 600'."\n" .' },'."\n" .' "service": {'."\n" .' "serviceName": "test_service",'."\n" .' "requestToken": "test_token"'."\n" .' },'."\n" .' "data": {'."\n" .' "path": "https://larec-benchmark-cd.oss-cn-chengdu.aliyuncs.com/youbei/sv_dbmtl/data/youbei.warmup.tf.bin",'."\n" .' "dataType": "binary"'."\n" .' },'."\n" .' "optional": {'."\n" .' "maxRt": 100'."\n" .' }'."\n" .'}', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => 'The response parameters.'."\n", 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '40325405-579C-4D82********', 'title' => ''], 'TaskName' => ['description' => 'The name of the stress testing task.'."\n", 'type' => 'string', 'example' => 'benchmark-larec-test-1076', 'title' => ''], 'Region' => ['description' => 'The ID of the region where the stress testing task is performed.'."\n", 'type' => 'string', 'example' => 'cn-shanghai', 'title' => ''], 'Message' => ['description' => 'The returned message.'."\n", 'type' => 'string', 'example' => 'Benchmark task [foo] is Creating', 'title' => ''], ], 'example' => '', ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"40325405-579C-4D82********\\",\\n \\"TaskName\\": \\"benchmark-larec-test-1076\\",\\n \\"Region\\": \\"cn-shanghai\\",\\n \\"Message\\": \\"Benchmark task [foo] is Creating\\"\\n}","type":"json"}]', 'title' => 'CreateBenchmarkTask', 'requestParamsDescription' => '## Parameters that are set to create a stress testing task'."\n" ."\n" .'The following table describes the parameters that are set to create a stress testing task by using eas-benchmark.'."\n" ."\n" .'|**Parameter**|**Description**|'."\n" .'|---|---|'."\n" .'|base|The basic configurations of the stress testing task.|'."\n" .'|service|The configurations related to the service that you want to test.|'."\n" .'|data|The configurations related to the requested data for the stress testing.|'."\n" .'|http|The configurations related to the request HTTP for the service.|'."\n" .'|optional|The optional advanced configurations for the stress testing task.|'."\n" ."\n" .'#### Table 1. Fields in the base parameter'."\n" ."\n" .'|**Field**|**Description**|'."\n" .'|---|---|'."\n" .'|name|The name of the stress testing task. If you do not specify this field, the task is automatically named based on the service name. This field is optional.|'."\n" .'|duration|The total stress testing duration. Unit: seconds. Default value: 1200. This field is optional.|'."\n" .'|qps|The expected queries per second (QPS) of the stress testing task. Default value: 10000. This field is optional.|'."\n" .'|concurrency|The number of concurrent connections that you want to create for each instance in the stress testing task. The default value is 40, and it canbe automatically changed. This field is optional.|'."\n" .'|agentCount|The number of instances that you want to create for the stress testing task. The default value is 1, and it can be automatically changed. This field is optional.|'."\n" ."\n" .'#### Table 2. Fields in the service parameter'."\n" ."\n" .'| \\*\\*Field\\*\\* | \\*\\*Description\\*\\* | '."\n" .'| --- | --- | '."\n" .'| serviceUrl | The URL of the service that you want to test. If a service of Elastic Algorithm Service (EAS) is tested, this field can be ignored. This field is optional. | '."\n" .'| serviceName | The name of the service that you want to test. If a service of EAS is tested, this field must be set. If a custom service is tested, this field can be ignored. This field is optional. | '."\n" .'| requestToken | The token used to access the service. If the value of \\*\\*serviceName\\*\\* is specified, this field can be ignored. This field is optional. | '."\n" .'| endpointType | The type of stress testing supported by the service. Valid values: default and direct. \\*\\*default\\*\\* specifies that the stress testing task is performed on the service by using a gateway. \\*\\*direct\\*\\* specifies that the stress testing task is directly performed on the service. Default value: \\*\\*direct\\*\\*. This field is optional. | '."\n" .'#### Table 3. Fields in the data parameter '."\n" .'| \\*\\*Field\\*\\* | \\*\\*Description\\*\\* | '."\n" .'| --- | --- | '."\n" .'| content | The content of a stress testing request. The value of this field is of the STRING type. This field is optional. | '."\n" .'| path | The path of the stress testing data. The path can be a single file or a \\`.zip\\` file. The \\`.zip\\` file is automatically downloaded and decompressed. This field is optional. | '."\n" .'| dataType | The type of the test data. Valid values: text and binary. Default value: text. This field is optional. | '."\n" .'| multiLine | Specifies whether to separate the stress testing data by line. Valid values: true and false. Default value: false. If you set this field to true, the downloaded data is parsed by line. This field is optional. | '."\n" .'#### Table 4. Fields in the HTTP parameter '."\n" .'| \\*\\*Field\\*\\* | \\*\\*Description\\*\\* | '."\n" .'| --- | --- | '."\n" .'| method | The HTTP request method. Default value: POST. This field is optional. | '."\n" .'| host | The host that sends the request. This field is empty by default. This field is optional. | '."\n" .'| headers | The header of the HTTP request. The header is of the LIST type, such as \\`\\["Authorization:aaa", "Content-Type:text"\\] \\`. This field is optional. | '."\n" .'| timeout | The HTTP request latency. Unit: millisecond. Default value: 20000. This field is optional. | '."\n" .'#### Table 5. Fields in the optional parameter '."\n" .'| \\*\\*Field\\*\\* | \\*\\*Description\\*\\* | '."\n" .'| --- | --- | '."\n" .'| mode | The stress testing mode. Valid values: auto, scan, and manual. The value scan specifies to periodically perform stress testing. Default value: auto. This field is optional. | '."\n" .'| adjustInterval | The interval at which stress testing is automatically performed. Unit: seconds. If this field is set to 1, stress testing is performed at an interval of 1 second. Default value: 60. This field is optional. | '."\n" .'| minQPS | The minimum QPS of stress testing. Default value: 100. This field is optional. | '."\n" .'| maxQPS | The maximum QPS of stress testing. Default value: 10000. This field is optional. | '."\n" .'| maxRT | The maximum response time. If the actual response time exceeds the specified upper limit, the QPS is automatically adjusted until the response time drops below the upper limit. This field is optional. | '."\n" .'| qpsGrowthDelta | The QPS increment. Default value: 50. This field is optional. | '."\n" .'| faultTolerate | The highest request error rate that can be tolerated, excluding errors with the HTTP 200 status code. Default value: 0.001. This field is optional. | '."\n" .'| faultAction | The operation that is performed if the request error rate exceeds the threshold specified by the faultTolerate field. Valid values: stop and revise. stop means to maintain the current QPS and stop increasing the loads. revise means to dynamically adjust the QPS until the request error rate meets the expectation. This field is optional.|', 'changeSet' => [ ['createdAt' => '2022-08-30T11:20:04.000Z', 'description' => 'Response parameters changed'], ['createdAt' => '2022-05-27T03:23:01.000Z', 'description' => 'OpenAPI offline'], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateBenchmarkTask'], ], ], 'ramActions' => [ [ 'operationType' => '', 'ramAction' => [ 'action' => 'eas:CreateBenchmarkTask', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'PAI', 'resourceType' => 'BenchmarkTask', 'arn' => 'acs:eas:{#regionId}:{#accountId}:benchmarktask/*'], ], ], ], ], ], 'CreateConfig' => [ 'summary' => 'Creates a single dynamic parameter in a specified service.', 'path' => '/api/v2/configs/{ClusterId}/{ConfigType}/{Name}/{ConfigKey}', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATURElearnKDX12S'], ], 'parameters' => [ [ 'name' => 'ClusterId', 'in' => 'path', 'schema' => ['description' => 'The region where the service is located.', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''], ], [ 'name' => 'ConfigType', 'in' => 'path', 'schema' => ['description' => 'The configuration type. Currently, only `service` is supported.', 'type' => 'string', 'required' => false, 'example' => 'service', 'title' => ''], ], [ 'name' => 'Name', 'in' => 'path', 'schema' => ['description' => 'The service name.', 'type' => 'string', 'required' => false, 'example' => 'my_llm_service', 'title' => ''], ], [ 'name' => 'ConfigKey', 'in' => 'path', 'schema' => ['description' => 'The dynamic parameter name. It can contain letters, digits, periods (.), underscores (\\_), hyphens (-), and forward slashes (/). The maximum length is 100 characters.', 'type' => 'string', 'required' => false, 'example' => 'rate_limit', 'title' => ''], ], [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'type' => 'object', 'properties' => [ 'Value' => ['description' => 'The dynamic parameter value.', 'type' => 'string', 'required' => false, 'example' => '{"model": "gpt-4"}', 'title' => ''], ], 'description' => 'The request body.', 'required' => false, 'title' => '', 'example' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'Key' => ['description' => 'The dynamic parameter name.', 'type' => 'string', 'example' => 'model-config', 'title' => ''], 'Value' => ['description' => 'The dynamic parameter value.', 'type' => 'string', 'example' => '{"model": "gpt-4"}', 'title' => ''], 'CreatedAt' => ['description' => 'The creation time.', 'type' => 'string', 'example' => '2024-01-01T00:00:00Z', 'title' => ''], 'UpdatedAt' => ['description' => 'The update time.', 'type' => 'string', 'example' => '2024-01-01T00:00:00Z', 'title' => ''], ], 'title' => '', 'description' => 'The response body.', 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'title' => 'CreateConfig', 'description' => '## Description'."\n" ."\n" .'- This API creates a new dynamic parameter by sending a POST request to a specified path.'."\n" ."\n" .'- The dynamic parameter name (`ConfigKey`) can contain letters, digits, periods (.), underscores (\\_), hyphens (-), and forward slashes (/). The maximum length is 100 characters.'."\n" ."\n" .'- The request body must include the dynamic parameter value (`Value`).'."\n" ."\n" .'- If successful, the API returns the new dynamic parameter\'s name (`Key`), value (`Value`), creation time, and update time.', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], ], 'ramActions' => [], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Key\\": \\"model-config\\",\\n \\"Value\\": \\"{\\\\\\"model\\\\\\": \\\\\\"gpt-4\\\\\\"}\\",\\n \\"CreatedAt\\": \\"2024-01-01T00:00:00Z\\",\\n \\"UpdatedAt\\": \\"2024-01-01T00:00:00Z\\"\\n}","type":"json"}]', ], 'CreateFaultInjection' => [ 'path' => '/api/v2/services/{ClusterId}/{ServiceName}/instances/{InstanceName}/faults', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'produces' => ['application/json'], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATURElearnN5R68Z'], ], 'parameters' => [ [ 'name' => 'ClusterId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true, 'description' => 'The region where the private gateway is located.', 'title' => '', 'example' => 'cn-shanghai'], ], [ 'name' => 'ServiceName', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true, 'description' => 'The name of the service. For more information about how to view the service name, see [ListServices](~~412109~~).', 'title' => '', 'example' => 'foo'], ], [ 'name' => 'InstanceName', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true, 'description' => 'The name of the service instance. For more information about how to view the instance name, see [ListServiceInstances](~~412108~~).', 'title' => '', 'example' => 'foo-69xxxx4f4-5w9r9'], ], [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'type' => 'object', 'properties' => [ 'FaultType' => [ 'type' => 'string', 'description' => 'The fault type.'."\n" .'Device faults: 1. CPU full load fault. 2. Memory load fault. 3. Network fault. 4. Disk read/write fault. 5. Disk fill fault.', 'required' => false, 'enumValueTitles' => ['MemLoadTask' => 'Memory stress', 'CpuFullloadTask' => 'CPU full load', 'NetworkTask' => 'Network fault', 'DiskFillTask' => 'Disk stress'], 'title' => '', 'example' => 'CpuFullloadTask', ], 'FaultArgs' => ['type' => 'any', 'description' => 'The parameters for each fault type are described as follows:'."\n" ."\n" .'1. CpuFullloadTask (CPU full load fault)'."\n" .' `{ "FaultType": "CpuFullloadTask", "FaultArgs": { "FaultAction": "fullload", "CpuPercent": 50 } }`'."\n" ."\n" .'2. MemLoadTask (Memory load fault)'."\n" .' `{ "FaultType": "MemLoadTask", "FaultArgs": { "FaultAction": "load", "MemPercent": 80 } }`'."\n" ."\n" .'3. NetworkTask (Network fault)'."\n" .' 3.a. NetworkDelayAction (Network delay)'."\n" .' `{ "FaultType": "NetworkTask", "FaultArgs": { "FaultAction": "delay", "Time": 3000, "Offset": 100 } }`'."\n" .' 3.b. NetworkCorruptAction (Network packet corruption)'."\n" .' `{ "FaultType": "NetworkTask", "FaultArgs": { "FaultAction": "corrupt", "Percent": 50 } }`'."\n" .' 3.c. NetworkLossAction (Network packet loss)'."\n" .' `{ "FaultType": "NetworkTask", "FaultArgs": { "FaultAction": "loss", "Percent": 30 } }`'."\n" ."\n" .'4. DiskBurnTask (Disk read/write fault)'."\n" .' `{ "FaultType": "DiskBurnTask", "FaultArgs": { "FaultAction": "burn", "Read": true, "Write": true, "Size": 100 } }`'."\n" ."\n" .'5. DiskFillTask (Disk fill fault)'."\n" .' `{ "FaultType": "DiskFillTask", "FaultArgs": { "FaultAction": "fill", "Percent": 80 } }`', 'required' => false, 'title' => '', 'example' => '{'."\n" .' "FaultType": "DiskFillTask",'."\n" .' "FaultArgs": {'."\n" .' "FaultAction": "fill",'."\n" .' "Percent": 80'."\n" .' }'."\n" .'}'."\n"], ], 'description' => 'The request body. For information about key request parameters, see **Table 1. Request body parameters** and **Table 2. metadata parameters** below. For more information about parameter settings, see [Parameter description for service models](~~450525~~).', 'required' => false, 'title' => '', 'example' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['type' => 'string', 'title' => '', 'description' => 'The ID of the request.', 'example' => '40325405-579C-4D82***'], 'Message' => ['type' => 'string', 'description' => 'The message returned for the request.', 'title' => '', 'example' => 'Addon prometheus_discovery is successfully reinstalled'], ], 'title' => '', 'description' => 'The response schema.', 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'title' => 'CreateFaultInjection', 'summary' => 'Creates a fault injection task.', 'description' => '**Before you use this operation, make sure that you understand the billing methods and [pricing](~~144261~~) of Elastic Algorithm Service (EAS).**', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], ], 'ramActions' => [], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"40325405-579C-4D82***\\",\\n \\"Message\\": \\"Addon prometheus_discovery is successfully reinstalled\\"\\n}","type":"json"}]', ], 'CreateGateway' => [ 'path' => '/api/v2/gateways', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'paid', 'abilityTreeCode' => '191840', 'abilityTreeNodes' => ['FEATURElearn6PC7M4'], ], 'parameters' => [ [ 'name' => 'ResourceName', 'in' => 'query', 'schema' => ['description' => 'The name of the resource group. For more information, see the ResourceName field that is returned by the [ListResources](~~412133~~) operation when ResourceType is SelfManaged.', 'type' => 'string', 'required' => false, 'example' => 'eas-r-4gt8twzwllfo******', 'title' => ''], ], [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'description' => 'The request body.', 'type' => 'object', 'properties' => [ 'InstanceType' => ['description' => 'The instance type of the private gateway. Valid values:'."\n" ."\n" .'- 2c4g'."\n" ."\n" .'- 4c8g'."\n" ."\n" .'- 8c16g'."\n" ."\n" .'- 16c32g', 'type' => 'string', 'required' => false, 'example' => '2c4g', 'title' => ''], 'EnableIntranet' => [ 'description' => 'Specifies whether to enable internal network access. The default value is true.', 'type' => 'boolean', 'required' => false, 'enumValueTitles' => ['true' => 'Enable', 'false' => 'Disable'], 'example' => 'true', 'title' => '', ], 'EnableInternet' => [ 'description' => 'Specifies whether to enable public network access. The default value is false.', 'type' => 'boolean', 'required' => false, 'enumValueTitles' => ['true' => 'Enable', 'false' => 'Disable'], 'example' => 'false', 'title' => '', ], 'Name' => ['description' => 'The alias of the private gateway.', 'type' => 'string', 'required' => false, 'example' => 'mygateway1', 'title' => ''], 'Replicas' => ['description' => 'The number of nodes for the private gateway.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '2', 'title' => ''], 'ChargeType' => ['description' => 'The billing method. Valid values:'."\n" ."\n" .'- PrePaid: subscription.'."\n" ."\n" .'- PostPaid: pay-as-you-go.', 'type' => 'string', 'required' => false, 'example' => 'PostPaid', 'title' => ''], 'AutoRenewal' => ['description' => 'Specifies whether to enable auto-renewal. Valid values:'."\n" ."\n" .'- false (default): Auto-renewal is disabled.'."\n" ."\n" .'- true: Auto-renewal is enabled.', 'type' => 'boolean', 'required' => false, 'title' => '', 'example' => ''], 'GatewayType' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], ], 'required' => false, 'title' => '', 'example' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => 'The response.', 'type' => 'object', 'properties' => [ 'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID.', 'type' => 'string', 'example' => '40325405-579C-4D82****'], 'GatewayId' => ['description' => 'The ID of the private gateway.', 'type' => 'string', 'example' => 'gw-1uhcqmsc7x22******', 'title' => ''], 'ClusterId' => ['description' => 'The region where the private gateway resides.', 'type' => 'string', 'example' => 'cn-wulanchabu', 'title' => ''], 'Message' => ['description' => 'The message returned for the request.', 'type' => 'string', 'example' => 'Successfully create gateway for user-managed resource', 'title' => ''], ], 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], 'title' => 'CreateGateway', 'summary' => 'Creates a gateway.', 'changeSet' => [ ['createdAt' => '2024-10-11T02:03:42.000Z', 'description' => 'Request parameters changed'], ['createdAt' => '2024-07-31T09:23:25.000Z', 'description' => 'Request parameters changed'], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateGateway'], ], ], 'ramActions' => [ [ 'operationType' => 'create', 'ramAction' => [ 'action' => 'eas:CreateGateway', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'PAI', 'resourceType' => 'Gateway', 'arn' => 'acs:eas:{#regionId}:{#accountId}:gateway/*'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"40325405-579C-4D82****\\",\\n \\"GatewayId\\": \\"gw-1uhcqmsc7x22******\\",\\n \\"ClusterId\\": \\"cn-wulanchabu\\",\\n \\"Message\\": \\"Successfully create gateway for user-managed resource\\"\\n}","type":"json"}]', ], 'CreateGatewayIntranetLinkedVpc' => [ 'summary' => 'Creates an internal endpoint for a private gateway.', 'path' => '/api/v2/gateways/{ClusterId}/{GatewayId}/intranet_endpoint_linked_vpc', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'create', 'riskType' => 'high', 'chargeType' => 'paid', 'abilityTreeCode' => '192211', 'abilityTreeNodes' => ['FEATURElearnMC2VJP'], ], 'parameters' => [ [ 'name' => 'ClusterId', 'in' => 'path', 'schema' => ['description' => 'The region where the private gateway is located.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'cn-wulanchabu'], ], [ 'name' => 'GatewayId', 'in' => 'path', 'schema' => ['description' => 'The ID of the private gateway. For more information, see the private\\_gateway\\_id field in the response of the [ListResources](~~412133~~) operation.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'gw-1uhcqmsc7x22******'], ], [ 'name' => 'VpcId', 'in' => 'query', 'schema' => ['description' => 'The ID of the virtual private cloud (VPC). For more information, see [DescribeVpcs](~~448581~~).', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'vpc-uf66uio7md****'], ], [ 'name' => 'VSwitchId', 'in' => 'query', 'schema' => ['description' => 'The ID of the virtual switch. For more information, see [DescribeVpcs](~~448581~~).', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'vsw-8vbqn2at0kljjxxxx****'], ], [ 'name' => 'EnableAuthoritativeDns', 'in' => 'query', 'schema' => ['type' => 'boolean', 'description' => 'Specifies whether to enable authoritative DNS parsing. The default value is false.', 'required' => false, 'title' => '', 'example' => 'true'], ], [ 'name' => 'AccountId', 'in' => 'query', 'schema' => ['type' => 'string', 'description' => 'The ID of the Alibaba Cloud account to which the VPC belongs.', 'required' => false, 'title' => '', 'example' => '19*****10'], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => 'The response.', 'type' => 'object', 'properties' => [ 'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID.', 'type' => 'string', 'example' => '40325405-579C-4D82****'], 'GatewayId' => ['description' => 'The ID of the private gateway.', 'type' => 'string', 'title' => '', 'example' => 'gw-1uhcqmsc7x22******'], 'Message' => ['description' => 'The message returned for the request.', 'type' => 'string', 'title' => '', 'example' => 'Successfully add intranet linked vpc for gateway'], ], 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"40325405-579C-4D82****\\",\\n \\"GatewayId\\": \\"gw-1uhcqmsc7x22******\\",\\n \\"Message\\": \\"Successfully add intranet linked vpc for gateway\\"\\n}","type":"json"}]', 'title' => 'CreateGatewayIntranetLinkedVpc', 'description' => '**Make sure that you understand the billing methods and [pricing](~~144261~~) of Elastic Algorithm Service (EAS) before you use this operation.**', 'changeSet' => [ ['createdAt' => '2025-04-22T09:35:38.000Z', 'description' => 'Request parameters changed'], ['createdAt' => '2025-03-13T07:44:56.000Z', 'description' => 'Request parameters changed'], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateGatewayIntranetLinkedVpc'], ], ], 'ramActions' => [ [ 'operationType' => 'create', 'ramAction' => [ 'action' => 'eas:CreateGatewayIntranetLinkedVpc', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'PAI', 'resourceType' => 'Gateway', 'arn' => 'acs:eas:{#regionId}:{#accountId}:gateway/{#GatewayId}'], ], ], ], ], ], 'CreateGatewayIntranetLinkedVpcPeer' => [ 'summary' => 'Creates a VPC peering connection on an internal endpoint of a gateway.', 'path' => '/api/v2/gateways/{ClusterId}/{GatewayId}/intranet_endpoint_linked_vpc_peer', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'create', 'abilityTreeCode' => '245608', 'abilityTreeNodes' => ['FEATURElearnMC2VJP'], ], 'parameters' => [ [ 'name' => 'ClusterId', 'in' => 'path', 'schema' => ['description' => 'The region where the private gateway resides.'."\n", 'type' => 'string', 'required' => false, 'example' => 'cn-wulanchabu', 'title' => ''], ], [ 'name' => 'GatewayId', 'in' => 'path', 'schema' => ['description' => 'The ID of the private gateway. To obtain the private gateway ID, see [ListGateway](~~2841911~~).'."\n", 'type' => 'string', 'required' => false, 'example' => 'gw-1uhcqmsc7x22******', 'title' => ''], ], [ 'name' => 'VpcId', 'in' => 'query', 'schema' => ['description' => 'The VPC ID. To obtain the VPC ID, see [ListGatewayIntranetLinkedVpc](~~2621223~~).'."\n", 'type' => 'string', 'required' => false, 'example' => 'vpc-2zetuli9ws0qgjd******', 'title' => ''], ], [ 'name' => 'PeerVpcs', 'in' => 'query', 'style' => 'json', 'schema' => [ 'description' => 'The list of VPC peers.'."\n", 'type' => 'array', 'items' => [ 'description' => 'The list of VPC peers.'."\n", 'type' => 'object', 'properties' => [ 'VpcId' => ['description' => 'The ID of the VPC peer. To obtain the VPC ID, see [DescribeVpcs](~~35739~~).'."\n", 'type' => 'string', 'required' => false, 'example' => 'vpc-uf66uio7md****', 'title' => ''], 'Region' => ['description' => 'The region where the VPC peer resides.'."\n", 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai', 'title' => ''], ], 'required' => false, 'title' => '', 'example' => '', ], 'required' => false, 'title' => '', 'example' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => 'The data returned.'."\n", 'type' => 'object', 'properties' => [ 'requestId' => ['title' => 'Id of the request', 'description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '40325405-579C-4D82****'], 'GatewayId' => ['description' => 'The ID of the private gateway.'."\n", 'type' => 'string', 'example' => 'gw-1uhcqmsc7x22******', 'title' => ''], 'Message' => ['description' => 'The message that is returned.'."\n", 'type' => 'string', 'example' => 'Successfully add intranet linked vpc Peer for gateway', 'title' => ''], ], 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"40325405-579C-4D82****\\",\\n \\"GatewayId\\": \\"gw-1uhcqmsc7x22******\\",\\n \\"Message\\": \\"Successfully add intranet linked vpc Peer for gateway\\"\\n}","type":"json"}]', 'title' => 'CreateGatewayIntranetLinkedVpcPeer', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateGatewayIntranetLinkedVpcPeer'], ], ], 'ramActions' => [ [ 'operationType' => 'create', 'ramAction' => [ 'action' => 'eas:CreateGatewayIntranetLinkedVpcPeer', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'PAI', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], ], 'CreateGroup' => [ 'summary' => 'Creates a service group.', 'path' => '/api/v2/groups', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATURElearnKDX12S'], ], 'parameters' => [ [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'description' => 'The request body.', 'type' => 'object', 'properties' => [ 'Name' => ['description' => 'The name of the group.', 'type' => 'string', 'required' => false, 'example' => 'foo', 'title' => ''], 'WorkSpaceId' => ['description' => 'The workspace ID.', 'type' => 'string', 'required' => false, 'example' => '12xx34', 'title' => ''], 'Network' => [ 'description' => 'The virtual private cloud (VPC) configuration.', 'type' => 'object', 'properties' => [ 'VpcId' => ['description' => 'The VPC ID.', 'type' => 'string', 'required' => false, 'example' => 'vpc-bp1xxxxxx0qrykjr9b', 'title' => ''], 'VSwitchId' => ['description' => 'The vSwitch ID.', 'type' => 'string', 'required' => false, 'example' => 'vsw-bp1xxxxxxwmssgq28gye8', 'title' => ''], 'SecurityGroupId' => ['description' => 'The security group ID.', 'type' => 'string', 'required' => false, 'example' => 'sg-584xxxxxx7h08llvoww5tv5gl', 'title' => ''], 'GatewayId' => ['description' => 'The dedicated gateway ID.', 'type' => 'string', 'required' => false, 'example' => 'gw-248xxxxxxvlkhtbrda', 'title' => ''], ], 'required' => false, 'title' => '', 'example' => '', ], 'Labels' => [ 'description' => 'The user-defined labels.', 'type' => 'object', 'required' => false, 'additionalProperties' => ['description' => '按{"key":"value"}格式填写。Value 可为 null 或空字符,代表只按 Key 过滤,Value 可为任意值。', 'type' => 'string', 'example' => '{"key1":"value1","key2":null}'."\n", 'title' => ''], 'title' => '', 'example' => '', ], ], 'required' => false, 'title' => '', 'example' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => '', 'description' => 'The response.', 'type' => 'object', 'properties' => [ 'RequestId' => ['title' => '', 'description' => 'The request ID.', 'type' => 'string', 'example' => '40325405-579C-4D82****'], 'Message' => ['description' => 'The response message.', 'type' => 'string', 'example' => 'Create service group foo successfully', 'title' => ''], ], 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'title' => 'Create a service group', 'description' => '**Before you use this operation, make sure that you fully understand the billing of Elastic Algorithm Service (EAS) and its [pricing](~~144261~~).**.', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], ], 'ramActions' => [], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"40325405-579C-4D82****\\",\\n \\"Message\\": \\"Create service group foo successfully\\"\\n}","type":"json"}]', ], 'CreateResource' => [ 'summary' => 'Create a new resource group.', 'path' => '/api/v2/resources', 'methods' => ['post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'create', 'riskType' => 'high', 'chargeType' => 'paid', 'abilityTreeCode' => '37055', 'abilityTreeNodes' => ['FEATURElearnN5R68Z'], ], 'parameters' => [ [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'description' => 'The request body.', 'type' => 'object', 'properties' => [ 'EcsInstanceType' => ['description' => 'The ECS instance type.'."\n" ."\n" .'> This parameter is required when `ResourceType` is set to `Dedicated`.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'ecs.c6.8xlarge'], 'SystemDiskSize' => ['description' => 'The size of the system disk, in GiB. The value must be between 200 and 2,000. If unspecified, the default is 200 GiB.', 'type' => 'integer', 'format' => 'int32', 'maximum' => '2000', 'minimum' => '200', 'example' => '200', 'default' => '200', 'title' => '', 'required' => false], 'EcsInstanceCount' => ['description' => 'The number of instances.'."\n" ."\n" .'> This parameter is required when `ResourceType` is set to `Dedicated`.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'title' => '', 'example' => '5'], 'ChargeType' => [ 'description' => 'The billing method. Valid values:'."\n" ."\n" .'- `PrePaid`: subscription.'."\n" ."\n" .'- `PostPaid`: pay-as-you-go.'."\n" ."\n" .'> This parameter is required when `ResourceType` is set to `Dedicated`.', 'enumValueTitles' => ['PostPaid' => '', 'PrePaid' => ''], 'type' => 'string', 'required' => false, 'enum' => ['PrePaid', 'PostPaid'], 'title' => '', 'example' => 'PostPaid', ], 'AutoRenewal' => ['description' => 'Specifies whether to enable auto-renewal. Valid values:'."\n" ."\n" .'- `false` (default): Auto-renewal is disabled.'."\n" ."\n" .'- `true`: Auto-renewal is enabled.', 'type' => 'boolean', 'title' => '', 'required' => false, 'example' => 'false'], 'Zone' => ['description' => 'The zone in which to create the instance.', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai-f', 'title' => ''], 'ResourceType' => [ 'description' => 'The type of the resource group. Valid values:'."\n" ."\n" .'- `Dedicated`: a dedicated resource group.'."\n" ."\n" .'- `SelfManaged`: a self-managed resource group.'."\n" ."\n" .'> You must be whitelisted to use self-managed resource groups.', 'enumValueTitles' => ['SelfManaged' => '', 'Dedicated' => ''], 'type' => 'string', 'required' => false, 'example' => 'Dedicated', 'title' => '', ], 'SelfManagedResourceOptions' => [ 'description' => 'The configuration options for the self-managed resource group.', 'type' => 'object', 'properties' => [ 'ExternalClusterId' => ['description' => 'The ID of the self-managed cluster.', 'type' => 'string', 'required' => false, 'example' => 'cf0386f250f2545689ca7fdd1cd******', 'title' => ''], 'RoleName' => ['description' => 'The name of the RAM role that grants PAI-EAS the required permissions.', 'type' => 'string', 'required' => false, 'example' => 'clusterrole', 'title' => ''], 'NodeMatchLabels' => [ 'description' => 'The node labels to match, specified as key-value pairs.', 'type' => 'object', 'required' => false, 'additionalProperties' => ['description' => 'A key-value pair for a node label.', 'type' => 'string', 'example' => '"key1": "value1"', 'title' => ''], 'title' => '', 'example' => '', ], 'NodeTolerations' => [ 'description' => 'A list of tolerations for node taints.', 'type' => 'array', 'items' => [ 'description' => 'A toleration for a node taint.', 'type' => 'object', 'properties' => [ 'key' => ['description' => 'The key of the toleration.', 'type' => 'string', 'required' => false, 'example' => 'key1', 'title' => ''], 'value' => ['description' => 'The toleration value.', 'type' => 'string', 'required' => false, 'example' => 'value1', 'title' => ''], 'operator' => [ 'description' => 'The toleration operator, which defines the relationship between the key and value.', 'enumValueTitles' => ['Equal' => '', 'Exists' => ''], 'type' => 'string', 'required' => false, 'example' => 'Equal', 'title' => '', ], 'effect' => [ 'description' => 'The effect of the toleration.', 'enumValueTitles' => ['PreferNoSchedule' => '', 'NoSchedule' => '', 'NoExecute' => ''], 'type' => 'string', 'required' => false, 'example' => 'NoSchedule', 'title' => '', ], ], 'required' => false, 'title' => '', 'example' => '', ], 'required' => false, 'title' => '', 'example' => '', ], ], 'required' => false, 'title' => '', 'example' => '', ], 'Labels' => [ 'description' => 'The user-defined labels.', 'type' => 'object', 'required' => false, 'additionalProperties' => ['description' => 'A key-value pair for a label.', 'type' => 'string', 'example' => '{"key":"value"}', 'title' => ''], 'title' => '', 'example' => '', ], 'ResourceName' => ['description' => 'The name of the resource group.', 'type' => 'string', 'required' => false, 'example' => 'MyResource', 'title' => ''], 'UsageMode' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], ], 'required' => false, 'title' => '', 'example' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => 'The response schema.', 'type' => 'object', 'properties' => [ 'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID.', 'type' => 'string', 'example' => '40325405-579C-4D82****'], 'ResourceId' => ['description' => 'The resource group ID.', 'type' => 'string', 'title' => '', 'example' => 'eas-r-h7lcw24dyqztwxxxxxx'], 'ResourceName' => ['description' => 'The name of the resource group.', 'type' => 'string', 'title' => '', 'example' => 'MyResource'], 'ClusterId' => ['description' => 'The ID of the cluster that contains the resource group.', 'type' => 'string', 'title' => '', 'example' => 'cn-shanghai'], 'OwnerUid' => ['description' => 'The UID of the resource group owner.', 'type' => 'string', 'title' => '', 'example' => '14401087478****'], 'InstanceIds' => [ 'description' => 'The instance IDs.', 'type' => 'array', 'items' => ['description' => 'The instance ID.', 'type' => 'string', 'example' => 'eas-i-xxxxx', 'title' => ''], 'title' => '', 'example' => '', ], ], 'example' => '', ], ], 400 => [], [], ], 'title' => 'CreateResource', 'description' => '**Before calling this API, make sure you understand the billing method and [pricing](~~144261~~) of Elastic Algorithm Service (EAS).**', 'changeSet' => [ ['createdAt' => '2025-04-23T09:31:21.000Z', 'description' => 'Request parameters changed'], ['createdAt' => '2025-02-05T11:06:38.000Z', 'description' => 'Request parameters changed'], ['createdAt' => '2023-08-25T09:36:16.000Z', 'description' => 'Request parameters changed'], ['createdAt' => '2023-08-24T06:58:18.000Z', 'description' => 'Request parameters changed'], ['createdAt' => '2023-04-24T10:27:33.000Z', 'description' => 'Response parameters changed'], ['createdAt' => '2023-04-18T04:39:25.000Z', 'description' => 'Request parameters changed, Response parameters changed'], ['createdAt' => '2023-03-07T09:21:57.000Z', 'description' => 'Request parameters changed, Response parameters changed'], ['createdAt' => '2021-11-12T01:49:40.000Z', 'description' => 'Request parameters changed'], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateResource'], ], ], 'ramActions' => [ [ 'operationType' => 'create', 'ramAction' => [ 'action' => 'eas:CreateResource', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'PAI', 'resourceType' => 'Resource', 'arn' => 'acs:eas:{#regionId}:{#accountId}:resource/*'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"40325405-579C-4D82****\\",\\n \\"ResourceId\\": \\"eas-r-h7lcw24dyqztwxxxxxx\\",\\n \\"ResourceName\\": \\"MyResource\\",\\n \\"ClusterId\\": \\"cn-shanghai\\",\\n \\"OwnerUid\\": \\"14401087478****\\",\\n \\"InstanceIds\\": [\\n \\"eas-i-xxxxx\\"\\n ]\\n}","type":"json"}]', ], 'CreateResourceInstances' => [ 'summary' => 'Creates machine instances in a dedicated resource group.', 'path' => '/api/v2/resources/{ClusterId}/{ResourceId}/instances', 'methods' => ['post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'create', 'riskType' => 'high', 'chargeType' => 'paid', 'abilityTreeCode' => '39655', 'abilityTreeNodes' => ['FEATURElearnN5R68Z'], ], 'parameters' => [ [ 'name' => 'ClusterId', 'in' => 'path', 'schema' => ['description' => 'The ID of the cluster where the resource group is located.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'cn-shanghai'], ], [ 'name' => 'ResourceId', 'in' => 'path', 'schema' => ['description' => 'The ID of the resource group. For more information, see [ListResources](~~412133~~).', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'eas-r-asdasdasd'], ], [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'description' => 'The request body.', 'type' => 'object', 'properties' => [ 'EcsInstanceType' => ['description' => 'The instance type. This corresponds to an ECS instance type.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'ecs.s6-c1m2.xlarge'], 'SystemDiskSize' => ['description' => 'The size of the system disk, in GiB. The value must be between 200 and 2,000. If you do not configure this parameter, the default value is 200 GiB.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '2000', 'minimum' => '200', 'example' => '200', 'default' => '200', 'title' => ''], 'EcsInstanceCount' => ['description' => 'The number of new instances to create. The value must be between 1 and 100.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'title' => '', 'example' => '5'], 'ChargeType' => [ 'description' => 'The billing method. Valid values:'."\n" ."\n" .'- PrePaid: subscription.'."\n" ."\n" .'- PostPaid: pay-as-you-go.', 'enumValueTitles' => ['PostPaid' => 'pay-as-you-go', 'PrePaid' => 'subscription'], 'type' => 'string', 'required' => true, 'enum' => ['PrePaid', 'PostPaid'], 'title' => '', 'example' => 'PrePaid', ], 'UserData' => ['description' => 'The custom user data. This parameter is not currently used.', 'type' => 'string', 'deprecated' => true, 'title' => '', 'required' => false, 'example' => 'x112223333'], 'AutoRenewal' => ['description' => 'Specifies whether to enable auto-renewal. Valid values:'."\n" ."\n" .'- false (default): Auto-renewal is disabled.'."\n" ."\n" .'- true: Auto-renewal is enabled.', 'type' => 'boolean', 'title' => '', 'required' => false, 'example' => 'false'], 'Zone' => ['description' => 'The zone where the instance belongs.', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai-f', 'title' => ''], 'Labels' => [ 'description' => 'The user-defined tags.', 'type' => 'object', 'required' => false, 'additionalProperties' => ['description' => 'The tag.', 'type' => 'string', 'example' => '{"key":"value"}', 'title' => ''], 'title' => '', 'example' => '', ], ], 'required' => false, 'title' => '', 'example' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ 'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID.', 'type' => 'string', 'example' => '40325405-579C-4D82****'], 'InstanceIds' => [ 'description' => 'A list of machine instance IDs.', 'type' => 'array', 'items' => ['description' => 'The machine instance ID.', 'type' => 'string', 'example' => 'eas-i-xxxxxx', 'title' => ''], 'title' => '', 'example' => '', ], 'Message' => ['description' => 'The message returned for a successful operation.', 'type' => 'string', 'example' => 'Create 5 new ecs instance(s) in resource [eas-r-asdasdasd] successfully', 'title' => ''], ], 'example' => '', ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"40325405-579C-4D82****\\",\\n \\"InstanceIds\\": [\\n \\"eas-i-xxxxxx\\"\\n ],\\n \\"Message\\": \\"Create 5 new ecs instance(s) in resource [eas-r-asdasdasd] successfully\\"\\n}","type":"json"}]', 'title' => 'CreateResourceInstances', 'description' => '**Before you call this operation, make sure that you understand the billing methods and **[**pricing**](~~144261~~)** of Elastic Algorithm Service (EAS).**', 'changeSet' => [ ['createdAt' => '2025-04-23T09:31:21.000Z', 'description' => 'Request parameters changed'], ['createdAt' => '2025-02-05T11:06:38.000Z', 'description' => 'Request parameters changed'], ['createdAt' => '2023-04-24T10:27:33.000Z', 'description' => 'Response parameters changed'], ['createdAt' => '2023-04-18T04:39:25.000Z', 'description' => 'Request parameters changed, Response parameters changed'], ['createdAt' => '2023-03-07T09:21:57.000Z', 'description' => 'Request parameters changed, Response parameters changed'], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateResourceInstances'], ], ], 'ramActions' => [ [ 'operationType' => 'create', 'ramAction' => [ 'action' => 'eas:CreateResourceInstances', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'PAI', 'resourceType' => 'ResourceInstance', 'arn' => 'acs:eas:{#regionId}:{#accountId}:resource/{#ResourceId}'], ], ], ], ], ], 'CreateResourceLog' => [ 'summary' => 'Enables the LogShipper feature of Log Service for a resource group.', 'path' => '/api/v2/resources/{ClusterId}/{ResourceId}/log', 'methods' => ['post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'create', 'abilityTreeCode' => '39659', 'abilityTreeNodes' => ['FEATURElearnN5R68Z'], ], 'parameters' => [ [ 'name' => 'ClusterId', 'in' => 'path', 'schema' => ['description' => 'The ID of the region to which the resource group belongs.'."\n", 'type' => 'string', 'required' => true, 'example' => 'cn-shanghai', 'title' => ''], ], [ 'name' => 'ResourceId', 'in' => 'path', 'schema' => ['description' => 'The ID of the resource group. For more information about how to query the ID of a resource group, see [ListResources](~~412133~~).'."\n", 'type' => 'string', 'required' => true, 'example' => 'eas-r-asdasdasd****', 'title' => ''], ], [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'description' => 'The request body.'."\n", 'type' => 'object', 'properties' => [ 'ProjectName' => ['title' => '', 'description' => 'The Log Service project that is associated with the resource group. For more information about how to query the project, see [ListProject](~~74955~~).', 'type' => 'string', 'required' => true, 'example' => 'eas-r-asdasdasd-sls'], 'LogStore' => ['title' => '', 'description' => 'The Logstore of Log Service. For more information about how to query a Logstore, see [ListLogStores](~~426970~~).', 'type' => 'string', 'required' => true, 'example' => 'access_log'], ], 'required' => false, 'title' => '', 'example' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => 'The response parameters.'."\n", 'type' => 'object', 'properties' => [ 'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '40325405-579C-4D82****'], 'Message' => ['description' => 'The returned message.'."\n", 'type' => 'string', 'example' => 'Resource [eas-r-asdasdasd****] is deleted.', 'title' => ''], ], 'example' => '', ], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"40325405-579C-4D82****\\",\\n \\"Message\\": \\"Resource [eas-r-asdasdasd****] is deleted.\\"\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]', 'title' => 'CreateResourceLog', 'changeSet' => [ ['createdAt' => '2024-07-19T09:17:13.000Z', 'description' => 'Request parameters changed'], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateResourceLog'], ], ], 'ramActions' => [ [ 'operationType' => 'create', 'ramAction' => [ 'action' => 'eas:CreateResourceLog', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'PAI', 'resourceType' => 'Resource', 'arn' => 'acs:eas:{#regionId}:{#accountId}:resource/{#ResourceId}'], ], ], ], ], ], 'CreateService' => [ 'summary' => 'Creates a model service in Elastic Algorithm Service (EAS).', 'path' => '/api/v2/services', 'methods' => ['post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'create', 'abilityTreeCode' => '37002', 'abilityTreeNodes' => ['FEATURElearnKDX12S'], ], 'parameters' => [ [ 'name' => 'body', 'in' => 'body', 'schema' => ['description' => 'The request body. For more information about the key request parameters, see **Table 1. Request body parameters** and **Table 2. Metadata parameters**. For more information about all related parameters, see [Parameters of model services](~~450525~~).'."\n", 'type' => 'string', 'required' => false, 'example' => 'Image deployment service:'."\n" .'{'."\n" .'  "name": "foo",'."\n" .'  "metadata": {'."\n" .'    "instance": 2,'."\n" .'    "memory": 7000,'."\n" .'    "cpu": 4'."\n" .'    },'."\n" .'  "containers": ['."\n" .'    {'."\n" .'      "image": "****",'."\n" .'      "script": "**** --listen=0.0.0.0 --server_port=8000 --headless",'."\n" .'      "port": 8000'."\n" .'    }'."\n" .'  ],'."\n" .'  "storage": ['."\n" .'    {'."\n" .'      "oss": {'."\n" .'        "path": "oss://examplebuket/data111/",'."\n" .'        "readOnly": false'."\n" .'      },'."\n" .'      "properties": {'."\n" .'        "resource_type": "model"'."\n" .'      },'."\n" .'      "mount_path": "/data"'."\n" .'    }'."\n" .'  ]'."\n" .'}'."\n" .'image deploymentAI-Web application:'."\n" .'{'."\n" .'  "name": "foo",'."\n" .'  "metadata": {'."\n" .'    "instance": 1,'."\n" .'    "memory": 7000,'."\n" .'    "cpu": 4,'."\n" .'    "enable_webservice": true'."\n" .'  },'."\n" .'  "containers": ['."\n" .'    {'."\n" .'      "image": "****",'."\n" .'      "script": "**** --listen=0.0.0.0 --server_port=8000 --headless",'."\n" .'      "port": 8000'."\n" .'    }'."\n" .'  ],'."\n" .'  "storage": ['."\n" .'    {'."\n" .'      "oss": {'."\n" .'        "path": "oss://examplebucket/data111/",'."\n" .'        "readOnly": false'."\n" .'      },'."\n" .'      "properties": {'."\n" .'      "resource_type": "model"'."\n" .'      },'."\n" .'      "mount_path": "/data"'."\n" .'    }'."\n" .'  ]'."\n" .'}'."\n" .'model+processor deployment service:'."\n" .'{'."\n" .'  "metadata": {'."\n" .'    "instance": 1,'."\n" .'    "memory": 7000,'."\n" .'    "cpu": 4'."\n" .'  },'."\n" .'  "name": "foo",'."\n" .'  "model_config": {},'."\n" .'  "processor_type": "python",'."\n" .'  "processor_path": "oss://****",'."\n" .'  "processor_entry": "a.py",'."\n" .'  "model_path": "oss://****"'."\n" .'}', 'title' => ''], ], [ 'name' => 'Develop', 'in' => 'query', 'schema' => [ 'title' => '', 'description' => 'Specifies whether to enter development mode.'."\n" ."\n" .'Valid values:'."\n" ."\n" .'* true'."\n" ."\n" .' '."\n" ."\n" .' '."\n" ."\n" .' '."\n" ."\n" .'* false'."\n" ."\n" .' '."\n" ."\n" .' '."\n" ."\n" .' '."\n", 'type' => 'string', 'required' => false, 'enumValueTitles' => ['true' => 'true', 'false' => ''], 'example' => 'true', ], ], [ 'name' => 'Labels', 'in' => 'query', 'style' => 'json', 'schema' => [ 'description' => 'The custom label.'."\n", 'type' => 'object', 'required' => false, 'additionalProperties' => ['type' => 'string', 'description' => 'The label.'."\n", 'example' => '{"key":"value"}', 'title' => ''], 'title' => '', 'example' => '', ], ], [ 'name' => 'WorkspaceId', 'in' => 'query', 'schema' => ['description' => 'The workspace ID.'."\n", 'type' => 'string', 'required' => false, 'example' => '123456', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => 'The response parameters.'."\n", 'type' => 'object', 'properties' => [ 'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '40325405-579C-4D82****'], 'ServiceId' => ['description' => 'The ID of the created service.'."\n", 'type' => 'string', 'example' => 'eas-m-aaxxxddf', 'title' => ''], 'ServiceName' => ['description' => 'The name of the created service.'."\n", 'type' => 'string', 'example' => 'yourname', 'title' => ''], 'Status' => ['description' => 'The service state.'."\n", 'type' => 'string', 'example' => 'Creating', 'title' => ''], 'Region' => ['description' => 'The region ID of the created service.'."\n", 'type' => 'string', 'example' => 'cn-shanghai', 'title' => ''], 'InternetEndpoint' => ['description' => 'The public endpoint of the created service.'."\n", 'type' => 'string', 'example' => 'http://pai-eas.vpc.cn-shanghai.****', 'title' => ''], 'IntranetEndpoint' => ['description' => 'The internal endpoint of the created service.'."\n", 'type' => 'string', 'example' => 'http://pai-eas.cn-shanghai.****', 'title' => ''], ], 'example' => '', ], ], 400 => [], 403 => [], 409 => [], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"40325405-579C-4D82****\\",\\n \\"ServiceId\\": \\"eas-m-aaxxxddf\\",\\n \\"ServiceName\\": \\"yourname\\",\\n \\"Status\\": \\"Creating\\",\\n \\"Region\\": \\"cn-shanghai\\",\\n \\"InternetEndpoint\\": \\"http://pai-eas.vpc.cn-shanghai.****\\",\\n \\"IntranetEndpoint\\": \\"http://pai-eas.cn-shanghai.****\\"\\n}","type":"json"}]', 'title' => 'CreateService', 'description' => '**Before you call this operation, make sure that you are familiar with the [billing](~~144261~~) of Elastic Algorithm Service (EAS).'."\n", 'requestParamsDescription' => '**Table 1. Request body parameters**'."\n" ."\n" .'|Parameter|Type|Required|Description|'."\n" .'|---|---|---|---|'."\n" .'|name|String|Yes|The service name, which must be unique in a region.|'."\n" .'|token|String|No|The token for authentication. If you do not specify a token and **generate\\_token** is set to true, the token is automatically generated.|'."\n" .'|model\\_path|String|No|The path of the model file. You can specify an HTTP address or an Object Storage Service (OSS) path. If you specify an HTTP address, the HTTP address must be publicly accessible. If you specify an OSS path, the path can be a directory or file name. If you specify a `.tar.gz`, `.tar.bz2`, or `.zip` file, the system automatically decompresses the file.|'."\n" .'|role\\_arn|string|No|If you set **model\\_path** or **processor\\_path** to an OSS address, you need to specify the role\\_arn parameter to access OSS and the Role\\_ARN parameter to obtain the role\\_arn.|'."\n" .'|oss\\_endpoint|String|No|The endpoint of the OSS bucket. If you set **model\\_path** or **processor\\_path** to an OSS path, you must specify this parameter.|'."\n" .'|model\\_entry|String|No|The primary file of the model. Any file can be specified as the primary file of the model. If no file is specified, the file specified by **model\\_path** is used as the primary file of the model. The path of the primary file is delivered to the `Load()` function in the processor.|'."\n" .'|processor\\_path|String|Yes|The path of the processor file. You can specify a local file or an HTTP address. If you specify a `.tar.gz`, `.tar.bz2`, or `.zip` file, the system automatically decompresses the file.|'."\n" .'|processor\\_entry|String|No|**If you set processor\\_type to C, C++, or Python, this parameter is required**. The main file of the processor. The main file contains the implementations of the `Load()` and `Process()` functions that are required for prediction.|'."\n" .'|processor\\_mainclass|String|No|**If you set processor\\_type to Java, this parameter is required**. The main class in the JAR package of the processor.|'."\n" .'|processor\\_type|String|Yes|The language that is used to implement the processor. Valid values: C, C++, Java, and Python.|'."\n" .'|metadata|Dict|No|The metadata of the service. For more information, see Table 2.|'."\n" .'|cloud|Dict|No|The map key. This parameter is required only if you specify an instance type to deploy the service. You must specify this parameter in the following format: `"cloud":{"computing":{"instance_type": "ecs.gxxxxxx.large"}}`.|'."\n" .'|containers|List|No|The method of container deployment that is implemented by using custom images. If the container that is deployed by using the processor cannot meet your requirements, you can deploy the container by using custom images. For more information, see [Deploy a model service by using a custom image](~~258246~~).|'."\n" ."\n" .'**Description** The model\\_path parameter and the processor\\_path parameter specify the sources of the model input and the processor input. You can set the paths to HTTP addresses or OSS paths. When you use the test command to debug the model on your on-premises machine, you can set the parameters to local files and directories.'."\n" ."\n" .'* If you use an HTTP address, you must compress the relevant files into .tar.gz, .tar.bz2, or .zip files. Then, you can upload the files to OSS to generate an HTTP address.'."\n" .'* If you use an OSS path, you can enter a directory or file name as the path.'."\n" ."\n" .'**Table 2. Metadata parameters**'."\n" ."\n" .'|Parameter|Type|Required|Description|Example|'."\n" .'|---|---|---|---|---|'."\n" .'|instance|Int|No|The number of workers that are required to start the service.|1|'."\n" .'|cpu|Int|No|The number of CPUs that are required by each worker.|1|'."\n" .'|gpu|Int|No|The number of GPUs that are required by each worker.|0|'."\n" .'|memory|Int|No|The memory size that is required by each worker. Unit: MB.|1000|'."\n" .'|resource|String|No|The resource group to which the service belongs.|eas-r-aaabbbccc|'."\n" .'|rpc.worker\\_threads|Int|No|The number of threads that are used to concurrently process requests in each instance.|5|'."\n" .'|rpc.max\\_queue\\_size|Int|No|The maximum size of a queue for processing requests. If the queue is full, new requests are dropped and an HTTP 450 status code is returned.|64|'."\n" .'|rpc.keepalive|Int|No|The timeout period of the request. Unit: milliseconds.|5000|'."\n" .'|rpc.rate\\_limit|Int|No|The queries per second (QPS) value that triggers request throttling for a single instance. If the QPS is exceeded, new requests are dropped and an HTTP 429 status code is returned.|0|'."\n" .'|release|Bool|No|Specifies whether to create a service for canary release. Valid values: true and false. If you set this parameter to true, you must create a service for canary release.|false|', 'changeSet' => [ ['createdAt' => '2023-09-01T08:10:26.000Z', 'description' => 'Request parameters changed, Response parameters changed'], ['createdAt' => '2023-01-05T03:16:19.000Z', 'description' => 'Response parameters changed'], ['createdAt' => '2023-01-04T03:35:34.000Z', 'description' => 'Request parameters changed'], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateService'], ], ], 'ramActions' => [], ], 'CreateServiceAutoScaler' => [ 'summary' => 'Enables the Autoscaler feature and creates an Autoscaler controller for a service.', 'path' => '/api/v2/services/{ClusterId}/{ServiceName}/autoscaler', 'methods' => ['post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => ['operationType' => 'create'], 'parameters' => [ [ 'name' => 'ClusterId', 'in' => 'path', 'schema' => ['description' => 'The ID of the region where the service is deployed.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'cn-shanghai'], ], [ 'name' => 'ServiceName', 'in' => 'path', 'schema' => ['description' => 'The service name. For more information about how to query the service name, see [ListServices](~~412109~~).', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'foo'], ], [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'description' => 'The request body.', 'type' => 'object', 'properties' => [ 'min' => ['description' => 'The minimum number of instances in the service.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'title' => '', 'example' => '2'], 'max' => ['description' => 'The maximum number of instances in the service. The value of max must be greater than the value of min.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'title' => '', 'example' => '8'], 'scaleStrategies' => [ 'description' => 'The service for which the metric is specified. If you do not set this parameter, the current service is specified by default.', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'metricName' => ['description' => 'The name of the metric for triggering auto scaling. Valid values:'."\n" ."\n" .'- qps: the queries per second (qps) for an individual instance.'."\n" ."\n" .'- cpu: the cpu utilization.'."\n" ."\n" .'- gpu\\[util]: gpu utilization.', 'type' => 'string', 'required' => true, 'example' => 'qps', 'title' => ''], 'threshold' => ['description' => 'The threshold of the metric that triggers auto scaling.'."\n" ."\n" .'- If you set metricName to qps, scale-out is triggered when the average qps for a single instance is greater than this threshold.'."\n" ."\n" .'- If you set metricName to cpu, scale-out is triggered when the average cpu utilization for a single instance is greater than this threshold.'."\n" ."\n" .'- If you set metricName to gpu, scale-out is triggered when the average gpu utilization for a single instance is greater than this threshold.', 'type' => 'number', 'format' => 'float', 'required' => true, 'example' => '10', 'title' => ''], 'service' => ['description' => 'The service for which the metric is specified. If you do not set this parameter, the current service is specified by default.', 'type' => 'string', 'required' => false, 'example' => 'demo_svc', 'title' => ''], ], 'required' => false, 'description' => '', 'title' => '', 'example' => '', ], 'required' => true, 'title' => '', 'example' => '', ], 'behavior' => [ 'description' => 'The Autoscaler operation.', 'type' => 'object', 'properties' => [ 'scaleUp' => [ 'description' => 'The scale-out operation.', 'type' => 'object', 'properties' => [ 'stabilizationWindowSeconds' => ['description' => 'The time window that is required before the scale-out operation is performed. The scale-out operation can be performed only if the specified metric exceeds the specified threshold in the specified time window. Default value: 0.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '0', 'title' => ''], ], 'required' => false, 'title' => '', 'example' => '', ], 'scaleDown' => [ 'description' => 'The scale-in operation.', 'type' => 'object', 'properties' => [ 'stabilizationWindowSeconds' => ['description' => 'The time window that is required before the scale-in operation is performed. The scale-in operation can be performed only if the specified metric drops below the specified threshold in the specified time window. Default value: 300.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '300', 'title' => ''], ], 'required' => false, 'title' => '', 'example' => '', ], 'onZero' => [ 'description' => 'The operation that reduces the number of instances to 0.', 'type' => 'object', 'properties' => [ 'scaleDownGracePeriodSeconds' => ['description' => 'The time window that is required before the number of instances is reduced to 0. The number of instances can be reduced to 0 only if no request is available or no traffic exists in the specified time window. Default value: 600.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '600', 'title' => ''], 'scaleUpActivationReplicas' => ['description' => 'The number of instances that you want to create at a time if the number of instances is 0. Default value: 1.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''], ], 'required' => false, 'title' => '', 'example' => '', ], ], 'required' => false, 'title' => '', 'example' => '', ], ], 'required' => false, 'title' => '', 'example' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => 'The response parameters.', 'type' => 'object', 'properties' => [ 'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID.', 'type' => 'string', 'example' => '40325405-579C-4D82****'], 'Message' => ['description' => 'The returned message.', 'type' => 'string', 'example' => 'Succeed to auto scale service [foo]', 'title' => ''], ], 'example' => '', ], ], ], 'title' => 'CreateServiceAutoScaler', 'changeSet' => [ ['createdAt' => '2023-05-17T07:24:04.000Z', 'description' => 'Request parameters changed'], ['createdAt' => '2022-09-16T08:39:20.000Z', 'description' => 'Request parameters changed'], ['createdAt' => '2022-09-16T08:39:20.000Z', 'description' => 'Request parameters changed'], ['createdAt' => '2022-08-05T06:41:48.000Z', 'description' => 'Request parameters changed'], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateServiceAutoScaler'], ], ], 'ramActions' => [ [ 'operationType' => 'create', 'ramAction' => [ 'action' => 'eas:CreateServiceAutoScaler', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'PAI', 'resourceType' => 'Service', 'arn' => 'acs:eas:{#regionId}:{#accountId}:service/{#ServiceName}'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"40325405-579C-4D82****\\",\\n \\"Message\\": \\"Succeed to auto scale service [foo]\\"\\n}","type":"json"}]', ], 'CreateServiceCronScaler' => [ 'summary' => 'Creates a scheduled auto scaling rule for a service.', 'path' => '/api/v2/services/{ClusterId}/{ServiceName}/cronscaler', 'methods' => ['post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '123919', 'abilityTreeNodes' => ['FEATURElearnZ3WNW7'], ], 'parameters' => [ [ 'name' => 'ClusterId', 'in' => 'path', 'schema' => ['description' => 'The region of the service.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'cn-shanghai'], ], [ 'name' => 'ServiceName', 'in' => 'path', 'schema' => ['description' => 'The service name. For more information, see [ListServices](~~412109~~).', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'foo'], ], [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'description' => 'The request body.', 'type' => 'object', 'properties' => [ 'ScaleJobs' => [ 'title' => '', 'description' => 'The scheduled scaling tasks.', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'TargetSize' => ['description' => 'The target number of instances for the scaling task.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'title' => '', 'example' => '1'], 'Schedule' => ['description' => 'The cron expression that specifies when to run the scaling task. For more information about how to configure a cron expression, see the **Cron expressions** section.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => '0 18 * * * *'], 'Name' => ['description' => 'The name of the scheduled auto-scaling task.', 'type' => 'string', 'required' => false, 'example' => 'scale-job-1', 'title' => ''], 'TimeZone' => ['description' => 'The time zone for the scheduled scaling task.', 'type' => 'string', 'required' => false, 'example' => 'Asia/Shanghai', 'title' => ''], ], 'required' => false, 'description' => '', 'title' => '', 'example' => '', ], 'required' => true, 'example' => '', ], 'ExcludeDates' => [ 'title' => '', 'description' => 'A list of cron expressions for dates to exclude.', 'type' => 'array', 'items' => ['description' => 'A cron expression. For more information about how to configure a cron expression, see the **Cron expressions** section.', 'type' => 'string', 'required' => false, 'example' => '* * * * * 0,6', 'title' => ''], 'required' => false, 'example' => '', ], ], 'required' => false, 'title' => '', 'example' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => 'The response body.', 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => '40325405-579C-4D82****'], 'Message' => ['description' => 'The response message.', 'type' => 'string', 'title' => '', 'example' => 'Create cron scaler for service [foo] successfully'], ], 'example' => '', ], ], ], 'title' => 'CreateServiceCronScaler', 'requestParamsDescription' => '### Cron expressions'."\n" ."\n" .'!\\[image]\\(../images/p1064364.png" width="403)'."\n" ."\n" .'| Field | Allowed values | Allowed special characters |'."\n" .'| ------------ | --------------- | -------------------------- |'."\n" .'| Second | 0-59 | \\* / , - |'."\n" .'| Minute | 0-59 | \\* / , - |'."\n" .'| Hour | 0-23 | \\* / , - |'."\n" .'| Day of month | 1-31 | \\* / , - |'."\n" .'| Month | 1-12 or JAN-DEC | \\* / , - |'."\n" .'| Day of week | 0-6 or SUN-SAT | \\* / , - |'."\n" ."\n" .'#### Special characters'."\n" ."\n" .'**Asterisk (\\*)** An asterisk (\\*) represents all possible values. For example, 0 0 0 1 \\* \\* specifies 00:00 on the first day of every month.'."\n" ."\n" .'**Hyphen (-)** A hyphen (-) specifies a range of values. For example, 0 0 12-14 \\* \\* \\* specifies 12:00, 13:00, and 14:00 every day.'."\n" ."\n" .'**Comma (,)** A comma (,) specifies a list of values. For example, 0 0 12,14 \\* \\* \\* specifies 12:00 and 14:00 every day.'."\n" ."\n" .'**Slash (/)** A slash (/) specifies an interval. For example, 0 \\*/15 \\* \\* \\* \\* specifies the 0th, 15th, 30th, and 45th minute of every hour. You can also use a slash (/) with a hyphen (-). For example, 0 5-40/15 \\* \\* \\* \\* specifies every 15 minutes from the 5th minute to the 40th minute of every hour. The valid time points are 0:05, 0:20, and 0:35.', 'changeSet' => [ ['createdAt' => '2022-02-22T03:55:39.000Z', 'description' => 'OpenAPI offline'], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateServiceCronScaler'], ], ], 'ramActions' => [ [ 'operationType' => 'create', 'ramAction' => [ 'action' => 'eas:CreateServiceCronScaler', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'PAI', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"40325405-579C-4D82****\\",\\n \\"Message\\": \\"Create cron scaler for service [foo] successfully\\"\\n}","type":"json"}]', ], 'CreateServiceInstanceToken' => [ 'path' => '/api/v2/services/{ClusterId}/{ServiceName}/instances/{InstanceName}/token', 'methods' => ['get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => [], 'produces' => ['application/json'], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '134138', 'abilityTreeNodes' => ['FEATURElearnO4KXYN'], ], 'parameters' => [ [ 'name' => 'ClusterId', 'in' => 'path', 'schema' => ['description' => 'Region ID.', 'type' => 'string', 'required' => true, 'example' => 'cn-shanghai', 'title' => ''], ], [ 'name' => 'ServiceName', 'in' => 'path', 'schema' => ['description' => 'Service name.', 'type' => 'string', 'required' => true, 'example' => 'deepseekv3_3', 'title' => ''], ], [ 'name' => 'InstanceName', 'in' => 'path', 'schema' => ['description' => 'Service instance name.', 'type' => 'string', 'required' => true, 'example' => 'deepseekv3-3-7b56869574-44nq9', 'title' => ''], ], [ 'name' => 'WorkerName', 'in' => 'query', 'schema' => ['description' => 'Name of the service worker. Call the ListServiceContainers operation to get the worker name.', 'type' => 'string', 'required' => false, 'example' => 'worker0', 'title' => ''], ], [ 'name' => 'ActionType', 'in' => 'query', 'schema' => [ 'description' => 'Type of URL to return. Valid values:'."\n" ."\n" .'- **WorkBench**: Log on to the container using Workbench.', 'enumValueTitles' => ['WorkBench' => 'WorkBench'], 'type' => 'string', 'required' => false, 'example' => 'WorkBench', 'title' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'Request ID.', 'type' => 'string', 'title' => '', 'example' => '40325405-579C-4D82****'], 'Token' => ['description' => 'This parameter is not used.', 'type' => 'string', 'example' => '***', 'title' => ''], 'Url' => ['description' => 'This parameter is not used.', 'type' => 'string', 'example' => '***', 'title' => ''], 'WorkbenchUrl' => ['description' => 'URL for logging on to the container using Workbench.', 'type' => 'string', 'example' => 'https://ecs-workbench-disposable.aliyun.com/account/disposable/login/sst/180535184*******/uc2vx*****', 'title' => ''], 'StreamlogUrl' => ['description' => 'This parameter is not used.', 'type' => 'string', 'example' => '***', 'title' => ''], ], 'title' => '', 'description' => 'Response schema.', 'example' => '', ], ], ], 'title' => 'CreateServiceInstanceToken', 'summary' => 'Call this operation to obtain a token and a WebSocket URL for logging on to a container.', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], ], 'ramActions' => [], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"40325405-579C-4D82****\\",\\n \\"Token\\": \\"***\\",\\n \\"Url\\": \\"***\\",\\n \\"WorkbenchUrl\\": \\"https://ecs-workbench-disposable.aliyun.com/account/disposable/login/sst/180535184*******/uc2vx*****\\",\\n \\"StreamlogUrl\\": \\"***\\"\\n}","type":"json"}]', ], 'CreateServiceMirror' => [ 'summary' => 'Enables the traffic mirroring feature for a service. After the feature is enabled, requests received by the service can be mirrored to another service.', 'path' => '/api/v2/services/{ClusterId}/{ServiceName}/mirror', 'methods' => ['post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => ['operationType' => 'create'], 'parameters' => [ [ 'name' => 'ClusterId', 'in' => 'path', 'schema' => ['title' => '', 'description' => 'The ID of the region where the service is deployed.'."\n", 'type' => 'string', 'required' => true, 'example' => 'cn-shanghai'], ], [ 'name' => 'ServiceName', 'in' => 'path', 'schema' => ['title' => '', 'description' => 'The service name. For more information about how to query the service name, see [ListServices](~~412109~~).'."\n", 'type' => 'string', 'required' => true, 'example' => 'foo'], ], [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'description' => 'The request body.'."\n", 'type' => 'object', 'properties' => [ 'Ratio' => ['title' => '', 'description' => 'The percentage of the traffic that is mirrored to the destination service. Valid values: 0 to 100.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '30'], 'Target' => [ 'title' => '', 'description' => 'The instances.'."\n", 'type' => 'array', 'items' => ['description' => 'The name of the destination instance.'."\n", 'type' => 'string', 'required' => false, 'example' => 'echo', 'title' => ''], 'required' => false, 'example' => '', ], ], 'required' => false, 'title' => '', 'example' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => 'The response parameters.'."\n", 'type' => 'object', 'properties' => [ 'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '40325405-579C-4D82***'], 'Message' => ['description' => 'The returned message.'."\n", 'type' => 'string', 'example' => 'Traffic mirroring is ON for service [foo] in region [cn-shanghai], ratio [70%]', 'title' => ''], ], 'example' => '', ], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"40325405-579C-4D82***\\",\\n \\"Message\\": \\"Traffic mirroring is ON for service [foo] in region [cn-shanghai], ratio [70%]\\"\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]', 'title' => 'CreateServiceMirror', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateServiceMirror'], ], ], 'ramActions' => [ [ 'operationType' => 'create', 'ramAction' => [ 'action' => 'eas:CreateServiceMirror', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'PAI', 'resourceType' => 'Service', 'arn' => 'acs:eas:{#regionId}:{#accountId}:service/{#ServiceName}'], ], ], ], ], ], 'CreateServiceRollout' => [ 'summary' => 'Creates a service rollout.', 'description' => '## Usage notes'."\n" ."\n" .'- **Mutually exclusive strategies**: You can use either the `Partition` or the `Batch` strategy, but not both.'."\n" ."\n" .'- **Request rate limit**: Up to 100 requests per second.'."\n" ."\n" .'- **Authorization**: This operation requires the `eas:CreateServiceRollout` permission.'."\n" ."\n" .'- **ARN**: `acs:eas:{#regionId}:{#accountId}:service/{#ServiceName}`.'."\n" ."\n" .'- **Pause a rollout**: To pause the service rollout, set the `Paused` parameter to `true`. You can then resume or cancel the rollout by calling the `UpdateServiceRollout` operation.'."\n" ."\n" .'- **Monitoring and rollback**: Monitor service metrics during the service rollout to promptly identify and resolve issues. To perform a rollback, you can adjust the `Partition` value or delete the rollout strategy.', 'path' => '/api/v2/services/{ClusterId}/{ServiceName}/rollout', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATURElearnKDX12S'], ], 'parameters' => [ [ 'name' => 'ClusterId', 'in' => 'path', 'schema' => ['description' => 'The region ID where the service is deployed. Call the `ListServices` operation to view a list of available regions.', 'type' => 'string', 'required' => true, 'example' => 'cn-shanghai', 'title' => ''], ], [ 'name' => 'ServiceName', 'in' => 'path', 'schema' => ['description' => 'The name of the service to update. The name must be unique within the region. Call the `DescribeService` operation to get service details.', 'type' => 'string', 'required' => true, 'example' => 'my-service', 'title' => ''], ], [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'type' => 'object', 'properties' => [ 'Partition' => [ 'type' => 'object', 'properties' => [ 'Partition' => ['description' => 'The number of instances to update to the new version.', 'type' => 'string', 'required' => false, 'example' => '1', 'title' => ''], ], 'description' => 'The configuration for the Partition strategy.', 'required' => false, 'title' => '', 'example' => '', ], 'Batch' => [ 'type' => 'object', 'properties' => [ 'BatchSize' => ['description' => 'The number of instances to update in each batch.', 'type' => 'string', 'required' => false, 'example' => '1', 'title' => ''], 'Interval' => ['description' => 'The wait interval after each batch completes.', 'type' => 'string', 'required' => false, 'example' => '5m', 'title' => ''], ], 'description' => 'The configuration for the Batch strategy.', 'required' => false, 'title' => '', 'example' => '', ], 'Paused' => ['description' => 'Specifies whether to pause the rollout.', 'type' => 'boolean', 'required' => false, 'example' => 'False', 'title' => ''], ], 'description' => 'The request body.', 'required' => false, 'title' => '', 'example' => '', ], ], ], 'responses' => [ 200 => [ 'description' => '成功响应', 'schema' => [ 'description' => 'The response body.', 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The unique request ID. Use this ID for troubleshooting and traceability.', 'type' => 'string', 'example' => '40325405-579C-4D82****'."\n", 'title' => ''], 'Message' => ['description' => 'A message that indicates the result of the operation.', 'type' => 'string', 'example' => 'Rollout created successfully', 'title' => ''], ], 'title' => '', 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'title' => 'CreateServiceRollout', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], ], 'ramActions' => [], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"40325405-579C-4D82****\\\\n\\",\\n \\"Message\\": \\"Rollout created successfully\\"\\n}","type":"json"}]', ], 'CreateVirtualResource' => [ 'summary' => 'Creates a virtual resource group.', 'path' => '/api/v2/virtualresources', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'create', 'abilityTreeCode' => '238222', 'abilityTreeNodes' => ['FEATURElearnRPDTZG'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'description' => 'The request parameters.'."\n", 'type' => 'object', 'properties' => [ 'Resources' => [ 'title' => '', 'description' => 'The resources in the virtual resource group.'."\n", 'type' => 'array', 'items' => [ 'description' => 'The details of the resource.'."\n", 'type' => 'object', 'properties' => [ 'Region' => ['title' => '', 'description' => 'The region in which the resource resides.'."\n", 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'], 'InstanceType' => ['title' => '', 'description' => 'The instance type of the public resource group.'."\n" ."\n" .'> You must specify one and only one of the InstanceType, ResourceId, and QuotaId parameters.'."\n", 'type' => 'string', 'required' => false, 'example' => 'ecs.s6-c1m2.xlarge'."\n"], 'Priority' => ['title' => '', 'description' => 'The priority of resource scheduling. A greater number indicates a higher priority.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '6'], 'QuotaId' => ['title' => '', 'description' => 'The ID of the Lingjun resource quota.'."\n" ."\n" .'> You must specify one and only one of the InstanceType, ResourceId, and QuotaId parameters.'."\n", 'type' => 'string', 'required' => false, 'example' => 'quota185lqxxxxxx'], 'SpotPriceLimit' => ['title' => '', 'description' => 'The maximum price of preemptible instances in a public resource group.'."\n" ."\n" .'> If you leave this parameter empty, preemptible instances are not used.'."\n", 'type' => 'number', 'format' => 'float', 'required' => false, 'example' => '10.05'], 'ResourceId' => ['title' => '', 'description' => 'The ID of the dedicated resource group. For information about how to obtain the ID of a dedicated resource group, see [ListResources](~~412133~~).'."\n" ."\n" .'> You must specify one and only one of the InstanceType, ResourceId, and QuotaId parameters.'."\n", 'type' => 'string', 'required' => false, 'example' => 'eas-r-g55ieatgg3buxxxxxx'], ], 'required' => false, 'title' => '', 'example' => '', ], 'required' => false, 'example' => '', ], 'VirtualResourceName' => ['title' => '', 'description' => 'The name of the virtual resource group. Default value: the ID of the virtual resource group.'."\n", 'type' => 'string', 'required' => false, 'example' => 'MyVirtualResource'], 'DisableSpotProtectionPeriod' => ['description' => 'Specifies whether to disable the retention period of preemptible instances.'."\n", 'type' => 'boolean', 'required' => false, 'example' => 'true', 'title' => ''], ], 'required' => false, 'title' => '', 'example' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => 'The returned result.'."\n", 'type' => 'object', 'properties' => [ 'RequestId' => ['title' => 'Id of the request', 'description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '40325405-579C-4D82***'], 'Message' => ['description' => 'The returned message.'."\n", 'type' => 'string', 'example' => 'Successfully created virtual resource eas-vr-npovr28onap1xxxxxx', 'title' => ''], 'VirtualResourceId' => ['title' => '', 'description' => 'The ID of the virtual resource group.'."\n", 'type' => 'string', 'example' => 'eas-vr-npovr28onap1xxxxxx'], ], 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"40325405-579C-4D82***\\",\\n \\"Message\\": \\"Successfully created virtual resource eas-vr-npovr28onap1xxxxxx\\",\\n \\"VirtualResourceId\\": \\"eas-vr-npovr28onap1xxxxxx\\"\\n}","type":"json"}]', 'title' => 'CreateVirtualResource', 'changeSet' => [ ['createdAt' => '2025-01-21T08:56:51.000Z', 'description' => 'Request parameters changed'], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateVirtualResource'], ], ], 'ramActions' => [ [ 'operationType' => 'create', 'ramAction' => [ 'action' => 'eas:CreateVirtualResource', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'PAI', 'resourceType' => 'VirtualResource', 'arn' => 'acs:eas:{#regionId}:{#accountId}:virtualresource/*'], ], ], ], ], ], 'DeleteAclPolicy' => [ 'summary' => 'Deletes an access control list (ACL) for a private gateway. The IP CIDR block that is deleted from the ACL cannot access the private gateway.', 'path' => '/api/v2/gateways/{ClusterId}/{GatewayId}/acl_policy', 'methods' => ['delete'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'delete', 'abilityTreeCode' => '225607', 'abilityTreeNodes' => ['FEATURElearn6PC7M4'], ], 'parameters' => [ [ 'name' => 'ClusterId', 'in' => 'path', 'schema' => ['title' => '', 'description' => 'The region ID of the private gateway.'."\n", 'type' => 'string', 'required' => true, 'example' => 'cn-wulanchabu'], ], [ 'name' => 'GatewayId', 'in' => 'path', 'schema' => ['title' => '', 'description' => 'The private gateway ID. To obtain the private gateway ID, see the private_gateway_id parameter in the response parameters of the ListResources operation.'."\n", 'type' => 'string', 'required' => true, 'example' => 'gw-1uhcqmsc7x22******'], ], [ 'name' => 'VpcId', 'in' => 'query', 'schema' => ['description' => 'The ID of the virtual private cloud (VPC). For more information about how to obtain the VPC ID, see DescribeVpcs.'."\n", 'type' => 'string', 'required' => false, 'example' => 'vpc-uf66uio7md****', 'title' => ''], ], [ 'name' => 'AclPolicyList', 'in' => 'query', 'style' => 'json', 'schema' => [ 'description' => 'The whitelisted IP CIDR blocks in the VPC that can access the private gateway.'."\n", 'type' => 'array', 'items' => [ 'description' => 'The whitelisted IP CIDR block in the VPC that can access the private gateway.'."\n", 'type' => 'object', 'properties' => [ 'Entry' => ['description' => 'The IP CIDR block in the VPC that can access the private gateway.'."\n", 'type' => 'string', 'required' => false, 'example' => '10.23.XX.XX/32', 'title' => ''], 'Comment' => ['description' => 'The comment on the IP CIDR block in the VPC that can access the private gateway.'."\n", 'type' => 'string', 'required' => false, 'example' => 'default', 'title' => ''], ], 'required' => false, 'title' => '', 'example' => '', ], 'required' => false, 'title' => '', 'example' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => 'The response parameters.'."\n", 'type' => 'object', 'properties' => [ 'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '40325405-579C-4D82****'], 'Message' => ['description' => 'The returned message.'."\n", 'type' => 'string', 'example' => 'Successfully delete acl policy for gateway', 'title' => ''], 'GatewayId' => ['description' => 'The private gateway ID.'."\n", 'type' => 'string', 'example' => 'gw-1uhcqmsc7x22******', 'title' => ''], ], 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"40325405-579C-4D82****\\",\\n \\"Message\\": \\"Successfully delete acl policy for gateway\\",\\n \\"GatewayId\\": \\"gw-1uhcqmsc7x22******\\"\\n}","type":"json"}]', 'title' => 'DeleteAclPolicy', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteAclPolicy'], ], ], 'ramActions' => [ [ 'operationType' => 'delete', 'ramAction' => [ 'action' => 'eas:DeleteAclPolicy', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'PAI', 'resourceType' => 'Gateway', 'arn' => 'acs:eas:{#regionId}:{#accountId}:gateway/{#GatewayId}'], ], ], ], ], ], 'DeleteBenchmarkTask' => [ 'summary' => 'Deletes a stress testing task.', 'path' => '/api/v2/benchmark-tasks/{ClusterId}/{TaskName}', 'methods' => ['delete'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'systemTags' => [], 'parameters' => [ [ 'name' => 'ClusterId', 'in' => 'path', 'schema' => ['description' => 'The ID of the region where the stress testing task is performed.'."\n", 'type' => 'string', 'required' => true, 'example' => 'cn-shanghai', 'title' => ''], ], [ 'name' => 'TaskName', 'in' => 'path', 'schema' => ['description' => 'The name of the stress testing task. For more information about how to query the name of a stress testing task, see [ListBenchmarkTask](~~432976~~).'."\n", 'type' => 'string', 'required' => true, 'example' => 'benchmark-larec-test-2b11', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => 'The response parameters.'."\n", 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '40325405-579C-4D82****', 'title' => ''], 'Message' => ['description' => 'The returned message.'."\n", 'type' => 'string', 'example' => 'Benchmark task [benchmark-test-service-234c] is Deleting', 'title' => ''], ], 'example' => '', ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"40325405-579C-4D82****\\",\\n \\"Message\\": \\"Benchmark task [benchmark-test-service-234c] is Deleting\\"\\n}","type":"json"}]', 'title' => 'DeleteBenchmarkTask', 'changeSet' => [ ['createdAt' => '2022-05-27T03:23:01.000Z', 'description' => 'OpenAPI offline'], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteBenchmarkTask'], ], ], 'ramActions' => [ [ 'operationType' => '', 'ramAction' => [ 'action' => 'eas:DeleteBenchmarkTask', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'PAI', 'resourceType' => 'BenchmarkTask', 'arn' => 'acs:eas:{#regionId}:{#accountId}:benchmarktask/{#BenchmarkTaskId}'], ], ], ], ], ], 'DeleteConfig' => [ 'path' => '/api/v2/configs/{ClusterId}/{ConfigType}/{Name}/{ConfigKey}', 'methods' => ['delete'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATURElearnKDX12S'], ], 'parameters' => [ [ 'name' => 'ClusterId', 'in' => 'path', 'schema' => ['description' => '**region ID**
The region ID. Although this parameter is named `ClusterId`, it requires the region ID.
', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''], ], [ 'name' => 'ConfigType', 'in' => 'path', 'schema' => ['description' => '**configuration type**
The only supported value is `service`.
', 'type' => 'string', 'required' => false, 'example' => 'service', 'title' => ''], ], [ 'name' => 'Name', 'in' => 'path', 'schema' => ['description' => '**service name**
The name of the service that contains the configuration.
', 'type' => 'string', 'required' => false, 'example' => 'my-llm-service', 'title' => ''], ], [ 'name' => 'ConfigKey', 'in' => 'path', 'schema' => ['description' => '**configuration key**
The key of the dynamic parameter to delete.
', 'type' => 'string', 'required' => false, 'example' => 'rate_limit', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'message' => ['description' => 'A message indicating the operation result.', 'type' => 'string', 'example' => 'Successfully deleted 1 configs', 'title' => ''], 'deleted' => ['description' => 'The number of configurations deleted.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], ], 'title' => '', 'description' => 'The response body.', 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'title' => 'DeleteConfig', 'summary' => 'Deletes a single dynamic parameter for a specified service.', 'description' => '## Request'."\n" ."\n" .'This API deletes a specific configuration by its region ID, configuration type, service name, and configuration key. Ensure all parameter values are accurate to avoid accidentally deleting critical configurations.', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], ], 'ramActions' => [], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"message\\": \\"Successfully deleted 1 configs\\",\\n \\"deleted\\": 1\\n}","type":"json"}]', ], 'DeleteFaultInjection' => [ 'summary' => 'Deletes a fault injection task.', 'path' => '/api/v2/services/{ClusterId}/{ServiceName}/instances/{InstanceName}/faults/{FaultType}', 'methods' => ['delete'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATURElearnN5R68Z'], 'autoTest' => false, 'notSupportAutoTestReason' => '编排过于复杂', 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ 'name' => 'ClusterId', 'in' => 'path', 'schema' => ['type' => 'string', 'description' => 'The region where the private gateway is located.', 'required' => false, 'title' => '', 'example' => 'cn-shanghai'], ], [ 'name' => 'ServiceName', 'in' => 'path', 'schema' => ['type' => 'string', 'description' => 'The service name. For more information, see [ListServices](~~412109~~).', 'required' => false, 'title' => '', 'example' => 'foo'], ], [ 'name' => 'InstanceName', 'in' => 'path', 'schema' => ['type' => 'string', 'description' => 'The name of the service instance. For more information, see [ListServiceInstances](~~412108~~).', 'required' => false, 'title' => '', 'example' => 'echo-da290ac8-7fckm'], ], [ 'name' => 'FaultType', 'in' => 'path', 'schema' => ['type' => 'string', 'description' => 'The type of the fault injection task. Supported fault types include CPU full load, memory payload, network, disk read/write hang, and disk fill.', 'required' => false, 'title' => '', 'example' => 'CpuFullloadTask'], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['type' => 'string', 'title' => '', 'description' => 'The request ID.', 'example' => '40325405-579C-4D82****'], 'Message' => ['type' => 'string', 'description' => 'A message that indicates the result of the operation.', 'title' => '', 'example' => 'Successfully delete acl policy for gateway'], ], 'title' => '', 'description' => 'The response schema.', 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'title' => 'DeleteFaultInjection', 'description' => '**Before you use this operation, make sure that you understand the billing methods and [pricing](~~144261~~) of Elastic Algorithm Service (EAS).**', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], ], 'ramActions' => [], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"40325405-579C-4D82****\\",\\n \\"Message\\": \\"Successfully delete acl policy for gateway\\"\\n}","type":"json"}]', ], 'DeleteGateway' => [ 'summary' => 'Deletes a private gateway.', 'path' => '/api/v2/gateways/{ClusterId}/{GatewayId}', 'methods' => ['delete'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => ['operationType' => 'delete'], 'parameters' => [ [ 'name' => 'ClusterId', 'in' => 'path', 'schema' => ['description' => 'The region ID of the private gateway.'."\n", 'type' => 'string', 'required' => true, 'example' => 'cn-wulanchabu', 'title' => ''], ], [ 'name' => 'GatewayId', 'in' => 'path', 'schema' => ['description' => 'The private gateway ID.'."\n", 'type' => 'string', 'required' => true, 'example' => 'gw-1uhcqmsc7x22******', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => 'The response parameters.'."\n", 'type' => 'object', 'properties' => [ 'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '40325405-579C-4D82****'], 'GatewayId' => ['description' => 'The private gateway ID.'."\n", 'type' => 'string', 'example' => 'gw-1uhcqmsc7x22******', 'title' => ''], 'Message' => ['description' => 'The returned message.'."\n", 'type' => 'string', 'example' => 'Gateway gw-1uhcqmsc7x22****** is deleted', 'title' => ''], ], 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"40325405-579C-4D82****\\",\\n \\"GatewayId\\": \\"gw-1uhcqmsc7x22******\\",\\n \\"Message\\": \\"Gateway gw-1uhcqmsc7x22****** is deleted\\"\\n}","type":"json"}]', 'title' => 'DeleteGateway', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteGateway'], ], ], 'ramActions' => [ [ 'operationType' => 'delete', 'ramAction' => [ 'action' => 'eas:DeleteGateway', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'PAI', 'resourceType' => 'Gateway', 'arn' => 'acs:eas:{#regionId}:{#accountId}:gateway/{#GatewayId}'], ], ], ], ], ], 'DeleteGatewayIntranetLinkedVpc' => [ 'summary' => 'Deletes an internal endpoint of a private gateway.', 'path' => '/api/v2/gateways/{ClusterId}/{GatewayId}/intranet_endpoint_linked_vpc', 'methods' => ['delete'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => ['operationType' => 'delete'], 'parameters' => [ [ 'name' => 'ClusterId', 'in' => 'path', 'schema' => ['title' => '', 'description' => 'The region ID of the private gateway.'."\n", 'type' => 'string', 'required' => true, 'example' => 'cn-wulanchabu'], ], [ 'name' => 'GatewayId', 'in' => 'path', 'schema' => ['title' => '', 'description' => 'The private gateway ID.'."\n", 'type' => 'string', 'required' => true, 'example' => 'gw-1uhcqmsc7x22******'], ], [ 'name' => 'VpcId', 'in' => 'query', 'schema' => ['description' => 'The virtual private cloud (VPC) ID.'."\n", 'type' => 'string', 'required' => false, 'example' => 'vpc-uf66uio7md****', 'title' => ''], ], [ 'name' => 'VSwitchId', 'in' => 'query', 'schema' => ['description' => 'The ID of the vSwitch.'."\n", 'type' => 'string', 'required' => false, 'example' => 'vsw-8vbqn2at0kljjxxxx****', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => 'The response parameters.'."\n", 'type' => 'object', 'properties' => [ 'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '40325405-579C-4D82****'], 'Message' => ['description' => 'The returned message.'."\n", 'type' => 'string', 'example' => 'Successfully delete intranet linked vpc for gateway', 'title' => ''], 'GatewayId' => ['description' => 'The private gateway ID.'."\n", 'type' => 'string', 'example' => 'gw-1uhcqmsc7x22******', 'title' => ''], ], 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"40325405-579C-4D82****\\",\\n \\"Message\\": \\"Successfully delete intranet linked vpc for gateway\\",\\n \\"GatewayId\\": \\"gw-1uhcqmsc7x22******\\"\\n}","type":"json"}]', 'title' => 'DeleteGatewayIntranetLinkedVpc', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteGatewayIntranetLinkedVpc'], ], ], 'ramActions' => [ [ 'operationType' => 'delete', 'ramAction' => [ 'action' => 'eas:DeleteGatewayIntranetLinkedVpc', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'PAI', 'resourceType' => 'Gateway', 'arn' => 'acs:eas:{#regionId}:{#accountId}:gateway/{#GatewayId}'], ], ], ], ], ], 'DeleteGatewayIntranetLinkedVpcPeer' => [ 'summary' => 'Deletes a VPC peering connection from an internal endpoint of a gateway.', 'path' => '/api/v2/gateways/{ClusterId}/{GatewayId}/intranet_endpoint_linked_vpc_peer', 'methods' => ['delete'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'delete', 'abilityTreeCode' => '245615', 'abilityTreeNodes' => ['FEATURElearnMC2VJP'], ], 'parameters' => [ [ 'name' => 'ClusterId', 'in' => 'path', 'schema' => ['description' => 'The region where the private gateway resides.'."\n", 'type' => 'string', 'required' => false, 'example' => 'cn-wulanchabu', 'title' => ''], ], [ 'name' => 'GatewayId', 'in' => 'path', 'schema' => ['description' => 'The ID of the private gateway. To obtain the private gateway ID, see [ListGateway](~~2841911~~).'."\n", 'type' => 'string', 'required' => false, 'example' => 'gw-1uhcqmsc7x22******', 'title' => ''], ], [ 'name' => 'VpcId', 'in' => 'query', 'schema' => ['description' => 'The ID of the associated VPC. To obtain the VPC ID, see [ListGatewayIntranetLinkedVpc](~~2621223~~).'."\n", 'type' => 'string', 'required' => false, 'example' => 'vpc-2zetuli9ws0qgjd******', 'title' => ''], ], [ 'name' => 'PeerVpcs', 'in' => 'query', 'style' => 'json', 'schema' => [ 'description' => 'The VPC peer.'."\n", 'type' => 'array', 'items' => [ 'description' => 'The VPC peer.'."\n", 'type' => 'object', 'properties' => [ 'VpcId' => ['description' => 'The ID of the VPC peer.'."\n", 'type' => 'string', 'required' => false, 'example' => 'vpc-uf66uio7md****', 'title' => ''], 'Region' => ['description' => 'The region where the VPC peer resides.'."\n", 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai', 'title' => ''], ], 'required' => false, 'title' => '', 'example' => '', ], 'required' => false, 'title' => '', 'example' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => 'The data returned.'."\n", 'type' => 'object', 'properties' => [ 'requestId' => ['title' => 'Id of the request', 'description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '40325405-579C-4D82****'], 'GatewayId' => ['description' => 'The ID of the private gateway.'."\n", 'type' => 'string', 'example' => 'gw-1uhcqmsc7x22******', 'title' => ''], 'Message' => ['description' => 'The message that is returned.'."\n", 'type' => 'string', 'example' => 'Successfully delete intranet linked vpc Peer for gateway', 'title' => ''], ], 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"40325405-579C-4D82****\\",\\n \\"GatewayId\\": \\"gw-1uhcqmsc7x22******\\",\\n \\"Message\\": \\"Successfully delete intranet linked vpc Peer for gateway\\"\\n}","type":"json"}]', 'title' => 'DeleteGatewayIntranetLinkedVpcPeer', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteGatewayIntranetLinkedVpcPeer'], ], ], 'ramActions' => [ [ 'operationType' => 'delete', 'ramAction' => [ 'action' => 'eas:DeleteGatewayIntranetLinkedVpcPeer', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'PAI', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], ], 'DeleteGatewayLabel' => [ 'path' => '/api/v2/gateways/{ClusterId}/{GatewayId}/label', 'methods' => ['delete'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'delete', 'riskType' => 'high', 'chargeType' => 'free', 'abilityTreeCode' => '167565', 'abilityTreeNodes' => ['FEATURElearnKDX12S'], ], 'parameters' => [ [ 'name' => 'ClusterId', 'in' => 'path', 'schema' => ['description' => 'The ID of the region where the gateway is located.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'cn-hangzhou'], ], [ 'name' => 'GatewayId', 'in' => 'path', 'schema' => ['description' => 'The ID of the gateway.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'gw-1uhcqmsc7x22******'], ], [ 'name' => 'LabelKeys', 'in' => 'query', 'style' => 'json', 'schema' => [ 'type' => 'array', 'items' => ['description' => 'The key of a label.', 'type' => 'string', 'title' => '', 'required' => false, 'example' => 'key1'], 'required' => true, 'title' => '', 'description' => 'The keys of the labels that you want to delete.', 'example' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => '40325405-579C-4D82****'], 'Message' => ['description' => 'The returned message.', 'type' => 'string', 'title' => '', 'example' => 'Succeed to delete gateway labels.'], ], 'title' => '', 'description' => 'The response schema.', 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'title' => 'DeleteGatewayLabel', 'summary' => 'Deletes gateway labels.', 'description' => '**Before you call this operation, ensure you understand the billing methods and [pricing](~~144261~~) for Elastic Algorithm Service (EAS).**', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], ], 'ramActions' => [], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"40325405-579C-4D82****\\",\\n \\"Message\\": \\"Succeed to delete gateway labels.\\"\\n}","type":"json"}]', ], 'DeleteGroup' => [ 'path' => '/api/v2/groups/{ClusterId}/{GroupName}', 'methods' => ['delete'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATURElearnKDX12S'], ], 'parameters' => [ [ 'name' => 'ClusterId', 'in' => 'path', 'schema' => ['description' => 'The ID of the region to which the service group belongs.', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai', 'title' => ''], ], [ 'name' => 'GroupName', 'in' => 'path', 'schema' => ['description' => 'The name of the service group.', 'type' => 'string', 'required' => false, 'example' => 'foo', 'title' => ''], ], [ 'name' => 'CascadeDelete', 'in' => 'query', 'schema' => [ 'description' => 'Specifies whether to perform a cascade delete. If enabled, deleting the service group automatically deletes all services within the service group. This feature is disabled by default.', 'enumValueTitles' => ['true' => 'true', 'false' => 'false'], 'type' => 'string', 'required' => false, 'example' => 'false', 'title' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => '', 'description' => 'The response.', 'type' => 'object', 'properties' => [ 'RequestId' => ['title' => '', 'description' => 'The request ID.', 'type' => 'string', 'example' => '40325405-579C-4D82********'], 'Message' => ['description' => 'The response message.', 'type' => 'string', 'example' => 'Delete service group foo successfully'."\n", 'title' => ''], ], 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'title' => 'Delete a service group', 'summary' => 'Deletes a service group.', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], ], 'ramActions' => [], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"40325405-579C-4D82********\\",\\n \\"Message\\": \\"Delete service group foo successfully\\\\n\\"\\n}","type":"json"}]', ], 'DeleteResource' => [ 'summary' => 'Deletes a resource group that contains no resources or instances.', 'path' => '/api/v2/resources/{ClusterId}/{ResourceId}', 'methods' => ['delete'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => ['operationType' => 'delete'], 'parameters' => [ [ 'name' => 'ClusterId', 'in' => 'path', 'schema' => ['title' => '', 'description' => 'The ID of the region to which the resource group belongs.'."\n", 'type' => 'string', 'required' => true, 'example' => 'cn-shanghai'], ], [ 'name' => 'ResourceId', 'in' => 'path', 'schema' => ['title' => '', 'description' => 'The ID of the resource group. For more information about how to query the ID of a resource group, see [ListResources](~~412133~~).'."\n", 'type' => 'string', 'required' => true, 'example' => 'eas-r-asdasdasd****'], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => 'The response parameters.'."\n", 'type' => 'object', 'properties' => [ 'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '40325405-579C-4D82-9624-EC2B1779****'], 'Message' => ['description' => 'The returned message.'."\n", 'type' => 'string', 'example' => 'Resource [eas-r-asdasdasd****] is deleted.', 'title' => ''], ], 'example' => '', ], ], 404 => [], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"40325405-579C-4D82-9624-EC2B1779****\\",\\n \\"Message\\": \\"Resource [eas-r-asdasdasd****] is deleted.\\"\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]', 'title' => 'DeleteResource', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteResource'], ], ], 'ramActions' => [ [ 'operationType' => 'delete', 'ramAction' => [ 'action' => 'eas:DeleteResource', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'PAI', 'resourceType' => 'Resource', 'arn' => 'acs:eas:{#regionId}:{#accountId}:resource/{#ResourceId}'], ], ], ], ], ], 'DeleteResourceDLink' => [ 'summary' => 'Disables the virtual private cloud (VPC) direct connection feature for a dedicated resource group.', 'path' => '/api/v2/resources/{ClusterId}/{ResourceId}/dlink', 'methods' => ['delete'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => ['operationType' => 'delete'], 'parameters' => [ [ 'name' => 'ClusterId', 'in' => 'path', 'schema' => ['title' => '', 'description' => 'The ID of the region to which the resource group belongs.'."\n", 'type' => 'string', 'required' => true, 'example' => 'cn-shanghai'], ], [ 'name' => 'ResourceId', 'in' => 'path', 'schema' => ['title' => '', 'description' => 'The ID of the resource group. For more information about how to query the ID of a resource group, see [ListResources](~~412133~~).'."\n", 'type' => 'string', 'required' => true, 'example' => 'eas-r-asdasdasd****'], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => 'The response parameters.'."\n", 'type' => 'object', 'properties' => [ 'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '40325405-579C-4D82****'], 'Message' => ['description' => 'The returned message.'."\n", 'type' => 'string', 'example' => 'Network interfaces are deleting', 'title' => ''], ], 'example' => '', ], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"40325405-579C-4D82****\\",\\n \\"Message\\": \\"Network interfaces are deleting\\"\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]', 'title' => 'DeleteResourceDLink', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteResourceDLink'], ], ], 'ramActions' => [ [ 'operationType' => 'delete', 'ramAction' => [ 'action' => 'eas:DeleteResourceDLink', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'PAI', 'resourceType' => 'Resource', 'arn' => 'acs:eas:{#regionId}:{#accountId}:resource/{#ResourceId}'], ], ], ], ], ], 'DeleteResourceInstanceLabel' => [ 'summary' => 'Deletes instance tags from a resource group.', 'path' => '/api/v2/resources/{ClusterId}/{ResourceId}/label', 'methods' => ['delete'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'produces' => ['application/json'], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '260412', 'abilityTreeNodes' => ['FEATURElearnN5R68Z'], ], 'parameters' => [ [ 'name' => 'ClusterId', 'in' => 'path', 'schema' => ['description' => 'The region ID of the resource group.', 'type' => 'string', 'required' => true, 'example' => 'cn-shanghai', 'title' => ''], ], [ 'name' => 'ResourceId', 'in' => 'path', 'schema' => ['description' => 'The ID of the resource group. To query the resource group ID, see [ListResources](~~412133~~).', 'type' => 'string', 'required' => true, 'example' => 'eas-r-h7lcw24dyqztwxxxxxx', 'title' => ''], ], [ 'name' => 'InstanceIds', 'in' => 'query', 'style' => 'simple', 'schema' => [ 'description' => 'The machine instance IDs.', 'type' => 'array', 'items' => ['description' => 'The machine instance IDs.', 'type' => 'string', 'required' => false, 'example' => 'eas-i-xxxxx', 'title' => ''], 'required' => false, 'title' => '', 'example' => '', ], ], [ 'name' => 'AllInstances', 'in' => 'query', 'schema' => ['description' => 'Specifies whether the operation takes effect on all instances in the resource group. If this parameter is set to true, the InstanceIds parameter does not take effect.', 'type' => 'boolean', 'required' => false, 'title' => '', 'example' => ''], ], [ 'name' => 'Keys', 'in' => 'query', 'style' => 'simple', 'schema' => [ 'description' => 'The tags to delete. (Deprecated. Use LabelKeys instead.).', 'type' => 'array', 'items' => ['description' => 'The tag key to delete.', 'type' => 'string', 'required' => false, 'example' => 'key', 'title' => ''], 'deprecated' => true, 'required' => false, 'title' => '', 'example' => '', ], ], [ 'name' => 'LabelKeys', 'in' => 'query', 'style' => 'json', 'schema' => [ 'description' => 'The tags to delete.', 'type' => 'array', 'items' => ['description' => 'The tag key to delete.', 'type' => 'string', 'required' => false, 'example' => 'key', 'title' => ''], 'required' => false, 'title' => '', 'example' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => '', 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ 'RequestId' => ['title' => '', 'description' => 'The request ID.', 'type' => 'string', 'example' => '40325405-579C-4D82********'], 'Message' => ['description' => 'The response message.', 'type' => 'string', 'example' => 'success', 'title' => ''], ], 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"40325405-579C-4D82********\\",\\n \\"Message\\": \\"success\\"\\n}","type":"json"}]', 'title' => 'Delete resource group machine instance tags', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteResourceInstanceLabel'], ], ], 'ramActions' => [], ], 'DeleteResourceInstances' => [ 'summary' => 'Deletes instances in a dedicated resource group. You can delete only pay-as-you-go instances as a regular user.', 'path' => '/api/v2/resources/{ClusterId}/{ResourceId}/instances', 'methods' => ['delete'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'delete', 'abilityTreeCode' => '37103', 'abilityTreeNodes' => ['FEATURElearnRPDTZG'], ], 'parameters' => [ [ 'name' => 'ClusterId', 'in' => 'path', 'schema' => ['description' => 'The ID of the region to which the resource group belongs.'."\n", 'type' => 'string', 'required' => true, 'example' => 'cn-shanghai', 'title' => ''], ], [ 'name' => 'ResourceId', 'in' => 'path', 'schema' => ['description' => 'The ID of the resource group. For more information about how to query the ID of a resource group, see [ListResources](~~412133~~).'."\n", 'type' => 'string', 'required' => true, 'example' => 'eas-r-asdasdasd****', 'title' => ''], ], [ 'name' => 'InstanceList', 'in' => 'query', 'schema' => ['description' => 'The instances. Separate multiple instances with commas (,), such as `instanceId1,instanceId2`. For more information about how to query the instances, see [ListResourceInstances](~~412129~~).'."\n", 'type' => 'string', 'required' => false, 'example' => 'eas-i-xxxxxxx,eas-i-xxxxxxx', 'title' => ''], ], [ 'name' => 'AllFailed', 'in' => 'query', 'schema' => ['description' => 'Specifies whether to delete all the instances that fail to be created. Valid values:'."\n" ."\n" .'* true'."\n" .'* false'."\n", 'type' => 'boolean', 'required' => false, 'example' => 'true', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => 'The response parameters.'."\n", 'type' => 'object', 'properties' => [ 'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '40325405-579C-4D82****'], 'Message' => ['description' => 'The returned message.'."\n", 'type' => 'string', 'example' => 'Instances eas-i-01122713****,eas-i-01122713**** are deleting', 'title' => ''], ], 'example' => '', ], ], 404 => [], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"40325405-579C-4D82****\\",\\n \\"Message\\": \\"Instances eas-i-01122713****,eas-i-01122713**** are deleting\\"\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]', 'title' => 'DeleteResourceInstances', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteResourceInstances'], ], ], 'ramActions' => [ [ 'operationType' => 'delete', 'ramAction' => [ 'action' => 'eas:DeleteResourceInstances', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'PAI', 'resourceType' => 'ResourceInstance', 'arn' => 'acs:eas:{#regionId}:{#accountId}:resource/{#ResourceId}'], ], ], ], ], ], 'DeleteResourceLog' => [ 'summary' => 'Disables the LogShipper feature of Log Service for a dedicated resource group.', 'path' => '/api/v2/resources/{ClusterId}/{ResourceId}/log', 'methods' => ['delete'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => ['operationType' => 'delete'], 'parameters' => [ [ 'name' => 'ClusterId', 'in' => 'path', 'schema' => ['description' => 'The ID of the region to which the resource group belongs.'."\n", 'type' => 'string', 'required' => true, 'example' => 'cn-shanghai', 'title' => ''], ], [ 'name' => 'ResourceId', 'in' => 'path', 'schema' => ['description' => 'The ID of the resource group. For more information about how to query the ID of a resource group, see [ListResources](~~412133~~).'."\n", 'type' => 'string', 'required' => true, 'example' => 'eas-r-asdas****', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => 'The response parameters.'."\n", 'type' => 'object', 'properties' => [ 'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '40325405-579C-4D82****'], 'Message' => ['description' => 'The returned message.'."\n", 'type' => 'string', 'example' => 'Log service for resource [eas-r-asdas****] is deleting', 'title' => ''], ], 'example' => '', ], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"40325405-579C-4D82****\\",\\n \\"Message\\": \\"Log service for resource [eas-r-asdas****] is deleting\\"\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]', 'title' => 'DeleteResourceLog', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteResourceLog'], ], ], 'ramActions' => [ [ 'operationType' => 'delete', 'ramAction' => [ 'action' => 'eas:DeleteResourceLog', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'PAI', 'resourceType' => 'Resource', 'arn' => 'acs:eas:{#regionId}:{#accountId}:resource/{#ResourceId}'], ], ], ], ], ], 'DeleteService' => [ 'summary' => 'Deletes a service.', 'path' => '/api/v2/services/{ClusterId}/{ServiceName}', 'methods' => ['delete'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => ['operationType' => 'delete'], 'parameters' => [ [ 'name' => 'ClusterId', 'in' => 'path', 'schema' => ['description' => 'The ID of the region where the service is deployed.'."\n", 'type' => 'string', 'required' => true, 'example' => 'cn-shanghai', 'title' => ''], ], [ 'name' => 'ServiceName', 'in' => 'path', 'schema' => ['description' => 'The service name. For more information about how to query the service name, see [ListServices](~~412109~~).'."\n", 'type' => 'string', 'required' => true, 'example' => 'foo', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => 'The response parameters.'."\n", 'type' => 'object', 'properties' => [ 'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '40325405-579C-4D82****'], 'Message' => ['description' => 'The returned message.'."\n", 'type' => 'string', 'example' => 'Service [foo] in region [cn-shanghai] is terminating', 'title' => ''], ], 'example' => '', ], ], 404 => [], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"40325405-579C-4D82****\\",\\n \\"Message\\": \\"Service [foo] in region [cn-shanghai] is terminating\\"\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]', 'title' => 'DeleteService', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteService'], ], ], 'ramActions' => [ [ 'operationType' => 'delete', 'ramAction' => [ 'action' => 'eas:DeleteService', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'PAI', 'resourceType' => 'Service', 'arn' => 'acs:eas:{#regionId}:{#accountId}:service/{#ServiceName}'], ], ], ], ], ], 'DeleteServiceAutoScaler' => [ 'summary' => 'Deletes the existing Autoscaler controller and disables the Autoscaler feature for a service.', 'path' => '/api/v2/services/{ClusterId}/{ServiceName}/autoscaler', 'methods' => ['delete'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'produces' => ['application/json'], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => ['operationType' => 'delete'], 'parameters' => [ [ 'name' => 'ClusterId', 'in' => 'path', 'schema' => ['title' => '', 'description' => 'The ID of the region where the service is deployed.'."\n", 'type' => 'string', 'required' => true, 'example' => 'cn-shanghai'], ], [ 'name' => 'ServiceName', 'in' => 'path', 'schema' => ['title' => '', 'description' => 'The service name. For more information about how to query the service name, see [ListServices](~~412109~~).'."\n", 'type' => 'string', 'required' => true, 'example' => 'foo'], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => 'The response parameters.'."\n", 'type' => 'object', 'properties' => [ 'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '40325405-579C-4D82****'], 'Message' => ['description' => 'The returned message.'."\n", 'type' => 'string', 'example' => 'Autoscaler for service [foo] deleted successfully', 'title' => ''], ], 'example' => '', ], ], 404 => [], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"40325405-579C-4D82****\\",\\n \\"Message\\": \\"Autoscaler for service [foo] deleted successfully\\"\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]', 'title' => 'DeleteServiceAutoScaler', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteServiceAutoScaler'], ], ], 'ramActions' => [ [ 'operationType' => 'delete', 'ramAction' => [ 'action' => 'eas:DeleteServiceAutoScaler', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'PAI', 'resourceType' => 'Service', 'arn' => 'acs:eas:{#regionId}:{#accountId}:service/{#ServiceName}'], ], ], ], ], ], 'DeleteServiceCronScaler' => [ 'summary' => 'Disables the Cronscaler feature for a service.', 'path' => '/api/v2/services/{ClusterId}/{ServiceName}/cronscaler', 'methods' => ['delete'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'produces' => ['application/json'], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => ['operationType' => 'delete'], 'parameters' => [ [ 'name' => 'ClusterId', 'in' => 'path', 'schema' => ['description' => 'The ID of the region where the service is deployed.'."\n", 'type' => 'string', 'required' => true, 'example' => 'cn-shanghai', 'title' => ''], ], [ 'name' => 'ServiceName', 'in' => 'path', 'schema' => ['description' => 'The service name. For more information about how to query the service name, see [ListServices](~~412109~~).'."\n", 'type' => 'string', 'required' => true, 'example' => 'foo', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => 'The response parameters.'."\n", 'type' => 'object', 'properties' => [ 'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '40325405-579C-4D82****'], 'Message' => ['description' => 'The returned message.'."\n", 'type' => 'string', 'example' => 'Cronscaler for service [foo] deleted successfully', 'title' => ''], ], 'example' => '', ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"40325405-579C-4D82****\\",\\n \\"Message\\": \\"Cronscaler for service [foo] deleted successfully\\"\\n}","type":"json"}]', 'title' => 'DeleteServiceCronScaler', 'changeSet' => [ ['createdAt' => '2022-02-22T03:55:39.000Z', 'description' => 'OpenAPI offline'], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteServiceCronScaler'], ], ], 'ramActions' => [ [ 'operationType' => 'delete', 'ramAction' => [ 'action' => 'eas:DeleteServiceCronScaler', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'PAI', 'resourceType' => 'Service', 'arn' => 'acs:eas:{#regionId}:{#accountId}:service/{#ServiceName}'], ], ], ], ], ], 'DeleteServiceInstances' => [ 'summary' => 'Restarts specified instances of a service.', 'path' => '/api/v2/services/{ClusterId}/{ServiceName}/instances', 'methods' => ['delete'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => [], 'produces' => ['application/json'], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '39632', 'abilityTreeNodes' => ['FEATURElearnKDX12S'], ], 'parameters' => [ [ 'name' => 'ClusterId', 'in' => 'path', 'schema' => ['title' => '', 'description' => 'The region where the service is located.', 'type' => 'string', 'required' => true, 'example' => 'cn-shanghai'], ], [ 'name' => 'ServiceName', 'in' => 'path', 'schema' => ['title' => '', 'description' => 'The name of the service. For more information, see [ListServices](~~412109~~).', 'type' => 'string', 'required' => true, 'example' => 'foo'], ], [ 'name' => 'InstanceList', 'in' => 'query', 'schema' => ['title' => '', 'description' => 'The instances to restart. Separate multiple instance names with a comma (,). For more information, see [ListServiceInstances](~~412108~~).', 'type' => 'string', 'required' => false, 'example' => 'foo-rdsbxxxx,foo-rdsaxxxx'], ], [ 'name' => 'SoftRestart', 'in' => 'query', 'schema' => ['description' => 'Specifies whether to restart only the container process without rebuilding the instance. The default value is false.', 'type' => 'boolean', 'required' => false, 'title' => '', 'example' => 'true'], ], [ 'name' => 'Container', 'in' => 'query', 'schema' => ['description' => 'The name of the container in which to restart the process. This parameter is valid only when \\`SoftRestart\\` is set to \\`true\\`.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'worker0'], ], [ 'name' => 'IsReplica', 'in' => 'query', 'schema' => ['type' => 'boolean', 'description' => 'Specifies whether the instance is a replica.', 'title' => '', 'required' => false, 'example' => 'false'], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => 'The response body.', 'type' => 'object', 'properties' => [ 'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID.', 'type' => 'string', 'example' => '40325405-579C-4D82****'], 'Message' => ['description' => 'The response message.', 'type' => 'string', 'title' => '', 'example' => 'Instance(s) [foo-rdsb,foo-rdsa] for service [foo] in region [cn-shanghai] was deleted successfully'], ], 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"40325405-579C-4D82****\\",\\n \\"Message\\": \\"Instance(s) [foo-rdsb,foo-rdsa] for service [foo] in region [cn-shanghai] was deleted successfully\\"\\n}","type":"json"}]', 'title' => 'DeleteServiceInstances', 'description' => '**Before you call this operation, make sure that you understand the billing methods and **[**pricing**](~~144261~~)** of Elastic Algorithm Service (EAS).**', 'changeSet' => [ ['createdAt' => '2023-06-06T06:07:00.000Z', 'description' => 'Request parameters changed'], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteServiceInstances'], ], ], 'ramActions' => [ [ 'operationType' => 'delete', 'ramAction' => [ 'action' => 'eas:DeleteServiceInstances', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'PAI', 'resourceType' => 'Service', 'arn' => 'acs:eas:{#regionId}:{#accountId}:service/{#ServiceName}'], ], ], ], ], ], 'DeleteServiceLabel' => [ 'summary' => 'Deletes a service label.', 'path' => '/api/v2/services/{ClusterId}/{ServiceName}/label', 'methods' => ['delete'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'produces' => ['application/json'], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '167565', 'abilityTreeNodes' => ['FEATURElearnKDX12S'], ], 'parameters' => [ [ 'name' => 'ClusterId', 'in' => 'path', 'schema' => ['title' => '', 'description' => 'The ID of the region where the service is located.', 'type' => 'string', 'required' => true, 'example' => 'cn-shanghai'], ], [ 'name' => 'ServiceName', 'in' => 'path', 'schema' => ['title' => '', 'description' => 'The service name. For more information, see [ListServices](~~412109~~).', 'type' => 'string', 'required' => true, 'example' => 'foo'], ], [ 'name' => 'Keys', 'in' => 'query', 'style' => 'simple', 'schema' => [ 'title' => '', 'description' => 'The keys of the service labels that you want to delete. This parameter is deprecated. Use the LabelKeys parameter instead.', 'type' => 'array', 'items' => ['title' => '', 'description' => 'The key of a service label.', 'type' => 'string', 'required' => false, 'example' => 'key1,key2'], 'required' => false, 'deprecated' => true, 'example' => '', ], ], [ 'name' => 'LabelKeys', 'in' => 'query', 'style' => 'json', 'schema' => [ 'type' => 'array', 'items' => ['type' => 'string', 'description' => 'The key of a service label.', 'required' => false, 'title' => '', 'example' => 'key1'], 'required' => false, 'description' => 'The keys of the service labels that you want to delete.', 'title' => '', 'example' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => 'The returned data.', 'type' => 'object', 'properties' => [ 'RequestId' => ['title' => '', 'description' => 'The ID of the request.', 'type' => 'string', 'example' => '40325405-579C-4D82****'], 'Message' => ['title' => '', 'description' => 'The returned message.', 'type' => 'string', 'example' => 'Succeed to delete service [service_from_zxxx] labels.'], ], 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"40325405-579C-4D82****\\",\\n \\"Message\\": \\"Succeed to delete service [service_from_zxxx] labels.\\"\\n}","type":"json"}]', 'title' => 'DeleteServiceLabel', 'changeSet' => [ ['createdAt' => '2023-08-09T02:08:59.000Z', 'description' => 'Response parameters changed'], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteServiceLabel'], ], ], 'ramActions' => [ [ 'operationType' => 'update', 'ramAction' => [ 'action' => 'eas:DeleteServiceLabel', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'PAI', 'resourceType' => 'Service', 'arn' => 'acs:eas:{#regionId}:{#accountId}:service/{#ServiceName}'], ], ], ], ], ], 'DeleteServiceMirror' => [ 'summary' => 'Disables the traffic mirroring feature for a service.', 'path' => '/api/v2/services/{ClusterId}/{ServiceName}/mirror', 'methods' => ['delete'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => ['operationType' => 'delete'], 'parameters' => [ [ 'name' => 'ClusterId', 'in' => 'path', 'schema' => ['title' => '', 'description' => 'The ID of the region where the service is deployed.'."\n", 'type' => 'string', 'required' => true, 'example' => 'cn-shanghai'], ], [ 'name' => 'ServiceName', 'in' => 'path', 'schema' => ['title' => '', 'description' => 'The service name. For more information about how to query the service name, see [ListServices](~~412109~~).'."\n", 'type' => 'string', 'required' => true, 'example' => 'foo'], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => 'The response parameters.'."\n", 'type' => 'object', 'properties' => [ 'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '40325405-579C-4D82***'], 'Message' => ['description' => 'The returned message.'."\n", 'type' => 'string', 'example' => 'Traffic mirroring is OFF for service [foo] in region [cn-shanghia], ratio [70%]', 'title' => ''], ], 'example' => '', ], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"40325405-579C-4D82***\\",\\n \\"Message\\": \\"Traffic mirroring is OFF for service [foo] in region [cn-shanghia], ratio [70%]\\"\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]', 'title' => 'DeleteServiceMirror', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteServiceMirror'], ], ], 'ramActions' => [ [ 'operationType' => 'delete', 'ramAction' => [ 'action' => 'eas:DeleteServiceMirror', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'PAI', 'resourceType' => 'Service', 'arn' => 'acs:eas:{#regionId}:{#accountId}:service/{#ServiceName}'], ], ], ], ], ], 'DeleteServiceRollout' => [ 'path' => '/api/v2/services/{ClusterId}/{ServiceName}/rollout', 'methods' => ['delete'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATURElearnKDX12S'], ], 'parameters' => [ [ 'name' => 'ClusterId', 'in' => 'path', 'schema' => ['description' => 'The ID of the region where the service is deployed.'."\n" ."\n" .'- Type: `string`'."\n" ."\n" .'- Required: Yes'."\n" ."\n" .'- Description: The ID of the region where the service is located.'."\n" ."\n" .'- Example: `cn-shanghai`', 'type' => 'string', 'required' => true, 'example' => 'cn-shanghai', 'title' => ''], ], [ 'name' => 'ServiceName', 'in' => 'path', 'schema' => ['description' => 'The name of the service.'."\n" ."\n" .'- Type: `string`'."\n" ."\n" .'- Required: Yes'."\n" ."\n" .'- Description: The name of the service from which to delete the rollout policy.'."\n" ."\n" .'- Example: `my-service`', 'type' => 'string', 'required' => true, 'example' => 'my-service', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'description' => 'The response body.', 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The unique ID of the request. Use this ID for troubleshooting.'."\n" ."\n" .'- Type: `string`'."\n" ."\n" .'- Description: The unique identifier for the request. Use this ID to troubleshoot and track issues.'."\n" ."\n" .'- Example: `40325405-579C-4D82-9B4F-8A7C6D5E4F3A`', 'type' => 'string', 'example' => '40325405-579C-4D82****', 'title' => ''], 'Message' => ['description' => 'A message indicating the result of the request.'."\n" ."\n" .'- Type: `string`'."\n" ."\n" .'- Description: The message that describes the result of the request.'."\n" ."\n" .'- Example value: `Rollout deleted successfully`', 'type' => 'string', 'example' => 'Rollout deleted successfully', 'title' => ''], ], 'title' => '', 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'title' => 'DeleteServiceRollout', 'summary' => 'Deletes a service rollout.', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], ], 'ramActions' => [], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"40325405-579C-4D82****\\",\\n \\"Message\\": \\"Rollout deleted successfully\\"\\n}","type":"json"}]', ], 'DeleteVirtualResource' => [ 'summary' => 'Deletes a virtual resource group that contains no resources or instances.', 'path' => '/api/v2/virtualresources/{ClusterId}/{VirtualResourceId}', 'methods' => ['delete'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'delete', 'abilityTreeCode' => '238260', 'abilityTreeNodes' => ['FEATURElearnRPDTZG'], 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ 'name' => 'ClusterId', 'in' => 'path', 'schema' => ['title' => '', 'description' => 'The ID of the region to which the virtual resource group belongs.'."\n", 'type' => 'string', 'required' => true, 'example' => 'cn-shanghai'], ], [ 'name' => 'VirtualResourceId', 'in' => 'path', 'schema' => ['title' => '', 'description' => 'The ID of the virtual resource group.'."\n", 'type' => 'string', 'required' => true, 'example' => 'eas-vr-npovr28onap1xxxxxx'], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => 'The data returned.'."\n", 'type' => 'object', 'properties' => [ 'RequestId' => ['title' => 'Id of the request', 'description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '40325405-579C-4D82***'], 'Message' => ['title' => '', 'description' => 'The information about the operation result.'."\n", 'type' => 'string', 'example' => 'Successfully deleted virtual resource eas-vr-npovr28onap1xxxxxx'], ], 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"40325405-579C-4D82***\\",\\n \\"Message\\": \\"Successfully deleted virtual resource eas-vr-npovr28onap1xxxxxx\\"\\n}","type":"json"}]', 'title' => 'DeleteVirtualResource', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteVirtualResource'], ], ], 'ramActions' => [ [ 'operationType' => 'delete', 'ramAction' => [ 'action' => 'eas:DeleteVirtualResource', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'PAI', 'resourceType' => 'VirtualResource', 'arn' => 'acs:eas:{#regionId}:{#accountId}:virtualresource/{#VirtualResourceId}'], ], ], ], ], ], 'DescribeBenchmarkTask' => [ 'summary' => 'Queries details about the configurations of a stress testing task.', 'path' => '/api/v2/benchmark-tasks/{ClusterId}/{TaskName}', 'methods' => ['get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ 'name' => 'ClusterId', 'in' => 'path', 'schema' => ['description' => 'The ID of the region where the stress testing task is performed.'."\n", 'type' => 'string', 'required' => true, 'example' => 'cn-shanghai', 'title' => ''], ], [ 'name' => 'TaskName', 'in' => 'path', 'schema' => ['description' => 'The name of the stress testing task. For more information about how to query the name of a stress testing task, see [ListBenchmarkTask](~~432976~~).'."\n", 'type' => 'string', 'required' => true, 'example' => 'benchmark-larec-test-eac4', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => 'The response parameters.'."\n", 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '40325405-579C-4D82****', 'title' => ''], 'TaskName' => ['description' => 'The name of the stress testing task.'."\n", 'type' => 'string', 'example' => 'benchmark-larec-test-ae70', 'title' => ''], 'TaskId' => ['description' => 'The ID of the stress testing task.'."\n", 'type' => 'string', 'example' => 'eas-b-gv4y86u****', 'title' => ''], 'ServiceName' => ['description' => 'The name of the service that you want to test.'."\n", 'type' => 'string', 'example' => 'foo', 'title' => ''], 'Token' => ['description' => 'The token for authentication when a stress testing task is created.'."\n", 'type' => 'string', 'example' => '6062787a-9301****', 'title' => ''], 'CallerUid' => ['description' => 'The ID of the operation caller.'."\n", 'type' => 'string', 'example' => '1640133467****', 'title' => ''], 'ParentUid' => ['description' => 'The ID of the Alibaba Cloud account that is used to call the operation.'."\n", 'type' => 'string', 'example' => '1029728669****', 'title' => ''], 'DesiredAgent' => ['description' => 'The number of instances that you want to test.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '4', 'title' => ''], 'AvailableAgent' => ['description' => 'The number of instances that you can test.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '4', 'title' => ''], 'Status' => [ 'description' => 'The state of the stress testing task.'."\n" ."\n" .'Valid values:'."\n" ."\n" .'* Creating'."\n" ."\n" .' '."\n" ."\n" .' '."\n" ."\n" .' '."\n" ."\n" .'* Starting'."\n" ."\n" .' '."\n" ."\n" .' '."\n" ."\n" .' '."\n" ."\n" .'* DeleteFailed'."\n" ."\n" .' '."\n" ."\n" .' '."\n" ."\n" .' '."\n" ."\n" .'* Running'."\n" ."\n" .' '."\n" ."\n" .' '."\n" ."\n" .' '."\n" ."\n" .'* Stopping'."\n" ."\n" .' '."\n" ."\n" .' '."\n" ."\n" .' '."\n" ."\n" .'* Error'."\n" ."\n" .' '."\n" ."\n" .' '."\n" ."\n" .' '."\n" ."\n" .'* Updating'."\n" ."\n" .' '."\n" ."\n" .' '."\n" ."\n" .' '."\n" ."\n" .'* Deleting'."\n" ."\n" .' '."\n" ."\n" .' '."\n" ."\n" .' '."\n" ."\n" .'* CreateFailed'."\n" ."\n" .' '."\n" ."\n" .' '."\n" ."\n" .' '."\n", 'type' => 'string', 'enumValueTitles' => ['Creating' => '', 'Starting' => '', 'DeleteFailed' => '', 'Running' => '', 'Stopping' => '', 'Error' => '', 'Updating' => '', 'Deleting' => '', 'CreateFailed' => ''], 'example' => 'Running', 'title' => '', ], 'Reason' => ['description' => 'The event or reason that causes the current state of the stress testing task.'."\n", 'type' => 'string', 'example' => 'RUNNING', 'title' => ''], 'Message' => ['description' => 'The returned message.'."\n", 'type' => 'string', 'example' => 'Benchmar task is Running', 'title' => ''], 'Endpoint' => ['description' => 'The endpoint of the service gateway.'."\n", 'type' => 'string', 'example' => '192342311234.pai-eas.cn-chengdu.aliyuncs.com', 'title' => ''], ], 'example' => '', ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"40325405-579C-4D82****\\",\\n \\"TaskName\\": \\"benchmark-larec-test-ae70\\",\\n \\"TaskId\\": \\"eas-b-gv4y86u****\\",\\n \\"ServiceName\\": \\"foo\\",\\n \\"Token\\": \\"6062787a-9301****\\",\\n \\"CallerUid\\": \\"1640133467****\\",\\n \\"ParentUid\\": \\"1029728669****\\",\\n \\"DesiredAgent\\": 4,\\n \\"AvailableAgent\\": 4,\\n \\"Status\\": \\"Running\\",\\n \\"Reason\\": \\"RUNNING\\",\\n \\"Message\\": \\"Benchmar task is Running\\",\\n \\"Endpoint\\": \\"192342311234.pai-eas.cn-chengdu.aliyuncs.com\\"\\n}","type":"json"}]', 'title' => 'DescribeBenchmarkTask', 'changeSet' => [ ['createdAt' => '2022-11-02T09:46:23.000Z', 'description' => 'Response parameters changed'], ['createdAt' => '2022-05-27T03:23:01.000Z', 'description' => 'OpenAPI offline'], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeBenchmarkTask'], ], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'eas:DescribeBenchmarkTask', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'PAI', 'resourceType' => 'BenchmarkTask', 'arn' => 'acs:eas:{#regionId}:{#accountId}:benchmarktask/{#BenchmarkTaskId}'], ], ], ], ], ], 'DescribeBenchmarkTaskReport' => [ 'summary' => 'Queries the report of a stress testing task.', 'path' => '/api/v2/benchmark-tasks/{ClusterId}/{TaskName}/report', 'methods' => ['get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ 'name' => 'ClusterId', 'in' => 'path', 'schema' => ['description' => 'The ID of the region where the stress testing task is performed.'."\n", 'type' => 'string', 'required' => true, 'example' => 'cn-shanghai', 'title' => ''], ], [ 'name' => 'TaskName', 'in' => 'path', 'schema' => ['description' => 'The name of the stress testing task. For more information about how to query the name of a stress testing task, see [ListBenchmarkTask](~~432976~~).'."\n", 'type' => 'string', 'required' => true, 'example' => 'benchmark-larec-test-015d', 'title' => ''], ], [ 'name' => 'ReportType', 'in' => 'query', 'schema' => ['description' => 'The report type of the stress testing task. Valid values: RAW and Report.'."\n", 'type' => 'string', 'required' => false, 'example' => 'report', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => 'The response parameters.'."\n", 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '40325405-579C-4D82********', 'title' => ''], 'ReportUrl' => ['description' => 'If the value of ReportType is set to Report, the URL of the stress testing report is returned.'."\n", 'type' => 'string', 'example' => 'http://eas-benchmark.oss-cn-chengdu.aliyuncs.com/summary/benchmark-larec-test-015d-10007.html', 'title' => ''], 'Data' => ['description' => 'If the value of ReportType is set to RAW, the details about the stress testing report are returned.'."\n", 'type' => 'any', 'example' => '{'."\n" .' "TimestampList": ["int64"],'."\n" .' "QPSList": ["float32"],'."\n" .' "RTList": ['."\n" .' {'."\n" .' "AVG": "float32",'."\n" .' "TP100": "float32",'."\n" .' "TP99": "float32",'."\n" .' "TP90": "float32",'."\n" .' "TP50": "float32",'."\n" .' "TP10": "float32"'."\n" .' }'."\n" .' ],'."\n" .' "TrafficList": ['."\n" .' {'."\n" .' "Send": "float64",'."\n" .' "Receive": "float64"'."\n" .' }'."\n" .' ],'."\n" .' "StatusCode": {'."\n" .' "200": "uint64",'."\n" .' "450": "uint64",'."\n" .' "500": "uint64"'."\n" .' },'."\n" .' "Count": "uint64",'."\n" .' "Total": "float64",'."\n" .' "MinRT": "float32",'."\n" .' "AvgRT": "float32",'."\n" .' "MaxRT": "float32",'."\n" .' "QPS": "float32",'."\n" .' "TotalSend": "float64",'."\n" .' "TotalReceive": "float64",'."\n" .' "RTDistribution": ['."\n" .' {'."\n" .' "Latency": "float32",'."\n" .' "Percentage": "int"'."\n" .' }'."\n" .' ],'."\n" .' "RTHistogram": ['."\n" .' {'."\n" .' "Count": "int",'."\n" .' "Mark": "float32",'."\n" .' "Frequency": "float32"'."\n" .' }'."\n" .' ]'."\n" .' }', 'title' => ''], ], 'example' => '', ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"40325405-579C-4D82********\\",\\n \\"ReportUrl\\": \\"http://eas-benchmark.oss-cn-chengdu.aliyuncs.com/summary/benchmark-larec-test-015d-10007.html\\",\\n \\"Data\\": \\"{\\\\n \\\\\\"TimestampList\\\\\\": [\\\\\\"int64\\\\\\"],\\\\n \\\\\\"QPSList\\\\\\": [\\\\\\"float32\\\\\\"],\\\\n \\\\\\"RTList\\\\\\": [\\\\n {\\\\n \\\\\\"AVG\\\\\\": \\\\\\"float32\\\\\\",\\\\n \\\\\\"TP100\\\\\\": \\\\\\"float32\\\\\\",\\\\n \\\\\\"TP99\\\\\\": \\\\\\"float32\\\\\\",\\\\n \\\\\\"TP90\\\\\\": \\\\\\"float32\\\\\\",\\\\n \\\\\\"TP50\\\\\\": \\\\\\"float32\\\\\\",\\\\n \\\\\\"TP10\\\\\\": \\\\\\"float32\\\\\\"\\\\n }\\\\n ],\\\\n \\\\\\"TrafficList\\\\\\": [\\\\n {\\\\n \\\\\\"Send\\\\\\": \\\\\\"float64\\\\\\",\\\\n \\\\\\"Receive\\\\\\": \\\\\\"float64\\\\\\"\\\\n }\\\\n ],\\\\n \\\\\\"StatusCode\\\\\\": {\\\\n \\\\\\"200\\\\\\": \\\\\\"uint64\\\\\\",\\\\n \\\\\\"450\\\\\\": \\\\\\"uint64\\\\\\",\\\\n \\\\\\"500\\\\\\": \\\\\\"uint64\\\\\\"\\\\n },\\\\n \\\\\\"Count\\\\\\": \\\\\\"uint64\\\\\\",\\\\n \\\\\\"Total\\\\\\": \\\\\\"float64\\\\\\",\\\\n \\\\\\"MinRT\\\\\\": \\\\\\"float32\\\\\\",\\\\n \\\\\\"AvgRT\\\\\\": \\\\\\"float32\\\\\\",\\\\n \\\\\\"MaxRT\\\\\\": \\\\\\"float32\\\\\\",\\\\n \\\\\\"QPS\\\\\\": \\\\\\"float32\\\\\\",\\\\n \\\\\\"TotalSend\\\\\\": \\\\\\"float64\\\\\\",\\\\n \\\\\\"TotalReceive\\\\\\": \\\\\\"float64\\\\\\",\\\\n \\\\\\"RTDistribution\\\\\\": [\\\\n {\\\\n \\\\\\"Latency\\\\\\": \\\\\\"float32\\\\\\",\\\\n \\\\\\"Percentage\\\\\\": \\\\\\"int\\\\\\"\\\\n }\\\\n ],\\\\n \\\\\\"RTHistogram\\\\\\": [\\\\n {\\\\n \\\\\\"Count\\\\\\": \\\\\\"int\\\\\\",\\\\n \\\\\\"Mark\\\\\\": \\\\\\"float32\\\\\\",\\\\n \\\\\\"Frequency\\\\\\": \\\\\\"float32\\\\\\"\\\\n }\\\\n ]\\\\n }\\"\\n}","type":"json"}]', 'title' => 'DescribeBenchmarkTaskReport', 'changeSet' => [ ['createdAt' => '2022-11-02T09:46:23.000Z', 'description' => 'Request parameters changed, Response parameters changed'], ['createdAt' => '2022-05-27T03:20:08.000Z', 'description' => 'OpenAPI offline'], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeBenchmarkTaskReport'], ], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'eas:DescribeBenchmarkTaskReport', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'PAI', 'resourceType' => 'BenchmarkTask', 'arn' => 'acs:eas:{#regionId}:{#accountId}:benchmarktask/{#BenchmarkTaskId}'], ], ], ], ], ], 'DescribeGateway' => [ 'summary' => 'Queries the details of a dedicated gateway.', 'path' => '/api/v2/gateways/{ClusterId}/{GatewayId}', 'methods' => ['get'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '191846', 'abilityTreeNodes' => ['FEATURElearn6PC7M4'], ], 'parameters' => [ [ 'name' => 'ClusterId', 'in' => 'path', 'schema' => ['description' => 'The region where the dedicated gateway resides.', 'type' => 'string', 'required' => true, 'example' => 'cn-wulanchabu', 'title' => ''], ], [ 'name' => 'GatewayId', 'in' => 'path', 'schema' => ['description' => 'The dedicated gateway ID. To obtain the dedicated gateway ID, refer to the private_gateway_id field in the response of the [ListResources](~~412133~~) operation.', 'type' => 'string', 'required' => true, 'example' => 'gw-1uhcqmsc7x22******', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => '', 'description' => 'The response.', 'type' => 'object', 'properties' => [ 'RequestId' => ['title' => '', 'description' => 'The request ID.', 'type' => 'string', 'example' => '40325405-579C-4D82****'], 'GatewayId' => ['title' => '', 'description' => 'The dedicated gateway ID.', 'type' => 'string', 'example' => 'gw-1uhcqmsc7x22******'], 'GatewayName' => ['description' => 'The alias of the dedicated gateway.', 'type' => 'string', 'example' => 'mygateway1', 'title' => ''], 'CreateTime' => ['title' => '', 'description' => 'The time when the dedicated gateway was created. The time is in UTC.', 'type' => 'string', 'example' => '2020-05-19T14:19:42Z'], 'UpdateTime' => ['title' => '', 'description' => 'The time when the dedicated gateway was last updated. The time is in UTC.', 'type' => 'string', 'example' => '2021-02-24T11:52:17Z'], 'IntranetDomain' => ['title' => '', 'description' => 'The internal access domain name.', 'type' => 'string', 'example' => 'gw-1uhcqmsc7x22******-1801786532******-vpc.cn-wulanchabu.pai-eas.aliyuncs.com'], 'InternetEnabled' => ['description' => 'Indicates whether public network access is enabled.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], 'InternetDomain' => ['title' => '', 'description' => 'The public network access domain name.', 'type' => 'string', 'example' => 'gw-1uhcqmsc7x22******-1801786532******.cn-wulanchabu.pai-eas.aliyuncs.com'], 'InstanceType' => [ 'title' => '', 'description' => 'The instance type used by the dedicated gateway.', 'enumValueTitles' => ['8c16g' => '8c16g', '4c8g' => '4c8g', '2c4g' => '2c4g', '16c32g' => '16c32g'], 'type' => 'string', 'example' => '2c4g', ], 'Status' => [ 'title' => '', 'description' => 'The status of the dedicated gateway.', 'enumValueTitles' => ['Creating' => 'Creating.', 'Stopped' => 'Stopped.', 'Failed' => 'Failed.', 'Running' => 'Running.', 'Deleted' => 'Deleted.', 'Deleting' => 'Deleting.', 'Waiting' => 'Waiting.'], 'type' => 'string', 'example' => 'Running', ], 'ExternalClusterId' => ['description' => 'The self-managed cluster ID.', 'type' => 'string', 'example' => 'c935eadf284c14c2da57a2a13ad6******', 'title' => ''], 'Replicas' => ['description' => 'The number of nodes in the dedicated gateway.', 'type' => 'integer', 'format' => 'int32', 'example' => '2', 'title' => ''], 'IsDefault' => ['description' => 'Indicates whether the dedicated gateway is the default one.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], 'InternetStatus' => [ 'description' => 'The status of public network access enablement or disablement.', 'enumValueTitles' => ['Creating' => 'Public network access is being enabled.', 'Failed' => 'Public network access failed to be enabled or deleted.', 'Running' => 'Public network access is running.', 'Deleted' => 'Public network access is deleted.', 'Deleting' => 'Public network access is being deleted.'], 'type' => 'string', 'example' => 'Running', 'title' => '', ], 'SSLRedirectionEnabled' => ['description' => 'Indicates whether HTTP-to-HTTPS redirection is enabled.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], 'ChargeType' => [ 'description' => 'The billing method.', 'enumValueTitles' => ['PrePaid(预付费)' => 'PrePaid (subscription).', 'PostPaid(后付费)' => 'PostPaid (pay-as-you-go).'], 'type' => 'string', 'example' => 'PrePaid', 'title' => '', ], 'IntranetEnabled' => ['type' => 'boolean', 'description' => '', 'title' => '', 'example' => ''], 'Labels' => [ 'title' => '', 'type' => 'array', 'items' => [ 'title' => '', 'type' => 'object', 'properties' => [ 'LabelKey' => ['title' => '', 'type' => 'string', 'example' => 'key1', 'description' => ''], 'LabelValue' => ['title' => '', 'type' => 'string', 'example' => 'value1', 'description' => ''], ], 'description' => '', 'example' => '', ], 'description' => '', 'example' => '', ], ], 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'title' => 'Query dedicated gateway details', 'changeSet' => [ ['createdAt' => '2025-06-13T01:48:17.000Z', 'description' => 'Response parameters changed'], ['createdAt' => '2024-11-28T05:35:59.000Z', 'description' => 'Response parameters changed'], ['createdAt' => '2024-07-31T09:23:25.000Z', 'description' => 'Response parameters changed'], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeGateway'], ], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'eas:DescribeGateway', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'PAI', 'resourceType' => 'Gateway', 'arn' => 'acs:eas:{#regionId}:{#accountId}:gateway/{#GatewayId}'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"40325405-579C-4D82****\\",\\n \\"GatewayId\\": \\"gw-1uhcqmsc7x22******\\",\\n \\"GatewayName\\": \\"mygateway1\\",\\n \\"CreateTime\\": \\"2020-05-19T14:19:42Z\\",\\n \\"UpdateTime\\": \\"2021-02-24T11:52:17Z\\",\\n \\"IntranetDomain\\": \\"gw-1uhcqmsc7x22******-1801786532******-vpc.cn-wulanchabu.pai-eas.aliyuncs.com\\",\\n \\"InternetEnabled\\": true,\\n \\"InternetDomain\\": \\"gw-1uhcqmsc7x22******-1801786532******.cn-wulanchabu.pai-eas.aliyuncs.com\\",\\n \\"InstanceType\\": \\"2c4g\\",\\n \\"Status\\": \\"Running\\",\\n \\"ExternalClusterId\\": \\"c935eadf284c14c2da57a2a13ad6******\\",\\n \\"Replicas\\": 2,\\n \\"IsDefault\\": true,\\n \\"InternetStatus\\": \\"Running\\",\\n \\"SSLRedirectionEnabled\\": true,\\n \\"ChargeType\\": \\"PrePaid\\",\\n \\"IntranetEnabled\\": false,\\n \\"Labels\\": [\\n {\\n \\"LabelKey\\": \\"key1\\",\\n \\"LabelValue\\": \\"value1\\"\\n }\\n ]\\n}","type":"json"}]', ], 'DescribeGroup' => [ 'path' => '/api/v2/groups/{ClusterId}/{GroupName}', 'methods' => ['get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'abilityTreeCode' => '154833', 'abilityTreeNodes' => ['FEATURElearnKDX12S'], ], 'parameters' => [ [ 'name' => 'ClusterId', 'in' => 'path', 'schema' => ['description' => 'The ID of the region to which the service group belongs.'."\n", 'type' => 'string', 'required' => true, 'example' => 'cn-shanghai', 'title' => ''], ], [ 'name' => 'GroupName', 'in' => 'path', 'schema' => ['description' => 'The name of the service group. For more information about how to query the group name, see [ListServices](~~412109~~).'."\n", 'type' => 'string', 'required' => true, 'example' => 'foo', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => ['description' => 'The details of the service group.'."\n", '$ref' => '#/components/schemas/Group', 'title' => '', 'example' => ''], ], ], 'title' => 'DescribeGroup', 'summary' => 'Queries the information about a service group.', 'changeSet' => [ ['createdAt' => '2022-09-27T03:16:08.000Z', 'description' => 'OpenAPI offline'], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeGroup'], ], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'eas:DescribeGroup', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'PAI', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Name\\": \\"foo\\",\\n \\"ClusterId\\": \\"cn-shanghai\\",\\n \\"CreateTime\\": \\"2020-05-19T14:19:42Z\\",\\n \\"UpdateTime\\": \\"2021-01-29T11:13:20Z\\",\\n \\"QueueService\\": \\"qservice\\",\\n \\"InternetEndpoint\\": \\"http://1110*****.cn-hangzhou.pai-eas.aliyuncs.com/api/predict/test_group\\",\\n \\"IntranetEndpoint\\": \\"http://1110*****.vpc.cn-hangzhou.pai-eas.aliyuncs.com/api/predict/test_group\\",\\n \\"AccessToken\\": \\"MzJiMDI5MDliODc0MTlkYmI0ZDhlYmExYjczYTIyZTE3Zm********\\",\\n \\"TrafficMode\\": \\"auto\\"\\n}","type":"json"}]', ], 'DescribeGroupEndpoints' => [ 'summary' => 'Obtains a list of endpoints of service groups.', 'path' => '/api/v2/groups/{ClusterId}/{GroupName}/endpoints', 'methods' => ['get'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => [], 'produces' => ['application/json'], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '254853', 'abilityTreeNodes' => ['FEATURElearn6PC7M4'], 'autoTest' => true, 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ 'name' => 'ClusterId', 'in' => 'path', 'schema' => ['description' => 'The region ID.', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''], ], [ 'name' => 'GroupName', 'in' => 'path', 'schema' => ['description' => 'The service group name. For more information about how to obtain the service group name, see [ListServices](~~412109~~).', 'type' => 'string', 'required' => true, 'example' => 'xx_test_group', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => 'The response parameters.', 'type' => 'object', 'properties' => [ 'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID.', 'type' => 'string', 'example' => '890772EF-3AD6-129A-8E15-8F349C944783'], 'Message' => ['description' => 'The response message.', 'type' => 'string', 'example' => 'Execution succeeded.', 'title' => ''], 'AccessToken' => ['description' => 'The service token.', 'type' => 'string', 'example' => 'Nzc5N2FhNTM4OTQ0YzBmYTIy****ZTUxN2NkYjg4MTJmMWQxZmY1****', 'title' => ''], 'Endpoints' => [ 'description' => 'The endpoints of the service group.', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'EndpointType' => ['description' => 'The service endpoint type. Valid values:'."\n" ."\n" .'- DefaultGateway: the shared gateway.'."\n" ."\n" .'- PrivateGateway: the dedicated gateway.'."\n" ."\n" .'- Nlb: Associate the service with the Network Load Balancer (NLB) instance.'."\n" ."\n" .'- Nacos: Associate the service with the Nacos instance.', 'type' => 'string', 'example' => 'PrivateGateway', 'title' => ''], 'BackendId' => ['description' => 'The backend access ID, which varies based on the value of the EndpointType parameter.'."\n" ."\n" .'- If you set EndpointType to DefaultGateway, the value of this parameter is default.'."\n" ."\n" .'- If you set EndpointType to PrivateGateway, the value of this parameter is the ID of the dedicated gateway.'."\n" ."\n" .'- If you set EndpointType to Nlb, the value of this parameter is the ID of the NLB instance.'."\n" ."\n" .'- If you set EndpointType to Nacos, the value of this parameter is the ID of the Nacos instance.', 'type' => 'string', 'example' => 'gw-26340kjxjx8l3r****', 'title' => ''], 'PathType' => ['description' => 'The path type. Valid values:'."\n" ."\n" .'- Group: the path of the service group.', 'type' => 'string', 'example' => 'Group', 'title' => ''], 'IntranetEndpoints' => [ 'description' => 'The full endpoint.', 'type' => 'array', 'items' => ['description' => 'The full endpoint.', 'type' => 'string', 'example' => 'http://gw-26340kjxjx8l3r****-vpc.cn-hangzhou.pai-eas.aliyuncs.com/api/predict/xx_test_group', 'title' => ''], 'title' => '', 'example' => '', ], 'InternetEndpoints' => [ 'description' => 'The full endpoint.', 'type' => 'array', 'items' => ['description' => 'The full endpoint.', 'type' => 'string', 'example' => 'http://gw-26340kjxjx8l3r****.cn-hangzhou.pai-eas.aliyuncs.com/api/predict/xx_test_group', 'title' => ''], 'title' => '', 'example' => '', ], 'Port' => ['description' => 'The port number. This parameter takes effect only when you associate the service with an NLB or Nacos instance.', 'type' => 'integer', 'format' => 'int32', 'example' => '8080', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], ], 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"890772EF-3AD6-129A-8E15-8F349C944783\\",\\n \\"Message\\": \\"Execution succeeded.\\",\\n \\"AccessToken\\": \\"Nzc5N2FhNTM4OTQ0YzBmYTIy****ZTUxN2NkYjg4MTJmMWQxZmY1****\\",\\n \\"Endpoints\\": [\\n {\\n \\"EndpointType\\": \\"PrivateGateway\\",\\n \\"BackendId\\": \\"gw-26340kjxjx8l3r****\\",\\n \\"PathType\\": \\"Group\\",\\n \\"IntranetEndpoints\\": [\\n \\"http://gw-26340kjxjx8l3r****-vpc.cn-hangzhou.pai-eas.aliyuncs.com/api/predict/xx_test_group\\"\\n ],\\n \\"InternetEndpoints\\": [\\n \\"http://gw-26340kjxjx8l3r****.cn-hangzhou.pai-eas.aliyuncs.com/api/predict/xx_test_group\\"\\n ],\\n \\"Port\\": 8080\\n }\\n ]\\n}","type":"json"}]', 'title' => 'DescribeGroupEndpoints', 'changeSet' => [ ['createdAt' => '2025-04-01T03:54:07.000Z', 'description' => 'Response parameters changed'], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeGroupEndpoints'], ], ], 'ramActions' => [], 'translator' => 'manual', ], 'DescribeMachineSpec' => [ 'path' => '/api/v2/public/instance_types', 'methods' => ['get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => [], 'produces' => ['application/json'], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '146280', 'abilityTreeNodes' => ['FEATURElearnKDX12S'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'ResourceType', 'in' => 'query', 'schema' => [ 'description' => 'The resource type. The default value is \\`Public\\`.', 'enumValueTitles' => ['Public' => 'public resource group', 'Dedicated' => 'dedicated resource group'], 'type' => 'string', 'required' => false, 'example' => 'Public', 'title' => '', ], ], [ 'name' => 'ChargeType', 'in' => 'query', 'schema' => [ 'description' => 'The billing method. The default value is \\`PostPaid\\`.', 'enumValueTitles' => ['PostPaid' => 'pay-as-you-go', 'PrePaid' => 'subscription'], 'type' => 'string', 'required' => false, 'example' => 'PostPaid', 'title' => '', ], ], [ 'name' => 'InstanceTypes', 'in' => 'query', 'style' => 'simple', 'schema' => [ 'description' => 'This parameter is deprecated.', 'type' => 'array', 'items' => ['description' => 'This parameter is deprecated.', 'type' => 'string', 'required' => false, 'example' => '无需填写', 'title' => ''], 'deprecated' => true, 'required' => false, 'title' => '', 'example' => 'No input required', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => 'The response schema.', 'type' => 'object', 'properties' => [ 'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID.', 'type' => 'string', 'example' => '40325405-579C-4D82***'], 'Types' => [ 'description' => 'The supported combinations of CPU and memory values for deployment.', 'type' => 'array', 'items' => [ 'description' => 'A list of supported combinations.'."\n" .'For example:'."\n" ."\n" .'```'."\n" .'{"CPU":1,"Memory":[1000,2000,4000]}'."\n" .'```'."\n" ."\n" .'This indicates that if you set CPU to 1 core, you can set Memory to 1000, 2000, or 4000.', 'type' => 'object', 'properties' => [ 'CPU' => ['description' => 'The valid values for the number of CPU cores.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], 'Memory' => [ 'description' => 'The valid memory values for the specified number of CPU cores.', 'type' => 'array', 'items' => ['description' => 'A list of valid memory values.', 'type' => 'integer', 'format' => 'int32', 'example' => '1000', 'title' => ''], 'title' => '', 'example' => '', ], ], 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], 'InstanceMetas' => [ 'description' => 'A list of available instance types for deployment.', 'type' => 'array', 'items' => [ 'description' => 'The information about an available instance type.', 'type' => 'object', 'properties' => [ 'CPU' => ['description' => 'The number of CPU cores of the instance type.', 'type' => 'integer', 'format' => 'int32', 'example' => '32', 'title' => ''], 'Memory' => ['description' => 'The memory size of the instance type, in GB.', 'type' => 'number', 'format' => 'float', 'example' => '188', 'title' => ''], 'GPU' => ['description' => 'The GPU model of the instance type. This field is not returned for non-GPU instance types.', 'type' => 'string', 'example' => 'GU30', 'title' => ''], 'GPUAmount' => ['description' => 'The number of GPUs in the instance type.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], 'GPUMemory' => ['description' => 'The GPU memory size of the instance type, in GB.', 'type' => 'number', 'format' => 'float', 'example' => '24', 'title' => ''], 'InstanceType' => ['description' => 'The instance type name.', 'type' => 'string', 'example' => 'ml.gu7i.c32m188.1-gu30', 'title' => ''], 'SpotDiscount' => ['description' => 'The current lowest discount for a spot instance with a 1-hour protection period. A value of 0.1 indicates a 90% discount. If this field is not returned, the instance type does not support spot instances.', 'type' => 'number', 'format' => 'float', 'example' => '0.12', 'title' => ''], 'NonProtectSpotDiscount' => ['description' => 'The minimum discount currently offered for a spot instance in no-protection mode. A value of 0.1 indicates a 90% discount. If this field is not returned, the instance type does not support spot instances.', 'type' => 'number', 'format' => 'float', 'example' => '0.1', 'title' => ''], 'IsAvailable' => ['description' => 'Indicates whether the instance type is currently available.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], 'Vendor' => [ 'description' => 'The source of the instance type.', 'enumValueTitles' => ['ECS' => 'ECS', 'BareMetal' => 'bare metal compute cluster', 'Lingjun' => 'Lingjun AI Computing Service cluster'], 'type' => 'string', 'example' => 'ECS', 'title' => '', ], 'StockStatus' => [ 'description' => 'The inventory status of the instance type.', 'enumValueTitles' => ['WithStock' => 'In stock', 'ClosedWithStock' => 'Low stock', 'NoStock' => 'Out of stock'], 'type' => 'string', 'example' => 'WithStock', 'title' => '', ], ], 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], ], 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'title' => 'DescribeMachineSpec', 'summary' => 'Returns a list of available machine specifications.', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeMachineSpec'], ], ], 'ramActions' => [], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"40325405-579C-4D82***\\",\\n \\"Types\\": [\\n {\\n \\"CPU\\": 1,\\n \\"Memory\\": [\\n 1000\\n ]\\n }\\n ],\\n \\"InstanceMetas\\": [\\n {\\n \\"CPU\\": 32,\\n \\"Memory\\": 188,\\n \\"GPU\\": \\"GU30\\",\\n \\"GPUAmount\\": 1,\\n \\"GPUMemory\\": 24,\\n \\"InstanceType\\": \\"ml.gu7i.c32m188.1-gu30\\",\\n \\"SpotDiscount\\": 0.12,\\n \\"NonProtectSpotDiscount\\": 0.1,\\n \\"IsAvailable\\": true,\\n \\"Vendor\\": \\"ECS\\",\\n \\"StockStatus\\": \\"WithStock\\"\\n }\\n ]\\n}","type":"json"}]', 'translator' => 'manual', ], 'DescribeRegions' => [ 'summary' => 'Queries available regions.', 'path' => '/api/v2/regions', 'methods' => ['get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'produces' => ['application/json'], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '133892', 'abilityTreeNodes' => ['FEATURElearnN5R68Z'], ], 'parameters' => [], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ 'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID.', 'type' => 'string', 'example' => '40325405-579C-4D82****'], 'Regions' => [ 'title' => '', 'description' => 'The available regions.', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'RegionId' => ['description' => 'The region ID.', 'type' => 'string', 'title' => '', 'example' => 'cn-shanghai'], 'RegionName' => ['description' => 'The region name.', 'type' => 'string', 'example' => '华东 2(上海)', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], 'example' => '', ], ], 'example' => '', ], ], ], 'title' => 'DescribeRegions', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeRegions'], ], ], 'ramActions' => [], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"40325405-579C-4D82****\\",\\n \\"Regions\\": [\\n {\\n \\"RegionId\\": \\"cn-shanghai\\",\\n \\"RegionName\\": \\"华东 2(上海)\\"\\n }\\n ]\\n}","type":"json"}]', ], 'DescribeResource' => [ 'summary' => 'Retrieves the details of a resource group.', 'path' => '/api/v2/resources/{ClusterId}/{ResourceId}', 'methods' => ['get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '37069', 'abilityTreeNodes' => ['FEATURElearnRPDTZG'], ], 'parameters' => [ [ 'name' => 'ClusterId', 'in' => 'path', 'schema' => ['description' => 'The ID of the cluster that contains the resource group.', 'type' => 'string', 'required' => true, 'example' => 'cn-shanghai', 'title' => ''], ], [ 'name' => 'ResourceId', 'in' => 'path', 'schema' => ['description' => 'The ID of the resource group. Call [ListResources](~~412133~~) to obtain this ID.', 'type' => 'string', 'required' => true, 'example' => 'eas-r-asdasdasd', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'description' => 'The details of the resource group.', 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '902976F2-6FAF-5404-8A4D-6CC223***', 'title' => ''], 'ResourceId' => ['description' => 'The ID of the resource group.', 'type' => 'string', 'example' => 'eas-r-glkfpsxuw57x1h*****', 'title' => ''], 'ResourceName' => ['description' => 'The name of the resource group.', 'type' => 'string', 'example' => 'my-resouce****', 'title' => ''], 'ClusterId' => ['description' => 'The ID of the cluster that contains the resource group.', 'type' => 'string', 'example' => 'cn-beijing', 'title' => ''], 'CreateTime' => ['description' => 'The time the resource group was created.', 'type' => 'string', 'example' => '2020-05-19T14:19:42Z', 'title' => ''], 'UpdateTime' => ['description' => 'The time the resource group was last updated.', 'type' => 'string', 'example' => '2021-02-24T11:52:17Z', 'title' => ''], 'OwnerUid' => ['description' => 'The ID of the resource group owner.', 'type' => 'string', 'example' => '14401087478****', 'title' => ''], 'InstanceCount' => ['description' => 'The total number of instances in the resource group.', 'type' => 'integer', 'format' => 'int32', 'example' => '4', 'title' => ''], 'PrePaidInstanceCount' => ['description' => 'The total number of subscription instances in the resource group.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], 'PostPaidInstanceCount' => ['description' => 'The total number of pay-as-you-go instances in the resource group.', 'type' => 'integer', 'format' => 'int32', 'example' => '3', 'title' => ''], 'ServiceCount' => ['description' => 'The number of services deployed in the resource group.', 'type' => 'string', 'example' => '1', 'title' => ''], 'CpuCount' => ['description' => 'The total number of CPU cores.', 'type' => 'integer', 'format' => 'int32', 'example' => '16', 'title' => ''], 'GpuCount' => ['description' => 'The total number of GPUs.', 'type' => 'integer', 'format' => 'int32', 'example' => '4', 'title' => ''], 'Memory' => ['description' => 'The total memory size, in MB.', 'type' => 'integer', 'format' => 'int32', 'example' => '8192', 'title' => ''], 'CpuUsed' => ['description' => 'The number of CPU cores in use.', 'type' => 'integer', 'format' => 'int32', 'example' => '8', 'title' => ''], 'GpuUsed' => ['description' => 'The number of GPUs in use.', 'type' => 'number', 'format' => 'float', 'example' => '2', 'title' => ''], 'MemoryUsed' => ['description' => 'The amount of memory in use, in MB.', 'type' => 'integer', 'format' => 'int32', 'example' => '2048', 'title' => ''], 'Status' => ['description' => 'The status of the resource group.', 'type' => 'string', 'example' => 'ResourceReady', 'title' => ''], 'Message' => ['description' => 'A message that provides details about the status of the resource group.', 'type' => 'string', 'example' => 'Resource is ready', 'title' => ''], 'ExtraData' => ['description' => 'Additional information, such as the VPC connection status and the SLS log status.', 'type' => 'string', 'example' => '{"vswitch_id":"vsw-bp17uo6xebcusy****","gpu_share":true,"aux_vswitch_id_list":["vsw-bp13b3pvjap3vxn****","vsw-bp1nls8o5hk8mt8*****"],"security_group_id":"sg-bp1j1z7297hcink*****","vpc_id":"vpc-bp1kjr3rfyhx01*****","destination_cidr":"172.16.0.12/28","role_arn":"acs:ram::1157703270*****:role/AliyunServiceRoleForPaiEas","sls_project":"","sls_logstore":"","sls_status":"ResourceReady","sls_message":"","update_time":""}', 'title' => ''], 'ResourceType' => [ 'description' => 'The type of the resource group. Valid values:'."\n" ."\n" .'- `Dedicated`: a dedicated resource group.'."\n" ."\n" .'- `SelfManaged`: a self-managed resource group.', 'enumValueTitles' => ['SelfManaged' => 'SelfManaged', 'Dedicated' => 'Dedicated'], 'type' => 'string', 'example' => 'Dedicated', 'title' => '', ], 'UsageMode' => [ 'description' => 'The usage mode of the resource group.', 'enumValueTitles' => ['inference' => 'A resource group for inference services.', 'sandbox' => 'A resource group for sandboxes.'], 'type' => 'string', 'example' => 'inference', 'title' => '', ], 'InstanceMaxAllocatableMemory' => ['description' => 'The maximum amount of memory that can be allocated to a single instance in the resource group, in MB.', 'type' => 'integer', 'format' => 'int32', 'example' => '2048', 'title' => ''], 'Features' => [ 'type' => 'array', 'items' => ['description' => 'A feature that the resource group supports. Currently, only `GpuShare` (GPU sharing) is supported.', 'type' => 'string', 'example' => 'GpuShare', 'title' => ''], 'description' => 'The features that the resource group supports.', 'title' => '', 'example' => '', ], 'InstanceMaxAllocatableGPU' => ['description' => 'The maximum number of GPUs that can be allocated to a single instance in the resource group.', 'type' => 'number', 'format' => 'float', 'example' => '2', 'title' => ''], 'InstanceMaxAllocatableCPU' => ['description' => 'The maximum number of CPU cores that can be allocated to a single instance in the resource group.', 'type' => 'integer', 'format' => 'int32', 'example' => '16', 'title' => ''], ], 'title' => '', 'example' => '', ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"902976F2-6FAF-5404-8A4D-6CC223***\\",\\n \\"ResourceId\\": \\"eas-r-glkfpsxuw57x1h*****\\",\\n \\"ResourceName\\": \\"my-resouce****\\",\\n \\"ClusterId\\": \\"cn-beijing\\",\\n \\"CreateTime\\": \\"2020-05-19T14:19:42Z\\",\\n \\"UpdateTime\\": \\"2021-02-24T11:52:17Z\\",\\n \\"OwnerUid\\": \\"14401087478****\\",\\n \\"InstanceCount\\": 4,\\n \\"PrePaidInstanceCount\\": 1,\\n \\"PostPaidInstanceCount\\": 3,\\n \\"ServiceCount\\": \\"1\\",\\n \\"CpuCount\\": 16,\\n \\"GpuCount\\": 4,\\n \\"Memory\\": 8192,\\n \\"CpuUsed\\": 8,\\n \\"GpuUsed\\": 2,\\n \\"MemoryUsed\\": 2048,\\n \\"Status\\": \\"ResourceReady\\",\\n \\"Message\\": \\"Resource is ready\\",\\n \\"ExtraData\\": \\"{\\\\\\"vswitch_id\\\\\\":\\\\\\"vsw-bp17uo6xebcusy****\\\\\\",\\\\\\"gpu_share\\\\\\":true,\\\\\\"aux_vswitch_id_list\\\\\\":[\\\\\\"vsw-bp13b3pvjap3vxn****\\\\\\",\\\\\\"vsw-bp1nls8o5hk8mt8*****\\\\\\"],\\\\\\"security_group_id\\\\\\":\\\\\\"sg-bp1j1z7297hcink*****\\\\\\",\\\\\\"vpc_id\\\\\\":\\\\\\"vpc-bp1kjr3rfyhx01*****\\\\\\",\\\\\\"destination_cidr\\\\\\":\\\\\\"172.16.0.12/28\\\\\\",\\\\\\"role_arn\\\\\\":\\\\\\"acs:ram::1157703270*****:role/AliyunServiceRoleForPaiEas\\\\\\",\\\\\\"sls_project\\\\\\":\\\\\\"\\\\\\",\\\\\\"sls_logstore\\\\\\":\\\\\\"\\\\\\",\\\\\\"sls_status\\\\\\":\\\\\\"ResourceReady\\\\\\",\\\\\\"sls_message\\\\\\":\\\\\\"\\\\\\",\\\\\\"update_time\\\\\\":\\\\\\"\\\\\\"}\\",\\n \\"ResourceType\\": \\"Dedicated\\",\\n \\"UsageMode\\": \\"inference\\",\\n \\"InstanceMaxAllocatableMemory\\": 2048,\\n \\"Features\\": [\\n \\"GpuShare\\"\\n ],\\n \\"InstanceMaxAllocatableGPU\\": 2,\\n \\"InstanceMaxAllocatableCPU\\": 16\\n}","type":"json"}]', 'title' => 'DescribeResource', 'changeSet' => [ ['createdAt' => '2025-07-16T06:03:56.000Z', 'description' => 'Response parameters changed'], ['createdAt' => '2024-12-10T08:41:41.000Z', 'description' => 'Response parameters changed'], ['createdAt' => '2023-08-24T06:58:18.000Z', 'description' => 'Response parameters changed, Response parameters changed'], ['createdAt' => '2021-11-12T01:49:40.000Z', 'description' => 'Response parameters changed, Response parameters changed'], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeResource'], ], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'eas:DescribeResource', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'PAI', 'resourceType' => 'Resource', 'arn' => 'acs:eas:{#regionId}:{#accountId}:resource/{#ResourceId}'], ], ], ], ], ], 'DescribeResourceDLink' => [ 'summary' => 'Queries detailed configurations about a virtual private cloud (VPC) direct connection of a dedicated resource group.', 'path' => '/api/v2/resources/{ClusterId}/{ResourceId}/dlink', 'methods' => ['get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ 'name' => 'ClusterId', 'in' => 'path', 'schema' => ['title' => '', 'description' => 'The ID of the region to which the resource group belongs.'."\n", 'type' => 'string', 'required' => true, 'example' => 'cn-shanghai'], ], [ 'name' => 'ResourceId', 'in' => 'path', 'schema' => ['title' => '', 'description' => 'The ID of the resource group. For more information about how to query the ID of a resource group, see [ListResources](~~412133~~).'."\n", 'type' => 'string', 'required' => true, 'example' => 'eas-r-adfabas****'], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => 'The response parameters.'."\n", 'type' => 'object', 'properties' => [ 'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '40325405-579C-4D82****'], 'VpcId' => ['title' => '', 'description' => 'The ID of the VPC that is directly connected.'."\n", 'type' => 'string', 'example' => 'vpc-uf66uio7m****1'], 'VSwitchId' => ['title' => '', 'description' => 'The ID of the primary vSwitch that is directly connected.'."\n", 'type' => 'string', 'example' => 'vsw-8vbqn2at0kljjxxxx****'], 'SecurityGroupId' => ['title' => '', 'description' => 'The ID of the security group that is directly connected.'."\n", 'type' => 'string', 'example' => 'sg-bp1j1z7297hcink9d****'], 'AuxVSwitchList' => [ 'title' => '', 'description' => 'The IDs of the secondary vSwitches that are directly connected.'."\n", 'type' => 'array', 'items' => ['description' => 'The ID of the secondary vSwitch.'."\n", 'type' => 'string', 'example' => '[" vsw-8ersw98sgmlgkxxxxxx", " vsw-4dsgg2at0kljjxxxxxxxx"]', 'title' => ''], 'example' => '', ], 'DestinationCIDRs' => ['title' => '', 'description' => 'The CIDR blocks of the clients that you want to connect to. After this parameter is specified, the CIDR blocks are added to the back-to-origin route of the server. Either this parameter or the VSwitchIdList parameter can be used to determine CIDR blocks.'."\n", 'type' => 'string', 'example' => '172.16.0.0/16'], ], 'example' => '', ], ], 404 => [], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"40325405-579C-4D82****\\",\\n \\"VpcId\\": \\"vpc-uf66uio7m****1\\",\\n \\"VSwitchId\\": \\"vsw-8vbqn2at0kljjxxxx****\\",\\n \\"SecurityGroupId\\": \\"sg-bp1j1z7297hcink9d****\\",\\n \\"AuxVSwitchList\\": [\\n \\"[\\\\\\" vsw-8ersw98sgmlgkxxxxxx\\\\\\", \\\\\\" vsw-4dsgg2at0kljjxxxxxxxx\\\\\\"]\\"\\n ],\\n \\"DestinationCIDRs\\": \\"172.16.0.0/16\\"\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]', 'title' => 'DescribeResourceDLink', 'changeSet' => [ ['createdAt' => '2021-11-12T01:49:39.000Z', 'description' => 'Response parameters changed'], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeResourceDLink'], ], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'eas:DescribeResourceDLink', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'PAI', 'resourceType' => 'Resource', 'arn' => 'acs:eas:{#regionId}:{#accountId}:resource/{#ResourceId}'], ], ], ], ], ], 'DescribeResourceLog' => [ 'summary' => 'Queries the details about the LogShipper configurations of Log Service for a dedicated resource group.', 'path' => '/api/v2/resources/{ClusterId}/{ResourceId}/log', 'methods' => ['get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ 'name' => 'ClusterId', 'in' => 'path', 'schema' => ['title' => '', 'description' => 'The ID of the region to which the resource group belongs.'."\n", 'type' => 'string', 'required' => true, 'example' => 'cn-shanghai'], ], [ 'name' => 'ResourceId', 'in' => 'path', 'schema' => ['title' => '', 'description' => 'The ID of the resource group. For more information about how to query the ID of a resource group, see [ListResources](~~412133~~).'."\n", 'type' => 'string', 'required' => true, 'example' => 'eas-r-asdas****'], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => 'The response parameters.'."\n", 'type' => 'object', 'properties' => [ 'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '40325405-579C-4D82****'], 'ProjectName' => ['title' => '', 'description' => 'The Log Service project that is associated with the resource group.'."\n", 'type' => 'string', 'example' => 'eas-r-asdasdasd-sls'], 'LogStore' => ['title' => '', 'description' => 'The Logstore of Log Service.'."\n", 'type' => 'string', 'example' => 'access_log'], 'Message' => ['title' => '', 'description' => 'The returned message.'."\n", 'type' => 'string', 'example' => 'Network interfaces are updating'], 'Status' => ['title' => '', 'description' => 'The state of the resource group.'."\n", 'type' => 'string', 'example' => 'ResourceReady'], ], 'example' => '', ], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"40325405-579C-4D82****\\",\\n \\"ProjectName\\": \\"eas-r-asdasdasd-sls\\",\\n \\"LogStore\\": \\"access_log\\",\\n \\"Message\\": \\"Network interfaces are updating\\",\\n \\"Status\\": \\"ResourceReady\\"\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]', 'title' => 'DescribeResourceLog', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeResourceLog'], ], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'eas:DescribeResourceLog', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'PAI', 'resourceType' => 'Resource', 'arn' => 'acs:eas:{#regionId}:{#accountId}:resource/{#ResourceId}'], ], ], ], ], ], 'DescribeService' => [ 'summary' => 'Queries the details about a service.', 'path' => '/api/v2/services/{ClusterId}/{ServiceName}', 'methods' => ['get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'abilityTreeCode' => '37005', 'abilityTreeNodes' => ['FEATURElearnN5R68Z'], ], 'parameters' => [ [ 'name' => 'ClusterId', 'in' => 'path', 'schema' => ['description' => 'The ID of the region where the service is deployed.', 'type' => 'string', 'required' => true, 'example' => 'cn-shanghai', 'title' => ''], ], [ 'name' => 'ServiceName', 'in' => 'path', 'schema' => ['description' => 'The service name. For more information about how to query the service name, see [ListServices](~~412109~~).', 'type' => 'string', 'required' => true, 'example' => 'foo', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => ['description' => 'The details about the service.', '$ref' => '#/components/schemas/Service', 'title' => '', 'example' => ''], ], 404 => [], ], 'title' => 'DescribeService', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '200', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeService'], ], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'eas:DescribeService', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'PAI', 'resourceType' => 'Service', 'arn' => 'acs:eas:{#regionId}:{#accountId}:service/{#ServiceName}'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"ServiceGroup\\": \\"my_group\\",\\n \\"Memory\\": 1024,\\n \\"Cpu\\": 1,\\n \\"Image\\": \\"registry.cn-shanghai.aliyuncs.com/eas/echo_cn-shanghai:v0.0.1-20210129111320\\",\\n \\"Gpu\\": 0,\\n \\"TotalInstance\\": 1,\\n \\"AccessToken\\": \\"MzJiMDI5MDliODc0MTlkYmI0ZDhlYmExYjczYTIyZTE3Zm********\\",\\n \\"ResourceBurstable\\": true,\\n \\"InternetEndpoint\\": \\"http://10123*****.cn-shanghai.aliyuncs.com/api/predict/echo\\",\\n \\"ResourceAlias\\": \\"my_resource\\",\\n \\"Status\\": \\"Running\\",\\n \\"TrafficState\\": \\"standalone\\",\\n \\"RequestId\\": \\"40325405-579C-4D82********\\",\\n \\"Resource\\": \\"eas-r-xxxxxxx\\",\\n \\"SecondaryInternetEndpoint\\": \\"http://10123*****.cn-shanghai.aliyuncs.com/api/predict/async_path.echo\\\\n\\",\\n \\"Labels\\": [\\n {\\n \\"LabelValue\\": \\"value1\\",\\n \\"LabelKey\\": \\"key1\\"\\n }\\n ],\\n \\"Namespace\\": \\"echo\\",\\n \\"Weight\\": 100,\\n \\"Role\\": \\"Queue\\",\\n \\"SecondaryIntranetEndpoint\\": \\"http://10123*****.vpc.cn-shanghai.aliyuncs.com/api/predict/async_path.echo\\\\n\\",\\n \\"PendingInstance\\": 0,\\n \\"ServiceName\\": \\"echo\\",\\n \\"SafetyLock\\": \\"dangerous\\",\\n \\"Region\\": \\"cn-shanghai\\",\\n \\"AppType\\": \\"LLM\\",\\n \\"InstanceCountInResource\\": {\\n \\"Quota\\": 10,\\n \\"Public\\": 10,\\n \\"Dedicated\\": 10\\n },\\n \\"IntranetEndpoint\\": \\"http://10123*****.vpc.cn-shanghai.aliyuncs.com/api/predict/echo\\",\\n \\"QuotaId\\": \\"quotaxxxxx\\",\\n \\"Message\\": \\"Service start successfully\\",\\n \\"CurrentVersion\\": 1,\\n \\"RunningInstance\\": 1,\\n \\"WorkspaceId\\": \\"123445\\",\\n \\"CallerUid\\": \\"20123*******\\",\\n \\"Reason\\": \\"RUNNING\\",\\n \\"Source\\": \\"dsw\\",\\n \\"ServiceId\\": \\"eas-m-xxasdat\\",\\n \\"AppVersion\\": \\"v1\\",\\n \\"CronscalerEnabled\\": true,\\n \\"ServiceConfig\\": \\"{\\\\\\"metadata\\\\\\":{\\\\\\"cpu\\\\\\":1,\\\\\\"instance\\\\\\":1,\\\\\\"memory\\\\\\":1024},\\\\\\"name\\\\\\":\\\\\\"echo\\\\\\",\\\\\\"processor_entry\\\\\\":\\\\\\"libecho.so\\\\\\",\\\\\\"processor_path\\\\\\":\\\\\\"http://oss-cn-hangzhou-zmf.aliyuncs.com/059247/echo_processor_release.tar.gz\\\\\\",\\\\\\"processor_type\\\\\\":\\\\\\"cpp\\\\\\"}\\",\\n \\"Gateway\\": \\"gw-xxxxxx\\",\\n \\"AppSpecName\\": \\"llama_7b_fp16\\",\\n \\"GPUCorePercentage\\": 50,\\n \\"GPUMemory\\": 20,\\n \\"AppConfig\\": \\"{\\\\\\"ModelStorage\\\\\\":\\\\\\"oss\\\\\\"}\\",\\n \\"CreateTime\\": \\"2021-01-29T11:13:20Z\\",\\n \\"AutoscalerEnabled\\": true,\\n \\"ExtraData\\": \\"{\\\\\\"blue_green_services\\\\\\":[\\\\\\"test\\\\\\",\\\\\\"testxxxx\\\\\\"]}\\",\\n \\"LatestVersion\\": 1,\\n \\"UpdateTime\\": \\"2021-01-29T11:13:20Z\\",\\n \\"ServiceUid\\": \\"eas-m-xxasdat\\\\n\\",\\n \\"ParentUid\\": \\"11234*******\\",\\n \\"RoleAttrs\\": \\"{\\\\\\"ApproxMaxLength\\\\\\":null,\\\\\\"Length\\\\\\":null,\\\\\\"MaxPayloadBytes\\\\\\":null}\\"\\n}","type":"json"}]', ], 'DescribeServiceAutoScaler' => [ 'path' => '/api/v2/services/{ClusterId}/{ServiceName}/autoscaler', 'methods' => ['get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ 'name' => 'ClusterId', 'in' => 'path', 'schema' => ['description' => 'The region ID of the service.', 'type' => 'string', 'required' => true, 'example' => 'cn-shanghai', 'title' => ''], ], [ 'name' => 'ServiceName', 'in' => 'path', 'schema' => ['description' => 'The service name. For more information about how to query the service name, see [ListServices](~~412109~~).', 'type' => 'string', 'required' => true, 'example' => 'echo', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => 'The response parameters.', 'type' => 'object', 'properties' => [ 'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID.', 'type' => 'string', 'example' => '40325405-579C-4D82****'], 'ServiceName' => ['description' => 'The service name.', 'type' => 'string', 'example' => 'foo', 'title' => ''], 'MinReplica' => ['description' => 'The minimum number of instances in the service.', 'type' => 'integer', 'format' => 'int32', 'example' => '3', 'title' => ''], 'MaxReplica' => ['description' => 'The maximum number of instances in the service.', 'type' => 'integer', 'format' => 'int32', 'example' => '8', 'title' => ''], 'Behavior' => ['description' => 'The additional information about the Autoscaler policy, such as the interval of triggering Autoscaler.', 'type' => 'object', 'example' => '{'."\n" .' "behavior": {'."\n" .' "scaleDown": {'."\n" .' "stabilizationWindowSeconds": 150'."\n" .' }'."\n" .' }'."\n" .'}', 'title' => ''], 'ScaleStrategies' => [ 'description' => 'The auto scaling policies.', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'metricName' => ['description' => 'The metric name. Valid values:'."\n" ."\n" .'- QPS: the queries per second (QPS) for an individual instance.'."\n" ."\n" .'- CPU: the CPU utilization.', 'type' => 'string', 'example' => 'QPS', 'title' => ''], 'threshold' => ['description' => 'The threshold of the metric that triggers auto scaling.'."\n" ."\n" .'- If you set metricName to QPS, scale-out is triggered when the average QPS for a single instance is greater than this threshold.'."\n" ."\n" .'- If you set metricName to CPU, scale-out is triggered when the average CPU utilization for a single instance is greater than this threshold.', 'type' => 'number', 'format' => 'float', 'example' => '10', 'title' => ''], 'service' => ['description' => 'The service for which the metric is specified. If you do not set this parameter, the current service is specified by default.', 'type' => 'string', 'example' => 'demo_svc', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], 'CurrentMetrics' => [ 'description' => 'The metrics.', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'metricName' => ['description' => 'The metric name. Valid values:'."\n" ."\n" .'- QPS'."\n" ."\n" .'- CPU', 'type' => 'string', 'example' => 'QPS', 'title' => ''], 'value' => ['description' => 'The metric value.', 'type' => 'number', 'format' => 'float', 'example' => '10', 'title' => ''], 'service' => ['description' => 'The service for which the metric is specified.', 'type' => 'string', 'example' => 'demo_svc', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], ], 'example' => '', ], ], ], 'title' => 'DescribeServiceAutoScaler', 'summary' => 'Queries information about the Autoscaler configurations of a service.', 'changeSet' => [ ['createdAt' => '2022-09-16T08:39:20.000Z', 'description' => 'Response parameters changed'], ['createdAt' => '2022-09-16T08:39:20.000Z', 'description' => 'Response parameters changed'], ['createdAt' => '2022-08-05T06:41:48.000Z', 'description' => 'Response parameters changed'], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeServiceAutoScaler'], ], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'eas:DescribeServiceAutoScaler', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'PAI', 'resourceType' => 'Service', 'arn' => 'acs:eas:{#regionId}:{#accountId}:service/{#ServiceName}'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"40325405-579C-4D82****\\",\\n \\"ServiceName\\": \\"foo\\",\\n \\"MinReplica\\": 3,\\n \\"MaxReplica\\": 8,\\n \\"Behavior\\": {\\n \\"behavior\\": {\\n \\"scaleDown\\": {\\n \\"stabilizationWindowSeconds\\": 150\\n }\\n }\\n },\\n \\"ScaleStrategies\\": [\\n {\\n \\"metricName\\": \\"QPS\\",\\n \\"threshold\\": 10,\\n \\"service\\": \\"demo_svc\\"\\n }\\n ],\\n \\"CurrentMetrics\\": [\\n {\\n \\"metricName\\": \\"QPS\\",\\n \\"value\\": 10,\\n \\"service\\": \\"demo_svc\\"\\n }\\n ]\\n}","type":"json"}]', ], 'DescribeServiceCronScaler' => [ 'summary' => 'Queries the Cron Horizontal Pod Autoscaler (CronHPA) configurations of a service.', 'path' => '/api/v2/services/{ClusterId}/{ServiceName}/cronscaler', 'methods' => ['get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'produces' => ['application/json'], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'abilityTreeCode' => '123960', 'abilityTreeNodes' => ['FEATURElearnZ3WNW7'], ], 'parameters' => [ [ 'name' => 'ClusterId', 'in' => 'path', 'schema' => ['description' => 'The region ID of the service.', 'type' => 'string', 'required' => true, 'example' => 'cn-shanghai', 'title' => ''], ], [ 'name' => 'ServiceName', 'in' => 'path', 'schema' => ['description' => 'The service name. For more information about how to query the service name, see [ListServices](~~412109~~).', 'type' => 'string', 'required' => true, 'example' => 'foo', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '40325405-579C-4D82****', 'title' => ''], 'ServiceName' => ['description' => 'The service name.', 'type' => 'string', 'example' => 'foo', 'title' => ''], 'ExcludeDates' => [ 'description' => 'The points in time that are excluded when you schedule a CronHPA job. The points in time must be specified by using a cron expression.', 'type' => 'array', 'items' => ['description' => 'The cron expression.', 'type' => 'string', 'example' => '* * * * * 0,6'."\n", 'title' => ''], 'title' => '', 'example' => '', ], 'ScaleJobs' => [ 'description' => 'The CronHPA jobs.', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'Schedule' => ['description' => 'The cron expression that is used to configure the execution time of the CronHPA job.', 'type' => 'string', 'example' => '0 18 * * * *', 'title' => ''], 'TargetSize' => ['description' => 'The number of instances that you expect to configure for the CronHPA job.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], 'Name' => ['description' => 'The name of the CronHPA job.', 'type' => 'string', 'example' => 'scale-job-1', 'title' => ''], 'Message' => ['description' => 'The returned message.', 'type' => 'string', 'example' => '"cron hpa job scale-jobs-0 executed successfully. current replicas:3, desired replicas:2."', 'title' => ''], 'State' => ['description' => 'The status of the most recent CronHPA job.', 'type' => 'string', 'example' => 'Succeed', 'title' => ''], 'LastProbeTime' => ['description' => 'The time when the most recent CronHPA job ran. The time is displayed in UTC.', 'type' => 'string', 'example' => '2022-02-24T06:31:00Z', 'title' => ''], 'CreateTime' => ['description' => 'The time when the most recent CronHPA job was created. The time is displayed in UTC.', 'type' => 'string', 'example' => '2020-06-24T02:11:30Z', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'title' => 'DescribeServiceCronScaler', 'changeSet' => [ ['createdAt' => '2024-07-19T09:17:13.000Z', 'description' => 'Request parameters changed'], ['createdAt' => '2022-02-22T03:55:39.000Z', 'description' => 'OpenAPI offline'], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeServiceCronScaler'], ], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'eas:DescribeServiceCronScaler', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'PAI', 'resourceType' => 'Service', 'arn' => 'acs:eas:{#regionId}:{#accountId}:service/{#ServiceName}'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"40325405-579C-4D82****\\",\\n \\"ServiceName\\": \\"foo\\",\\n \\"ExcludeDates\\": [\\n \\"* * * * * 0,6\\\\n\\"\\n ],\\n \\"ScaleJobs\\": [\\n {\\n \\"Schedule\\": \\"0 18 * * * *\\",\\n \\"TargetSize\\": 1,\\n \\"Name\\": \\"scale-job-1\\",\\n \\"Message\\": \\"\\\\\\"cron hpa job scale-jobs-0 executed successfully. current replicas:3, desired replicas:2.\\\\\\"\\",\\n \\"State\\": \\"Succeed\\",\\n \\"LastProbeTime\\": \\"2022-02-24T06:31:00Z\\",\\n \\"CreateTime\\": \\"2020-06-24T02:11:30Z\\"\\n }\\n ]\\n}","type":"json"}]', ], 'DescribeServiceDiagnosis' => [ 'summary' => 'Queries the diagnostics details of a service.', 'path' => '/api/v2/services/{ClusterId}/{ServiceName}/diagnosis', 'methods' => ['get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'produces' => ['application/json'], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'abilityTreeCode' => '181894', 'abilityTreeNodes' => ['FEATURElearnO4KXYN'], ], 'parameters' => [ [ 'name' => 'ClusterId', 'in' => 'path', 'schema' => ['description' => 'The ID of the region where the service is deployed.'."\n", 'type' => 'string', 'required' => true, 'example' => 'cn-shanghai', 'title' => ''], ], [ 'name' => 'ServiceName', 'in' => 'path', 'schema' => ['description' => 'The service name.'."\n", 'type' => 'string', 'required' => true, 'example' => 'foo', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => 'The response parameters.'."\n", 'type' => 'object', 'properties' => [ 'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '40325405-579C-4D82****'], 'DiagnosisList' => [ 'description' => 'The diagnostics list.'."\n", 'type' => 'array', 'items' => [ 'description' => '', 'type' => 'object', 'properties' => [ 'Error' => ['description' => 'The error message.'."\n", 'type' => 'string', 'example' => 'Container worker0 failed to pull image.', 'title' => ''], 'Causes' => [ 'description' => 'The causes of the errors.'."\n", 'type' => 'array', 'items' => ['description' => 'The cause of the error.'."\n", 'type' => 'string', 'example' => 'Failed to pull image "busybox:no_exist_tag": rpc error: code = NotFound.', 'title' => ''], 'title' => '', 'example' => '', ], 'Advices' => [ 'description' => 'The suggestions about how to handle the errors.'."\n", 'type' => 'array', 'items' => ['description' => 'The suggestion about how to handle the error.'."\n", 'type' => 'string', 'example' => 'Please make sure the container image exists.', 'title' => ''], 'title' => '', 'example' => '', ], ], 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], ], 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"40325405-579C-4D82****\\",\\n \\"DiagnosisList\\": [\\n {\\n \\"Error\\": \\"Container worker0 failed to pull image.\\",\\n \\"Causes\\": [\\n \\"Failed to pull image \\\\\\"busybox:no_exist_tag\\\\\\": rpc error: code = NotFound.\\"\\n ],\\n \\"Advices\\": [\\n \\"Please make sure the container image exists.\\"\\n ]\\n }\\n ]\\n}","type":"json"}]', 'title' => 'DescribeServiceDiagnosis', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeServiceDiagnosis'], ], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'eas:DescribeServiceDiagnosis', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'PAI', 'resourceType' => 'Service', 'arn' => 'acs:eas:{#regionId}:{#accountId}:service/{#ServiceName}'], ], ], ], ], ], 'DescribeServiceEndpoints' => [ 'summary' => 'Retrieves a list of service endpoints.', 'path' => '/api/v2/services/{ClusterId}/{ServiceName}/endpoints', 'methods' => ['get'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => [], 'produces' => ['application/json'], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '251429', 'abilityTreeNodes' => ['FEATURElearnKDX12S'], 'autoTest' => true, 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ 'name' => 'ClusterId', 'in' => 'path', 'schema' => ['description' => 'The region ID.', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''], ], [ 'name' => 'ServiceName', 'in' => 'path', 'schema' => ['description' => 'The service name. For more information, see [ListServices](~~412109~~).', 'type' => 'string', 'required' => true, 'example' => 'service_name', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => 'The response.', 'type' => 'object', 'properties' => [ 'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID.', 'type' => 'string', 'example' => '739998B5-FB39-12A3-8323-0FA340317298'], 'Message' => ['description' => 'The message returned.', 'type' => 'string', 'example' => 'Execution succeeded.', 'title' => ''], 'AccessToken' => ['description' => 'The service token.', 'type' => 'string', 'example' => 'Nzc5N2FhN****TQ0YzBmYTIyN2MxZTUxN2NkYjg4MTJmMWQxZmY1****', 'title' => ''], 'Endpoints' => [ 'description' => 'The list of service endpoints.', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'EndpointType' => ['description' => 'The connection type of the service endpoint. Valid values:'."\n" ."\n" .'- DefaultGateway: The service is connected using a shared gateway.'."\n" ."\n" .'- PrivateGateway: The service is connected using a dedicated gateway.'."\n" ."\n" .'- Nlb: The service is attached to a Network Load Balancer (NLB) instance.'."\n" ."\n" .'- Nacos: The service is attached to a Nacos instance.', 'type' => 'string', 'example' => 'Nlb', 'title' => ''], 'BackendId' => ['description' => 'The ID of the backend service. The value of this parameter varies based on the value of EndpointType:'."\n" ."\n" .'- If EndpointType is DefaultGateway, this parameter is set to default.'."\n" ."\n" .'- If EndpointType is PrivateGateway, this parameter is the ID of the dedicated gateway.'."\n" ."\n" .'- If EndpointType is Nlb, this parameter is the ID of the NLB instance.'."\n" ."\n" .'- If EndpointType is Nacos, this parameter is the ID of the Nacos instance.', 'type' => 'string', 'example' => 'nlb-5q4sp7u6oorkha****', 'title' => ''], 'PathType' => ['description' => 'The type of the endpoint. Valid values:'."\n" ."\n" .'- Group: The endpoint of an audience group.'."\n" ."\n" .'- Service: The endpoint of a service.', 'type' => 'string', 'example' => 'Service', 'title' => ''], 'IntranetEndpoints' => [ 'description' => 'The list of internal endpoints.', 'type' => 'array', 'items' => ['description' => 'The internal endpoint.', 'type' => 'string', 'example' => 'nlb-5q4sp7u6oor****jvv.cn-hangzhou.nlb.aliyuncs.com', 'title' => ''], 'title' => '', 'example' => '', ], 'InternetEndpoints' => [ 'description' => 'The list of internet-facing endpoints.', 'type' => 'array', 'items' => ['description' => 'The internet-facing endpoint.', 'type' => 'string', 'example' => 'null', 'title' => ''], 'title' => '', 'example' => '', ], 'Port' => ['description' => 'The port number. This parameter is returned only when the service is attached to an NLB or Nacos instance.', 'type' => 'integer', 'format' => 'int32', 'example' => '9090', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], ], 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"739998B5-FB39-12A3-8323-0FA340317298\\",\\n \\"Message\\": \\"Execution succeeded.\\",\\n \\"AccessToken\\": \\"Nzc5N2FhN****TQ0YzBmYTIyN2MxZTUxN2NkYjg4MTJmMWQxZmY1****\\",\\n \\"Endpoints\\": [\\n {\\n \\"EndpointType\\": \\"Nlb\\",\\n \\"BackendId\\": \\"nlb-5q4sp7u6oorkha****\\",\\n \\"PathType\\": \\"Service\\",\\n \\"IntranetEndpoints\\": [\\n \\"nlb-5q4sp7u6oor****jvv.cn-hangzhou.nlb.aliyuncs.com\\"\\n ],\\n \\"InternetEndpoints\\": [\\n \\"null\\"\\n ],\\n \\"Port\\": 9090\\n }\\n ]\\n}","type":"json"}]', 'title' => 'DescribeServiceEndpoints', 'changeSet' => [ ['createdAt' => '2025-04-01T03:54:07.000Z', 'description' => 'Response parameters changed'], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeServiceEndpoints'], ], ], 'ramActions' => [], 'translator' => 'manual', ], 'DescribeServiceEvent' => [ 'summary' => 'Queries recent deployment events for a specified service.', 'path' => '/api/v2/services/{ClusterId}/{ServiceName}/events', 'methods' => ['get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '152928', 'abilityTreeNodes' => ['FEATURElearnKDX12S'], ], 'parameters' => [ [ 'name' => 'PageNum', 'in' => 'query', 'schema' => ['description' => 'The page number to return. Default value: 1.', 'type' => 'string', 'title' => '', 'required' => false, 'example' => '1'], ], [ 'name' => 'PageSize', 'in' => 'query', 'schema' => ['description' => 'The number of events to return per page. Default value: 100.', 'type' => 'string', 'title' => '', 'required' => false, 'example' => '20'], ], [ 'name' => 'ClusterId', 'in' => 'path', 'schema' => ['description' => 'The region ID of the service.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'cn-shanghai'], ], [ 'name' => 'ServiceName', 'in' => 'path', 'schema' => ['description' => 'The name of the service. To obtain this name, see [ListServices](~~412109~~).', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'foo'], ], [ 'name' => 'StartTime', 'in' => 'query', 'schema' => ['description' => 'The start time of the query range, in UTC. The default value is 7 days ago.', 'type' => 'string', 'title' => '', 'required' => false, 'example' => '2006-01-02 15:04:05'], ], [ 'name' => 'EndTime', 'in' => 'query', 'schema' => ['description' => 'The end time of the query range, in UTC. The default value is the current time.', 'type' => 'string', 'title' => '', 'required' => false, 'example' => '2006-01-02 15:04:05'], ], [ 'name' => 'EventType', 'in' => 'query', 'schema' => [ 'description' => 'The event type. Valid values:'."\n" ."\n" .'- Normal: a normal event.'."\n" ."\n" .'- Warning: a warning event.', 'enumValueTitles' => ['Warning' => 'Warning', 'Normal' => 'Normal'], 'type' => 'string', 'required' => false, 'example' => 'Normal', 'title' => '', ], ], [ 'name' => 'InstanceName', 'in' => 'query', 'schema' => ['description' => 'The name of the service instance. To obtain this name, see [ListServiceInstances](~~412108~~).', 'type' => 'string', 'required' => false, 'example' => 'echo-test-784xxxx85d-hhnd8', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => 'The returned data.', 'type' => 'object', 'properties' => [ 'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID.', 'type' => 'string', 'example' => '3D491C94-6239-5318-B4B4-799D859***'], 'Events' => [ 'description' => 'The list of events.', 'type' => 'array', 'items' => [ 'description' => 'The event details.', 'type' => 'object', 'properties' => [ 'Type' => ['description' => 'The event type. Valid values:'."\n" ."\n" .'- Normal: a normal event.'."\n" ."\n" .'- Warning: a warning event.', 'type' => 'string', 'example' => 'Normal', 'title' => ''], 'Reason' => ['description' => 'The reason for the event, which indicates a change in the service status.', 'type' => 'string', 'example' => 'Updating', 'title' => ''], 'Message' => ['description' => 'The event message, which is a JSON-formatted string.', 'type' => 'string', 'example' => '{\\"versionId\\":1,\\"message\\":\\"Stage scale complete\\",\\"availableInstance\\":1,\\"unavailableInstance\\":0}', 'title' => ''], 'Time' => ['description' => 'The time when the event occurred, in UTC.', 'type' => 'string', 'example' => '2022-04-09 06:30:00', 'title' => ''], 'Resource' => ['description' => 'The resource type. Valid values:'."\n" ."\n" .'- Service: a service.'."\n" ."\n" .'- Pod: a service instance.', 'type' => 'string', 'example' => 'Service', 'title' => ''], ], 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], 'TotalCount' => ['description' => 'The total count of events.', 'type' => 'integer', 'format' => 'int64', 'example' => '29', 'title' => ''], 'TotalPageNum' => ['description' => 'The total number of pages.', 'type' => 'integer', 'format' => 'int64', 'example' => '12', 'title' => ''], 'PageNum' => ['description' => 'The current page number.', 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => ''], ], 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"3D491C94-6239-5318-B4B4-799D859***\\",\\n \\"Events\\": [\\n {\\n \\"Type\\": \\"Normal\\",\\n \\"Reason\\": \\"Updating\\",\\n \\"Message\\": \\"{\\\\\\\\\\\\\\"versionId\\\\\\\\\\\\\\":1,\\\\\\\\\\\\\\"message\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"Stage scale complete\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"availableInstance\\\\\\\\\\\\\\":1,\\\\\\\\\\\\\\"unavailableInstance\\\\\\\\\\\\\\":0}\\",\\n \\"Time\\": \\"2022-04-09 06:30:00\\",\\n \\"Resource\\": \\"Service\\"\\n }\\n ],\\n \\"TotalCount\\": 29,\\n \\"TotalPageNum\\": 12,\\n \\"PageNum\\": 1\\n}","type":"json"}]', 'title' => 'DescribeServiceEvent', 'changeSet' => [ ['createdAt' => '2023-03-31T08:41:55.000Z', 'description' => 'Request parameters changed, Response parameters changed'], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeServiceEvent'], ], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'eas:DescribeServiceEvent', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'PAI', 'resourceType' => 'Service', 'arn' => 'acs:eas:{#regionId}:{#accountId}:service/{#ServiceName}'], ], ], ], ], ], 'DescribeServiceInstanceDiagnosis' => [ 'summary' => 'Queries the diagnostics details of an instance that runs Elastic Algorithm Service (EAS).', 'path' => '/api/v2/services/{ClusterId}/{ServiceName}/instances/{InstanceName}/diagnosis', 'methods' => ['get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'produces' => ['application/json'], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'abilityTreeCode' => '181910', 'abilityTreeNodes' => ['FEATURElearnO4KXYN'], ], 'parameters' => [ [ 'name' => 'ClusterId', 'in' => 'path', 'schema' => ['description' => 'The ID of the region where the service is deployed.'."\n", 'type' => 'string', 'required' => true, 'example' => 'cn-shanghai', 'title' => ''], ], [ 'name' => 'ServiceName', 'in' => 'path', 'schema' => ['description' => 'The service name.'."\n", 'type' => 'string', 'required' => true, 'example' => 'foo', 'title' => ''], ], [ 'name' => 'InstanceName', 'in' => 'path', 'schema' => ['description' => 'The name of the instance that runs the service.'."\n", 'type' => 'string', 'required' => true, 'example' => 'foo-69xxxx4f4-5w9r9', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => 'The response parameters.'."\n", 'type' => 'object', 'properties' => [ 'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '40325405-579C-4D82***'], 'Diagnosis' => [ 'description' => 'The diagnostics information.'."\n", 'type' => 'object', 'properties' => [ 'Error' => ['description' => 'The error message.'."\n", 'type' => 'string', 'example' => 'Container worker0 failed to pull image.', 'title' => ''], 'Causes' => [ 'description' => 'The causes of the errors.'."\n", 'type' => 'array', 'items' => ['description' => 'The cause of the error.'."\n", 'type' => 'string', 'example' => 'Failed to pull image "busybox:no_exist_tag": rpc error: code = NotFound.', 'title' => ''], 'title' => '', 'example' => '', ], 'Advices' => [ 'description' => 'The solutions to the errors.'."\n", 'type' => 'array', 'items' => ['description' => 'The solution to the error.'."\n", 'type' => 'string', 'example' => 'Please make sure the container image exists.', 'title' => ''], 'title' => '', 'example' => '', ], ], 'title' => '', 'example' => '', ], ], 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"40325405-579C-4D82***\\",\\n \\"Diagnosis\\": {\\n \\"Error\\": \\"Container worker0 failed to pull image.\\",\\n \\"Causes\\": [\\n \\"Failed to pull image \\\\\\"busybox:no_exist_tag\\\\\\": rpc error: code = NotFound.\\"\\n ],\\n \\"Advices\\": [\\n \\"Please make sure the container image exists.\\"\\n ]\\n }\\n}","type":"json"}]', 'title' => 'DescribeServiceInstanceDiagnosis', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeServiceInstanceDiagnosis'], ], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'eas:DescribeServiceInstanceDiagnosis', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'PAI', 'resourceType' => 'Service', 'arn' => 'acs:eas:{#regionId}:{#accountId}:service/{#ServiceName}'], ], ], ], ], ], 'DescribeServiceLog' => [ 'summary' => 'Queries the information about the logs of a service.', 'path' => '/api/v2/services/{ClusterId}/{ServiceName}/logs', 'methods' => ['get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => [], 'produces' => ['application/json'], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ 'name' => 'PageNum', 'in' => 'query', 'schema' => ['title' => '', 'description' => 'The page number. Default value: 1.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1'], ], [ 'name' => 'PageSize', 'in' => 'query', 'schema' => ['title' => '', 'description' => 'The number of entries per page. Default value: 500.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '500'], ], [ 'name' => 'Ip', 'in' => 'query', 'schema' => ['title' => '', 'description' => 'The IP address of the instance whose logs you want to query. For more information about how to query the IP address of an instance, see [ListServiceInstances](~~412108~~).'."\n", 'type' => 'string', 'required' => false, 'example' => '10.0.0.1'], ], [ 'name' => 'Keyword', 'in' => 'query', 'schema' => ['title' => '', 'description' => 'The keyword that you use to query the logs of the service.'."\n", 'type' => 'string', 'required' => false, 'example' => 'key'], ], [ 'name' => 'StartTime', 'in' => 'query', 'schema' => ['title' => '', 'description' => 'The beginning of the time range to query. The time must be in Coordinated Universal Time (UTC).'."\n", 'type' => 'string', 'required' => false, 'example' => '2006-01-02 15:04:05'], ], [ 'name' => 'EndTime', 'in' => 'query', 'schema' => ['title' => '', 'description' => 'The end of the time range to query. The time must be in UTC.'."\n", 'type' => 'string', 'required' => false, 'example' => '2006-01-02 15:04:05'], ], [ 'name' => 'ClusterId', 'in' => 'path', 'schema' => ['description' => 'The ID of the region where the service is deployed.'."\n", 'type' => 'string', 'required' => true, 'example' => 'cn-shanghai', 'title' => ''], ], [ 'name' => 'ServiceName', 'in' => 'path', 'schema' => ['description' => 'The service name. For more information about how to query the service name, see [ListServices](~~412109~~).'."\n", 'type' => 'string', 'required' => true, 'example' => 'echo', 'title' => ''], ], [ 'name' => 'InstanceName', 'in' => 'query', 'schema' => ['description' => 'The name of the instance that runs the service. For more information about how to query the instance name, see [ListServiceInstances](~~412108~~).'."\n", 'type' => 'string', 'required' => false, 'example' => 'echo-da290ac8-7fckm', 'title' => ''], ], [ 'name' => 'ContainerName', 'in' => 'query', 'schema' => ['description' => 'The name of the container that runs the service.'."\n", 'type' => 'string', 'required' => false, 'example' => 'worker0', 'title' => ''], ], [ 'name' => 'Previous', 'in' => 'query', 'schema' => [ 'description' => 'Specifies whether to query the logs that are generated before the instance last restarts. This parameter is available only if the instance restarts.'."\n" ."\n" .'Valid values:'."\n" ."\n" .'* true'."\n" ."\n" .' '."\n" ."\n" .' '."\n" ."\n" .' '."\n" ."\n" .'* false'."\n" ."\n" .' '."\n" ."\n" .' '."\n" ."\n" .' '."\n", 'type' => 'boolean', 'required' => false, 'enumValueTitles' => ['true' => 'true', 'false' => 'false'], 'example' => 'true', 'title' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => 'The response parameters.'."\n", 'type' => 'object', 'properties' => [ 'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '40325405-579C-4D82********'], 'Logs' => [ 'title' => '', 'description' => 'The returned logs.'."\n", 'type' => 'array', 'items' => ['description' => 'The information about the log.'."\n", 'type' => 'string', 'example' => 'echo_test', 'title' => ''], 'example' => '', ], 'PageNum' => ['title' => '', 'description' => 'The page number.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1'], 'TotalCount' => ['title' => '', 'description' => 'The total number of entries returned.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1'], 'TotalPageNum' => ['title' => '', 'description' => 'The total number of pages returned.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '500'], ], 'example' => '', ], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"40325405-579C-4D82********\\",\\n \\"Logs\\": [\\n \\"echo_test\\"\\n ],\\n \\"PageNum\\": 1,\\n \\"TotalCount\\": 1,\\n \\"TotalPageNum\\": 500\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]', 'title' => 'DescribeServiceLog', 'changeSet' => [ ['createdAt' => '2023-05-09T06:45:33.000Z', 'description' => 'Request parameters changed'], ['createdAt' => '2023-03-10T02:57:45.000Z', 'description' => 'Request parameters changed'], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '5', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeServiceLog'], ], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'eas:DescribeServiceLog', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'PAI', 'resourceType' => 'Service', 'arn' => 'acs:eas:{#regionId}:{#accountId}:service/{#ServiceName}'], ], ], ], ], ], 'DescribeServiceMirror' => [ 'summary' => 'Queries details about the traffic mirroring settings of a service.', 'path' => '/api/v2/services/{ClusterId}/{ServiceName}/mirror', 'methods' => ['get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ 'name' => 'ClusterId', 'in' => 'path', 'schema' => ['title' => '', 'description' => 'The ID of the region where the service is deployed.'."\n", 'type' => 'string', 'required' => true, 'example' => 'cn-shanghai'], ], [ 'name' => 'ServiceName', 'in' => 'path', 'schema' => ['title' => '', 'description' => 'The service name. For more information about how to query the service name, see [ListServices](~~412109~~).'."\n", 'type' => 'string', 'required' => true, 'example' => 'foo'], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => 'The response parameters.'."\n", 'type' => 'object', 'properties' => [ 'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '40325405-579C-4D82****'], 'ServiceName' => ['title' => '', 'description' => 'The service name.'."\n", 'type' => 'string', 'example' => 'foo'], 'Target' => ['title' => '', 'description' => 'The destination services to which you want to mirror traffic.'."\n", 'type' => 'string', 'example' => 'foo2,foo3'], 'Ratio' => ['title' => '', 'description' => 'The percentage of traffic that you want to mirror. Valid values: 0 to 100.'."\n", 'type' => 'string', 'example' => '50'], ], 'example' => '', ], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"40325405-579C-4D82****\\",\\n \\"ServiceName\\": \\"foo\\",\\n \\"Target\\": \\"foo2,foo3\\",\\n \\"Ratio\\": \\"50\\"\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]', 'title' => 'DescribeServiceMirror', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeServiceMirror'], ], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'eas:DescribeServiceMirror', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'PAI', 'resourceType' => 'Service', 'arn' => 'acs:eas:{#regionId}:{#accountId}:service/{#ServiceName}'], ], ], ], ], ], 'DescribeServiceRollout' => [ 'path' => '/api/v2/services/{ClusterId}/{ServiceName}/rollout', 'methods' => ['get'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATURElearnKDX12S'], ], 'parameters' => [ [ 'name' => 'ClusterId', 'in' => 'path', 'schema' => ['description' => 'The region ID where the service is deployed.', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai', 'title' => ''], ], [ 'name' => 'ServiceName', 'in' => 'path', 'schema' => ['description' => 'The name of the service.', 'type' => 'string', 'required' => false, 'example' => 'foo', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'description' => 'The response body.', 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The request ID. This ID is unique to each request and is used for troubleshooting.', 'type' => 'string', 'example' => '40325405-579C-4D82****', 'title' => ''], 'Rollout' => [ 'type' => 'object', 'properties' => [ 'Strategy' => [ 'type' => 'object', 'properties' => [ 'Partition' => [ 'type' => 'object', 'properties' => [ 'Partition' => ['description' => 'Specifies the number or percentage of old replicas to keep. For example, a value of `50%` indicates that 50% of the old replicas are retained.', 'type' => 'string', 'example' => '50%', 'title' => ''], ], 'title' => '', 'description' => 'The configuration for a canary release. This object is returned only when the canary release strategy is used.', 'example' => '', ], 'Batch' => [ 'type' => 'object', 'properties' => [ 'BatchSize' => ['description' => 'The number or percentage of replicas to update in each batch.', 'type' => 'string', 'title' => '', 'example' => '1'], 'Interval' => ['description' => 'The time to wait between batches.', 'type' => 'string', 'title' => '', 'example' => '5m'], ], 'title' => '', 'description' => 'The configuration for a batch release. This object is returned only when the batch release strategy is used.', 'example' => '', ], ], 'title' => '', 'description' => 'The rollout strategy configuration. This object contains the parameters for a canary release or batch release.', 'example' => '', ], 'Status' => [ 'type' => 'object', 'properties' => [ 'Phase' => [ 'description' => 'The current release phase. Valid values:'."\n" ."\n" .'- `Pending`: The rollout is waiting to start.'."\n" ."\n" .'- `Running`: The rollout is in progress.'."\n" ."\n" .'- `Paused`: The rollout is paused.'."\n" ."\n" .'- `Completed`: The rollout is complete.'."\n" ."\n" .'- `Failed`: The rollout has failed.', 'type' => 'string', 'example' => 'Running', 'enum' => ['Pending', 'Running', 'Paused', 'Completed', 'Failed'], 'title' => '', ], 'TotalReplicas' => ['description' => 'The total number of desired replicas for the service.', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => ''], 'UpdatedReplicas' => ['description' => 'The number of replicas updated to the new revision.', 'type' => 'integer', 'format' => 'int32', 'example' => '5', 'title' => ''], 'CurrentRevision' => ['description' => 'The identifier for the currently running revision.', 'type' => 'string', 'example' => 'service-abc123-v1', 'title' => ''], 'UpdateRevision' => ['description' => 'The identifier for the target revision.', 'type' => 'string', 'example' => 'service-abc123-v2', 'title' => ''], 'NextBatchStartTime' => ['description' => 'The scheduled start time for the next batch.', 'type' => 'string', 'example' => '2026/05/08 16:10:56', 'title' => ''], ], 'title' => '', 'description' => 'The current progress and phase of the rollout.', 'example' => '', ], ], 'title' => '', 'description' => 'Details of the service rollout, including the rollout strategy (`Strategy`) and execution status (`Status`).', 'example' => '', ], ], 'title' => '', 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'title' => 'DescribeServiceRollout', 'summary' => 'Retrieves the details of a service rollout.', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], ], 'ramActions' => [], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"40325405-579C-4D82****\\",\\n \\"Rollout\\": {\\n \\"Strategy\\": {\\n \\"Partition\\": {\\n \\"Partition\\": \\"50%\\"\\n },\\n \\"Batch\\": {\\n \\"BatchSize\\": \\"1\\",\\n \\"Interval\\": \\"5m\\"\\n }\\n },\\n \\"Status\\": {\\n \\"Phase\\": \\"Running\\",\\n \\"TotalReplicas\\": 10,\\n \\"UpdatedReplicas\\": 5,\\n \\"CurrentRevision\\": \\"service-abc123-v1\\",\\n \\"UpdateRevision\\": \\"service-abc123-v2\\",\\n \\"NextBatchStartTime\\": \\"2026/05/08 16:10:56\\"\\n }\\n }\\n}","type":"json"}]', ], 'DescribeServiceSignedUrl' => [ 'summary' => 'Obtains the logon-free URL of the service.', 'path' => '/api/v2/services/{ClusterId}/{ServiceName}/signed_url', 'methods' => ['get'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => ['operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free'], 'parameters' => [ [ 'name' => 'ClusterId', 'in' => 'path', 'schema' => ['description' => 'The region in which the service resides.'."\n", 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''], ], [ 'name' => 'ServiceName', 'in' => 'path', 'schema' => ['description' => 'The service name.'."\n", 'type' => 'string', 'required' => false, 'example' => 'foo', 'title' => ''], ], [ 'name' => 'Type', 'in' => 'query', 'schema' => [ 'description' => 'The page type.'."\n" ."\n" .'Valid values:'."\n" ."\n" .'* webview'."\n" .'* monitor'."\n", 'type' => 'string', 'required' => false, 'enumValueTitles' => ['webview' => 'webview', 'monitor' => 'monitor'], 'example' => 'webview', 'title' => '', ], ], [ 'name' => 'Expire', 'in' => 'query', 'schema' => ['description' => 'The period of time for which the URL expires.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '43200', 'title' => ''], ], [ 'name' => 'Internal', 'in' => 'query', 'schema' => ['description' => 'Specifies whether to use the VPC connection.'."\n", 'type' => 'boolean', 'required' => false, 'example' => 'false', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => 'Schema of Response'."\n", 'type' => 'object', 'properties' => [ 'RequestId' => ['title' => 'Id of the request', 'description' => 'Id of the request'."\n", 'type' => 'string', 'example' => '40325405-579C-4D82****'], 'SignedUrl' => ['description' => 'The service URL.'."\n", 'type' => 'string', 'example' => 'https://foo-115**.console.cn-hangzhou.eas.pai-ml.com?expire=1735202661&signature=ey*******', 'title' => ''], ], 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"40325405-579C-4D82****\\",\\n \\"SignedUrl\\": \\"https://foo-115**.console.cn-hangzhou.eas.pai-ml.com?expire=1735202661&signature=ey*******\\"\\n}","type":"json"}]', 'title' => 'DescribeServiceSignedUrl', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeServiceSignedUrl'], ], ], 'ramActions' => [ [ 'operationType' => 'none', 'ramAction' => [ 'action' => 'eas:DescribeServiceSignedUrl', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'PAI', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], ], 'DescribeSpotDiscountHistory' => [ 'summary' => 'Queries the historical prices of preemptible instances. For more information about preemptible instances, see Create and use preemptible instances.', 'path' => '/api/v2/public/spot_discount', 'methods' => ['get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'produces' => ['application/json'], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '183027', 'abilityTreeNodes' => ['FEATURElearnPKQVPS'], ], 'parameters' => [ [ 'name' => 'InstanceType', 'in' => 'query', 'schema' => ['description' => 'The type of the Elastic Algorithm Service (EAS) instance.', 'type' => 'string', 'required' => true, 'example' => 'ecs.c6.4xlarge', 'title' => ''], ], [ 'name' => 'IsProtect', 'in' => 'query', 'schema' => ['description' => 'Specifies whether the preemptible instance has a protection period. During the 1-hour protection period of the preemptible instance, the preemptible instance will not be released.', 'type' => 'boolean', 'required' => false, 'example' => 'false', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => 'The response parameters.', 'type' => 'object', 'properties' => [ 'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID.', 'type' => 'string', 'example' => '40325405-579C-4D82***'], 'SpotDiscounts' => [ 'description' => 'The discount for the preemptible instance.', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'ZoneId' => ['description' => 'The zone ID.', 'type' => 'string', 'example' => 'cn-hangzhou-i', 'title' => ''], 'SpotDiscount' => ['description' => 'The discount for the preemptible instance. For example, 0.1 represents a 90% discount.', 'type' => 'string', 'example' => '0.1', 'title' => ''], 'Timestamp' => ['description' => 'The time when the discount is available. The time must be in UTC.', 'type' => 'string', 'example' => '2024-04-10T10:00:00Z', 'title' => ''], 'InstanceType' => ['description' => 'The type of the ECS instance.', 'type' => 'string', 'example' => 'ecs.c7.large', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], ], 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'title' => 'DescribeSpotDiscountHistory', 'changeSet' => [ ['createdAt' => '2024-07-19T09:17:14.000Z', 'description' => 'Request parameters changed'], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeSpotDiscountHistory'], ], ], 'ramActions' => [], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"40325405-579C-4D82***\\",\\n \\"SpotDiscounts\\": [\\n {\\n \\"ZoneId\\": \\"cn-hangzhou-i\\",\\n \\"SpotDiscount\\": \\"0.1\\",\\n \\"Timestamp\\": \\"2024-04-10T10:00:00Z\\",\\n \\"InstanceType\\": \\"ecs.c7.large\\"\\n }\\n ]\\n}","type":"json"}]', ], 'DescribeVirtualResource' => [ 'summary' => 'Queries the details of a virtual resource group.', 'path' => '/api/v2/virtualresources/{ClusterId}/{VirtualResourceId}', 'methods' => ['get'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '238272', 'abilityTreeNodes' => ['FEATURElearnRPDTZG'], 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ 'name' => 'ClusterId', 'in' => 'path', 'schema' => ['title' => '', 'description' => 'The region where the virtual resource group is located.', 'type' => 'string', 'required' => true, 'example' => 'cn-shanghai'], ], [ 'name' => 'VirtualResourceId', 'in' => 'path', 'schema' => ['title' => '', 'description' => 'The ID of the virtual resource group.', 'type' => 'string', 'required' => true, 'example' => 'eas-vr-npovr28onap1xxxxxx'."\n"], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => 'The details of the virtual resource group.', 'type' => 'object', 'properties' => [ 'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID.', 'type' => 'string', 'example' => '40325405-579C-4D82****'], 'Resources' => [ 'title' => '', 'description' => 'The list of resources in the virtual resource group.', 'type' => 'array', 'items' => [ 'description' => 'The details of the resource.', 'type' => 'object', 'properties' => [ 'Region' => ['title' => '', 'description' => 'The region where the resource is located.', 'type' => 'string', 'example' => 'cn-hangzhou'], 'Priority' => ['title' => '', 'description' => 'The scheduling priority of the resource. A larger value indicates a higher priority.', 'type' => 'integer', 'format' => 'int32', 'example' => '3'], 'InstanceType' => ['title' => '', 'description' => 'The instance type of the public resource group.', 'type' => 'string', 'example' => 'ecs.s6-c1m2.xlarge'."\n"], 'QuotaId' => ['title' => '', 'description' => 'The ID of the Lingjun resource quota.', 'type' => 'string', 'example' => 'quota185lqxxxxxx'."\n"], 'SpotPriceLimit' => ['title' => '', 'description' => 'The maximum price for a spot instance in the public resource group.', 'type' => 'number', 'format' => 'float', 'example' => '10.05'], 'ResourceId' => ['title' => '', 'description' => 'The ID of the dedicated resource group.', 'type' => 'string', 'example' => 'eas-r-g55ieatgg3buxxxxxx'."\n"], ], 'title' => '', 'example' => '', ], 'example' => '', ], 'CreateTime' => ['title' => '', 'description' => 'The time when the virtual resource group was created.', 'type' => 'string', 'example' => '2024-10-16T17:52:49Z'."\n"], 'UpdateTime' => ['title' => '', 'description' => 'The time when the virtual resource group was last updated.', 'type' => 'string', 'example' => '2024-10-16T19:52:49Z'."\n"], 'VirtualResourceId' => ['title' => '', 'description' => 'The ID of the virtual resource group.', 'type' => 'string', 'example' => 'eas-vr-npovr28onap1xxxxxx'."\n"], 'VirtualResourceName' => ['title' => '', 'description' => 'The name of the virtual resource group.', 'type' => 'string', 'example' => 'MyVirtualResource'."\n"], 'ServiceCount' => ['description' => 'The number of deployed services.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '1'], 'DisableSpotProtectionPeriod' => ['description' => 'Indicates whether the protection period for spot instances is disabled.', 'type' => 'boolean', 'title' => '', 'example' => 'true'], 'Features' => [ 'type' => 'array', 'items' => ['type' => 'string', 'description' => 'The specific attributes that the virtual resource group supports. Currently, only GpuShare (GPU sharing) is supported.', 'title' => '', 'example' => 'GpuShare'], 'description' => 'The collection of features for the virtual resource group. This identifies the attributes that the resource group supports.', 'title' => '', 'example' => '', ], ], 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"40325405-579C-4D82****\\",\\n \\"Resources\\": [\\n {\\n \\"Region\\": \\"cn-hangzhou\\",\\n \\"Priority\\": 3,\\n \\"InstanceType\\": \\"ecs.s6-c1m2.xlarge\\\\n\\",\\n \\"QuotaId\\": \\"quota185lqxxxxxx\\\\n\\",\\n \\"SpotPriceLimit\\": 10.05,\\n \\"ResourceId\\": \\"eas-r-g55ieatgg3buxxxxxx\\\\n\\"\\n }\\n ],\\n \\"CreateTime\\": \\"2024-10-16T17:52:49Z\\\\n\\",\\n \\"UpdateTime\\": \\"2024-10-16T19:52:49Z\\\\n\\",\\n \\"VirtualResourceId\\": \\"eas-vr-npovr28onap1xxxxxx\\\\n\\",\\n \\"VirtualResourceName\\": \\"MyVirtualResource\\\\n\\",\\n \\"ServiceCount\\": 1,\\n \\"DisableSpotProtectionPeriod\\": true,\\n \\"Features\\": [\\n \\"GpuShare\\"\\n ]\\n}","type":"json"}]', 'title' => 'DescribeVirtualResource', 'changeSet' => [ ['createdAt' => '2025-07-16T06:03:56.000Z', 'description' => 'Response parameters changed'], ['createdAt' => '2025-01-21T08:56:51.000Z', 'description' => 'Response parameters changed'], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeVirtualResource'], ], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'eas:DescribeVirtualResource', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'PAI', 'resourceType' => 'VirtualResource', 'arn' => 'acs:eas:{#regionId}:{#accountId}:virtualresource/{#VirtualResourceId}'], ], ], ], ], ], 'DetachGatewayDomain' => [ 'summary' => 'Unbinds a custom domain name from a private gateway.', 'path' => '/api/v2/gateways/{ClusterId}/{GatewayId}/domain/detach', 'methods' => ['put'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'delete', 'abilityTreeCode' => '243555', 'abilityTreeNodes' => ['FEATURElearnMC2VJP'], ], 'parameters' => [ [ 'name' => 'ClusterId', 'in' => 'path', 'schema' => ['description' => 'The region where the private gateway resides.'."\n", 'type' => 'string', 'required' => true, 'example' => 'cn-shanghai', 'title' => ''], ], [ 'name' => 'GatewayId', 'in' => 'path', 'schema' => ['description' => 'The ID of the private gateway. To obtain the private gateway ID, see the GatewayId parameter in the response parameters of the [ListGateway](https://apiworkbench.aliyun-inc.com/document/eas/2021-07-01/ListGateway?spm=openapi-amp.newDocPublishment.0.0.765e281fL2IcjJ\\&Env=online) operation.'."\n", 'type' => 'string', 'required' => true, 'example' => 'gw-1uhcqmsc7x22******', 'title' => ''], ], [ 'name' => 'CustomDomain', 'in' => 'query', 'style' => 'json', 'schema' => [ 'description' => 'The custom domain name information.'."\n", 'type' => 'object', 'properties' => [ 'Type' => [ 'description' => 'The domain name type.'."\n" ."\n" .'Valid value:'."\n" ."\n" .'* intranet: internal network.'."\n" .'* internet: public network.'."\n", 'type' => 'string', 'required' => true, 'enumValueTitles' => ['intranet' => '', 'internet' => ''], 'example' => 'intranet', 'title' => '', ], 'Domain' => ['description' => 'The custom domain name.'."\n", 'type' => 'string', 'required' => true, 'example' => 'test.com', 'title' => ''], ], 'required' => true, 'title' => '', 'example' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => 'The data returned.'."\n", 'type' => 'object', 'properties' => [ 'RequestId' => ['title' => 'Id of the request', 'description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '40325405-579C-4D82****'], 'GatewayId' => ['description' => 'The ID of the private gateway. To obtain the private gateway ID, see the GatewayId parameter in the response parameters of the [ListGateway](https://apiworkbench.aliyun-inc.com/document/eas/2021-07-01/ListGateway?spm=openapi-amp.newDocPublishment.0.0.765e281fL2IcjJ\\&Env=online) operation.'."\n", 'type' => 'string', 'example' => 'gw-1uhcqmsc7x22******', 'title' => ''], 'Message' => ['description' => 'The message that is returned.'."\n", 'type' => 'string', 'example' => 'Successfully delete custom endpoint for gateway gw-1uhcqmsc7x22******'."\n", 'title' => ''], ], 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"40325405-579C-4D82****\\",\\n \\"GatewayId\\": \\"gw-1uhcqmsc7x22******\\",\\n \\"Message\\": \\"Successfully delete custom endpoint for gateway gw-1uhcqmsc7x22******\\\\n\\"\\n}","type":"json"}]', 'title' => 'DetachGatewayDomain', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DetachGatewayDomain'], ], ], 'ramActions' => [ [ 'operationType' => 'delete', 'ramAction' => [ 'action' => 'eas:DetachGatewayDomain', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'PAI', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], ], 'DevelopService' => [ 'summary' => 'Switches a container service to development mode or exits development mode.', 'path' => '/api/v2/services/{ClusterId}/{ServiceName}/develop', 'methods' => ['put'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', 'abilityTreeCode' => '161121', 'abilityTreeNodes' => ['FEATURElearnO4KXYN'], ], 'parameters' => [ [ 'name' => 'ClusterId', 'in' => 'path', 'schema' => ['title' => '', 'description' => 'The ID of the region where the service is deployed.'."\n", 'type' => 'string', 'required' => true, 'example' => 'cn-shanghai'], ], [ 'name' => 'ServiceName', 'in' => 'path', 'schema' => ['title' => '', 'description' => 'The service name. For more information about how to query the service name, see [ListServices](~~412109~~).'."\n", 'type' => 'string', 'required' => true, 'example' => 'echo'], ], [ 'name' => 'Exit', 'in' => 'query', 'schema' => [ 'title' => '', 'description' => 'Specifies whether to exit development mode. Valid values:'."\n" ."\n" .'* true: exits development mode.'."\n" .'* false (default): enters development mode.'."\n", 'type' => 'string', 'required' => false, 'enumValueTitles' => ['true' => '', 'false' => ''], 'example' => 'true', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => 'The response parameters.'."\n", 'type' => 'object', 'properties' => [ 'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '40325405-579C-4D82****'], 'Message' => ['title' => '', 'description' => 'The returned message.'."\n", 'type' => 'string', 'example' => 'Success'], ], 'example' => '', ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"40325405-579C-4D82****\\",\\n \\"Message\\": \\"Success\\"\\n}","type":"json"}]', 'title' => 'DevelopService', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DevelopService'], ], ], 'ramActions' => [ [ 'operationType' => 'update', 'ramAction' => [ 'action' => 'eas:DevelopService', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'PAI', 'resourceType' => 'Service', 'arn' => 'acs:eas:{#regionId}:{#accountId}:service/{#ServiceName}'], ], ], ], ], ], 'ListAclPolicy' => [ 'summary' => 'Queries access control lists (ACLs) created for a private gateway.', 'path' => '/api/v2/gateways/{ClusterId}/{GatewayId}/acl_policy', 'methods' => ['get'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'list', 'abilityTreeCode' => '225605', 'abilityTreeNodes' => ['FEATURElearn6PC7M4'], ], 'parameters' => [ [ 'name' => 'ClusterId', 'in' => 'path', 'schema' => ['description' => 'The region where the private gateway resides.'."\n", 'type' => 'string', 'required' => true, 'example' => 'cn-wulanchabu', 'title' => ''], ], [ 'name' => 'GatewayId', 'in' => 'path', 'schema' => ['description' => 'The private gateway ID. To obtain the private gateway ID, see the private_gateway_id parameter in the response parameters of the ListResources operation.'."\n", 'type' => 'string', 'required' => true, 'example' => 'gw-1uhcqmsc7x22******', 'title' => ''], ], [ 'name' => 'VpcId', 'in' => 'query', 'schema' => ['description' => 'The ID of the virtual private cloud (VPC). For more information about how to obtain the VPC ID, see DescribeVpcs.'."\n", 'type' => 'string', 'required' => false, 'example' => 'vpc-uf66uio7md****', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => 'The response parameters.'."\n", 'type' => 'object', 'properties' => [ 'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '40325405-579C-4D82****'], 'GatewayId' => ['description' => 'The private gateway ID.'."\n", 'type' => 'string', 'example' => 'gw-1uhcqmsc7x22******', 'title' => ''], 'InternetAclPolicyList' => [ 'description' => 'The access control policies of the private gateway over the Internet.'."\n", 'type' => 'array', 'items' => [ 'description' => 'The access control policy of the private gateway over the Internet.'."\n", 'type' => 'object', 'properties' => [ 'AclPolicyList' => [ 'description' => 'The whitelisted IP CIDR blocks in the VPC that can access the private gateway over the Internet.'."\n", 'type' => 'array', 'items' => [ 'description' => 'The information about the IP CIDR block in the VPC that can access the private gateway over the Internet.'."\n", 'type' => 'object', 'properties' => [ 'Entry' => ['description' => 'The IP CIDR block in the VPC that can access the private gateway over the Internet.'."\n", 'type' => 'string', 'example' => '0.0.0.0/0', 'title' => ''], 'Comment' => ['description' => 'The comment on the IP CIDR block in the VPC that can access the private gateway over the Internet.'."\n", 'type' => 'string', 'example' => 'default', 'title' => ''], ], 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], ], 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], 'IntranetVpcAclPolicyList' => [ 'description' => 'The access control policies of the private gateway over the internal network.'."\n", 'type' => 'array', 'items' => [ 'description' => 'The access control policy of the private gateway over the internal network.'."\n", 'type' => 'object', 'properties' => [ 'VpcId' => ['description' => 'The VPC ID. For more information about how to obtain the VPC ID, see DescribeVpcs.'."\n", 'type' => 'string', 'example' => 'vpc-uf66uio7md****', 'title' => ''], 'AclPolicyList' => [ 'description' => 'The whitelisted IP CIDR blocks in the VPC that can access the private gateway over the internal network.'."\n", 'type' => 'array', 'items' => [ 'description' => 'The information about the IP CIDR block in the VPC that can access the private gateway over the internal network.'."\n", 'type' => 'object', 'properties' => [ 'Entry' => ['description' => 'The IP CIDR block in the VPC that can access the private gateway over the internal network.'."\n", 'type' => 'string', 'example' => '0.0.0.0/0'."\n", 'title' => ''], 'Comment' => ['description' => 'The comment on the IP CIDR block in the VPC that can access the private gateway over the internal network.'."\n", 'type' => 'string', 'example' => 'default', 'title' => ''], ], 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], ], 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], ], 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"40325405-579C-4D82****\\",\\n \\"GatewayId\\": \\"gw-1uhcqmsc7x22******\\",\\n \\"InternetAclPolicyList\\": [\\n {\\n \\"AclPolicyList\\": [\\n {\\n \\"Entry\\": \\"0.0.0.0/0\\",\\n \\"Comment\\": \\"default\\"\\n }\\n ]\\n }\\n ],\\n \\"IntranetVpcAclPolicyList\\": [\\n {\\n \\"VpcId\\": \\"vpc-uf66uio7md****\\",\\n \\"AclPolicyList\\": [\\n {\\n \\"Entry\\": \\"0.0.0.0/0\\\\n\\",\\n \\"Comment\\": \\"default\\"\\n }\\n ]\\n }\\n ]\\n}","type":"json"}]', 'title' => 'ListAclPolicy', 'changeSet' => [ ['createdAt' => '2024-10-11T02:05:47.000Z', 'description' => 'Request parameters changed'], ['createdAt' => '2024-09-02T02:23:45.000Z', 'description' => 'Response parameters changed'], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListAclPolicy'], ], ], 'ramActions' => [ [ 'operationType' => 'list', 'ramAction' => [ 'action' => 'eas:ListAclPolicy', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'PAI', 'resourceType' => 'Gateway', 'arn' => 'acs:eas:{#regionId}:{#accountId}:gateway/{#GatewayId}'], ], ], ], ], ], 'ListBenchmarkTask' => [ 'summary' => 'Lists all deployed stress testing tasks.', 'path' => '/api/v2/benchmark-tasks', 'methods' => ['get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATURElearnO4KXYN'], ], 'parameters' => [ [ 'name' => 'Filter', 'in' => 'query', 'schema' => ['description' => 'The filter used to query tasks. If you specify this parameter, the system returns tasks whose names or associated service names match the filter value.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'test_bench'], ], [ 'name' => 'Sort', 'in' => 'query', 'schema' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], ], [ 'name' => 'Order', 'in' => 'query', 'schema' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], ], [ 'name' => 'ServiceName', 'in' => 'query', 'schema' => ['description' => 'The name of the EAS service that corresponds to the stress testing task. For more information about how to query the service name, see [ListServices](~~412109~~).'."\n", 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'test_bench_srv'], ], [ 'name' => 'Status', 'in' => 'query', 'schema' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], ], [ 'name' => 'ModelId', 'in' => 'query', 'schema' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], ], [ 'name' => 'RequestMethod', 'in' => 'query', 'schema' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], ], [ 'name' => 'PageNumber', 'in' => 'query', 'schema' => ['description' => 'The page number. Pages start from page 1. Default value: 1.'."\n", 'type' => 'string', 'required' => false, 'title' => '', 'example' => '1'], ], [ 'name' => 'PageSize', 'in' => 'query', 'schema' => ['description' => 'The name of the Elastic Algorithm Service (EAS) service that corresponds to the stress testing task. For more information about how to query the service name, see [ListServices](~~412109~~).', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '10'], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => 'The response.', 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => '40325405-579C-4D82****'], 'Tasks' => [ 'description' => 'The list of tasks.', 'type' => 'array', 'items' => [ 'description' => 'The task details.', 'type' => 'object', 'properties' => [ 'TaskName' => ['description' => 'The name of the stress testing task.', 'type' => 'string', 'title' => '', 'example' => 'benchmark-larec-test-1076'], 'TaskId' => ['description' => 'The ID of the stress testing task.', 'type' => 'string', 'title' => '', 'example' => 'eas-b-gv4y86uvgt****i'], 'ServiceName' => ['description' => 'The name of the service to be stress tested.', 'type' => 'string', 'title' => '', 'example' => 'test_quota'], 'Region' => ['description' => 'The region where the stress testing task is located.', 'type' => 'string', 'title' => '', 'example' => 'cn-shanghai'], 'AvailableAgent' => ['description' => 'The number of available stress testing instances.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '2'], 'Status' => [ 'description' => 'The status of the stress testing task.', 'type' => 'string', 'enumValueTitles' => ['Creating' => 'Creating', 'Starting' => 'Starting', 'DeleteFailed' => 'DeleteFailed', 'Running' => 'Running', 'Stopping' => 'Stopping', 'Error' => 'Error', 'Updating' => 'Updating', 'Deleting' => 'Deleting', 'CreateFailed' => 'CreateFailed'], 'title' => '', 'example' => 'Running', ], 'Message' => ['description' => 'A summary of the task.', 'type' => 'string', 'title' => '', 'example' => 'Benchmark task [benchmark-larec-test-1076] is Running'], 'CreateTime' => ['description' => 'The time when the stress testing task was created.', 'type' => 'string', 'title' => '', 'example' => '2020-02-04T02:43:15Z'], 'UpdateTime' => ['description' => 'The time when the stress testing task was last updated.', 'type' => 'string', 'title' => '', 'example' => '2020-06-24T03:11:30Z'], ], 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], 'TotalCount' => ['description' => 'The total number of tasks.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '1'], 'PageNumber' => ['description' => 'The page number of the returned list of tasks.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '1'], 'PageSize' => ['description' => 'The number of tasks to return on each page.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '20'], ], 'example' => '', ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"40325405-579C-4D82****\\",\\n \\"Tasks\\": [\\n {\\n \\"TaskName\\": \\"benchmark-larec-test-1076\\",\\n \\"TaskId\\": \\"eas-b-gv4y86uvgt****i\\",\\n \\"ServiceName\\": \\"test_quota\\",\\n \\"Region\\": \\"cn-shanghai\\",\\n \\"AvailableAgent\\": 2,\\n \\"Status\\": \\"Running\\",\\n \\"Message\\": \\"Benchmark task [benchmark-larec-test-1076] is Running\\",\\n \\"CreateTime\\": \\"2020-02-04T02:43:15Z\\",\\n \\"UpdateTime\\": \\"2020-06-24T03:11:30Z\\"\\n }\\n ],\\n \\"TotalCount\\": 1,\\n \\"PageNumber\\": 1,\\n \\"PageSize\\": 20\\n}","type":"json"}]', 'title' => 'ListBenchmarkTask', 'changeSet' => [ ['createdAt' => '2022-11-30T08:37:24.000Z', 'description' => 'Request parameters changed'], ['createdAt' => '2022-11-02T09:46:23.000Z', 'description' => 'Request parameters changed, Response parameters changed'], ['createdAt' => '2022-05-27T03:23:01.000Z', 'description' => 'OpenAPI offline'], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListBenchmarkTask'], ], ], 'ramActions' => [ [ 'operationType' => 'list', 'ramAction' => [ 'action' => 'eas:ListBenchmarkTask', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'PAI', 'resourceType' => 'BenchmarkTask', 'arn' => 'acs:eas:{#regionId}:{#accountId}:benchmarktask/*'], ], ], ], ], ], 'ListConfigs' => [ 'path' => '/api/v2/configs/{ClusterId}/{ConfigType}/{Name}', 'methods' => ['get'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATURElearnKDX12S'], ], 'parameters' => [ [ 'name' => 'ClusterId', 'in' => 'path', 'schema' => ['description' => '**The service region.** (Required)', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''], ], [ 'name' => 'ConfigType', 'in' => 'path', 'schema' => ['description' => '**The configuration type.** (Required) Only `service` is supported.', 'type' => 'string', 'required' => false, 'example' => 'service', 'title' => ''], ], [ 'name' => 'Name', 'in' => 'path', 'schema' => ['description' => '**The service name.** (Required)', 'type' => 'string', 'required' => false, 'example' => 'my-llm-service', 'title' => ''], ], [ 'name' => 'Page', 'in' => 'query', 'schema' => ['description' => '**The page number.** Default: 1.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''], ], [ 'name' => 'PageSize', 'in' => 'query', 'schema' => ['description' => '**The number of entries per page.** Default: 100. Maximum: 200.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '100', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'Type' => ['description' => 'The configuration type.', 'type' => 'string', 'example' => 'Service', 'title' => ''], 'Name' => ['description' => 'The service name.', 'type' => 'string', 'example' => 'my-service', 'title' => ''], 'Configs' => [ 'description' => 'The list of dynamic parameters.', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'Key' => ['description' => 'The name of the dynamic parameter.', 'type' => 'string', 'example' => 'rate_limit', 'title' => ''], 'Value' => ['description' => 'The value of the dynamic parameter.', 'type' => 'string', 'example' => '100', 'title' => ''], 'CreatedAt' => ['description' => 'The time when the dynamic parameter was created, in UTC and ISO 8601 format.', 'type' => 'string', 'example' => '2024-01-01T10:00:00Z', 'title' => ''], 'UpdatedAt' => ['description' => 'The time when the dynamic parameter was last updated, in UTC and ISO 8601 format.', 'type' => 'string', 'example' => '2024-01-01T10:00:00Z', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], 'example' => '[{"Key": "rate_limit", "Value": "{\\"limit\\": 100}", "CreatedAt": "2024-01-15T10:30:00Z", "UpdatedAt": "2024-01-15T10:30:00Z"}]', 'title' => '', ], 'Page' => ['description' => 'The current page number.', 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => ''], 'PageSize' => ['description' => 'The number of entries on the current page.', 'type' => 'integer', 'format' => 'int64', 'example' => '100', 'title' => ''], 'Total' => ['description' => 'The total number of entries found.', 'type' => 'integer', 'format' => 'int64', 'example' => '150', 'title' => ''], 'HasMore' => ['description' => 'Indicates if more entries are available. `true` if more entries exist; otherwise, `false`.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], ], 'title' => '', 'description' => 'The response structure.', 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'title' => 'ListConfigs', 'summary' => 'Retrieves a list of dynamic parameters for a specified service.', 'description' => '## Description'."\n" ."\n" .'- `ClusterId` specifies the service\'s region.'."\n" ."\n" .'- `ConfigType` specifies the configuration type. Only `service` is supported.'."\n" ."\n" .'- `Name` specifies the service name.'."\n" ."\n" .'- Use the `Page` and `PageSize` parameters to paginate the results.'."\n" ."\n" .'- The response contains the details of the dynamic parameters and pagination information.', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], ], 'ramActions' => [], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Type\\": \\"Service\\",\\n \\"Name\\": \\"my-service\\",\\n \\"Configs\\": [\\n {\\n \\"Key\\": \\"rate_limit\\",\\n \\"Value\\": \\"100\\",\\n \\"CreatedAt\\": \\"2024-01-01T10:00:00Z\\",\\n \\"UpdatedAt\\": \\"2024-01-01T10:00:00Z\\"\\n }\\n ],\\n \\"Page\\": 1,\\n \\"PageSize\\": 100,\\n \\"Total\\": 150,\\n \\"HasMore\\": true\\n}","type":"json"}]', ], 'ListGateway' => [ 'summary' => 'Lists private gateways.', 'path' => '/api/v2/gateways', 'methods' => ['get'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '192662', 'abilityTreeNodes' => ['FEATURElearn6PC7M4'], ], 'parameters' => [ [ 'name' => 'GatewayId', 'in' => 'query', 'schema' => ['description' => 'The ID of the private gateway. You can obtain the ID from the private\\_gateway\\_id field in the response of the ListResources operation.', 'type' => 'string', 'required' => false, 'example' => 'gw-1uhcqmsc7x22******', 'title' => ''], ], [ 'name' => 'PageNumber', 'in' => 'query', 'schema' => ['description' => 'The page number of the gateway list to return. The default value is 1.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''], ], [ 'name' => 'PageSize', 'in' => 'query', 'schema' => ['description' => 'The number of gateways to return on each page. The default value is 100.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '100', 'title' => ''], ], [ 'name' => 'GatewayName', 'in' => 'query', 'schema' => ['description' => 'The alias of the private gateway.', 'type' => 'string', 'required' => false, 'example' => 'mygateway1', 'title' => ''], ], [ 'name' => 'ResourceName', 'in' => 'query', 'schema' => ['description' => 'The ID of the resource group. You can obtain the ID from the ResourceId field in the response of the [ListResources](~~412133~~) operation.', 'type' => 'string', 'required' => false, 'example' => 'eas-r-4gt8twzwllfo******', 'title' => ''], ], [ 'name' => 'InternetEnabled', 'in' => 'query', 'schema' => ['description' => 'Specifies whether to enable access over the public network.', 'type' => 'boolean', 'required' => false, 'example' => 'true', 'title' => ''], ], [ 'name' => 'Status', 'in' => 'query', 'schema' => ['description' => 'The status of the gateway.', 'type' => 'string', 'required' => false, 'example' => 'Running', 'title' => ''], ], [ 'name' => 'ChargeType', 'in' => 'query', 'schema' => [ 'description' => 'The billing method.', 'enumValueTitles' => ['PostPaid' => 'Pay-as-you-go', 'PrePaid' => 'Subscription'], 'type' => 'string', 'required' => false, 'example' => 'PrePaid', 'title' => '', ], ], [ 'name' => 'Sort', 'in' => 'query', 'schema' => [ 'description' => 'The field to sort by.', 'enumValueTitles' => ['Status' => 'Status', 'ChargeType' => 'Billing method', 'CreateTime' => 'Creation time', 'UpdateTime' => 'Update time', 'InternetEnabled' => 'Public network access', 'GatewayType' => 'Gateway type', 'GatewayName' => 'Gateway name'], 'type' => 'string', 'required' => false, 'example' => 'CreateTime', 'title' => '', ], ], [ 'name' => 'Order', 'in' => 'query', 'schema' => [ 'description' => 'The sort order.', 'enumValueTitles' => ['asc' => 'Ascending', 'desc' => 'Descending'], 'type' => 'string', 'required' => false, 'example' => 'asc', 'title' => '', ], ], [ 'name' => 'GatewayType', 'in' => 'query', 'schema' => [ 'description' => 'The type of the gateway.', 'enumValueTitles' => ['FullyManaged' => 'Fully-managed dedicated gateway', 'Application' => 'Application dedicated gateway'], 'type' => 'string', 'required' => false, 'example' => 'Application', 'title' => '', ], ], [ 'name' => 'Label', 'in' => 'query', 'style' => 'json', 'schema' => [ 'type' => 'object', 'additionalProperties' => ['description' => 'The tag to filter by, in {"key":"value"} format. You can set the value to null or an empty string to filter only by the key.', 'type' => 'string', 'example' => '{"key1":"value1","key2":null}', 'title' => ''], 'title' => '', 'description' => 'Filter by tag.', 'required' => false, 'example' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => 'The returned result.', 'type' => 'object', 'properties' => [ 'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID.', 'type' => 'string', 'example' => '40325405-579C-4D82****'], 'Gateways' => [ 'description' => 'The list of private gateways.', 'type' => 'array', 'items' => [ 'description' => 'The details of the private gateway.', 'type' => 'object', 'properties' => [ 'GatewayId' => ['description' => 'The ID of the private gateway.', 'type' => 'string', 'example' => 'gw-1uhcqmsc7x22******', 'title' => ''], 'GatewayName' => ['description' => 'The alias of the private gateway.', 'type' => 'string', 'example' => 'mygateway1', 'title' => ''], 'InstanceType' => ['description' => 'The instance type used by the private gateway.', 'type' => 'string', 'example' => '2c4g', 'title' => ''], 'IntranetDomain' => ['description' => 'The internal network endpoint.', 'type' => 'string', 'example' => 'gw-1uhcqmsc7x22******-1801786532******-vpc.cn-wulanchabu.pai-eas.aliyuncs.com', 'title' => ''], 'InternetEnabled' => ['description' => 'Indicates whether public network access is enabled.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], 'InternetDomain' => ['description' => 'The public network endpoint.', 'type' => 'string', 'example' => 'gw-1uhcqmsc7x22******-1801786532******.cn-wulanchabu.pai-eas.aliyuncs.com', 'title' => ''], 'CreateTime' => ['description' => 'The time when the private gateway was created. The time is in UTC.', 'type' => 'string', 'example' => '2020-05-19T14:19:42Z', 'title' => ''], 'UpdateTime' => ['description' => 'The time when the private gateway was last updated. The time is in UTC.', 'type' => 'string', 'example' => '2021-02-24T11:52:17Z', 'title' => ''], 'Status' => [ 'description' => 'The status of the private gateway.', 'enumValueTitles' => ['Creating' => 'The gateway is being created.', 'Stopped' => 'The gateway is stopped.', 'Failed' => 'The gateway has failed.', 'Running' => 'The gateway is running.', 'Deleted' => 'The gateway is deleted.', 'Deleting' => 'The gateway is being deleted.', 'Waiting' => 'The gateway is waiting.'], 'type' => 'string', 'example' => 'Running', 'title' => '', ], 'Replicas' => ['description' => 'The number of nodes for the private gateway.', 'type' => 'integer', 'format' => 'int32', 'example' => '2', 'title' => ''], 'IsDefault' => ['description' => 'Indicates whether it is the default private gateway.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], 'ChargeType' => ['description' => 'The billing method. Valid values:'."\n" ."\n" .'- PrePaid: Subscription.'."\n" ."\n" .'- PostPaid: Pay-as-you-go.', 'type' => 'string', 'example' => 'PostPaid', 'title' => ''], 'SSLRedirectionEnabled' => ['description' => 'Indicates whether HTTP to HTTPS redirection is enabled.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], 'IntranetEnabled' => ['description' => 'Indicates whether internal network access is enabled.', 'type' => 'boolean', 'title' => '', 'example' => ''], 'Labels' => [ 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'LabelKey' => ['description' => 'The key of the gateway tag.', 'type' => 'string', 'example' => 'key1', 'title' => ''], 'LabelValue' => ['description' => 'The value of the gateway tag.', 'type' => 'string', 'example' => 'value1', 'title' => ''], ], 'description' => 'The gateway tag object.', 'title' => '', 'example' => '', ], 'description' => 'The list of gateway tags.', 'title' => '', 'example' => '', ], ], 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], 'PageNumber' => ['description' => 'The page number of the returned page.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], 'PageSize' => ['description' => 'The number of entries returned per page.', 'type' => 'integer', 'format' => 'int32', 'example' => '100', 'title' => ''], 'TotalCount' => ['description' => 'The total number of gateways.', 'type' => 'integer', 'format' => 'int64', 'example' => '5', 'title' => ''], ], 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"40325405-579C-4D82****\\",\\n \\"Gateways\\": [\\n {\\n \\"GatewayId\\": \\"gw-1uhcqmsc7x22******\\",\\n \\"GatewayName\\": \\"mygateway1\\",\\n \\"InstanceType\\": \\"2c4g\\",\\n \\"IntranetDomain\\": \\"gw-1uhcqmsc7x22******-1801786532******-vpc.cn-wulanchabu.pai-eas.aliyuncs.com\\",\\n \\"InternetEnabled\\": true,\\n \\"InternetDomain\\": \\"gw-1uhcqmsc7x22******-1801786532******.cn-wulanchabu.pai-eas.aliyuncs.com\\",\\n \\"CreateTime\\": \\"2020-05-19T14:19:42Z\\",\\n \\"UpdateTime\\": \\"2021-02-24T11:52:17Z\\",\\n \\"Status\\": \\"Running\\",\\n \\"Replicas\\": 2,\\n \\"IsDefault\\": true,\\n \\"ChargeType\\": \\"PostPaid\\",\\n \\"SSLRedirectionEnabled\\": true,\\n \\"IntranetEnabled\\": false,\\n \\"Labels\\": [\\n {\\n \\"LabelKey\\": \\"key1\\",\\n \\"LabelValue\\": \\"value1\\"\\n }\\n ]\\n }\\n ],\\n \\"PageNumber\\": 1,\\n \\"PageSize\\": 100,\\n \\"TotalCount\\": 5\\n}","type":"json"}]', 'title' => 'ListGateway', 'changeSet' => [ ['createdAt' => '2024-11-28T05:35:59.000Z', 'description' => 'Response parameters changed'], ['createdAt' => '2024-10-11T02:05:06.000Z', 'description' => 'Request parameters changed, Response parameters changed'], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListGateway'], ], ], 'ramActions' => [ [ 'operationType' => 'list', 'ramAction' => [ 'action' => 'eas:ListGateway', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'PAI', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], ], 'ListGatewayDomains' => [ 'summary' => 'Lists the custom domain names for a private gateway.', 'path' => '/api/v2/gateways/{ClusterId}/{GatewayId}/domains', 'methods' => ['get'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '245872', 'abilityTreeNodes' => ['FEATURElearnMC2VJP'], ], 'parameters' => [ [ 'name' => 'ClusterId', 'in' => 'path', 'schema' => ['description' => 'The region where the private gateway is located.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'cn-shanghai'], ], [ 'name' => 'GatewayId', 'in' => 'path', 'schema' => ['description' => 'The ID of the private gateway. To get this ID, see the GatewayId field in the response from the [ListGateway](https://apiworkbench.aliyun-inc.com/document/eas/2021-07-01/ListGateway?spm=openapi-amp.newDocPublishment.0.0.765e281fL2IcjJ\\&Env=online) API operation.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'gw-1uhcqmsc7x22******'], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => 'The returned results.', 'type' => 'object', 'properties' => [ 'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID.', 'type' => 'string', 'example' => '40325405-579C-4D82****'], 'Message' => ['description' => 'The message returned for the request.', 'type' => 'string', 'title' => '', 'example' => 'Successfully get custom domains'], 'CustomDomains' => [ 'description' => 'The list of custom domain names.', 'type' => 'array', 'items' => [ 'description' => 'The details of the custom domain name.', 'type' => 'object', 'properties' => [ 'Type' => [ 'description' => 'The type of the domain name.', 'type' => 'string', 'enumValueTitles' => ['intranet' => 'internal same-region endpoint', 'internet' => 'public domain name'], 'title' => '', 'example' => 'intranet', ], 'CertificateId' => ['description' => 'The ID of the SSL certificate attached to the domain name. To obtain the certificate ID, upload or purchase a certificate in the [Digital Certificate Management Service](https://yundunnext.console.aliyun.com/?spm=5176.2020520163.console-base_help.2.4b3baJixaJixOc\\&p=cas) console.', 'type' => 'string', 'title' => '', 'example' => '1473**25'], 'Domain' => ['description' => 'The custom domain name.', 'type' => 'string', 'title' => '', 'example' => 'test.com'], 'CertificateName' => ['type' => 'string', 'description' => 'The name of the SSL certificate.', 'title' => '', 'example' => 'cert-9955038'], 'CertificateStartDate' => ['type' => 'string', 'description' => 'The issuance date of the certificate.', 'title' => '', 'example' => '2018-07-13'], 'CertificateEndDate' => ['type' => 'string', 'description' => 'The expiration date of the certificate.', 'title' => '', 'example' => '2023-10-25'], 'CreateTime' => ['type' => 'string', 'description' => 'The time when the domain name was created.', 'title' => '', 'example' => '2020-05-19T14:19:42Z'], 'UpdateTime' => ['type' => 'string', 'description' => 'The time when the domain name was last updated.', 'title' => '', 'example' => '2021-05-19T14:19:42Z'], 'CertificateStatus' => [ 'type' => 'string', 'description' => 'The status of the domain name.', 'enumValueTitles' => ['Succeeded' => 'The operation was successful.', 'Failed' => 'The operation failed.', 'Attaching' => 'The certificate is being attached.', 'Deleting' => 'The domain name is being deleted.'], 'title' => '', 'example' => 'Succeeded', ], ], 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], ], 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"40325405-579C-4D82****\\",\\n \\"Message\\": \\"Successfully get custom domains\\",\\n \\"CustomDomains\\": [\\n {\\n \\"Type\\": \\"intranet\\",\\n \\"CertificateId\\": \\"1473**25\\",\\n \\"Domain\\": \\"test.com\\",\\n \\"CertificateName\\": \\"cert-9955038\\",\\n \\"CertificateStartDate\\": \\"2018-07-13\\",\\n \\"CertificateEndDate\\": \\"2023-10-25\\",\\n \\"CreateTime\\": \\"2020-05-19T14:19:42Z\\",\\n \\"UpdateTime\\": \\"2021-05-19T14:19:42Z\\",\\n \\"CertificateStatus\\": \\"Succeeded\\"\\n }\\n ]\\n}","type":"json"}]', 'title' => 'ListGatewayDomains', 'changeSet' => [ ['createdAt' => '2025-06-13T01:48:17.000Z', 'description' => 'Response parameters changed'], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListGatewayDomains'], ], ], 'ramActions' => [ [ 'operationType' => 'list', 'ramAction' => [ 'action' => 'eas:ListGatewayDomains', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'PAI', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], ], 'ListGatewayIntranetLinkedVpc' => [ 'summary' => 'Lists the internal access endpoints of a private gateway.', 'path' => '/api/v2/gateways/{ClusterId}/{GatewayId}/intranet_endpoint_linked_vpc', 'methods' => ['get'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '192205', 'abilityTreeNodes' => ['FEATURElearnMC2VJP'], ], 'parameters' => [ [ 'name' => 'ClusterId', 'in' => 'path', 'schema' => ['description' => 'The region ID of the private gateway.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'cn-hangzhou'], ], [ 'name' => 'GatewayId', 'in' => 'path', 'schema' => ['description' => 'The ID of the private gateway. To obtain the ID, see the private\\_gateway\\_id field in the response of the [ListResources](~~412133~~) operation.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'gw-1uhcqmsc7x22******'], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => 'The response.', 'type' => 'object', 'properties' => [ 'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID.', 'type' => 'string', 'example' => '40325405-579C-4D82****'], 'GatewayId' => ['description' => 'The ID of the private gateway.', 'type' => 'string', 'title' => '', 'example' => 'gw-1uhcqmsc7x22******'], 'IntranetLinkedVpcList' => [ 'description' => 'The list of internal access endpoints.', 'type' => 'array', 'items' => [ 'description' => 'An internal access endpoint.', 'type' => 'object', 'properties' => [ 'Ip' => ['description' => 'The IP address.', 'type' => 'string', 'title' => '', 'example' => '192.168.10.11'], 'Status' => [ 'description' => 'The status. Valid values:'."\n" ."\n" .'- Creating: The endpoint is being created.'."\n" ."\n" .'- Running: The endpoint is running.', 'type' => 'string', 'enumValueTitles' => ['Creating' => 'Creating', 'Running' => 'Running'], 'title' => '', 'example' => 'Running', ], 'VpcId' => ['description' => 'The ID of the virtual private cloud (VPC).', 'type' => 'string', 'title' => '', 'example' => 'vpc-2zetuli9ws0qgjd******'], 'VSwitchId' => ['description' => 'The ID of the virtual switch.', 'type' => 'string', 'title' => '', 'example' => 'vsw-8vb2qjoiio6m9pg******'], 'SecurityGroupId' => ['description' => 'The ID of the security group.', 'type' => 'string', 'title' => '', 'example' => 'sg-2ze4pgstgszvgq******'], 'AuthoritativeDnsEnabled' => ['type' => 'boolean', 'description' => 'Indicates whether authoritative DNS resolution is enabled. Default value: false.', 'title' => '', 'example' => 'true'], 'AccountId' => ['type' => 'string', 'description' => 'The ID of the Alibaba Cloud account that owns the VPC.', 'title' => '', 'example' => '161*******66'], ], 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], ], 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"40325405-579C-4D82****\\",\\n \\"GatewayId\\": \\"gw-1uhcqmsc7x22******\\",\\n \\"IntranetLinkedVpcList\\": [\\n {\\n \\"Ip\\": \\"192.168.10.11\\",\\n \\"Status\\": \\"Running\\",\\n \\"VpcId\\": \\"vpc-2zetuli9ws0qgjd******\\",\\n \\"VSwitchId\\": \\"vsw-8vb2qjoiio6m9pg******\\",\\n \\"SecurityGroupId\\": \\"sg-2ze4pgstgszvgq******\\",\\n \\"AuthoritativeDnsEnabled\\": true,\\n \\"AccountId\\": \\"161*******66\\"\\n }\\n ]\\n}","type":"json"}]', 'title' => 'ListGatewayIntranetLinkedVpc', 'description' => '**Before you call this operation, make sure that you understand the billing methods and [pricing](~~144261~~) of Elastic Algorithm Service (EAS).**', 'changeSet' => [ ['createdAt' => '2025-04-22T09:35:38.000Z', 'description' => 'Response parameters changed'], ['createdAt' => '2025-03-13T07:44:56.000Z', 'description' => 'Response parameters changed'], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListGatewayIntranetLinkedVpc'], ], ], 'ramActions' => [ [ 'operationType' => 'list', 'ramAction' => [ 'action' => 'eas:ListGatewayIntranetLinkedVpc', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'PAI', 'resourceType' => 'Gateway', 'arn' => 'acs:eas:{#regionId}:{#accountId}:gateway/{#GatewayId}'], ], ], ], ], ], 'ListGatewayIntranetLinkedVpcPeer' => [ 'summary' => 'Lists the VPC peering connections for a gateway\'s private network endpoint.', 'path' => '/api/v2/gateways/{ClusterId}/{GatewayId}/intranet_endpoint_linked_vpc_peer', 'methods' => ['get'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '245616', 'abilityTreeNodes' => ['FEATURElearnMC2VJP'], ], 'parameters' => [ [ 'name' => 'ClusterId', 'in' => 'path', 'schema' => ['description' => 'The region where the private gateway is located.', 'type' => 'string', 'required' => false, 'example' => 'cn-wulanchabu', 'title' => ''], ], [ 'name' => 'GatewayId', 'in' => 'path', 'schema' => ['description' => 'The ID of the private gateway. For more information, see [ListGateway](~~2841911~~).', 'type' => 'string', 'required' => false, 'example' => 'gw-1uhcqmsc7x22******', 'title' => ''], ], [ 'name' => 'VpcId', 'in' => 'query', 'schema' => ['description' => 'The ID of the attached virtual private cloud (VPC). For more information, see [ListGatewayIntranetLinkedVpc](~~2621223~~).'."\n" ."\n" .'- Specify a VPC ID to query only the VPC peers for that VPC.'."\n" ."\n" .'- If you do not specify a VPC ID, all VPC peers are returned.', 'type' => 'string', 'required' => false, 'example' => 'vpc-2zetuli9ws0qgjd******', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => 'The response.', 'type' => 'object', 'properties' => [ 'requestId' => ['title' => 'Id of the request', 'description' => 'The request ID.', 'type' => 'string', 'example' => '40325405-579C-4D82****'], 'GatewayId' => ['description' => 'The private gateway ID.', 'type' => 'string', 'example' => 'gw-1uhcqmsc7x22******', 'title' => ''], 'PeerVpcList' => [ 'description' => 'A list of peer VPCs.', 'type' => 'array', 'items' => [ 'description' => 'A list of peer VPCs.', 'type' => 'object', 'properties' => [ 'VpcId' => ['description' => 'The VPC ID.', 'type' => 'string', 'example' => 'vpc-2zetuli9ws0qgjd******', 'title' => ''], 'PeerVpcs' => [ 'description' => 'A list of peer VPC IDs.', 'type' => 'array', 'items' => [ 'description' => 'A list of peer VPC IDs.', 'type' => 'object', 'properties' => [ 'VpcId' => ['description' => 'The ID of the peer VPC.', 'type' => 'string', 'example' => 'vpc-uf66uio7md****', 'title' => ''], 'Region' => ['description' => 'The region where the peer VPC is located.', 'type' => 'string', 'example' => 'cn-shanghai', 'title' => ''], 'Status' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], ], 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], ], 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], ], 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], 'title' => 'ListGatewayIntranetLinkedVpcPeer', 'changeSet' => [ ['createdAt' => '2025-06-13T01:48:17.000Z', 'description' => 'Response parameters changed'], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListGatewayIntranetLinkedVpcPeer'], ], ], 'ramActions' => [ [ 'operationType' => 'list', 'ramAction' => [ 'action' => 'eas:ListGatewayIntranetLinkedVpcPeer', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'PAI', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"40325405-579C-4D82****\\",\\n \\"GatewayId\\": \\"gw-1uhcqmsc7x22******\\",\\n \\"PeerVpcList\\": [\\n {\\n \\"VpcId\\": \\"vpc-2zetuli9ws0qgjd******\\",\\n \\"PeerVpcs\\": [\\n {\\n \\"VpcId\\": \\"vpc-uf66uio7md****\\",\\n \\"Region\\": \\"cn-shanghai\\",\\n \\"Status\\": \\"\\"\\n }\\n ]\\n }\\n ]\\n}","type":"json"}]', ], 'ListGatewayIntranetSupportedZone' => [ 'summary' => 'Obtains the zones supported by a gateway within an intranet.', 'path' => '/api/v2/gateways/{ClusterId}/{GatewayId}/intranet_supported_zone', 'methods' => ['get'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '249662', 'abilityTreeNodes' => ['FEATURElearnMC2VJP'], 'autoTest' => true, 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ 'name' => 'GatewayId', 'in' => 'path', 'schema' => ['description' => 'The private gateway ID. For more information about how to obtain the private gateway ID, see the GatewayId parameter in the response parameters of the [ListGateway](https://apiworkbench.aliyun-inc.com/document/eas/2021-07-01/ListGateway?spm=openapi-amp.newDocPublishment.0.0.765e281fL2IcjJ\\&Env=online) operation.'."\n", 'type' => 'string', 'required' => false, 'example' => 'gw-1uhcqmsc7x22******', 'title' => ''], ], [ 'name' => 'ClusterId', 'in' => 'path', 'schema' => ['description' => 'The region ID of the private gateway.'."\n", 'type' => 'string', 'required' => false, 'example' => 'cn-wulanchabu', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => 'The response parameters.'."\n", 'type' => 'object', 'properties' => [ 'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '40325405-579C-4D82****'], 'Zones' => [ 'description' => 'The zones that are supported by the region.'."\n", 'type' => 'array', 'items' => ['description' => 'The zone.'."\n", 'type' => 'string', 'example' => 'cn-hangzhou-a', 'title' => ''], 'title' => '', 'example' => '', ], ], 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"40325405-579C-4D82****\\",\\n \\"Zones\\": [\\n \\"cn-hangzhou-a\\"\\n ]\\n}","type":"json"}]', 'title' => 'ListGatewayIntranetSupportedZone', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListGatewayIntranetSupportedZone'], ], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'eas:ListGatewayIntranetSupportedZone', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'PAI', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], ], 'ListGroups' => [ 'summary' => 'Lists created service groups.', 'path' => '/api/v2/groups', 'methods' => ['get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => [], 'produces' => [], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '153481', 'abilityTreeNodes' => ['FEATURElearnKDX12S'], ], 'parameters' => [ [ 'name' => 'PageSize', 'in' => 'query', 'schema' => ['title' => '', 'description' => 'The number of service groups to display on each page in a paged query. Settings for paging default to 100.', 'type' => 'string', 'required' => false, 'example' => '20'], ], [ 'name' => 'PageNumber', 'in' => 'query', 'schema' => ['title' => '', 'description' => 'The current page number of the service group list. Default value: 1.', 'type' => 'string', 'required' => false, 'example' => '1'], ], [ 'name' => 'Filter', 'in' => 'query', 'schema' => ['title' => '', 'description' => 'The filter name. Fuzzy match is supported.', 'type' => 'string', 'required' => false, 'example' => 'foo'], ], [ 'name' => 'WorkspaceId', 'in' => 'query', 'schema' => ['description' => 'The workspace ID.', 'type' => 'string', 'required' => false, 'example' => '123***', 'title' => ''], ], [ 'name' => 'TrafficMode', 'in' => 'query', 'schema' => ['title' => '', 'description' => 'The traffic allocation method used to filter service groups.', 'type' => 'string', 'required' => false, 'example' => 'auto'], ], [ 'name' => 'Sort', 'in' => 'query', 'schema' => ['title' => '', 'description' => 'The field by which to sort the results.', 'type' => 'string', 'required' => false, 'example' => 'CreateTime'], ], [ 'name' => 'Order', 'in' => 'query', 'schema' => ['title' => '', 'description' => 'The sort order of the results.', 'type' => 'string', 'required' => false, 'example' => 'desc'], ], [ 'name' => 'Labels', 'in' => 'query', 'style' => 'json', 'schema' => [ 'description' => 'The user-defined labels.', 'type' => 'object', 'required' => false, 'additionalProperties' => ['description' => '按{"key":"value"}格式填写。Value 可为 null 或空字符,代表只按 Key 过滤,Value 可为任意值。', 'type' => 'string', 'example' => '{"key1":"value1","key2":null}'."\n", 'title' => ''], 'title' => '', 'example' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => '', 'description' => 'The response.', 'type' => 'object', 'properties' => [ 'RequestId' => ['title' => '', 'description' => 'The request ID.', 'type' => 'string', 'example' => '40325405-579C-4D82****'], 'Groups' => [ 'description' => 'The list of service groups.', 'type' => 'array', 'items' => ['description' => 'The service group information.', '$ref' => '#/components/schemas/Group', 'title' => '', 'example' => ''], 'title' => '', 'example' => '', ], 'PageSize' => ['description' => 'The number of groups displayed per page.', 'type' => 'integer', 'format' => 'int64', 'example' => '20', 'title' => ''], 'PageNumber' => ['description' => 'The current page number of the returned group list.', 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => ''], 'TotalCount' => ['description' => 'The total number of service groups.', 'type' => 'integer', 'format' => 'int64', 'example' => '5', 'title' => ''], ], 'example' => '', ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"40325405-579C-4D82****\\",\\n \\"Groups\\": [\\n {\\n \\"Name\\": \\"foo\\",\\n \\"ClusterId\\": \\"cn-shanghai\\",\\n \\"CreateTime\\": \\"2020-05-19T14:19:42Z\\",\\n \\"UpdateTime\\": \\"2021-01-29T11:13:20Z\\",\\n \\"QueueService\\": \\"qservice\\",\\n \\"InternetEndpoint\\": \\"http://1110*****.cn-hangzhou.pai-eas.aliyuncs.com/api/predict/test_group\\",\\n \\"IntranetEndpoint\\": \\"http://1110*****.vpc.cn-hangzhou.pai-eas.aliyuncs.com/api/predict/test_group\\",\\n \\"AccessToken\\": \\"MzJiMDI5MDliODc0MTlkYmI0ZDhlYmExYjczYTIyZTE3Zm********\\",\\n \\"TrafficMode\\": \\"auto\\",\\n \\"Network\\": {\\n \\"VpcId\\": \\"\\",\\n \\"VSwitchId\\": \\"\\",\\n \\"SecurityGroupId\\": \\"\\",\\n \\"GatewayId\\": \\"\\"\\n },\\n \\"ParentUid\\": \\"\\",\\n \\"CallerUid\\": \\"\\",\\n \\"Labels\\": [\\n {\\n \\"LabelKey\\": \\"\\",\\n \\"LabelValue\\": \\"\\"\\n }\\n ]\\n }\\n ],\\n \\"PageSize\\": 20,\\n \\"PageNumber\\": 1,\\n \\"TotalCount\\": 5\\n}","type":"json"}]', 'title' => 'List service groups', 'changeSet' => [ ['createdAt' => '2023-09-01T08:10:25.000Z', 'description' => 'Request parameters changed'], ['createdAt' => '2022-09-27T03:16:08.000Z', 'description' => 'OpenAPI offline'], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListGroups'], ], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'eas:ListGroups', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'PAI', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], ], 'ListResourceInstanceWorker' => [ 'summary' => 'Lists the service workers of a resource instance.', 'path' => '/api/v2/resources/{ClusterId}/{ResourceId}/instance/{InstanceName}/workers', 'methods' => ['get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'produces' => ['application/json'], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '37099', 'abilityTreeNodes' => ['FEATURElearnRPDTZG', 'FEATURElearnN5R68Z'], ], 'parameters' => [ [ 'name' => 'ClusterId', 'in' => 'path', 'schema' => ['description' => 'The ID of the cluster where the resource group is located.', 'type' => 'string', 'required' => true, 'example' => 'cn-shanghai', 'title' => ''], ], [ 'name' => 'ResourceId', 'in' => 'path', 'schema' => ['description' => 'The ID of the resource group. For more information, see [ListResources](~~412133~~).', 'type' => 'string', 'required' => true, 'example' => 'eas-r-adfabas', 'title' => ''], ], [ 'name' => 'InstanceName', 'in' => 'path', 'schema' => ['description' => 'The name of the instance in the resource group. For more information, see [ListResourceInstances](~~412129~~). The instance name is the value of the HostName parameter in the response.', 'type' => 'string', 'required' => true, 'example' => 'cne10', 'title' => ''], ], [ 'name' => 'PageNumber', 'in' => 'query', 'schema' => ['description' => 'The page number. The value starts from 1. The default value is 1.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''], ], [ 'name' => 'PageSize', 'in' => 'query', 'schema' => ['description' => 'The number of entries to return on each page. The default value is 100.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '20', 'title' => ''], ], [ 'name' => 'WorkerName', 'in' => 'query', 'schema' => ['description' => 'The name of the worker instance.', 'type' => 'string', 'required' => false, 'example' => 'test-fd95xxxxx-xxxxxx ', 'title' => ''], ], [ 'name' => 'Status', 'in' => 'query', 'schema' => [ 'description' => 'The status of the worker instance.', 'enumValueTitles' => ['Terminating' => 'Terminating', 'Stopped' => 'Stopped', 'Failed' => 'Failed', 'Running' => 'Running', 'Waiting' => 'Waiting'], 'type' => 'string', 'required' => false, 'example' => 'Running', 'title' => '', ], ], [ 'name' => 'Order', 'in' => 'query', 'schema' => [ 'description' => 'The sort order.'."\n" ."\n" .'- Asc: ascending order.'."\n" ."\n" .'- Desc: descending order.', 'enumValueTitles' => ['Asc' => 'Asc', 'Desc' => 'Desc'], 'type' => 'string', 'required' => false, 'example' => 'Desc', 'title' => '', ], ], [ 'name' => 'Sort', 'in' => 'query', 'schema' => [ 'description' => 'The field to sort by.', 'enumValueTitles' => [ 'Status' => 'Status', 'MemoryLimit' => 'MemoryLimit', 'Ready' => 'Ready', 'CpuLimit' => 'CpuLimit', 'ServiceName' => 'ServiceName', 'Restarts' => 'Restarts', 'StartTime' => 'StartTime', 'MemoryRequest' => 'MemoryRequest', 'GpuLimit' => 'GpuLimit', 'GpuRequest' => 'GpuRequest', 'CpuRequest' => 'CpuRequest', 'Name' => 'Name', ], 'type' => 'string', 'required' => false, 'example' => 'CreateTime', 'title' => '', ], ], [ 'name' => 'ServiceName', 'in' => 'query', 'schema' => ['description' => 'The service name.', 'type' => 'string', 'required' => false, 'example' => 'echo', 'title' => ''], ], [ 'name' => 'Ready', 'in' => 'query', 'schema' => [ 'description' => 'Indicates whether the health check passed.', 'enumValueTitles' => ['true' => 'true', 'false' => 'false'], 'type' => 'boolean', 'required' => false, 'example' => 'true', 'title' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => 'The response.', 'type' => 'object', 'properties' => [ 'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID.', 'type' => 'string', 'example' => '40325405-579C-4D82****'], 'Pods' => [ 'title' => '', 'description' => 'The list of workers.', 'type' => 'array', 'items' => ['description' => 'The worker information.', '$ref' => '#/components/schemas/ResourceInstanceWorker', 'title' => '', 'example' => ''], 'example' => '', ], 'PageNumber' => ['description' => 'The returned page number.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '1'], 'PageSize' => ['description' => 'The number of entries returned per page.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '20'], 'TotalCount' => ['description' => 'The total number of workers.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '1'], ], 'example' => '', ], ], 404 => [], ], 'title' => 'ListResourceInstanceWorker', 'changeSet' => [ ['createdAt' => '2025-01-21T08:56:51.000Z', 'description' => 'Request parameters changed'], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListResourceInstanceWorker'], ], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'eas:ListResourceInstanceWorker', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'PAI', 'resourceType' => 'Resource', 'arn' => 'acs:eas:{#regionId}:{#accountId}:resource/{#ResourceId}'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"40325405-579C-4D82****\\",\\n \\"Pods\\": [\\n {\\n \\"Name\\": \\"test-india-5bbbfdbc98-****\\",\\n \\"ServiceName\\": \\"test-in****\\",\\n \\"Status\\": \\"Running\\",\\n \\"Ready\\": true,\\n \\"CpuRequest\\": 1,\\n \\"GpuRequest\\": 0,\\n \\"MemoryRquest\\": 200,\\n \\"CpuLimit\\": 2,\\n \\"GpuLimit\\": 0,\\n \\"MemoryLimit\\": 400,\\n \\"RestartCount\\": 3,\\n \\"StartTime\\": \\"2021-05-09T09:56:19Z\\"\\n }\\n ],\\n \\"PageNumber\\": 1,\\n \\"PageSize\\": 20,\\n \\"TotalCount\\": 1\\n}","type":"json"}]', ], 'ListResourceInstances' => [ 'path' => '/api/v2/resources/{ClusterId}/{ResourceId}/instances', 'methods' => ['get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '37095', 'abilityTreeNodes' => ['FEATURElearnN5R68Z'], ], 'parameters' => [ [ 'name' => 'ClusterId', 'in' => 'path', 'schema' => ['description' => 'The ID of the region where the resource group is located.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'cn-shanghai'], ], [ 'name' => 'ResourceId', 'in' => 'path', 'schema' => ['description' => 'The ID of the resource group. For more information, see [ListResources](~~412133~~).', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'iot'], ], [ 'name' => 'ChargeType', 'in' => 'query', 'schema' => [ 'description' => 'Filters instances by billing method. Valid values:'."\n" ."\n" .'- PrePaid: subscription.'."\n" ."\n" .'- PostPaid: pay-as-you-go.', 'enumValueTitles' => ['PostPaid' => 'pay-as-you-go', 'PrePaid' => 'subscription'], 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'PrePaid', ], ], [ 'name' => 'PageNumber', 'in' => 'query', 'schema' => ['description' => 'The page number. The value starts from 1. The default value is 1.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'required' => false, 'example' => '1'], ], [ 'name' => 'PageSize', 'in' => 'query', 'schema' => ['description' => 'The number of instances to return on each page. Default value: 100.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'required' => false, 'example' => '20'], ], [ 'name' => 'InstanceName', 'in' => 'query', 'schema' => ['description' => 'Filter by instance name.', 'type' => 'string', 'required' => false, 'example' => 'e-xxxx***', 'title' => ''], ], [ 'name' => 'InstanceId', 'in' => 'query', 'schema' => ['description' => 'Filter by instance ID. For more information, see [ListResourceInstances](~~412129~~).', 'type' => 'string', 'required' => false, 'example' => 'i-bp1jd6x3uots****a', 'title' => ''], ], [ 'name' => 'InstanceIP', 'in' => 'query', 'schema' => ['description' => 'The IP address of the instance.', 'type' => 'string', 'required' => false, 'example' => '10.224.xx.xx', 'title' => ''], ], [ 'name' => 'Filter', 'in' => 'query', 'schema' => ['description' => 'A keyword for the search. You can search by instance ID or IP address.', 'type' => 'string', 'required' => false, 'example' => '10.224.xx.xx', 'title' => ''], ], [ 'name' => 'InstanceStatus', 'in' => 'query', 'schema' => [ 'description' => 'The status of the instance.', 'enumValueTitles' => ['Ready-SchedulingDisabled' => 'The instance is available but cannot be scheduled.', 'Ready' => 'Running', 'NotReady' => 'Not ready', 'Stopped' => 'Stopped', 'NotReady-SchedulingDisabled' => 'The instance is unavailable and cannot be scheduled.', 'Attaching' => 'Starting', 'Deleting' => 'Deleting', 'CreateFailed' => 'Creation failed'], 'type' => 'string', 'required' => false, 'example' => 'Ready', 'title' => '', ], ], [ 'name' => 'Label', 'in' => 'query', 'style' => 'json', 'schema' => [ 'description' => 'Filter by label.', 'type' => 'object', 'required' => false, 'additionalProperties' => ['description' => 'Enter the label in the \\`{"key":"value"}\\` format. The value can be \\`null\\` or an empty string. This lets you filter by key only, regardless of the value.', 'type' => 'string', 'example' => '{"key1":"value1","key2":null}', 'title' => ''], 'title' => '', 'example' => '', ], ], [ 'name' => 'Sort', 'in' => 'query', 'schema' => [ 'description' => 'The sort field.', 'enumValueTitles' => ['CreateTime' => 'Creation time', 'MemoryUsed' => 'Memory usage', 'GpuUsed' => 'GPU usage', 'ExpireTime' => 'Expiration time', 'CpuUsed' => 'CPU utilization'], 'type' => 'string', 'required' => false, 'example' => 'CreateTime', 'title' => '', ], ], [ 'name' => 'Order', 'in' => 'query', 'schema' => [ 'description' => 'The sort order.', 'enumValueTitles' => ['asc' => 'Ascending', 'desc' => 'Descending'], 'type' => 'string', 'required' => false, 'example' => 'desc', 'title' => '', ], ], [ 'name' => 'Zone', 'in' => 'query', 'schema' => ['description' => 'The zone of the instance.', 'type' => 'string', 'required' => false, 'example' => 'J', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => 'The response.', 'type' => 'object', 'properties' => [ 'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID.', 'type' => 'string', 'example' => '40325405-579C-4D82****'], 'Instances' => [ 'description' => 'The list of instances.', 'type' => 'array', 'items' => ['description' => 'The instance information.', '$ref' => '#/components/schemas/ResourceInstance', 'title' => '', 'example' => ''], 'title' => '', 'example' => '', ], 'PageNumber' => ['description' => 'The page number of the returned list of instances.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], 'PageSize' => ['description' => 'The number of instances returned on each page.', 'type' => 'integer', 'format' => 'int32', 'example' => '20', 'title' => ''], 'TotalCount' => ['description' => 'The total number of instances.', 'type' => 'integer', 'format' => 'int32', 'example' => '2', 'title' => ''], ], 'example' => '', ], ], 404 => [], ], 'title' => 'ListResourceInstances', 'summary' => 'Lists the instances in a specified dedicated resource group.', 'changeSet' => [ ['createdAt' => '2025-02-05T11:06:38.000Z', 'description' => 'Request parameters changed'], ['createdAt' => '2023-05-06T09:55:12.000Z', 'description' => 'Request parameters changed'], ['createdAt' => '2022-11-29T06:25:29.000Z', 'description' => 'Request parameters changed'], ['createdAt' => '2021-11-12T01:49:39.000Z', 'description' => 'Request parameters changed'], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListResourceInstances'], ], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'eas:ListResourceInstances', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'PAI', 'resourceType' => 'Resource', 'arn' => 'acs:eas:{#regionId}:{#accountId}:resource/{#ResourceId}'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"40325405-579C-4D82****\\",\\n \\"Instances\\": [\\n {\\n \\"InstanceId\\": \\"eas-i-1800z74n30kao****\\",\\n \\"InstanceName\\": \\"eas01122713204*****\\",\\n \\"InstanceIp\\": \\"11.227.XX.XX\\",\\n \\"InstanceStatus\\": \\"Ready\\",\\n \\"InstancePhase\\": \\"\\",\\n \\"InstanceCpuCount\\": 4,\\n \\"InstanceGpuCount\\": 0,\\n \\"InstanceMemory\\": \\"8192M\\",\\n \\"InstanceSystemDiskSize\\": 200,\\n \\"InstanceGpuMemory\\": \\"0G\\",\\n \\"InstanceUsedCpu\\": 2.4,\\n \\"InstanceUsedGpu\\": 0,\\n \\"InstanceUsedMemory\\": \\"1000M\\",\\n \\"InstanceType\\": \\"ecs.s6-c1m2.xlarge\\",\\n \\"CreateTime\\": \\"2020-07-05T22:51:32Z\\",\\n \\"ChargeType\\": \\"PrePaid\\",\\n \\"ExpiredTime\\": \\"2020-08-05T22:51:32Z\\",\\n \\"AutoRenewal\\": false,\\n \\"Arch\\": \\"arm64\\",\\n \\"Region\\": \\"cn-hangzhou\\",\\n \\"Zone\\": \\"cn-hangzhou-b\\",\\n \\"ResourceId\\": \\"eas-r-xxxxx\\",\\n \\"InstanceTenantIp\\": \\"192.168.XX.XX\\",\\n \\"InstanceUsedGpuMemory\\": \\"470M\\",\\n \\"Labels\\": [\\n {\\n \\"LabelKey\\": \\"key\\",\\n \\"LabelValue\\": \\"value\\"\\n }\\n ],\\n \\"LastCordonOperator\\": \\"\\",\\n \\"LastCordonReason\\": \\"\\"\\n }\\n ],\\n \\"PageNumber\\": 1,\\n \\"PageSize\\": 20,\\n \\"TotalCount\\": 2\\n}","type":"json"}]', ], 'ListResourceServices' => [ 'path' => '/api/v2/resources/{ClusterId}/{ResourceId}/services', 'methods' => ['get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => true, 'systemTags' => [ 'operationType' => 'get', 'abilityTreeCode' => '37100', 'abilityTreeNodes' => ['FEATURElearnN5R68Z'], ], 'parameters' => [ [ 'name' => 'ClusterId', 'in' => 'path', 'schema' => ['description' => 'The ID of the region to which the resource group belongs.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'cn-shanghai'], ], [ 'name' => 'ResourceId', 'in' => 'path', 'schema' => ['description' => 'The ID of the resource group. For more information about how to query the ID of a resource group, see [ListResources](~~412133~~).', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'iot'], ], [ 'name' => 'PageNumber', 'in' => 'query', 'schema' => ['description' => 'The page number. Pages start from page 1. Default value: 1.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'required' => false, 'example' => '1'], ], [ 'name' => 'PageSize', 'in' => 'query', 'schema' => ['description' => 'The number of entries per page. Default value: 100.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'required' => false, 'example' => '20'], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => 'The response parameters.', 'type' => 'object', 'properties' => [ 'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID.', 'type' => 'string', 'example' => '40325405-579C-4D82****'], 'Services' => [ 'description' => 'The services.', 'type' => 'array', 'items' => ['description' => 'The summary information about the service.', '$ref' => '#/components/schemas/Service', 'title' => '', 'example' => ''], 'title' => '', 'example' => '', ], 'PageNumber' => ['description' => 'The page number.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], 'PageSize' => ['description' => 'The number of entries per page.', 'type' => 'integer', 'format' => 'int32', 'example' => '20', 'title' => ''], 'TotalCount' => ['description' => 'The total number of entries returned.', 'type' => 'integer', 'format' => 'int32', 'example' => '2', 'title' => ''], ], 'example' => '', ], ], 404 => [], ], 'staticInfo' => [ 'substitutions' => ['eas::2021-07-01::ListServices'], ], 'title' => 'ListResourceServices', 'summary' => 'Queries a list of services that are deployed in the dedicated resource group.', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListResourceServices'], ], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'eas:ListResourceServices', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'PAI', 'resourceType' => 'Resource', 'arn' => 'acs:eas:{#regionId}:{#accountId}:resource/{#ResourceId}'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"40325405-579C-4D82****\\",\\n \\"Services\\": [\\n {\\n \\"ServiceGroup\\": \\"my_group\\",\\n \\"Memory\\": 1024,\\n \\"Cpu\\": 1,\\n \\"Image\\": \\"registry.cn-shanghai.aliyuncs.com/eas/echo_cn-shanghai:v0.0.1-20210129111320\\",\\n \\"Gpu\\": 0,\\n \\"TotalInstance\\": 1,\\n \\"AccessToken\\": \\"MzJiMDI5MDliODc0MTlkYmI0ZDhlYmExYjczYTIyZTE3Zm********\\",\\n \\"ResourceBurstable\\": true,\\n \\"InternetEndpoint\\": \\"http://10123*****.cn-shanghai.aliyuncs.com/api/predict/echo\\",\\n \\"ResourceAlias\\": \\"my_resource\\",\\n \\"Status\\": \\"Running\\",\\n \\"TrafficState\\": \\"standalone\\",\\n \\"RequestId\\": \\"40325405-579C-4D82********\\",\\n \\"Resource\\": \\"eas-r-xxxxxxx\\",\\n \\"SecondaryInternetEndpoint\\": \\"http://10123*****.cn-shanghai.aliyuncs.com/api/predict/async_path.echo\\\\n\\",\\n \\"Labels\\": [\\n {\\n \\"LabelValue\\": \\"value1\\",\\n \\"LabelKey\\": \\"key1\\"\\n }\\n ],\\n \\"Namespace\\": \\"echo\\",\\n \\"Weight\\": 100,\\n \\"Role\\": \\"Queue\\",\\n \\"SecondaryIntranetEndpoint\\": \\"http://10123*****.vpc.cn-shanghai.aliyuncs.com/api/predict/async_path.echo\\\\n\\",\\n \\"PendingInstance\\": 0,\\n \\"ServiceName\\": \\"echo\\",\\n \\"SafetyLock\\": \\"dangerous\\",\\n \\"Region\\": \\"cn-shanghai\\",\\n \\"AppType\\": \\"LLM\\",\\n \\"InstanceCountInResource\\": {\\n \\"Quota\\": 10,\\n \\"Public\\": 10,\\n \\"Dedicated\\": 10\\n },\\n \\"IntranetEndpoint\\": \\"http://10123*****.vpc.cn-shanghai.aliyuncs.com/api/predict/echo\\",\\n \\"QuotaId\\": \\"quotaxxxxx\\",\\n \\"Message\\": \\"Service start successfully\\",\\n \\"CurrentVersion\\": 1,\\n \\"RunningInstance\\": 1,\\n \\"WorkspaceId\\": \\"123445\\",\\n \\"CallerUid\\": \\"20123*******\\",\\n \\"Reason\\": \\"RUNNING\\",\\n \\"Source\\": \\"dsw\\",\\n \\"ServiceId\\": \\"eas-m-xxasdat\\",\\n \\"AppVersion\\": \\"v1\\",\\n \\"CronscalerEnabled\\": true,\\n \\"ServiceConfig\\": \\"{\\\\\\"metadata\\\\\\":{\\\\\\"cpu\\\\\\":1,\\\\\\"instance\\\\\\":1,\\\\\\"memory\\\\\\":1024},\\\\\\"name\\\\\\":\\\\\\"echo\\\\\\",\\\\\\"processor_entry\\\\\\":\\\\\\"libecho.so\\\\\\",\\\\\\"processor_path\\\\\\":\\\\\\"http://oss-cn-hangzhou-zmf.aliyuncs.com/059247/echo_processor_release.tar.gz\\\\\\",\\\\\\"processor_type\\\\\\":\\\\\\"cpp\\\\\\"}\\",\\n \\"Gateway\\": \\"gw-xxxxxx\\",\\n \\"AppSpecName\\": \\"llama_7b_fp16\\",\\n \\"GPUCorePercentage\\": 50,\\n \\"GPUMemory\\": 20,\\n \\"AppConfig\\": \\"{\\\\\\"ModelStorage\\\\\\":\\\\\\"oss\\\\\\"}\\",\\n \\"CreateTime\\": \\"2021-01-29T11:13:20Z\\",\\n \\"AutoscalerEnabled\\": true,\\n \\"ExtraData\\": \\"{\\\\\\"blue_green_services\\\\\\":[\\\\\\"test\\\\\\",\\\\\\"testxxxx\\\\\\"]}\\",\\n \\"LatestVersion\\": 1,\\n \\"UpdateTime\\": \\"2021-01-29T11:13:20Z\\",\\n \\"ServiceUid\\": \\"eas-m-xxasdat\\\\n\\",\\n \\"ParentUid\\": \\"11234*******\\",\\n \\"RoleAttrs\\": \\"{\\\\\\"ApproxMaxLength\\\\\\":null,\\\\\\"Length\\\\\\":null,\\\\\\"MaxPayloadBytes\\\\\\":null}\\"\\n }\\n ],\\n \\"PageNumber\\": 1,\\n \\"PageSize\\": 20,\\n \\"TotalCount\\": 2\\n}","type":"json"}]', ], 'ListResources' => [ 'summary' => 'Lists the resource groups for the current user.', 'path' => '/api/v2/resources', 'methods' => ['get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '37092', 'abilityTreeNodes' => ['FEATURElearnRPDTZG'], ], 'parameters' => [ [ 'name' => 'PageNumber', 'in' => 'query', 'schema' => ['description' => 'The page number. Pages start from 1. Default value: 1.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'required' => false, 'example' => '1'], ], [ 'name' => 'PageSize', 'in' => 'query', 'schema' => ['description' => 'The number of entries per page. Default value: 100.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'required' => false, 'example' => '20'], ], [ 'name' => 'ResourceName', 'in' => 'query', 'schema' => ['description' => 'The resource group name. The [CreateResource](~~412111~~) operation returns this name.', 'type' => 'string', 'required' => false, 'example' => 'MyResource', 'title' => ''], ], [ 'name' => 'ResourceId', 'in' => 'query', 'schema' => ['description' => 'The resource group ID. The [CreateResource](~~412111~~) operation returns this ID.', 'type' => 'string', 'required' => false, 'example' => 'eas-r-h7lcw24dyqztwxxxxxx', 'title' => ''], ], [ 'name' => 'ResourceType', 'in' => 'query', 'schema' => [ 'description' => 'The resource group type. Valid values:'."\n" ."\n" .'- `Dedicated`: dedicated resource group'."\n" ."\n" .'- `SelfManaged`: self-managed resource group', 'enumValueTitles' => ['SelfManaged' => 'SelfManaged', 'Dedicated' => 'Dedicated'], 'type' => 'string', 'required' => false, 'example' => 'Dedicated', 'title' => '', ], ], [ 'name' => 'ResourceStatus', 'in' => 'query', 'schema' => ['description' => 'The resource group status.', 'type' => 'string', 'required' => false, 'example' => 'ResourceReady', 'title' => ''], ], [ 'name' => 'UsageMode', 'in' => 'query', 'schema' => [ 'description' => 'The usage mode of the resource group. The default value is `inference`.', 'enumValueTitles' => ['all' => 'All resource groups', 'inference' => 'Resource groups for inference services', 'sandbox' => 'Resource groups for sandboxes'], 'type' => 'string', 'required' => false, 'example' => 'inference', 'title' => '', ], ], [ 'name' => 'Order', 'in' => 'query', 'schema' => [ 'description' => 'The sort order. Valid values:'."\n" ."\n" .'- `Desc`: descending order'."\n" ."\n" .'- `Asc`: ascending order', 'enumValueTitles' => ['PrePaidInstanceCount' => 'PrePaidInstanceCount', 'CpuCount' => 'CpuCount', 'Memory' => 'Memory', 'CreateTime' => 'CreateTime', 'PostPaidInstanceCount' => 'PostPaidInstanceCount', 'MemoryUsed' => 'MemoryUsed', 'GpuCount' => 'GpuCount', 'GpuUsed' => 'GpuUsed', 'CpuUsed' => 'CpuUsed', 'ServiceCount' => 'ServiceCount'], 'type' => 'string', 'required' => false, 'example' => 'Desc', 'title' => '', ], ], [ 'name' => 'Sort', 'in' => 'query', 'schema' => [ 'description' => 'The sort field. Timestamp fields are sorted in descending order by default.', 'enumValueTitles' => ['PrePaidInstanceCount' => 'PrePaidInstanceCount', 'CpuCount' => 'CpuCount', 'Memory' => 'Memory', 'CreateTime' => 'CreateTime', 'PostPaidInstanceCount' => 'PostPaidInstanceCount', 'MemoryUsed' => 'MemoryUsed', 'GpuCount' => 'GpuCount', 'GpuUsed' => 'GpuUsed', 'CpuUsed' => 'CpuUsed', 'ServiceCount' => 'ServiceCount'], 'type' => 'string', 'required' => false, 'example' => 'CreateTime', 'title' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => 'The response body.', 'type' => 'object', 'properties' => [ 'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID.', 'type' => 'string', 'example' => '40325405-579C-4D82****'], 'Resources' => [ 'description' => 'A list of resource groups.', 'type' => 'array', 'items' => ['description' => 'The details of a resource group.', '$ref' => '#/components/schemas/Resource', 'title' => '', 'example' => ''], 'title' => '', 'example' => '', ], 'PageNumber' => ['description' => 'The returned page number.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], 'PageSize' => ['description' => 'The number of entries per page.', 'type' => 'integer', 'format' => 'int32', 'example' => '20', 'title' => ''], 'TotalCount' => ['description' => 'The total number of resource groups.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], ], 'example' => '', ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"40325405-579C-4D82****\\",\\n \\"Resources\\": [\\n {\\n \\"ResourceId\\": \\"eas-r-asdasdasd\\",\\n \\"ResourceName\\": \\"iot\\",\\n \\"ResourceType\\": \\"Dedicated\\",\\n \\"ClusterId\\": \\"cn-shanghai\\",\\n \\"CreateTime\\": \\"2019-02-26T17:52:49Z\\",\\n \\"UpdateTime\\": \\"2019-02-26T19:52:49Z\\",\\n \\"InstanceCount\\": 4,\\n \\"PrePaidInstanceCount\\": 2,\\n \\"PostPaidInstanceCount\\": 2,\\n \\"CpuCount\\": 64,\\n \\"GpuCount\\": 1,\\n \\"Memory\\": 8192,\\n \\"CpuUsed\\": 8,\\n \\"GpuUsed\\": 1,\\n \\"MemoryUsed\\": 2048,\\n \\"Status\\": \\"ResourceReady\\",\\n \\"Message\\": \\"Resource is ready\\",\\n \\"ExtraData\\": {},\\n \\"Vendor\\": \\"ECS\\",\\n \\"Features\\": [\\n \\"GpuShare\\"\\n ],\\n \\"InstanceMaxAllocatableMemory\\": 2048,\\n \\"InstanceMaxAllocatableGPU\\": 2,\\n \\"InstanceMaxAllocatableCPU\\": 16,\\n \\"UsageMode\\": \\"inference\\",\\n \\"ServiceCount\\": 1\\n }\\n ],\\n \\"PageNumber\\": 1,\\n \\"PageSize\\": 20,\\n \\"TotalCount\\": 1\\n}","type":"json"}]', 'title' => 'ListResources', 'changeSet' => [ ['createdAt' => '2025-01-21T08:56:51.000Z', 'description' => 'Request parameters changed'], ['createdAt' => '2023-08-24T06:58:18.000Z', 'description' => 'Request parameters changed'], ['createdAt' => '2022-11-29T06:25:29.000Z', 'description' => 'Request parameters changed'], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListResources'], ], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'eas:ListResources', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'PAI', 'resourceType' => 'Resource', 'arn' => 'acs:eas:{#regionId}:{#accountId}:resource/*'], ], ], ], ], ], 'ListServiceContainers' => [ 'summary' => 'Queries the containers of a service.', 'path' => '/api/v2/services/{ClusterId}/{ServiceName}/instances/{InstanceName}/containers', 'methods' => ['get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'produces' => ['application/json'], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'abilityTreeCode' => '172666', 'abilityTreeNodes' => ['FEATURElearnN5R68Z'], ], 'parameters' => [ [ 'name' => 'ClusterId', 'in' => 'path', 'schema' => ['description' => 'The region ID of the service.'."\n", 'type' => 'string', 'required' => true, 'example' => 'cn-shanghai', 'title' => ''], ], [ 'name' => 'ServiceName', 'in' => 'path', 'schema' => ['description' => 'The service name.'."\n", 'type' => 'string', 'required' => true, 'example' => 'foo', 'title' => ''], ], [ 'name' => 'InstanceName', 'in' => 'path', 'schema' => ['description' => 'The name of the instance that runs the service.'."\n", 'type' => 'string', 'required' => true, 'example' => 'foo-69xxxx4f4-5w9r9', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => 'The response parameters.'."\n", 'type' => 'object', 'properties' => [ 'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '40325405-579C-4D82****'], 'ServiceName' => ['description' => 'The service name.'."\n", 'type' => 'string', 'example' => 'foo', 'title' => ''], 'Containers' => [ 'description' => 'The containers of the service.'."\n", 'type' => 'array', 'items' => ['description' => 'The detailed information about the container.'."\n", '$ref' => '#/components/schemas/ContainerInfo', 'title' => '', 'example' => ''], 'title' => '', 'example' => '', ], ], 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"40325405-579C-4D82****\\",\\n \\"ServiceName\\": \\"foo\\",\\n \\"Containers\\": [\\n {\\n \\"Name\\": \\"worker0\\",\\n \\"Image\\": \\"registry.cn-shanghai.aliyuncs.com/eas/echo_cn-shanghai:v0.0.1-20210129111320\\",\\n \\"Port\\": 8080,\\n \\"RestartCount\\": 0,\\n \\"Ready\\": true,\\n \\"CurrentStatus\\": \\"Waiting\\",\\n \\"CurrentReaon\\": \\"PodInitializing\\",\\n \\"CurrentTimestamp\\": \\"2022-03-21T06:17:57Z\\",\\n \\"LastStatus\\": \\"Terminated\\",\\n \\"LastReason\\": \\"Error\\",\\n \\"LastTimestamp\\": \\"2022-03-21T05:17:57Z\\"\\n }\\n ]\\n}","type":"json"}]', 'title' => 'ListServiceContainers', 'changeSet' => [ ['createdAt' => '2024-07-19T09:17:13.000Z', 'description' => 'Request parameters changed'], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListServiceContainers'], ], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'eas:ListServiceContainers', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'PAI', 'resourceType' => 'Service', 'arn' => 'acs:eas:{#regionId}:{#accountId}:service/{#ServiceName}'], ], ], ], ], ], 'ListServiceInstanceFaultInjectionInfo' => [ 'summary' => 'Retrieves fault injection information.', 'path' => '/api/v2/services/{ClusterId}/{ServiceName}/instances/{InstanceName}/faults', 'methods' => ['get'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATURElearnN5R68Z'], ], 'parameters' => [ [ 'name' => 'ClusterId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true, 'description' => 'The ID of the cluster where the resource group is located.', 'title' => '', 'example' => 'cn-shanghai'], ], [ 'name' => 'ServiceName', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true, 'description' => 'The service name.', 'title' => '', 'example' => 'foo'], ], [ 'name' => 'InstanceName', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true, 'description' => 'The name of the service instance.', 'title' => '', 'example' => 'e-xxxx***'], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['type' => 'string', 'title' => '', 'description' => 'The request ID.', 'example' => '40325405-579C-4D82****'], 'FaultInfoList' => [ 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'FaultType' => ['type' => 'string', 'description' => 'The fault type. Valid values:CpuFullloadTask: a CPU full load fault.MemLoadTask: a memory load fault.NetworkTask: a network fault.DiskBurnTask: a disk read/write fault.DiskFillTask: a disk fill fault.', 'title' => '', 'example' => 'DiskFillTask'], 'FaultStatus' => [ 'type' => 'object', 'properties' => [ 'FaultStatus' => ['type' => 'string', 'description' => 'The status of the fault. Valid values:'."\n" ."\n" .'1. FaultNotInjected: The task was created, but the fault was not successfully injected.'."\n" ."\n" .'2. FaultInjectedSuccess: The fault was successfully injected.'."\n" ."\n" .'3. FaultInjectedFailure: The fault injection failed. The failure may be caused by parameter errors or system issues.', 'title' => '', 'example' => 'FaultInjectedSuccess'], 'FaultStatusMessage' => ['type' => 'string', 'description' => 'The description of the fault injection.', 'title' => '', 'example' => 'Network interface not found'], ], 'description' => 'The fault status.', 'title' => '', 'example' => '', ], 'FaultArgs' => ['type' => 'any', 'description' => 'The parameters for each fault type.'."\n" ."\n" .'1. CpuFullloadTask (CPU full load fault)'."\n" .' `{ "FaultType": "CpuFullloadTask", "FaultArgs": { "FaultAction": "fullload", "CpuPercent": 50 } }`'."\n" ."\n" .'2. MemLoadTask (Memory load fault)'."\n" .' `{ "FaultType": "MemLoadTask", "FaultArgs": { "FaultAction": "load", "MemPercent": 80 } }`'."\n" ."\n" .'3. NetworkTask (Network fault)'."\n" .' 3.a. NetworkDelayAction (Network delay)'."\n" .' `{ "FaultType": "NetworkTask", "FaultArgs": { "FaultAction": "delay", "Time": 3000, "Offset": 100 } }`'."\n" .' 3.b. NetworkCorruptAction (Network packet corruption)'."\n" .' `{ "FaultType": "NetworkTask", "FaultArgs": { "FaultAction": "corrupt", "Percent": 50 } }`'."\n" .' 3.c. NetworkLossAction (Network packet loss)'."\n" .' `{ "FaultType": "NetworkTask", "FaultArgs": { "FaultAction": "loss", "Percent": 30 } }`'."\n" ."\n" .'4. DiskBurnTask (Disk read/write fault)'."\n" .' `{ "FaultType": "DiskBurnTask", "FaultArgs": { "FaultAction": "burn", "Read": true, "Write": true, "Size": 100 } }`'."\n" ."\n" .'5. DiskFillTask (Disk fill fault)'."\n" .' `{ "FaultType": "DiskFillTask", "FaultArgs": { "FaultAction": "fill", "Percent": 80 } }`', 'title' => '', 'example' => '{'."\n" .' "FaultType": "DiskBurnTask",'."\n" .' "FaultArgs": {'."\n" .' "FaultAction": "burn",'."\n" .' "Read": true,'."\n" .' "Write": true,'."\n" .' "Size": 100'."\n" .' }'."\n" .'}'], ], 'description' => 'The information about a single injected fault.', 'title' => '', 'example' => '', ], 'description' => 'A list of injected faults.', 'title' => '', 'example' => '', ], ], 'title' => '', 'description' => 'The response schema.', 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'title' => 'ListServiceInstanceFaultInjectionInfo', 'description' => '**Before you call this operation, make sure that you understand the billing methods and [pricing](~~144261~~) of Elastic Algorithm Service (EAS).**', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], ], 'ramActions' => [], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"40325405-579C-4D82****\\",\\n \\"FaultInfoList\\": [\\n {\\n \\"FaultType\\": \\"DiskFillTask\\",\\n \\"FaultStatus\\": {\\n \\"FaultStatus\\": \\"FaultInjectedSuccess\\",\\n \\"FaultStatusMessage\\": \\"Network interface not found\\"\\n },\\n \\"FaultArgs\\": \\"{\\\\n \\\\\\"FaultType\\\\\\": \\\\\\"DiskBurnTask\\\\\\",\\\\n \\\\\\"FaultArgs\\\\\\": {\\\\n \\\\\\"FaultAction\\\\\\": \\\\\\"burn\\\\\\",\\\\n \\\\\\"Read\\\\\\": true,\\\\n \\\\\\"Write\\\\\\": true,\\\\n \\\\\\"Size\\\\\\": 100\\\\n }\\\\n}\\"\\n }\\n ]\\n}","type":"json"}]', ], 'ListServiceInstances' => [ 'path' => '/api/v2/services/{ClusterId}/{ServiceName}/instances', 'methods' => ['get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATURElearn6PC7M4'], ], 'parameters' => [ [ 'name' => 'ClusterId', 'in' => 'path', 'schema' => ['description' => 'The ID of the region where the service is deployed.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'cn-shanghai'], ], [ 'name' => 'ServiceName', 'in' => 'path', 'schema' => ['description' => 'The service name. For more information, see [ListServices](~~412109~~).', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'foo'], ], [ 'name' => 'PageNumber', 'in' => 'query', 'schema' => ['description' => 'The page number. The default value is 1.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'required' => false, 'example' => '1'], ], [ 'name' => 'PageSize', 'in' => 'query', 'schema' => ['description' => 'The number of entries to return on each page. The default value is 100.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'required' => false, 'example' => '20'], ], [ 'name' => 'Filter', 'in' => 'query', 'schema' => ['description' => 'A keyword for the search. You can search by instance name, instance IP address, host IP address, or instance type.', 'type' => 'string', 'required' => false, 'example' => '10.118.xx.xx', 'title' => ''], ], [ 'name' => 'ResourceType', 'in' => 'query', 'schema' => [ 'description' => 'The type of the resource group to which the service instance belongs.', 'enumValueTitles' => ['PublicResource' => 'public resource group', 'DedicatedResource' => 'dedicated resource group'], 'type' => 'string', 'required' => false, 'example' => 'PublicResource', 'title' => '', ], ], [ 'name' => 'InstanceType', 'in' => 'query', 'schema' => ['description' => 'The instance type.', 'type' => 'string', 'required' => false, 'example' => 'ecs.c7.large', 'title' => ''], ], [ 'name' => 'InstanceStatus', 'in' => 'query', 'schema' => ['description' => 'The status of the service instance.', 'type' => 'string', 'required' => false, 'example' => 'Running', 'title' => ''], ], [ 'name' => 'InstanceIP', 'in' => 'query', 'schema' => ['description' => 'The IP address of the service instance.', 'type' => 'string', 'required' => false, 'example' => '10.224.xx.xx', 'title' => ''], ], [ 'name' => 'InstanceName', 'in' => 'query', 'schema' => ['description' => 'The name of the service instance.', 'type' => 'string', 'required' => false, 'example' => 'foo-bdc5xxxx-8l7rk', 'title' => ''], ], [ 'name' => 'HostIP', 'in' => 'query', 'schema' => ['description' => 'The IP address of the host where the service instance is deployed.', 'type' => 'string', 'required' => false, 'example' => '10.224.xx.xx', 'title' => ''], ], [ 'name' => 'IsSpot', 'in' => 'query', 'schema' => ['description' => 'Specifies whether the instance is a spot instance.', 'type' => 'boolean', 'required' => false, 'example' => 'false', 'title' => ''], ], [ 'name' => 'Role', 'in' => 'query', 'schema' => [ 'description' => 'The role of the service.', 'enumValueTitles' => ['DataSet' => 'dataset service', 'SDProxy' => 'Stable Diffusion proxy service', 'Standard' => 'standard prediction service', 'Queue' => 'queue service'], 'type' => 'string', 'required' => false, 'example' => 'Queue', 'title' => '', ], ], [ 'name' => 'Sort', 'in' => 'query', 'schema' => [ 'description' => 'The field to use for sorting.', 'enumValueTitles' => ['StartTime' => 'Creation time'], 'type' => 'string', 'required' => false, 'example' => 'StartTime', 'title' => '', ], ], [ 'name' => 'Order', 'in' => 'query', 'schema' => [ 'description' => 'The sort order.', 'enumValueTitles' => ['asc' => 'Ascending', 'desc' => 'Descending'], 'type' => 'string', 'required' => false, 'example' => 'desc', 'title' => '', ], ], [ 'name' => 'MemberType', 'in' => 'query', 'allowEmptyValue' => true, 'schema' => ['description' => 'The type of the sub-service. This parameter is valid only for aggregation services.', 'type' => 'string', 'required' => false, 'example' => 'LLMDecode', 'title' => ''], ], [ 'name' => 'ListReplica', 'in' => 'query', 'schema' => ['description' => 'Specifies whether to query the list of instance replicas.', 'type' => 'boolean', 'required' => false, 'example' => 'true', 'title' => ''], ], [ 'name' => 'ReplicaName', 'in' => 'query', 'schema' => ['description' => 'The name of the instance replica.', 'type' => 'string', 'required' => false, 'example' => 'cbh-qwen3-a1bc-prefill-ep1tp4dp', 'title' => ''], ], [ 'name' => 'QuotaId', 'in' => 'query', 'schema' => ['description' => 'The quota ID.', 'type' => 'string', 'required' => false, 'example' => 'quota1****'."\n", 'title' => ''], ], [ 'name' => 'Resource', 'in' => 'query', 'schema' => ['description' => 'The resource group to which the instance belongs.', 'type' => 'string', 'required' => false, 'example' => 'eas-r-xxxxxxx', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => 'The data returned.', 'type' => 'object', 'properties' => [ 'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID.', 'type' => 'string', 'example' => '40325405-579C-4D82****'], 'Instances' => [ 'description' => 'The list of service instances.', 'type' => 'array', 'items' => ['description' => 'The service instance.', '$ref' => '#/components/schemas/Instance', 'title' => '', 'example' => ''], 'title' => '', 'example' => '', ], 'PageNumber' => ['description' => 'The page number of the returned page.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], 'PageSize' => ['description' => 'The number of entries returned per page.', 'type' => 'integer', 'format' => 'int32', 'example' => '20', 'title' => ''], 'TotalCount' => ['description' => 'The total number of instances.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], ], 'example' => '', ], ], ], 'title' => 'ListServiceInstances', 'summary' => 'Lists the instances of a specified service.', 'description' => '**Ensure that you understand the billing methods and [pricing](~~144261~~) of Elastic Algorithm Service (EAS) before you call this operation.**', 'changeSet' => [ ['createdAt' => '2023-05-06T09:55:12.000Z', 'description' => 'Request parameters changed'], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListServiceInstances'], ], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'eas:ListServiceInstances', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'PAI', 'resourceType' => 'Service', 'arn' => 'acs:eas:{#regionId}:{#accountId}:service/{#ServiceName}'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"40325405-579C-4D82****\\",\\n \\"Instances\\": [\\n {\\n \\"HostIP\\": \\"11.0.XX.XX\\",\\n \\"HostName\\": \\"smart-scene-cls-854dbdc99d-****\\",\\n \\"InnerIP\\": \\"172.17.0.17\\",\\n \\"InstanceName\\": \\"foo-5fc8946767-v****\\",\\n \\"InstancePort\\": 8080,\\n \\"LastState\\": [\\n []\\n ],\\n \\"Namespace\\": \\"foo\\",\\n \\"Reason\\": \\"RUNNING\\",\\n \\"RestartCount\\": 1,\\n \\"Status\\": \\"Running\\",\\n \\"TotalProcesses\\": 1,\\n \\"ReadyProcesses\\": 1,\\n \\"StartAt\\": \\"2021-05-27T09:46:05Z\\",\\n \\"Role\\": \\"Standard\\",\\n \\"ResourceType\\": \\"PublicResource\\",\\n \\"TenantInstanceIP\\": \\"192.168.xx.xx\\",\\n \\"TenantHostIP\\": \\"192.168.xx.xx\\",\\n \\"IsSpot\\": false,\\n \\"CurrentAmount\\": 0.444,\\n \\"OriginalAmount\\": 2.2,\\n \\"Isolated\\": false,\\n \\"Zone\\": \\"cn-shanghai-a\\",\\n \\"ExternalIP\\": \\"192.168.1.100\\",\\n \\"ExternalInstancePort\\": 8080,\\n \\"StartTime\\": \\"2021-05-27T09:46:05Z\\",\\n \\"InstanceType\\": \\"ecs.c7.large\\",\\n \\"IsLatest\\": true,\\n \\"Detached\\": false,\\n \\"IsReplica\\": false,\\n \\"ReplicaName\\": \\"xwq-sglang-dist-7dff0\\",\\n \\"CreateTime\\": \\"2021-05-27T09:46:05Z\\"\\n }\\n ],\\n \\"PageNumber\\": 1,\\n \\"PageSize\\": 20,\\n \\"TotalCount\\": 1\\n}","type":"json"}]', ], 'ListServiceVersions' => [ 'path' => '/api/v2/services/{ClusterId}/{ServiceName}/versions', 'methods' => ['get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '152269', 'abilityTreeNodes' => ['FEATURElearnKDX12S'], ], 'parameters' => [ [ 'name' => 'ClusterId', 'in' => 'path', 'schema' => ['description' => 'The ID of the region in which the service resides.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'cn-hangzhou'], ], [ 'name' => 'ServiceName', 'in' => 'path', 'schema' => ['description' => 'The service name. For more information about how to query the service name, see [ListServices](~~412109~~).', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'test_oss'], ], [ 'name' => 'PageNumber', 'in' => 'query', 'schema' => ['description' => 'The page number. Default value: 1.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'required' => false, 'example' => '1'], ], [ 'name' => 'PageSize', 'in' => 'query', 'schema' => ['description' => 'The number of entries per page. Default value: 100.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'required' => false, 'example' => '10'], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'E089D584-B6F4-50C4-9902-DA2295B7****', 'title' => ''], 'PageNumber' => ['description' => 'The page number.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], 'PageSize' => ['description' => 'The number of entries per page.', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => ''], 'TotalCount' => ['description' => 'The total number of entries returned.', 'type' => 'integer', 'format' => 'int64', 'example' => '166', 'title' => ''], 'Versions' => [ 'description' => 'The historical versions of the service.', 'type' => 'array', 'items' => [ 'description' => '', 'type' => 'object', 'properties' => [ 'BuildTime' => ['description' => 'The time when the service version was created. The time is displayed in UTC.', 'type' => 'string', 'example' => '2022-08-29T22:02:14Z', 'title' => ''], 'ImageAvailable' => ['description' => 'Indicates whether the image is available. Valid values:'."\n" ."\n" .'- true: The image is available.'."\n" ."\n" .'- false: The image is unavailable.'."\n" ."\n" .'- unknown: The availability of the image is unknown.', 'type' => 'string', 'example' => 'true', 'title' => ''], 'ImageId' => ['description' => 'The image ID.', 'type' => 'integer', 'format' => 'int32', 'example' => '4', 'title' => ''], 'Message' => ['description' => 'The returned message.', 'type' => 'string', 'example' => 'Service is Running', 'title' => ''], 'ServiceRunnable' => ['description' => 'Indicates whether Elastic Algorithm service (EAS) is activated. Valid values:'."\n" ."\n" .'- true: EAS is activated.'."\n" ."\n" .'- false: EAS is not activated.'."\n" ."\n" .'- unknown: The activation of EAS is unknown.', 'type' => 'string', 'example' => 'true', 'title' => ''], 'ServiceConfig' => ['description' => 'The service deployment configurations. This parameter is returned only if the service is deployed by using a custom image.', 'type' => 'string', 'example' => '{'."\n" .' "metadata": {'."\n" .' "cpu": 1,'."\n" .' "instance": 1,'."\n" .' "memory": 1024'."\n" .' },'."\n" .' "name": "echo"'."\n" .'}', 'title' => ''], ], 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'title' => 'ListServiceVersions', 'summary' => 'Queries the information about the historical versions of a service.', 'changeSet' => [ ['createdAt' => '2024-01-23T13:07:03.000Z', 'description' => 'Response parameters changed'], ['createdAt' => '2022-09-05T08:14:49.000Z', 'description' => 'OpenAPI offline'], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListServiceVersions'], ], ], 'ramActions' => [ [ 'operationType' => 'list', 'ramAction' => [ 'action' => 'eas:ListServiceVersions', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'PAI', 'resourceType' => 'Service', 'arn' => 'acs:eas:{#regionId}:{#accountId}:service/{#ServiceName}'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"E089D584-B6F4-50C4-9902-DA2295B7****\\",\\n \\"PageNumber\\": 1,\\n \\"PageSize\\": 10,\\n \\"TotalCount\\": 166,\\n \\"Versions\\": [\\n {\\n \\"BuildTime\\": \\"2022-08-29T22:02:14Z\\",\\n \\"ImageAvailable\\": \\"true\\",\\n \\"ImageId\\": 4,\\n \\"Message\\": \\"Service is Running\\",\\n \\"ServiceRunnable\\": \\"true\\",\\n \\"ServiceConfig\\": \\"{\\\\n \\\\\\"metadata\\\\\\": {\\\\n \\\\\\"cpu\\\\\\": 1,\\\\n \\\\\\"instance\\\\\\": 1,\\\\n \\\\\\"memory\\\\\\": 1024\\\\n },\\\\n \\\\\\"name\\\\\\": \\\\\\"echo\\\\\\"\\\\n}\\"\\n }\\n ]\\n}","type":"json"}]', ], 'ListServices' => [ 'path' => '/api/v2/services', 'methods' => ['get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '37031', 'abilityTreeNodes' => ['FEATURElearnN5R68Z'], ], 'parameters' => [ [ 'name' => 'Sort', 'in' => 'query', 'schema' => ['description' => 'The sort field. By default, results are sorted by timestamp in descending order.', 'type' => 'string', 'title' => '', 'required' => false, 'example' => 'CreateTime'], ], [ 'name' => 'Order', 'in' => 'query', 'schema' => ['description' => 'The sort order. Valid values:'."\n" ."\n" .'- `desc` (default): descending.'."\n" ."\n" .'- `asc`: ascending.', 'type' => 'string', 'title' => '', 'required' => false, 'example' => 'asc'], ], [ 'name' => 'Filter', 'in' => 'query', 'schema' => ['description' => 'The keyword for a fuzzy search. This parameter supports fuzzy searches by service name only.', 'type' => 'string', 'title' => '', 'required' => false, 'example' => 'foo'], ], [ 'name' => 'PageNumber', 'in' => 'query', 'schema' => ['description' => 'The page number of the results to return. The default value is 1.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'required' => false, 'example' => '1'], ], [ 'name' => 'PageSize', 'in' => 'query', 'schema' => ['description' => 'The number of services to return per page. The default value is 100.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'required' => false, 'example' => '100'], ], [ 'name' => 'GroupName', 'in' => 'query', 'schema' => ['description' => 'The name of the service group. To learn how to obtain this name, see [ListServices](~~412109~~).', 'type' => 'string', 'title' => '', 'required' => false, 'example' => 'foo'], ], [ 'name' => 'ParentServiceUid', 'in' => 'query', 'schema' => ['description' => 'The UID of the primary service. This parameter applies to member services in a service group.', 'type' => 'string', 'required' => false, 'example' => 'eas-m-ijafy3c8cxxxx', 'title' => ''], ], [ 'name' => 'ServiceType', 'in' => 'query', 'schema' => [ 'description' => 'The service type. Valid values:'."\n" ."\n" .'- Async'."\n" ."\n" .'- Standard'."\n" ."\n" .'- Queue'."\n" ."\n" .'- LLM'."\n" ."\n" .'- RAG'."\n" ."\n" .'- Serverless'."\n" ."\n" .'- LLMGatewayService'."\n" ."\n" .'- OfflineTask'."\n" ."\n" .'- SDCluster'."\n" ."\n" .'- ScalableJob'."\n" ."\n" .'- ScalableJobService'."\n" ."\n" .'- AssistantJob', 'enumValueTitles' => ['Async' => 'asynchronous service', 'Standard' => 'standard deployment', 'OfflineTask' => 'offline task', 'Proxima' => 'Proxima'], 'type' => 'string', 'required' => false, 'example' => 'Standard', 'title' => '', ], ], [ 'name' => 'Label', 'in' => 'query', 'style' => 'json', 'schema' => [ 'description' => 'Filters services by label.', 'type' => 'object', 'required' => false, 'additionalProperties' => ['description' => 'Specify the label in the `{"key":"value"}` format. If the value is `null` or an empty string, the system filters by key only.', 'type' => 'string', 'example' => '{"key1":"value1","key2":null}', 'title' => ''], 'title' => '', 'example' => '', ], ], [ 'name' => 'ServiceStatus', 'in' => 'query', 'schema' => [ 'description' => 'The status of the service.', 'enumValueTitles' => [ 'Creating' => 'Creating', 'Stopped' => 'Stopped', 'Failed' => 'Failed', 'Complete' => 'Complete', 'Cloning' => 'Cloning', 'Stopping' => 'Stopping', 'Updating' => 'Updating', 'Waiting' => 'Waiting', 'HotUpdate' => 'HotUpdate', 'Committing' => 'Committing', 'Starting' => 'Starting', 'DeleteFailed' => 'DeleteFailed', 'Running' => 'Running', 'Developing' => 'Developing', 'Scaling' => 'Scaling', 'Deleted' => 'Deleted', 'Pending' => 'Pending', 'Deleting' => 'Deleting', ], 'type' => 'string', 'required' => false, 'example' => 'Running', 'title' => '', ], ], [ 'name' => 'ServiceName', 'in' => 'query', 'schema' => ['description' => 'The service name.', 'type' => 'string', 'required' => false, 'example' => 'echo_test', 'title' => ''], ], [ 'name' => 'ServiceUid', 'in' => 'query', 'schema' => ['description' => 'The service UID.', 'type' => 'string', 'required' => false, 'example' => 'eas-m-c9iw3yitxxxx', 'title' => ''], ], [ 'name' => 'ResourceName', 'in' => 'query', 'schema' => ['description' => 'The name or ID of the service\'s resource group.', 'type' => 'string', 'deprecated' => true, 'required' => false, 'example' => 'eas-r-hd0qwy8cxxxx', 'title' => ''], ], [ 'name' => 'WorkspaceId', 'in' => 'query', 'schema' => ['description' => 'The workspace ID.', 'type' => 'string', 'required' => false, 'example' => '1234**', 'title' => ''], ], [ 'name' => 'QuotaId', 'in' => 'query', 'schema' => ['description' => 'The quota ID.', 'type' => 'string', 'required' => false, 'example' => 'quota1****', 'title' => ''], ], [ 'name' => 'Gateway', 'in' => 'query', 'schema' => ['description' => 'The private gateway ID.', 'type' => 'string', 'required' => false, 'example' => 'gw-1uhcqmsc7x22******', 'title' => ''], ], [ 'name' => 'Role', 'in' => 'query', 'schema' => [ 'description' => 'The service role.', 'enumValueTitles' => ['DataLoader' => 'DataLoader', 'FrontEnd' => 'FrontEnd', 'DataSet' => 'DataSet', 'SDProxy' => 'SDProxy', 'LLMScheduler' => 'LLMScheduler', 'ScalableJob' => 'ScalableJob', 'LLMGateway' => 'LLMGateway', 'Job' => 'Job', 'Queue' => 'Queue'], 'type' => 'string', 'required' => false, 'example' => 'LLMGateway', 'title' => '', ], ], [ 'name' => 'ResourceType', 'in' => 'query', 'schema' => [ 'description' => 'The type of resource the service uses. Valid values:'."\n" ."\n" .'- PublicResource'."\n" ."\n" .'- DedicatedResource'."\n" ."\n" .'- Lingjun'."\n" ."\n" .'- SelfManagedLingjun', 'enumValueTitles' => ['Lingjun' => 'Lingjun resource quota', 'PublicResource' => 'public resource group', 'DedicatedResource' => 'dedicated resource group', 'SelfManagedLingjun' => 'Self-managed Lingjun resource group'], 'type' => 'string', 'required' => false, 'example' => 'PublicResource', 'title' => '', ], ], [ 'name' => 'IncludeNoWorkspace', 'in' => 'query', 'schema' => ['description' => 'Specifies whether to include services that do not belong to any workspace. The default value is true.', 'type' => 'boolean', 'required' => false, 'example' => 'true', 'title' => ''], ], [ 'name' => 'ResourceAliasName', 'in' => 'query', 'schema' => ['description' => 'The custom name of the resource group.', 'type' => 'string', 'required' => false, 'example' => 'example', 'title' => ''], ], [ 'name' => 'ResourceId', 'in' => 'query', 'schema' => ['description' => 'The ID of the resource group. To learn how to query for this ID, see [ListResources](~~412133~~).', 'type' => 'string', 'required' => false, 'example' => 'eas-r-asdas****', 'title' => ''], ], [ 'name' => 'ResourceBurstable', 'in' => 'query', 'schema' => [ 'description' => 'Specifies whether to enable a burstable resource pool for the service.', 'enumValueTitles' => ['true' => 'true', 'false' => 'false'], 'type' => 'boolean', 'required' => false, 'example' => 'true', 'title' => '', ], ], [ 'name' => 'CronscalerEnabled', 'in' => 'query', 'schema' => [ 'description' => 'Specifies whether to enable scheduled auto scaling for the service.', 'enumValueTitles' => ['true' => 'true', 'false' => 'false'], 'type' => 'boolean', 'required' => false, 'example' => 'true', 'title' => '', ], ], [ 'name' => 'AutoscalerEnabled', 'in' => 'query', 'schema' => [ 'description' => 'Specifies whether to enable Auto Scaling for the service.', 'enumValueTitles' => ['true' => 'true', 'false' => 'false'], 'type' => 'boolean', 'required' => false, 'example' => 'true', 'title' => '', ], ], [ 'name' => 'TrafficState', 'in' => 'query', 'schema' => [ 'description' => 'Specifies whether the service accepts group traffic. This parameter applies only to services within a service group.', 'enumValueTitles' => ['standalone' => 'No', 'grouping' => 'Yes'], 'type' => 'string', 'required' => false, 'example' => 'grouping', 'title' => '', ], ], [ 'name' => 'CallerUid', 'in' => 'query', 'schema' => ['description' => 'The UID of the account that created the service.', 'type' => 'string', 'example' => '19989224166xxxxxxx', 'title' => '', 'required' => false], ], [ 'name' => 'Accessibility', 'in' => 'query', 'allowEmptyValue' => true, 'schema' => [ 'type' => 'string', 'example' => 'PUBLIC', 'enum' => ['PUBLIC', 'PRIVATE'], 'description' => '', 'title' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => 'The response.', 'type' => 'object', 'properties' => [ 'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID.', 'type' => 'string', 'example' => '40325405-579C-4D82****'], 'Services' => [ 'description' => 'The list of services.', 'type' => 'array', 'items' => ['description' => 'A service instance.', '$ref' => '#/components/schemas/Service', 'title' => '', 'example' => ''], 'title' => '', 'example' => '', ], 'PageNumber' => ['description' => 'The current page number.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], 'PageSize' => ['description' => 'The number of services per page.', 'type' => 'integer', 'format' => 'int32', 'example' => '100', 'title' => ''], 'TotalCount' => ['description' => 'The total number of services.', 'type' => 'integer', 'format' => 'int32', 'example' => '2', 'title' => ''], ], 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], 'title' => 'ListServices', 'summary' => 'Lists services.', 'changeSet' => [ ['createdAt' => '2025-07-16T02:48:58.000Z', 'description' => 'Request parameters changed'], ['createdAt' => '2025-04-27T12:13:04.000Z', 'description' => 'Request parameters changed'], ['createdAt' => '2025-04-08T11:07:16.000Z', 'description' => 'Request parameters changed'], ['createdAt' => '2025-03-13T09:35:48.000Z', 'description' => 'Request parameters changed'], ['createdAt' => '2024-10-08T11:20:54.000Z', 'description' => 'Request parameters changed'], ['createdAt' => '2024-07-31T09:23:24.000Z', 'description' => 'Request parameters changed'], ['createdAt' => '2024-01-23T13:07:03.000Z', 'description' => 'Request parameters changed'], ['createdAt' => '2023-09-01T08:10:25.000Z', 'description' => 'Request parameters changed'], ['createdAt' => '2023-05-06T09:55:12.000Z', 'description' => 'Request parameters changed, Response parameters changed'], ['createdAt' => '2022-12-27T01:55:08.000Z', 'description' => 'Request parameters changed'], ['createdAt' => '2022-12-05T04:32:27.000Z', 'description' => 'Request parameters changed'], ['createdAt' => '2022-09-27T03:16:08.000Z', 'description' => 'Request parameters changed'], ['createdAt' => '2021-09-16T08:07:33.000Z', 'description' => 'Request parameters changed'], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListServices'], ], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'eas:ListServices', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'PAI', 'resourceType' => 'Service', 'arn' => 'acs:eas:{#regionId}:{#accountId}:service/*'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"40325405-579C-4D82****\\",\\n \\"Services\\": [\\n {\\n \\"RequestId\\": \\"40325405-579C-4D82********\\",\\n \\"Region\\": \\"cn-shanghai\\",\\n \\"CallerUid\\": \\"20123*******\\",\\n \\"ParentUid\\": \\"11234*******\\",\\n \\"CurrentVersion\\": 1,\\n \\"Cpu\\": 1,\\n \\"Gpu\\": 0,\\n \\"Image\\": \\"registry.cn-shanghai.aliyuncs.com/eas/echo_cn-shanghai:v0.0.1-20210129111320\\",\\n \\"PendingInstance\\": 0,\\n \\"RunningInstance\\": 1,\\n \\"TotalInstance\\": 1,\\n \\"InternetEndpoint\\": \\"http://10123*****.cn-shanghai.aliyuncs.com/api/predict/echo\\",\\n \\"IntranetEndpoint\\": \\"http://10123*****.vpc.cn-shanghai.aliyuncs.com/api/predict/echo\\",\\n \\"LatestVersion\\": 1,\\n \\"Memory\\": 1024,\\n \\"Message\\": \\"Service start successfully\\",\\n \\"Namespace\\": \\"echo\\",\\n \\"Reason\\": \\"RUNNING\\",\\n \\"Resource\\": \\"eas-r-xxxxxxx\\",\\n \\"ResourceAlias\\": \\"my_resource\\",\\n \\"ServiceConfig\\": \\"{\\\\\\"metadata\\\\\\":{\\\\\\"cpu\\\\\\":1,\\\\\\"instance\\\\\\":1,\\\\\\"memory\\\\\\":1024},\\\\\\"name\\\\\\":\\\\\\"echo\\\\\\",\\\\\\"processor_entry\\\\\\":\\\\\\"libecho.so\\\\\\",\\\\\\"processor_path\\\\\\":\\\\\\"http://oss-cn-hangzhou-zmf.aliyuncs.com/059247/echo_processor_release.tar.gz\\\\\\",\\\\\\"processor_type\\\\\\":\\\\\\"cpp\\\\\\"}\\",\\n \\"ServiceName\\": \\"echo\\",\\n \\"ServiceGroup\\": \\"my_group\\",\\n \\"Status\\": \\"Running\\",\\n \\"CreateTime\\": \\"2021-01-29T11:13:20Z\\",\\n \\"UpdateTime\\": \\"2021-01-29T11:13:20Z\\",\\n \\"Weight\\": 100,\\n \\"ServiceId\\": \\"eas-m-xxasdat\\",\\n \\"ServiceUid\\": \\"eas-m-xxasdat\\\\n\\",\\n \\"AccessToken\\": \\"MzJiMDI5MDliODc0MTlkYmI0ZDhlYmExYjczYTIyZTE3Zm********\\",\\n \\"Source\\": \\"dsw\\",\\n \\"ExtraData\\": \\"{\\\\\\"blue_green_services\\\\\\":[\\\\\\"test\\\\\\",\\\\\\"testxxxx\\\\\\"]}\\",\\n \\"Role\\": \\"Queue\\",\\n \\"RoleAttrs\\": \\"{\\\\\\"ApproxMaxLength\\\\\\":null,\\\\\\"Length\\\\\\":null,\\\\\\"MaxPayloadBytes\\\\\\":null}\\",\\n \\"SafetyLock\\": \\"dangerous\\",\\n \\"SecondaryInternetEndpoint\\": \\"http://10123*****.cn-shanghai.aliyuncs.com/api/predict/async_path.echo\\\\n\\",\\n \\"SecondaryIntranetEndpoint\\": \\"http://10123*****.vpc.cn-shanghai.aliyuncs.com/api/predict/async_path.echo\\\\n\\",\\n \\"Labels\\": [\\n {\\n \\"LabelKey\\": \\"key1\\",\\n \\"LabelValue\\": \\"value1\\"\\n }\\n ],\\n \\"WorkspaceId\\": \\"123445\\",\\n \\"AppType\\": \\"LLM\\",\\n \\"AppConfig\\": \\"{\\\\\\"ModelStorage\\\\\\":\\\\\\"oss\\\\\\"}\\",\\n \\"AppSpecName\\": \\"llama_7b_fp16\\",\\n \\"AppVersion\\": \\"v1\\",\\n \\"TrafficState\\": \\"standalone\\",\\n \\"QuotaId\\": \\"quotaxxxxx\\",\\n \\"Gateway\\": \\"gw-xxxxxx\\",\\n \\"GPUMemory\\": 20,\\n \\"GPUCorePercentage\\": 50,\\n \\"ResourceBurstable\\": true,\\n \\"CronscalerEnabled\\": true,\\n \\"AutoscalerEnabled\\": true,\\n \\"InstanceCountInResource\\": {\\n \\"Public\\": 10,\\n \\"Dedicated\\": 10,\\n \\"Quota\\": 10\\n },\\n \\"WorkloadType\\": \\"\\"\\n }\\n ],\\n \\"PageNumber\\": 1,\\n \\"PageSize\\": 100,\\n \\"TotalCount\\": 2\\n}","type":"json"}]', ], 'ListTenantAddons' => [ 'path' => '/api/v2/tenantaddons', 'methods' => ['get'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'produces' => ['application/json'], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '231065', 'abilityTreeNodes' => ['FEATURElearnDNLWTG'], ], 'parameters' => [], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => 'The response parameters.', 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '40325405-579C-4D82****', 'title' => ''], 'Addons' => [ 'description' => 'The information about the plug-in.', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'Name' => ['description' => 'The name of the plug-in.', 'type' => 'string', 'example' => 'prometheus_discovery', 'title' => ''], 'Attributes' => [ 'description' => 'The attributes of the plug-in.', 'type' => 'object', 'additionalProperties' => ['description' => 'The description of the plug-in.', 'type' => 'string', 'example' => '{'."\n" .' "AccessToken":"ld***.eY***.",'."\n" .' "InternetEndpoint": "****.com/prometheus",'."\n" .' "IntranetEndpoint": "****.vpc.com/prometheus"'."\n" .'}', 'title' => ''], 'title' => '', 'example' => '', ], ], 'description' => '', 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], ], 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'title' => 'ListTenantAddons', 'summary' => 'Queries a list of tenant plug-ins.', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListTenantAddons'], ], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'eas:ListTenantAddons', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'PAI', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"40325405-579C-4D82****\\",\\n \\"Addons\\": [\\n {\\n \\"Name\\": \\"prometheus_discovery\\",\\n \\"Attributes\\": {\\n \\"key\\": \\"{\\\\n \\\\\\"AccessToken\\\\\\":\\\\\\"ld***.eY***.\\\\\\",\\\\n \\\\\\"InternetEndpoint\\\\\\": \\\\\\"****.com/prometheus\\\\\\",\\\\n \\\\\\"IntranetEndpoint\\\\\\": \\\\\\"****.vpc.com/prometheus\\\\\\"\\\\n}\\"\\n }\\n }\\n ]\\n}","type":"json"}]', ], 'ListVirtualResource' => [ 'summary' => 'Queries the virtual resource groups for the current user.', 'path' => '/api/v2/virtualresources', 'methods' => ['get'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '238285', 'abilityTreeNodes' => ['FEATURElearnRPDTZG'], 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ 'name' => 'PageNumber', 'in' => 'query', 'schema' => ['description' => 'The page number for the list of virtual resource groups. The value starts from 1. The default value is 1.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''], ], [ 'name' => 'PageSize', 'in' => 'query', 'schema' => ['description' => 'The number of virtual resource groups to display on each page. The default value is 100.', 'type' => 'integer', 'format' => 'int32', 'example' => '20', 'title' => '', 'required' => false], ], [ 'name' => 'VirtualResourceId', 'in' => 'query', 'schema' => ['description' => 'The ID of the virtual resource group.', 'type' => 'string', 'example' => 'eas-vr-npovr28onap1xxxxxx'."\n", 'title' => '', 'required' => false], ], [ 'name' => 'VirtualResourceName', 'in' => 'query', 'schema' => ['description' => 'The name of the virtual resource group.', 'type' => 'string', 'example' => 'MyVirtualResource', 'title' => '', 'required' => false], ], [ 'name' => 'Sort', 'in' => 'query', 'schema' => [ 'description' => 'The field that is used to sort the results. By default, the results are sorted by timestamp in descending order.', 'enumValueTitles' => ['VirtualResourceName' => 'The name of the virtual resource.', 'CreateTime' => 'The time when the resource was created.', 'UpdateTime' => 'The time when the resource was last updated.'], 'type' => 'string', 'required' => false, 'example' => 'CreateTime', 'title' => '', ], ], [ 'name' => 'Order', 'in' => 'query', 'schema' => [ 'description' => 'The sorting order. Valid values:'."\n" ."\n" .'- Desc: Descending order.'."\n" ."\n" .'- Asc: Ascending order.', 'enumValueTitles' => ['Asc' => 'Ascending order.', 'Desc' => 'Descending order.'], 'type' => 'string', 'required' => false, 'example' => 'Desc', 'title' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => 'The response body.', 'type' => 'object', 'properties' => [ 'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID.', 'type' => 'string', 'example' => '40325405-579C-4D82****'], 'PageNumber' => ['description' => 'The page number of the returned list of virtual resource groups.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], 'PageSize' => ['description' => 'The number of virtual resource groups returned on each page.', 'type' => 'integer', 'format' => 'int32', 'example' => '20', 'title' => ''], 'TotalCount' => ['description' => 'The total number of virtual resource groups.', 'type' => 'integer', 'format' => 'int32', 'example' => '100', 'title' => ''], 'VirtualResources' => [ 'title' => '', 'description' => 'The list of virtual resource groups.', 'type' => 'array', 'items' => [ 'description' => 'The details of a virtual resource group.', 'type' => 'object', 'properties' => [ 'VirtualResourceName' => ['description' => 'The name of the virtual resource group.', 'type' => 'string', 'example' => 'MyVirtualResource', 'title' => ''], 'VirtualResourceId' => ['description' => 'The ID of the virtual resource group.', 'type' => 'string', 'example' => 'eas-vr-npovr28onap1xxxxxx'."\n", 'title' => ''], 'CreateTime' => ['description' => 'The time when the virtual resource group was created.', 'type' => 'string', 'example' => '2024-10-16T17:52:49Z'."\n", 'title' => ''], 'UpdateTime' => ['description' => 'The time when the virtual resource group was last updated.', 'type' => 'string', 'example' => '2024-10-16T19:52:49Z'."\n", 'title' => ''], 'ServiceCount' => ['description' => 'The number of deployed services.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], ], 'title' => '', 'example' => '', ], 'example' => '', ], ], 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'title' => 'ListVirtualResource', 'changeSet' => [ ['createdAt' => '2025-01-21T08:56:51.000Z', 'description' => 'Response parameters changed'], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListVirtualResource'], ], ], 'ramActions' => [ [ 'operationType' => 'list', 'ramAction' => [ 'action' => 'eas:ListVirtualResource', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'PAI', 'resourceType' => 'VirtualResource', 'arn' => 'acs:eas:{#regionId}:{#accountId}:virtualresource/*'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"40325405-579C-4D82****\\",\\n \\"PageNumber\\": 1,\\n \\"PageSize\\": 20,\\n \\"TotalCount\\": 100,\\n \\"VirtualResources\\": [\\n {\\n \\"VirtualResourceName\\": \\"MyVirtualResource\\",\\n \\"VirtualResourceId\\": \\"eas-vr-npovr28onap1xxxxxx\\\\n\\",\\n \\"CreateTime\\": \\"2024-10-16T17:52:49Z\\\\n\\",\\n \\"UpdateTime\\": \\"2024-10-16T19:52:49Z\\\\n\\",\\n \\"ServiceCount\\": 1\\n }\\n ]\\n}","type":"json"}]', ], 'MigrateResourceInstance' => [ 'path' => '/api/v2/resources/{ClusterId}/{ResourceId}/instances/migrate', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '227413', 'abilityTreeNodes' => ['FEATURElearnRPDTZG'], ], 'parameters' => [ [ 'name' => 'ClusterId', 'in' => 'path', 'schema' => ['description' => 'The ID of the cluster where the resource group is located.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'cn-shanghai'], ], [ 'name' => 'ResourceId', 'in' => 'path', 'schema' => ['description' => 'The ID of the resource group.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'eas-r-asdasdasd****'], ], [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'description' => 'The request body.', 'type' => 'object', 'properties' => [ 'InstanceIds' => [ 'description' => 'The IDs of the instances.', 'type' => 'array', 'items' => ['description' => 'The ID of the instance.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '[\'eas-i-4ybm1bin7gygx67umh\', \'eas-i-iy6dfaag7qals6g4i2\']'], 'required' => true, 'title' => '', 'example' => '', ], 'DestResourceId' => ['description' => 'The ID of the destination resource group.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'eas-r-asdasdasd****'], 'MigrateToHybrid' => ['type' => 'boolean', 'description' => 'Specifies whether to migrate the instances to a general computing resource group. If set to true, specify the ID of the general computing resource group.', 'required' => false, 'title' => '', 'example' => 'false'], ], 'required' => false, 'title' => '', 'example' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ 'RequestId' => ['title' => 'Id of the request', 'description' => 'The ID of the request.', 'type' => 'string', 'example' => '40325405-579C-4D82***'], 'Message' => ['description' => 'The message returned for the request.', 'type' => 'string', 'title' => '', 'example' => 'Success'], 'InstanceIds' => [ 'description' => 'The IDs of the instances.', 'type' => 'array', 'items' => ['description' => 'The ID of the instance.', 'type' => 'string', 'title' => '', 'example' => '[\'eas-i-1l3saj0kfhz5lp6p5m\', \'eas-i-hgjztp6rsw5pmyko9n\']'], 'title' => '', 'example' => '', ], ], 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'title' => 'MigrateResourceInstance', 'summary' => 'Migrates instances to a specified resource group.', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], ], 'ramActions' => [ [ 'operationType' => 'none', 'ramAction' => [ 'action' => 'eas:MigrateResourceInstance', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'PAI', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"40325405-579C-4D82***\\",\\n \\"Message\\": \\"Success\\",\\n \\"InstanceIds\\": [\\n \\"[\'eas-i-1l3saj0kfhz5lp6p5m\', \'eas-i-hgjztp6rsw5pmyko9n\']\\"\\n ]\\n}","type":"json"}]', ], 'ReinstallTenantAddon' => [ 'summary' => 'Resets tenant configurations.', 'path' => '/api/v2/tenantaddons/{ClusterId}/{TenantAddonName}/reinstall', 'methods' => ['put'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', 'abilityTreeCode' => '231056', 'abilityTreeNodes' => ['FEATURElearnDNLWTG'], ], 'parameters' => [ [ 'name' => 'ClusterId', 'in' => 'path', 'schema' => ['description' => 'The region ID of the service.'."\n", 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], [ 'name' => 'TenantAddonName', 'in' => 'path', 'schema' => ['description' => 'The plug-in name.'."\n", 'type' => 'string', 'required' => true, 'example' => 'prometheus_discovery', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => 'The response parameters.'."\n", 'type' => 'object', 'properties' => [ 'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '40325405-579C-4D82****'], 'Message' => ['description' => 'The returned message.'."\n", 'type' => 'string', 'example' => 'Addon prometheus_discovery is successfully reinstalled', 'title' => ''], ], 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"40325405-579C-4D82****\\",\\n \\"Message\\": \\"Addon prometheus_discovery is successfully reinstalled\\"\\n}","type":"json"}]', 'title' => 'ReinstallTenantAddon', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ReinstallTenantAddon'], ], ], 'ramActions' => [ [ 'operationType' => 'update', 'ramAction' => [ 'action' => 'eas:ReinstallTenantAddon', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'PAI', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], ], 'ReleaseService' => [ 'summary' => 'Switch the traffic state or weight of the service.', 'path' => '/api/v2/services/{ClusterId}/{ServiceName}/release', 'methods' => ['put'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', 'abilityTreeCode' => '37054', 'abilityTreeNodes' => ['FEATURElearnO4KXYN'], ], 'parameters' => [ [ 'name' => 'ClusterId', 'in' => 'path', 'schema' => ['title' => '', 'description' => 'The ID of the region where the service is deployed.'."\n", 'type' => 'string', 'required' => true, 'example' => 'cn-shanghai'], ], [ 'name' => 'ServiceName', 'in' => 'path', 'schema' => ['title' => '', 'description' => 'The service name. For more information about how to query the service name, see [ListServices](~~412109~~).'."\n", 'type' => 'string', 'required' => true, 'example' => 'foo'], ], [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'description' => 'The request body.'."\n", 'type' => 'object', 'properties' => [ 'Weight' => ['title' => '', 'description' => 'The weight of the service. Valid values: [-1, 1000].', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '100'], 'TrafficState' => [ 'description' => 'The traffic state. Valid values:'."\n" ."\n" .'* standalone: independent traffic.'."\n" .'* grouping: grouped traffic.'."\n", 'type' => 'string', 'required' => false, 'enumValueTitles' => ['standalone' => '', 'grouping' => ''], 'example' => 'grouping', 'title' => '', ], ], 'required' => false, 'title' => '', 'example' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => 'The response parameters.'."\n", 'type' => 'object', 'properties' => [ 'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '40325405-579C-4D82****'], 'Message' => ['description' => 'The returned message.'."\n", 'type' => 'string', 'example' => 'Releasing service [foo] in region [cn-shanghai] with weight [40], service status: [Running]', 'title' => ''], ], 'example' => '', ], ], 400 => [], 404 => [], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"40325405-579C-4D82****\\",\\n \\"Message\\": \\"Releasing service [foo] in region [cn-shanghai] with weight [40], service status: [Running]\\"\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]', 'title' => 'ReleaseService', 'changeSet' => [ ['createdAt' => '2025-01-13T08:38:34.000Z', 'description' => 'Request parameters changed'], ['createdAt' => '2022-08-11T03:34:20.000Z', 'description' => 'Request parameters changed'], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ReleaseService'], ], ], 'ramActions' => [ [ 'operationType' => 'update', 'ramAction' => [ 'action' => 'eas:ReleaseService', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'PAI', 'resourceType' => 'Service', 'arn' => 'acs:eas:{#regionId}:{#accountId}:service/{#ServiceName}'], ], ], ], ], ], 'RestartService' => [ 'summary' => 'Restarts a service.', 'path' => '/api/v2/services/{ClusterId}/{ServiceName}/restart', 'methods' => ['put'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => ['operationType' => 'update'], 'parameters' => [ [ 'name' => 'ClusterId', 'in' => 'path', 'schema' => ['title' => '', 'description' => 'The ID of the region in which the service resides.'."\n", 'type' => 'string', 'required' => true, 'example' => 'cn-shanghai'], ], [ 'name' => 'ServiceName', 'in' => 'path', 'schema' => ['description' => 'The service name. For more information about how to query the service name, see [ListServices](~~412109~~).'."\n", 'type' => 'string', 'required' => true, 'example' => 'foo', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => 'The response parameters.'."\n", 'type' => 'object', 'properties' => [ 'RequestId' => ['title' => '', 'description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '40325405-579C-4D82****'], 'Message' => ['title' => '', 'description' => 'The returned message.'."\n", 'type' => 'string', 'example' => 'Service is restarting'], ], 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"40325405-579C-4D82****\\",\\n \\"Message\\": \\"Service is restarting\\"\\n}","type":"json"}]', 'title' => 'RestartService', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'RestartService'], ], ], 'ramActions' => [ [ 'operationType' => 'update', 'ramAction' => [ 'action' => 'eas:RestartService', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'PAI', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], ], 'ScaleService' => [ 'path' => '/api/v2/services/{ClusterId}/{ServiceName}/scale', 'methods' => ['put'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATURElearnKDX12S'], ], 'parameters' => [ [ 'name' => 'ClusterId', 'in' => 'path', 'schema' => ['description' => 'The ID of the region where the service is deployed.', 'type' => 'string', 'required' => true, 'example' => 'cn-shanghai', 'title' => ''], ], [ 'name' => 'ServiceName', 'in' => 'path', 'schema' => ['description' => 'The service name.', 'type' => 'string', 'required' => true, 'example' => 'foo', 'title' => ''], ], [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'type' => 'object', 'properties' => [ 'Instance' => ['description' => 'The target number of instances.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '2', 'title' => ''], 'InstancesToDelete' => [ 'type' => 'array', 'items' => ['description' => 'The instance name.', 'type' => 'string', 'required' => false, 'example' => 'foo-adsx-xxxx', 'title' => ''], 'required' => false, 'minItems' => 0, 'description' => 'A list of instance names to prioritize for removal during a scale-in operation.', 'title' => '', 'example' => '', ], ], 'description' => 'The request body.', 'required' => false, 'example' => '{"Instance": 2, "InstancesToDelete": [ "foo-adsx-xxxx" ]}', 'title' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => '40325405-579C-4D82****'], 'Message' => ['description' => 'A message indicating the result of the operation.', 'type' => 'string', 'example' => 'Service [foo] in region [cn-shanghai] is scaling', 'title' => ''], ], 'title' => '', 'description' => 'The data structure of the response.', 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'title' => 'ScaleService', 'summary' => 'Scales a service.', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], ], 'ramActions' => [ [ 'operationType' => 'update', 'ramAction' => [ 'action' => 'eas:ScaleService', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'PAI', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"40325405-579C-4D82****\\",\\n \\"Message\\": \\"Service [foo] in region [cn-shanghai] is scaling\\"\\n}","type":"json"}]', ], 'StartBenchmarkTask' => [ 'summary' => 'Starts a stress testing task.', 'path' => '/api/v2/benchmark-tasks/{ClusterId}/{TaskName}/start', 'methods' => ['put'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'systemTags' => [], 'parameters' => [ [ 'name' => 'ClusterId', 'in' => 'path', 'schema' => ['description' => 'The ID of the region where the stress testing task is performed.'."\n", 'type' => 'string', 'required' => true, 'example' => 'cn-shanghai', 'title' => ''], ], [ 'name' => 'TaskName', 'in' => 'path', 'schema' => ['description' => 'The name of the stress testing task. For more information about how to query the name of a stress testing task, see [ListBenchmarkTask](~~432976~~).'."\n", 'type' => 'string', 'required' => true, 'example' => 'benchmark-larec-test-3bc6', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => 'The response parameters.'."\n", 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '40325405-579C-4D82****', 'title' => ''], 'Message' => ['description' => 'The returned message.'."\n", 'type' => 'string', 'example' => 'Benchmark task [benchmark-larec-test-1076] is Starting', 'title' => ''], ], 'example' => '', ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"40325405-579C-4D82****\\",\\n \\"Message\\": \\"Benchmark task [benchmark-larec-test-1076] is Starting\\"\\n}","type":"json"}]', 'title' => 'StartBenchmarkTask', 'changeSet' => [ ['createdAt' => '2022-05-27T03:23:01.000Z', 'description' => 'OpenAPI offline'], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'StartBenchmarkTask'], ], ], 'ramActions' => [ [ 'operationType' => '', 'ramAction' => [ 'action' => 'eas:StartBenchmarkTask', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'PAI', 'resourceType' => 'BenchmarkTask', 'arn' => 'acs:eas:{#regionId}:{#accountId}:benchmarktask/{#BenchmarkTaskId}'], ], ], ], ], ], 'StartService' => [ 'summary' => 'Starts a service.', 'path' => '/api/v2/services/{ClusterId}/{ServiceName}/start', 'methods' => ['put'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', 'abilityTreeCode' => '37048', 'abilityTreeNodes' => ['FEATURElearnN5R68Z'], ], 'parameters' => [ [ 'name' => 'ClusterId', 'in' => 'path', 'schema' => ['title' => '', 'description' => 'The ID of the region where the service is deployed.'."\n", 'type' => 'string', 'required' => true, 'example' => 'cn-shanghai'], ], [ 'name' => 'ServiceName', 'in' => 'path', 'schema' => ['title' => '', 'description' => 'The service name. For more information about how to query the service name, see [ListServices](~~412109~~).'."\n", 'type' => 'string', 'required' => true, 'example' => 'foo'], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => 'The response parameters.'."\n", 'type' => 'object', 'properties' => [ 'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '40325405-579C-4D82****'], 'Message' => ['description' => 'The returned message.'."\n", 'type' => 'string', 'example' => 'Service [foo] in region [cn-shanghai] is starting', 'title' => ''], ], 'example' => '', ], ], 404 => [], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"40325405-579C-4D82****\\",\\n \\"Message\\": \\"Service [foo] in region [cn-shanghai] is starting\\"\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]', 'title' => 'StartService', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'StartService'], ], ], 'ramActions' => [ [ 'operationType' => 'update', 'ramAction' => [ 'action' => 'eas:StartService', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'PAI', 'resourceType' => 'Service', 'arn' => 'acs:eas:{#regionId}:{#accountId}:service/{#ServiceName}'], ], ], ], ], ], 'StopBenchmarkTask' => [ 'summary' => 'Stops a stress testing task.', 'path' => '/api/v2/benchmark-tasks/{ClusterId}/{TaskName}/stop', 'methods' => ['put'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'systemTags' => [], 'parameters' => [ [ 'name' => 'ClusterId', 'in' => 'path', 'schema' => ['description' => 'The ID of the region where the stress testing task is performed.'."\n", 'type' => 'string', 'required' => true, 'example' => 'cn-shanghai', 'title' => ''], ], [ 'name' => 'TaskName', 'in' => 'path', 'schema' => ['description' => 'The name of the stress testing task. For more information about how to query the name of a stress testing task, see [ListBenchmarkTask](~~432976~~).'."\n", 'type' => 'string', 'required' => true, 'example' => 'benchmark-larec-test-dbe5', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => 'The response parameters.'."\n", 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '40325405-579C-4D82****', 'title' => ''], 'Message' => ['description' => 'The returned message.'."\n", 'type' => 'string', 'example' => 'Benchmark task [benchmark-larec-test-dbe5] is Stopping', 'title' => ''], ], 'example' => '', ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"40325405-579C-4D82****\\",\\n \\"Message\\": \\"Benchmark task [benchmark-larec-test-dbe5] is Stopping\\"\\n}","type":"json"}]', 'title' => 'StopBenchmarkTask', 'changeSet' => [ ['createdAt' => '2022-05-27T03:23:01.000Z', 'description' => 'OpenAPI offline'], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'StopBenchmarkTask'], ], ], 'ramActions' => [ [ 'operationType' => '', 'ramAction' => [ 'action' => 'eas:StopBenchmarkTask', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'PAI', 'resourceType' => 'BenchmarkTask', 'arn' => 'acs:eas:{#regionId}:{#accountId}:benchmarktask/{#BenchmarkTaskId}'], ], ], ], ], ], 'StopService' => [ 'summary' => 'Stops a running service.', 'path' => '/api/v2/services/{ClusterId}/{ServiceName}/stop', 'methods' => ['put'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', 'abilityTreeCode' => '37049', 'abilityTreeNodes' => ['FEATURElearnKDX12S'], ], 'parameters' => [ [ 'name' => 'ClusterId', 'in' => 'path', 'schema' => ['title' => '', 'description' => 'The ID of the region where the service is deployed.'."\n", 'type' => 'string', 'required' => true, 'example' => 'cn-shanghai'], ], [ 'name' => 'ServiceName', 'in' => 'path', 'schema' => ['title' => '', 'description' => 'The service name. For more information about how to query the service name, see [ListServices](~~412109~~).'."\n", 'type' => 'string', 'required' => true, 'example' => 'foo'], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => 'The response parameters.'."\n", 'type' => 'object', 'properties' => [ 'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '40325405-579C-4D82****'], 'Message' => ['description' => 'The returned message.'."\n", 'type' => 'string', 'example' => 'Succeed to auto scale service [foo]', 'title' => ''], ], 'example' => '', ], ], 404 => [], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"40325405-579C-4D82****\\",\\n \\"Message\\": \\"Succeed to auto scale service [foo]\\"\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]', 'title' => 'StopService', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'StopService'], ], ], 'ramActions' => [ [ 'operationType' => 'update', 'ramAction' => [ 'action' => 'eas:StopService', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'PAI', 'resourceType' => 'Service', 'arn' => 'acs:eas:{#regionId}:{#accountId}:service/{#ServiceName}'], ], ], ], ], ], 'UpdateAppService' => [ 'summary' => 'Updates an application service.', 'path' => '/api/v2/app_services/{ClusterId}/{ServiceName}', 'methods' => ['put'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => ['operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'paid'], 'parameters' => [ [ 'name' => 'ClusterId', 'in' => 'path', 'schema' => ['description' => 'The region ID of the service.'."\n", 'type' => 'string', 'required' => true, 'example' => 'cn-shanghai', 'title' => ''], ], [ 'name' => 'ServiceName', 'in' => 'path', 'schema' => ['description' => 'The service name.'."\n", 'type' => 'string', 'required' => true, 'example' => 'foo', 'title' => ''], ], [ 'name' => 'WorkspaceId', 'in' => 'query', 'schema' => ['description' => 'The workspace ID.'."\n", 'type' => 'string', 'required' => false, 'example' => '1234**', 'title' => ''], ], [ 'name' => 'QuotaId', 'in' => 'query', 'schema' => ['description' => 'The quota ID.'."\n", 'type' => 'string', 'required' => false, 'example' => 'abcdef', 'title' => ''], ], [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'description' => 'The request body.'."\n", 'type' => 'object', 'properties' => [ 'AppType' => [ 'description' => 'The application type.'."\n" ."\n" .'Valid values:'."\n" ."\n" .'* LLM: the large language model (LLM) application'."\n" ."\n" .' '."\n" ."\n" .' '."\n" ."\n" .' '."\n", 'type' => 'string', 'required' => false, 'enumValueTitles' => ['LLM' => 'LLM'], 'example' => 'LLM', 'title' => '', ], 'AppVersion' => ['description' => 'The application version.'."\n", 'type' => 'string', 'required' => false, 'example' => 'v1', 'title' => ''], 'ServiceSpec' => ['description' => 'The service specifications. Valid values:'."\n" ."\n" .'* llama\\_7b_fp16'."\n" .'* llama\\_7b_int8'."\n" .'* llama\\_13b_fp16'."\n" .'* llama\\_7b_int8'."\n" .'* chatglm\\_6b_fp16'."\n" .'* chatglm\\_6b_int8'."\n" .'* chatglm2\\_6b_fp16'."\n" .'* baichuan\\_7b_int8'."\n" .'* baichuan\\_13b_fp16'."\n" .'* baichuan\\_7b_fp16'."\n", 'type' => 'string', 'required' => false, 'example' => 'llama_7b_fp16', 'title' => ''], 'Replicas' => ['description' => 'The number of instances. This value must be greater than 0.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''], 'Config' => [ 'description' => 'The additional configurations that are required for service deployment.'."\n", 'type' => 'object', 'required' => false, 'additionalProperties' => ['type' => 'any', 'example' => '{ "ModelStorage": "oss", "OssPath": "oss://examplebucket/xxxx/" }', 'description' => 'The application information such as model mounting. For more information, see [CreateAppService](~~2621216~~).'."\n", 'title' => ''], 'title' => '', 'example' => '', ], ], 'required' => false, 'title' => '', 'example' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => 'The response parameters.'."\n", 'type' => 'object', 'properties' => [ 'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '40325405-579C-4D82****'], 'Message' => ['description' => 'The returned message.'."\n", 'type' => 'string', 'example' => 'Success', 'title' => ''], ], 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"40325405-579C-4D82****\\",\\n \\"Message\\": \\"Success\\"\\n}","type":"json"}]', 'title' => 'UpdateAppService', 'changeSet' => [ ['createdAt' => '2024-01-16T14:09:25.000Z', 'description' => 'Request parameters changed'], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateAppService'], ], ], 'ramActions' => [ [ 'operationType' => 'update', 'ramAction' => [ 'action' => 'eas:UpdateAppService', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'PAI', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], ], 'UpdateBenchmarkTask' => [ 'summary' => 'Updates a stress testing task.', 'path' => '/api/v2/benchmark-tasks/{ClusterId}/{TaskName}', 'methods' => ['put'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'systemTags' => [], 'parameters' => [ [ 'name' => 'ClusterId', 'in' => 'path', 'schema' => ['description' => 'The ID of the region where the stress testing task is performed.'."\n", 'type' => 'string', 'required' => true, 'example' => 'cn-shanghai', 'title' => ''], ], [ 'name' => 'TaskName', 'in' => 'path', 'schema' => ['description' => 'The name of the stress testing task.'."\n", 'type' => 'string', 'required' => true, 'example' => 'benchmark-larec-test-645c', 'title' => ''], ], [ 'name' => 'body', 'in' => 'body', 'schema' => ['description' => 'The request body. The body includes the parameters that are set to create a stress testing task. For more information, see **Table 1. Fields in the base parameter**.'."\n", 'type' => 'string', 'required' => false, 'example' => '{'."\n" .' "base": {'."\n" .' "qps": 200'."\n" .' }'."\n" .'}', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => 'The response parameters.'."\n", 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '40325405-579C-4D82***', 'title' => ''], 'Message' => ['description' => 'The returned message.'."\n", 'type' => 'string', 'example' => 'Benchmark task [benchmark-larec-test-1076] is Updating', 'title' => ''], ], 'example' => '', ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"40325405-579C-4D82***\\",\\n \\"Message\\": \\"Benchmark task [benchmark-larec-test-1076] is Updating\\"\\n}","type":"json"}]', 'title' => 'UpdateBenchmarkTask', 'requestParamsDescription' => '#### Table 1. Fields in the base parameter'."\n" ."\n" .'The following table describes the fields in the base parameter that can be modified when you call this operation.'."\n" ."\n" .'|**Field**|**Description**|'."\n" .'|---|---|'."\n" .'|duration|The total stress testing duration. Unit: seconds. Default value: 1200. This field is optional.|'."\n" .'|qps|The expected queries per second (QPS) of the stress testing task. Default value: 10000. This field is optional.|'."\n" .'|concurrency|The number of concurrent connections that you want to create for each instance in the stress testing task. The default value is 40, and it can be automatically changed. This field is optional.|'."\n" .'|agentCount|The number of instances that you want to create for the stress testing task. The default value is 1, and it can be automatically changed. This field is optional.|', 'changeSet' => [ ['createdAt' => '2022-05-27T03:23:01.000Z', 'description' => 'OpenAPI offline'], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateBenchmarkTask'], ], ], 'ramActions' => [ [ 'operationType' => '', 'ramAction' => [ 'action' => 'eas:UpdateBenchmarkTask', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'PAI', 'resourceType' => 'BenchmarkTask', 'arn' => 'acs:eas:{#regionId}:{#accountId}:benchmarktask/{#BenchmarkTaskId}'], ], ], ], ], ], 'UpdateConfig' => [ 'summary' => 'Updates a dynamic parameter for a specific cluster and service.', 'path' => '/api/v2/configs/{ClusterId}/{ConfigType}/{Name}/{ConfigKey}', 'methods' => ['put'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATURElearnKDX12S'], ], 'parameters' => [ [ 'name' => 'ClusterId', 'in' => 'path', 'schema' => ['description' => 'The cluster or region ID. This parameter is required. For example, `cn-hangzhou`.', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''], ], [ 'name' => 'ConfigType', 'in' => 'path', 'schema' => ['description' => 'The configuration type. This parameter is required. Currently, only `service` is supported.', 'type' => 'string', 'required' => false, 'example' => 'service', 'title' => ''], ], [ 'name' => 'Name', 'in' => 'path', 'schema' => ['description' => 'The service name. This parameter is required.', 'type' => 'string', 'required' => false, 'example' => 'my-llm-service', 'title' => ''], ], [ 'name' => 'ConfigKey', 'in' => 'path', 'schema' => ['description' => 'The dynamic parameter name. This parameter is required.', 'type' => 'string', 'required' => false, 'example' => 'rate_limit', 'title' => ''], ], [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'type' => 'object', 'properties' => [ 'Value' => ['description' => 'The new dynamic parameter value. This parameter is required.', 'type' => 'string', 'required' => false, 'example' => '200', 'title' => ''], ], 'description' => 'The request body. This parameter is required.', 'required' => false, 'title' => '', 'example' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'Key' => ['description' => 'The dynamic parameter name.', 'type' => 'string', 'example' => 'llm_gateway.route_policy', 'title' => ''], 'Value' => ['description' => 'The dynamic parameter value.', 'type' => 'string', 'example' => '{"model": "gpt-4-turbo"}', 'title' => ''], 'CreatedAt' => ['description' => 'The time the configuration was created.', 'type' => 'string', 'example' => '2024-01-15T10:30:00Z', 'title' => ''], 'UpdatedAt' => ['description' => 'The time the configuration was last updated.', 'type' => 'string', 'example' => '2024-01-15T11:00:00Z', 'title' => ''], ], 'title' => '', 'description' => 'The response body.', 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'title' => 'UpdateConfig', 'description' => '## Request'."\n" ."\n" .'Use this API to update a dynamic parameter by providing its `ClusterId`, `ConfigType`, `Name`, and `ConfigKey`. The request body must contain the new parameter value in the `Value` field. Ensure you provide the correct path parameters to avoid errors.', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], ], 'ramActions' => [], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Key\\": \\"llm_gateway.route_policy\\",\\n \\"Value\\": \\"{\\\\\\"model\\\\\\": \\\\\\"gpt-4-turbo\\\\\\"}\\",\\n \\"CreatedAt\\": \\"2024-01-15T10:30:00Z\\",\\n \\"UpdatedAt\\": \\"2024-01-15T11:00:00Z\\"\\n}","type":"json"}]', ], 'UpdateGateway' => [ 'summary' => 'Updates a private gateway.', 'path' => '/api/v2/gateways/{ClusterId}/{GatewayId}', 'methods' => ['put'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '191842', 'abilityTreeNodes' => ['FEATURElearn6PC7M4'], ], 'parameters' => [ [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'description' => 'The request body.', 'type' => 'object', 'properties' => [ 'InstanceType' => ['title' => '', 'description' => 'The instance type of the private gateway. Valid values:'."\n" ."\n" .'- 2c4g'."\n" ."\n" .'- 4c8g'."\n" ."\n" .'- 8c16g'."\n" ."\n" .'- 16c32g', 'type' => 'string', 'required' => false, 'example' => '2c4g'], 'Name' => ['description' => 'The alias of the private gateway.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'mygateway1'], 'EnableIntranet' => [ 'description' => 'Specifies whether to enable intranet access. The default value is true.', 'type' => 'boolean', 'required' => false, 'enumValueTitles' => ['true' => 'Enables intranet access.', 'false' => 'Disables intranet access.'], 'title' => '', 'example' => 'true', ], 'EnableInternet' => [ 'description' => 'Specifies whether to enable public network access. The default value is false.', 'type' => 'boolean', 'required' => false, 'enumValueTitles' => ['true' => 'Enables public network access.', 'false' => 'Disables public network access.'], 'title' => '', 'example' => 'false', ], 'IsDefault' => ['description' => 'Specifies whether the gateway is the default private gateway.', 'type' => 'boolean', 'required' => false, 'title' => '', 'example' => 'true'], 'Replicas' => ['description' => 'The number of private gateway nodes.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'title' => '', 'example' => '2'], 'EnableSSLRedirection' => ['description' => 'Specifies whether to enable HTTP to HTTPS redirection. The default value is false.', 'type' => 'boolean', 'required' => false, 'title' => '', 'example' => 'false'], 'VpcId' => ['type' => 'string', 'description' => 'The VPC where the gateway resides. This parameter applies only to application-type dedicated gateways.', 'required' => false, 'title' => '', 'example' => 'vpc-bp1jkde2******3mew'], 'VSwitchIds' => [ 'type' => 'array', 'items' => ['type' => 'string', 'description' => 'The vSwitch ID.', 'required' => false, 'title' => '', 'example' => 'vsw-wz9mof1ucpr8se7******'], 'description' => 'The list of vSwitches. This parameter applies only to application-type dedicated gateways.', 'required' => false, 'title' => '', 'example' => '', ], ], 'required' => false, 'title' => '', 'example' => '', ], ], [ 'name' => 'GatewayId', 'in' => 'path', 'schema' => ['title' => '', 'description' => 'The ID of the private gateway. To obtain the ID, see the private\\_gateway\\_id field in the response of the [ListResources](~~412133~~) operation.', 'type' => 'string', 'required' => true, 'example' => 'gw-1uhcqmsc7x22******'], ], [ 'name' => 'ClusterId', 'in' => 'path', 'schema' => ['description' => 'The region where the private gateway is located.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'cn-wulanchabu'], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => 'The response.', 'type' => 'object', 'properties' => [ 'GatewayId' => ['title' => '', 'description' => 'The ID of the private gateway.', 'type' => 'string', 'example' => 'gw-1uhcqmsc7x22******'], 'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID.', 'type' => 'string', 'example' => '40325405-579C-4D82***'], 'Message' => ['description' => 'The returned message.', 'type' => 'string', 'title' => '', 'example' => 'Gateway is updated'], ], 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"GatewayId\\": \\"gw-1uhcqmsc7x22******\\",\\n \\"RequestId\\": \\"40325405-579C-4D82***\\",\\n \\"Message\\": \\"Gateway is updated\\"\\n}","type":"json"}]', 'title' => 'UpdateGateway', 'changeSet' => [ ['createdAt' => '2024-11-28T05:35:59.000Z', 'description' => 'Request parameters changed'], ['createdAt' => '2024-07-31T09:23:25.000Z', 'description' => 'Request parameters changed'], ['createdAt' => '2023-11-16T09:00:07.000Z', 'description' => 'Request parameters changed'], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateGateway'], ], ], 'ramActions' => [ [ 'operationType' => 'update', 'ramAction' => [ 'action' => 'eas:UpdateGateway', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'PAI', 'resourceType' => 'Gateway', 'arn' => 'acs:eas:{#regionId}:{#accountId}:gateway/{#GatewayId}'], ], ], ], ], ], 'UpdateGatewayLabel' => [ 'path' => '/api/v2/gateways/{ClusterId}/{GatewayId}/label', 'methods' => ['put'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', 'riskType' => 'high', 'chargeType' => 'free', 'abilityTreeCode' => '167564', 'abilityTreeNodes' => ['FEATURElearnKDX12S'], ], 'parameters' => [ [ 'name' => 'ClusterId', 'in' => 'path', 'schema' => ['description' => 'The region where the gateway is located.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'cn-shanghai'], ], [ 'name' => 'GatewayId', 'in' => 'path', 'schema' => ['description' => 'The gateway ID.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'gw-1uhcqmsc7x22******'], ], [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'type' => 'object', 'properties' => [ 'Labels' => [ 'type' => 'object', 'required' => true, 'additionalProperties' => ['description' => 'A user-defined label.', 'type' => 'string', 'title' => '', 'example' => '{"key":"value"}'], 'title' => '', 'description' => 'The custom gateway labels.', 'example' => '', ], ], 'title' => '', 'description' => 'The request body.', 'required' => false, 'example' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => '40325405-579C-4D82****'], 'Message' => ['description' => 'The returned message.', 'type' => 'string', 'title' => '', 'example' => 'Succeed to update gateway gw-1uhcqmsc7x22****** labels.'], ], 'title' => '', 'description' => 'Schema of Response', 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'title' => 'UpdateGatewayLabel', 'summary' => 'Adds a gateway label or updates an existing one.', 'description' => '**Before you call this operation, make sure that you understand the billing methods and [pricing](~~144261~~) of Elastic Algorithm Service (EAS).**', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], ], 'ramActions' => [ [ 'operationType' => 'update', 'ramAction' => [ 'action' => 'eas:UpdateGatewayLabel', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'PAI', 'resourceType' => 'Service', 'arn' => 'acs:eas:{#regionId}:{#accountId}:gateway/{#GatewayId}'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"40325405-579C-4D82****\\",\\n \\"Message\\": \\"Succeed to update gateway gw-1uhcqmsc7x22****** labels.\\"\\n}","type":"json"}]', ], 'UpdateGroup' => [ 'summary' => 'Updates specific fields of a service group.', 'path' => '/api/v2/groups/{ClusterId}/{GroupName}', 'methods' => ['put'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '260902', 'abilityTreeNodes' => ['FEATURElearnKDX12S'], ], 'parameters' => [ [ 'name' => 'ClusterId', 'in' => 'path', 'schema' => ['description' => 'The region ID.', 'type' => 'string', 'required' => true, 'example' => 'cn-wulanchabu', 'title' => ''], ], [ 'name' => 'GroupName', 'in' => 'path', 'schema' => ['description' => 'The name of the service group. To obtain the group name, call ListServices.', 'type' => 'string', 'required' => true, 'example' => 'foo', 'title' => ''], ], [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'description' => 'The request body.', 'type' => 'object', 'properties' => [ 'TrafficMode' => [ 'title' => '', 'description' => 'The traffic mode. Valid values:'."\n" .'- auto: automatically assigns weights based on the proportion of instances.'."\n" .'- customized: distributes traffic based on custom fixed weights.', 'type' => 'string', 'enum' => ['auto', 'customized'], 'required' => false, 'example' => 'auto', ], 'Network' => [ 'description' => 'The VPC configuration.', 'type' => 'object', 'properties' => [ 'VpcId' => ['description' => 'The VPC ID.', 'type' => 'string', 'required' => false, 'example' => 'vpc-bp1xxxxxx17e0qrykjr9b', 'title' => ''], 'VSwitchId' => ['description' => 'The vSwitch ID.', 'type' => 'string', 'required' => false, 'example' => 'vsw-bp1xxxxxxjeqwbo3z2pux', 'title' => ''], 'SecurityGroupId' => ['description' => 'The security group ID.', 'type' => 'string', 'required' => false, 'example' => 'sg-uf6xxxxxxc3lysxabg72i', 'title' => ''], 'GatewayId' => ['description' => 'The dedicated gateway ID.', 'type' => 'string', 'required' => false, 'example' => 'gw-rcgxxxxxxzytgq9zrj', 'title' => ''], ], 'required' => false, 'title' => '', 'example' => '', ], 'Labels' => [ 'description' => 'The user-defined labels.', 'type' => 'object', 'required' => false, 'additionalProperties' => ['description' => '按{"key":"value"}格式填写。Value 可为 null 或空字符,代表只按 Key 过滤,Value 可为任意值。', 'type' => 'string', 'example' => '{"key1":"value1","key2":null}'."\n", 'title' => ''], 'title' => '', 'example' => '', ], ], 'required' => false, 'title' => '', 'example' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => '', 'description' => 'The response.', 'type' => 'object', 'properties' => [ 'RequestId' => ['title' => '', 'description' => 'The request ID.', 'type' => 'string', 'example' => '40325405-579C-4D82****'], 'Message' => ['description' => 'The response message.', 'type' => 'string', 'example' => 'Update service group foo successfully'."\n", 'title' => ''], ], 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"40325405-579C-4D82****\\",\\n \\"Message\\": \\"Update service group foo successfully\\\\n\\"\\n}","type":"json"}]', 'title' => 'Update a service group', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateGroup'], ], ], 'ramActions' => [ [ 'operationType' => 'update', 'ramAction' => [ 'action' => 'eas:UpdateGroup', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'PAI', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], ], 'UpdateResource' => [ 'summary' => 'Updates the information about a dedicated resource group. Only the name of a dedicated resource group can be updated.', 'path' => '/api/v2/resources/{ClusterId}/{ResourceId}', 'methods' => ['put'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => ['operationType' => 'update'], 'parameters' => [ [ 'name' => 'ClusterId', 'in' => 'path', 'schema' => ['title' => '', 'description' => 'The ID of the region to which the resource group belongs.'."\n", 'type' => 'string', 'required' => true, 'example' => 'cn-shanghai'], ], [ 'name' => 'ResourceId', 'in' => 'path', 'schema' => ['title' => '', 'description' => 'The ID of the resource group. For more information about how to query the ID of a resource group, see [ListResources](~~412133~~).'."\n", 'type' => 'string', 'required' => true, 'example' => 'eas-r-asdasdasd****'], ], [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'description' => 'The request body.'."\n", 'type' => 'object', 'properties' => [ 'ResourceName' => ['title' => '', 'description' => 'The new name of the resource group after the update. The name can be up to 27 characters in length.'."\n", 'type' => 'string', 'required' => false, 'example' => 'iot'], 'SelfManagedResourceOptions' => [ 'description' => 'The configuration items of the self-managed resource group.', 'type' => 'object', 'properties' => [ 'NodeMatchLabels' => [ 'description' => 'Tag tag key-value pairs for nodes.', 'type' => 'object', 'required' => false, 'additionalProperties' => ['type' => 'string', 'example' => '"key1": "value1"', 'description' => 'The tag key-value pairs for a node.', 'title' => ''], 'title' => '', 'example' => '', ], 'NodeTolerations' => [ 'description' => 'Tolerations for nodes.', 'type' => 'array', 'items' => [ 'description' => 'Tolerations for nodes.', 'type' => 'object', 'properties' => [ 'key' => ['description' => 'The key name.', 'type' => 'string', 'required' => false, 'example' => 'key1', 'title' => ''], 'value' => ['description' => 'The key value.', 'type' => 'string', 'required' => false, 'example' => 'value1', 'title' => ''], 'operator' => [ 'description' => 'Relationship between key names and key values.'."\n" .'Valid values:'."\n" .'- Equal'."\n" .'- Exists', 'type' => 'string', 'required' => false, 'enumValueTitles' => ['Equal' => 'Equal', 'Exists' => 'Exists'], 'example' => 'Equal', 'title' => '', ], 'effect' => [ 'description' => 'The effect.'."\n" .'Valid values:'."\n" .'- PreferNoSchedule'."\n" .'- NoSchedule'."\n" .'- NoExecute', 'type' => 'string', 'required' => false, 'enumValueTitles' => ['PreferNoSchedule' => 'PreferNoSchedule', 'NoSchedule' => 'NoSchedule', 'NoExecute' => 'NoExecute'], 'example' => 'NoSchedule', 'title' => '', ], ], 'required' => false, 'title' => '', 'example' => '', ], 'required' => false, 'title' => '', 'example' => '', ], ], 'required' => false, 'title' => '', 'example' => '', ], ], 'required' => false, 'title' => '', 'example' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => 'The response parameters.'."\n", 'type' => 'object', 'properties' => [ 'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '40325405-579C-4D82****'], 'ResourceId' => ['description' => 'The ID of the resource group.'."\n", 'type' => 'string', 'example' => 'eas-r-asdasdasd****', 'title' => ''], 'ResourceName' => ['description' => 'The name of the resource group.'."\n", 'type' => 'string', 'example' => 'iot', 'title' => ''], ], 'example' => '', ], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"40325405-579C-4D82****\\",\\n \\"ResourceId\\": \\"eas-r-asdasdasd****\\",\\n \\"ResourceName\\": \\"iot\\"\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]', 'title' => 'UpdateResource', 'changeSet' => [ ['createdAt' => '2023-08-25T09:36:16.000Z', 'description' => 'Request parameters changed'], ['createdAt' => '2023-08-24T06:58:18.000Z', 'description' => 'Request parameters changed'], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateResource'], ], ], 'ramActions' => [ [ 'operationType' => 'update', 'ramAction' => [ 'action' => 'eas:UpdateResource', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'PAI', 'resourceType' => 'Resource', 'arn' => 'acs:eas:{#regionId}:{#accountId}:resource/{#resourceId}'], ], ], ], ], ], 'UpdateResourceDLink' => [ 'summary' => 'Updates the configurations of a virtual private cloud (VPC) direct connection for a dedicated resource group.', 'path' => '/api/v2/resources/{ClusterId}/{ResourceId}/dlink', 'methods' => ['put'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => ['operationType' => 'update'], 'parameters' => [ [ 'name' => 'ClusterId', 'in' => 'path', 'schema' => ['title' => '', 'description' => 'The ID of the region to which the resource group belongs.'."\n", 'type' => 'string', 'required' => true, 'example' => 'cn-shanghai'], ], [ 'name' => 'ResourceId', 'in' => 'path', 'schema' => ['title' => '', 'description' => 'The ID of the resource group. For more information about how to query the ID of a resource group, see [ListResources](~~412133~~).'."\n", 'type' => 'string', 'required' => true, 'example' => 'eas-r-w1ttszneb9n994****'], ], [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'description' => 'The request body.'."\n", 'type' => 'object', 'properties' => [ 'VSwitchId' => ['title' => '', 'description' => 'The ID of the peer primary vSwitch. After this parameter is specified, an elastic network interface (ENI) is created in the VSwitch.'."\n", 'type' => 'string', 'required' => true, 'example' => 'vpc-uf66uio7md****'], 'SecurityGroupId' => ['title' => '', 'description' => 'The ID of the security group to which the Elastic Compute Service (ECS) instance belongs.'."\n", 'type' => 'string', 'required' => true, 'example' => 'sg-bp149cedsfx2rfs****'], 'VSwitchIdList' => [ 'title' => '', 'description' => 'The vSwitches of the clients that you want to connect to. After this parameter is specified, the CIDR blocks of these vSwitches are added to the back-to-origin route of the server.'."\n", 'type' => 'array', 'items' => ['description' => 'The vSwitch ID.'."\n", 'type' => 'string', 'required' => false, 'example' => '["vsw-8ersw98sgmlgkxxxxxx","vsw-4dsgg2at0kljjxxxxxxxx"]', 'title' => ''], 'required' => false, 'example' => '', ], 'DestinationCIDRs' => ['title' => '', 'description' => 'The CIDR blocks of the clients that you want to connect to. After this parameter is specified, the CIDR blocks are added to the back-to-origin route of the server. Either this parameter or the VSwitchIdList parameter can be used to determine CIDR blocks.'."\n", 'type' => 'string', 'required' => false, 'example' => '172.16.0.0/16'], ], 'required' => false, 'title' => '', 'example' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => 'The response parameters.'."\n", 'type' => 'object', 'properties' => [ 'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '40325405-579C-4D82****'], 'Message' => ['description' => 'The returned message.'."\n", 'type' => 'string', 'example' => 'Network interfaces are updating', 'title' => ''], ], 'example' => '', ], ], 404 => [], 409 => [], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"40325405-579C-4D82****\\",\\n \\"Message\\": \\"Network interfaces are updating\\"\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]', 'title' => 'UpdateResourceDLink', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateResourceDLink'], ], ], 'ramActions' => [ [ 'operationType' => 'update', 'ramAction' => [ 'action' => 'eas:UpdateResourceDLink', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'PAI', 'resourceType' => 'Resource', 'arn' => 'acs:eas:{#regionId}:{#accountId}:resource/{#ResourceId}'], ], ], ], ], ], 'UpdateResourceInstance' => [ 'path' => '/api/v2/resources/{ClusterId}/{ResourceId}/instances/{InstanceId}', 'methods' => ['put'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '155033', 'abilityTreeNodes' => ['FEATURElearnRPDTZG'], ], 'parameters' => [ [ 'name' => 'ClusterId', 'in' => 'path', 'schema' => ['description' => 'The region ID of the instance.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'cn-beijing'], ], [ 'name' => 'ResourceId', 'in' => 'path', 'schema' => ['description' => 'The ID of the resource group that contains the instance. For more information, see [ListResources](~~412133~~).', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'eas-r-asdas****'], ], [ 'name' => 'InstanceId', 'in' => 'path', 'schema' => ['description' => 'The ID of the instance. For more information, see [ListResourceInstances](~~412129~~).', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'eas-i-asdas****'], ], [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'description' => 'The request body.', 'type' => 'object', 'properties' => [ 'Action' => [ 'description' => 'The scheduling behavior to update for the instance in the dedicated resource group. Valid values:'."\n" ."\n" .'- Uncordon: Allows services to be scheduled to the instance.'."\n" ."\n" .'- Cordon: Prevents services from being scheduled to the instance.'."\n" ."\n" .'- Drain: Evicts the service instances that are running on the instance.', 'enumValueTitles' => ['Uncordon' => 'Allows services to be scheduled to the instance.', 'Cordon' => 'Prevents services from being scheduled to the instance.', 'Drain' => 'Evicts the service instances that are running on the instance.'], 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'Cordon', ], 'NewDiskSize' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], 'Reason' => ['type' => 'string', 'maxLength' => 200, 'description' => '', 'title' => '', 'example' => ''], ], 'required' => false, 'title' => '', 'example' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => 'The returned data.', 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => '40325405-579C-4D82****'], 'ResourceId' => ['description' => 'The ID of the resource group.', 'type' => 'string', 'title' => '', 'example' => 'eas-r-asdasdasd'], 'InstanceId' => ['description' => 'The instance ID.', 'type' => 'string', 'title' => '', 'example' => 'eas-i-asdasdasd'."\n"], ], 'example' => '', ], ], ], 'title' => 'UpdateResourceInstance', 'summary' => 'Updates the scheduling status of an instance in a dedicated resource group.', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateResourceInstance'], ], ], 'ramActions' => [ [ 'operationType' => 'update', 'ramAction' => [ 'action' => 'eas:UpdateResourceInstance', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'PAI', 'resourceType' => 'Resource', 'arn' => 'acs:eas:{#regionId}:{#accountId}:resource/{#ResourceId}'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"40325405-579C-4D82****\\",\\n \\"ResourceId\\": \\"eas-r-asdasdasd\\",\\n \\"InstanceId\\": \\"eas-i-asdasdasd\\\\n\\"\\n}","type":"json"}]', ], 'UpdateResourceInstanceLabel' => [ 'summary' => 'Updates the tag of an instance in a resource group.', 'path' => '/api/v2/resources/{ClusterId}/{ResourceId}/label', 'methods' => ['put'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', 'abilityTreeCode' => '260413', 'abilityTreeNodes' => ['FEATURElearnN5R68Z'], ], 'parameters' => [ [ 'name' => 'ClusterId', 'in' => 'path', 'schema' => ['description' => 'The region ID.'."\n", 'type' => 'string', 'required' => true, 'example' => 'cn-shanghai', 'title' => ''], ], [ 'name' => 'ResourceId', 'in' => 'path', 'schema' => ['description' => 'The resource group ID.'."\n", 'type' => 'string', 'required' => true, 'example' => 'eas-r-asdasdasd', 'title' => ''], ], [ 'name' => 'InstanceIds', 'in' => 'query', 'style' => 'simple', 'schema' => [ 'description' => 'The instance IDs.'."\n", 'type' => 'array', 'items' => ['description' => 'The instance ID.'."\n", 'type' => 'string', 'required' => false, 'example' => 'eas-i-xxxxxx', 'title' => ''], 'required' => false, 'title' => '', 'example' => '', ], ], [ 'name' => 'AllInstances', 'in' => 'query', 'schema' => ['description' => 'Specifies whether the modification takes effect on all instances in the resource group. If you set this parameter to true, the InstanceIds parameter does not take effect.'."\n", 'type' => 'boolean', 'required' => false, 'example' => 'false', 'title' => ''], ], [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'description' => 'The request body.'."\n", 'type' => 'object', 'properties' => [ 'Labels' => [ 'description' => 'The custom tag.'."\n", 'type' => 'object', 'required' => false, 'additionalProperties' => ['type' => 'string', 'example' => '{"key":"value"}'."\n", 'description' => 'The tag.'."\n", 'title' => ''], 'title' => '', 'example' => '', ], ], 'required' => false, 'title' => '', 'example' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => 'The response parameters.'."\n", 'type' => 'object', 'properties' => [ 'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '40325405-579C-4D82****'], 'Message' => ['description' => 'The message.'."\n", 'type' => 'string', 'example' => 'Success', 'title' => ''], ], 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"40325405-579C-4D82****\\",\\n \\"Message\\": \\"Success\\"\\n}","type":"json"}]', 'title' => 'UpdateResourceInstanceLabel', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateResourceInstanceLabel'], ], ], 'ramActions' => [ [ 'operationType' => 'update', 'ramAction' => [ 'action' => 'eas:UpdateResourceInstanceLabel', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'PAI', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], ], 'UpdateService' => [ 'path' => '/api/v2/services/{ClusterId}/{ServiceName}', 'methods' => ['put'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '37044', 'abilityTreeNodes' => ['FEATURElearnKDX12S'], ], 'parameters' => [ [ 'name' => 'ClusterId', 'in' => 'path', 'schema' => ['description' => 'The region ID of the service.'."\n", 'type' => 'string', 'required' => true, 'example' => 'cn-shanghai', 'title' => ''], ], [ 'name' => 'ServiceName', 'in' => 'path', 'schema' => ['description' => 'The service name. For more information about how to query the service name, see [ListServices](~~412109~~).'."\n", 'type' => 'string', 'required' => true, 'example' => 'foo', 'title' => ''], ], [ 'name' => 'UpdateType', 'in' => 'query', 'schema' => [ 'description' => 'The type of the service update. Valid values: merge and replace. By default, merge is used if you do not specify this parameter.'."\n" ."\n" .'* merge: If the JSON string configured for the existing service is `{"a":"b"}` and the JSON string specified in the body parameter is `{"c":"d"}`, the JSON string is `{"a":"b","c":"d"}` after the service update.'."\n" .'* replace: If the JSON string configured for the existing service is `{"a":"b"}` and the JSON string specified in the body parameter is `{"c":"d"}`, the JSON string is `{"c":"d"}` after the service update.'."\n", 'type' => 'string', 'required' => false, 'enumValueTitles' => ['merge' => '', 'replace' => ''], 'example' => 'merge', 'title' => '', ], ], [ 'name' => 'MemberToUpdate', 'in' => 'query', 'allowEmptyValue' => true, 'schema' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], ], [ 'name' => 'body', 'in' => 'body', 'schema' => ['description' => 'The request body. The body includes the request parameters that you want to update. For more information about the request parameters, see [CreateService](~~412086~~).'."\n", 'type' => 'string', 'required' => false, 'example' => '{'."\n" .' "name": "foo",'."\n" .' "model_path": "http://path/to/model.tar.gz",'."\n" .' "processor": "tensorflow_cpu",'."\n" .' "metadata": {'."\n" .' "instance": 2,'."\n" .' "memory": 7000,'."\n" .' "cpu": 4'."\n" .' }'."\n" .'}', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => 'The response parameters.'."\n", 'type' => 'object', 'properties' => [ 'RequestId' => ['title' => '', 'description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '40325405-579C-4D82****'], 'Message' => ['title' => '', 'description' => 'The returned message.'."\n", 'type' => 'string', 'example' => 'Succeed to update service [foo] in region [cn-shanghai]'], ], 'example' => '', ], ], 400 => [], 403 => [], 409 => [], ], 'staticInfo' => ['returnType' => 'synchronous'], 'title' => 'UpdateService', 'summary' => 'Updates a model or processor of a service. If only the metadata.instance field is updated, manual scaling can be performed.', 'requestParamsDescription' => '> For more information about the request parameters, see CreateService.'."\n", 'changeSet' => [ ['createdAt' => '2023-12-26T09:25:15.000Z', 'description' => 'Request parameters changed'], ['createdAt' => '2022-12-07T06:47:10.000Z', 'description' => 'Request parameters changed'], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateService'], ], ], 'ramActions' => [ [ 'operationType' => 'update', 'ramAction' => [ 'action' => 'eas:UpdateService', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'PAI', 'resourceType' => 'Service', 'arn' => 'acs:eas:{#regionId}:{#accountId}:service/{#ServiceName}'], ], ], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"40325405-579C-4D82****\\",\\n \\"Message\\": \\"Succeed to update service [foo] in region [cn-shanghai]\\"\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]', ], 'UpdateServiceAutoScaler' => [ 'summary' => 'Updates the Autoscaler configurations of a service.', 'path' => '/api/v2/services/{ClusterId}/{ServiceName}/autoscaler', 'methods' => ['put'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => ['operationType' => 'update'], 'parameters' => [ [ 'name' => 'ClusterId', 'in' => 'path', 'schema' => ['description' => 'The region ID of the service.', 'type' => 'string', 'required' => true, 'example' => 'cn-shanghai', 'title' => ''], ], [ 'name' => 'ServiceName', 'in' => 'path', 'schema' => ['description' => 'The service name. For more information about how to query the service name, see [ListServices](~~412109~~).', 'type' => 'string', 'required' => true, 'example' => 'foo', 'title' => ''], ], [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'description' => 'The request body.', 'type' => 'object', 'properties' => [ 'min' => ['description' => 'The minimum number of instances. The value must be greater than 0.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'title' => '', 'example' => '2'], 'max' => ['description' => 'The maximum number of instances. The value must be greater than that of the min parameter.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'title' => '', 'example' => '8'], 'scaleStrategies' => [ 'description' => 'The auto scaling policies.', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'metricName' => ['description' => 'The name of the metric for triggering auto scaling. Valid values:'."\n" ."\n" .'- qps: the queries per second (QPS) for an individual instance.'."\n" ."\n" .'- cpu: the CPU utilization.', 'type' => 'string', 'required' => true, 'example' => 'qps', 'title' => ''], 'threshold' => ['description' => 'The threshold of the metric that triggers auto scaling.'."\n" ."\n" .'- If you set metricName to QPS, scale-out is triggered when the average QPS for a single instance is greater than this threshold.'."\n" ."\n" .'- If you set metricName to CPU, scale-out is triggered when the average CPU utilization for a single instance is greater than this threshold.', 'type' => 'number', 'format' => 'float', 'required' => true, 'example' => '100', 'title' => ''], 'service' => ['description' => 'The service for which the metric is specified. If you do not set this parameter, the current service is specified by default.', 'type' => 'string', 'required' => false, 'example' => 'demo_svc', 'title' => ''], ], 'required' => false, 'description' => '', 'title' => '', 'example' => '', ], 'required' => true, 'title' => '', 'example' => '', ], 'behavior' => [ 'description' => 'The Autoscaler operation.', 'type' => 'object', 'properties' => [ 'scaleUp' => [ 'description' => 'The scale-out operation.', 'type' => 'object', 'properties' => [ 'stabilizationWindowSeconds' => ['description' => 'The time window that is required before the scale-out operation is performed. Default value: 0. The scale-out operation can be performed only if the specified metric exceeds the specified threshold in the specified time window.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '0', 'title' => ''], ], 'required' => false, 'title' => '', 'example' => '', ], 'scaleDown' => [ 'description' => 'The scale-in operation.', 'type' => 'object', 'properties' => [ 'stabilizationWindowSeconds' => ['description' => 'The time window that is required before the scale-in operation is performed. Default value: 300. The scale-in operation can be performed only if the specified metric drops below the threshold in the specified time window.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '300', 'title' => ''], ], 'required' => false, 'title' => '', 'example' => '', ], 'onZero' => [ 'description' => 'The operation that reduces the number of instances to 0.', 'type' => 'object', 'properties' => [ 'scaleDownGracePeriodSeconds' => ['description' => 'The time window that is required before the number of instances is reduced to 0. Default value: 600. The number of instances can be reduced to 0 only if no request is available or no traffic exists in the specified time window.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '600', 'title' => ''], 'scaleUpActivationReplicas' => ['description' => 'The number of instances that you want to create at a time if the number of instances is scaled out from 0. Default value: 1.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''], ], 'required' => false, 'title' => '', 'example' => '', ], ], 'required' => false, 'title' => '', 'example' => '', ], ], 'required' => false, 'title' => '', 'example' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => 'The response parameters.', 'type' => 'object', 'properties' => [ 'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID.', 'type' => 'string', 'example' => '40325405-579C-4D82****'], 'Message' => ['description' => 'The returned message.', 'type' => 'string', 'example' => 'Update auto scale for service [foo] successfully', 'title' => ''], ], 'example' => '', ], ], ], 'title' => 'UpdateServiceAutoScaler', 'changeSet' => [ ['createdAt' => '2023-05-17T07:24:04.000Z', 'description' => 'Request parameters changed'], ['createdAt' => '2022-09-16T08:39:20.000Z', 'description' => 'Request parameters changed'], ['createdAt' => '2022-09-16T08:39:20.000Z', 'description' => 'Request parameters changed'], ['createdAt' => '2022-08-05T06:41:48.000Z', 'description' => 'Request parameters changed'], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateServiceAutoScaler'], ], ], 'ramActions' => [ [ 'operationType' => 'update', 'ramAction' => [ 'action' => 'eas:UpdateServiceAutoScaler', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'PAI', 'resourceType' => 'Service', 'arn' => 'acs:eas:{#regionId}:{#accountId}:service/{#ServiceName}'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"40325405-579C-4D82****\\",\\n \\"Message\\": \\"Update auto scale for service [foo] successfully\\"\\n}","type":"json"}]', ], 'UpdateServiceCronScaler' => [ 'path' => '/api/v2/services/{ClusterId}/{ServiceName}/cronscaler', 'methods' => ['put'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATURElearnZ3WNW7'], ], 'parameters' => [ [ 'name' => 'ClusterId', 'in' => 'path', 'schema' => ['description' => 'The ID of the region where the service is located.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'cn-shanghai'], ], [ 'name' => 'ServiceName', 'in' => 'path', 'schema' => ['description' => 'The name of the service. For more information, see [ListServices](~~412109~~).', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'foo'], ], [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'description' => 'The request body.', 'type' => 'object', 'properties' => [ 'ScaleJobs' => [ 'title' => '', 'description' => 'The scheduled scaling tasks.', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'TargetSize' => ['description' => 'The target number of instances for the scaling task.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'title' => '', 'example' => '2'], 'Schedule' => ['description' => 'The cron expression that specifies when to run the scaling task. For more information about cron expressions, see the **Cron expressions** section in this topic.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => '0 18 * * * *'."\n"], 'Name' => ['description' => 'The name of the scheduled auto scaling task.', 'type' => 'string', 'required' => false, 'example' => 'scale-job-1'."\n", 'title' => ''], 'TimeZone' => ['description' => 'The time zone for the cron expression.', 'type' => 'string', 'required' => false, 'example' => 'Asia/Shanghai', 'title' => ''], ], 'required' => false, 'description' => '', 'title' => '', 'example' => '', ], 'required' => true, 'example' => '', ], 'ExcludeDates' => [ 'title' => '', 'description' => 'The cron expressions for the dates to exclude from the schedule.', 'type' => 'array', 'items' => ['description' => 'A cron expression. For more information, see the **Cron expressions** section in this topic.', 'type' => 'string', 'required' => false, 'example' => '* * * * * 0,6'."\n", 'title' => ''], 'required' => false, 'example' => '', ], ], 'required' => false, 'title' => '', 'example' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => 'The response body.', 'type' => 'object', 'properties' => [ 'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID.', 'type' => 'string', 'example' => '40325405-579C-4D82****'], 'Message' => ['description' => 'The returned message.', 'type' => 'string', 'example' => 'Update cron scaler for service [foo] successfully', 'title' => ''], ], 'example' => '', ], ], ], 'title' => 'UpdateServiceCronScaler', 'summary' => 'Updates the scheduled auto scaling configuration for a service.', 'requestParamsDescription' => '### Cron expressions'."\n" ."\n" .'!\\[image]\\(../images/p1064363.png" width="350)'."\n" ."\n" .'| Name | Allowed values | Allowed special characters |'."\n" .'| ------------ | --------------- | -------------------------- |'."\n" .'| Second | 0-59 | \\* / , - |'."\n" .'| Minute | 0-59 | \\* / , - |'."\n" .'| Hour | 0-23 | \\* / , - |'."\n" .'| Day of month | 1-31 | \\* / , - |'."\n" .'| Month | 1-12 or JAN-DEC | \\* / , - |'."\n" .'| Day of week | 0-6 or SUN-SAT | \\* / , - |'."\n" ."\n" .'#### Special characters'."\n" ."\n" .'**Asterisk (\\*)** An asterisk (\\*) represents all values in a field. For example, 0 0 0 1 \\* \\* means at 00:00 on the first day of every month.'."\n" ."\n" .'**Hyphen (-)** A hyphen (-) specifies a range of values. For example, 0 0 12-14 \\* \\* \\* means at 12:00, 13:00, and 14:00 every day.'."\n" ."\n" .'**Comma (,)** A comma (,) separates individual values. For example, 0 0 12,14 \\* \\* \\* means at 12:00 and 14:00 every day.'."\n" ."\n" .'**Slash (/)** A slash (/) specifies increments. For example, 0 \\*/15 \\* \\* \\* \\* means at 0, 15, 30, and 45 minutes past the hour. You can use a slash (/) with a hyphen (-). For example, 0 5-40/15 \\* \\* \\* \\* means every 15 minutes between 5 and 40 minutes past the hour. The task runs at 5, 20, and 35 minutes past the hour.', 'changeSet' => [ ['createdAt' => '2022-02-22T03:55:39.000Z', 'description' => 'OpenAPI offline'], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateServiceCronScaler'], ], ], 'ramActions' => [ [ 'operationType' => 'update', 'ramAction' => [ 'action' => 'eas:UpdateServiceCronScaler', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'PAI', 'resourceType' => 'Service', 'arn' => 'acs:eas:{#regionId}:{#accountId}:service/{#ServiceName}'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"40325405-579C-4D82****\\",\\n \\"Message\\": \\"Update cron scaler for service [foo] successfully\\"\\n}","type":"json"}]', ], 'UpdateServiceInstance' => [ 'summary' => 'Updates the properties of a service instance. This operation applies only to fencing service instances.', 'path' => '/api/v2/services/{ClusterId}/{ServiceName}/instances/{InstanceName}', 'methods' => ['put'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '200711', 'abilityTreeNodes' => ['FEATURElearnKDX12S'], ], 'parameters' => [ [ 'name' => 'ClusterId', 'in' => 'path', 'schema' => ['description' => 'The region of the service.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'cn-shanghai'], ], [ 'name' => 'ServiceName', 'in' => 'path', 'schema' => ['description' => 'The name of the service. For more information, see [ListServices](~~412109~~).', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'foo'], ], [ 'name' => 'InstanceName', 'in' => 'path', 'schema' => ['description' => 'The name of the service instance. For more information, see [ListServiceInstances](~~412108~~).', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'foo-69xxxx4f4-5w9r9'], ], [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'description' => 'The request body.', 'type' => 'object', 'properties' => [ 'Hibernate' => ['type' => 'boolean', 'description' => '> This parameter is for an invitational preview. It is not generally available.', 'title' => '', 'required' => false, 'example' => '0'], 'Isolate' => ['description' => 'Specifies whether to isolate the instance. Valid values:'."\n" ."\n" .'- true: The instance is isolated and does not receive traffic.'."\n" ."\n" .'- false: The instance is not isolated and receives traffic.', 'type' => 'boolean', 'required' => false, 'title' => '', 'example' => 'true'], 'Detach' => ['type' => 'boolean', 'description' => 'Specifies whether to fence the service instance. After an instance is fenced, it is no longer managed by the VPC controller and a new instance is created. The fenced instance is reserved for troubleshooting or debugging. Note: You cannot unfence an instance. Valid values:'."\n" ."\n" .'- true: Fences the instance.', 'title' => '', 'required' => false, 'example' => 'true'], ], 'required' => false, 'title' => '', 'example' => '', ], ], [ 'name' => 'IsReplica', 'in' => 'query', 'schema' => ['type' => 'boolean', 'description' => 'Specifies whether the instance is a replica.', 'title' => '', 'required' => false, 'example' => 'false'], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => 'The response body.', 'type' => 'object', 'properties' => [ 'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID.', 'type' => 'string', 'example' => '40325405-579C-4D82****'], 'Message' => ['description' => 'A message that indicates a successful operation.', 'type' => 'string', 'title' => '', 'example' => 'instance xxxx isolation updated to true。'], ], 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"40325405-579C-4D82****\\",\\n \\"Message\\": \\"instance xxxx isolation updated to true。\\"\\n}","type":"json"}]', 'title' => 'UpdateServiceInstance', 'description' => '**Before you call this operation, make sure that you understand the billing methods and [pricing](~~144261~~) of Elastic Algorithm Service (EAS).**', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateServiceInstance'], ], ], 'ramActions' => [ [ 'operationType' => 'update', 'ramAction' => [ 'action' => 'eas:UpdateServiceInstance', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'PAI', 'resourceType' => 'Service', 'arn' => 'acs:eas:{#regionId}:{#accountId}:service/{#ServiceName}'], ], ], ], ], ], 'UpdateServiceLabel' => [ 'summary' => 'Adds service tags or updates existing service tags.', 'path' => '/api/v2/services/{ClusterId}/{ServiceName}/label', 'methods' => ['put'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', 'abilityTreeCode' => '167564', 'abilityTreeNodes' => ['FEATURElearnKDX12S'], ], 'parameters' => [ [ 'name' => 'ClusterId', 'in' => 'path', 'schema' => ['title' => '', 'description' => 'The ID of the region where the service is deployed.'."\n", 'type' => 'string', 'required' => true, 'example' => 'cn-shanghai'], ], [ 'name' => 'ServiceName', 'in' => 'path', 'schema' => ['title' => '', 'description' => 'The service name. For more information about how to query the service name, see [ListServices](~~412109~~).'."\n", 'type' => 'string', 'required' => true, 'example' => 'foo'], ], [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'title' => '', 'description' => 'The request body.'."\n", 'type' => 'object', 'properties' => [ 'Labels' => [ 'title' => '', 'description' => 'The custom service tags.'."\n", 'type' => 'object', 'required' => true, 'additionalProperties' => ['title' => '', 'description' => 'The custom service tag.'."\n", 'type' => 'string', 'example' => '{"key":"value"}'], 'example' => '', ], ], 'required' => false, 'example' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => 'The response parameters.'."\n", 'type' => 'object', 'properties' => [ 'RequestId' => ['title' => '', 'description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '40325405-579C-4D82****'], 'Message' => ['title' => '', 'description' => 'The returned message.'."\n", 'type' => 'string', 'example' => 'Succeed to update service [service_from_XXXX] labels.'], ], 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"40325405-579C-4D82****\\",\\n \\"Message\\": \\"Succeed to update service [service_from_XXXX] labels.\\"\\n}","type":"json"}]', 'title' => 'UpdateServiceLabel', 'changeSet' => [ ['createdAt' => '2023-08-09T02:08:59.000Z', 'description' => 'Response parameters changed'], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateServiceLabel'], ], ], 'ramActions' => [ [ 'operationType' => 'update', 'ramAction' => [ 'action' => 'eas:UpdateServiceLabel', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'PAI', 'resourceType' => 'Service', 'arn' => 'acs:eas:{#regionId}:{#accountId}:service/{#ServiceName}'], ], ], ], ], ], 'UpdateServiceMirror' => [ 'summary' => 'Updates the traffic mirroring configurations of a service.', 'path' => '/api/v2/services/{ClusterId}/{ServiceName}/mirror', 'methods' => ['put'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => ['operationType' => 'update'], 'parameters' => [ [ 'name' => 'ClusterId', 'in' => 'path', 'schema' => ['title' => '', 'description' => 'The ID of the region where the service is deployed.'."\n", 'type' => 'string', 'required' => true, 'example' => 'cn-shanghai'], ], [ 'name' => 'ServiceName', 'in' => 'path', 'schema' => ['title' => '', 'description' => 'The service name. For more information about how to query the service name, see [ListServices](~~412109~~).'."\n", 'type' => 'string', 'required' => true, 'example' => 'foo'], ], [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'description' => 'The request body.'."\n", 'type' => 'object', 'properties' => [ 'Ratio' => ['title' => '', 'description' => 'The percentage of traffic that you want to mirror. Valid values: 0 to 100.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '30'], 'Target' => [ 'title' => '', 'description' => 'The service instances.'."\n", 'type' => 'array', 'items' => ['description' => 'The name of the service instance. For more information about how to query the name of a service instance, see [ListServiceInstances](~~412108~~).'."\n", 'type' => 'string', 'required' => false, 'example' => 'foo-xxxx', 'title' => ''], 'required' => false, 'example' => '', ], ], 'required' => false, 'title' => '', 'example' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => 'The response parameters.'."\n", 'type' => 'object', 'properties' => [ 'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '40325405-579C-4D82***'], 'Message' => [ 'description' => 'The returned message.'."\n", 'type' => 'string', 'example' => 'Traffic mirroring is updating for service [foo] in region [cn-shanghai], ratio [70%]', 'enumValueTitles' => [], 'title' => '', ], ], 'example' => '', ], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"40325405-579C-4D82***\\",\\n \\"Message\\": \\"Traffic mirroring is updating for service [foo] in region [cn-shanghai], ratio [70%]\\"\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]', 'title' => 'UpdateServiceMirror', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateServiceMirror'], ], ], 'ramActions' => [ [ 'operationType' => 'update', 'ramAction' => [ 'action' => 'eas:UpdateServiceMirror', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'PAI', 'resourceType' => 'Service', 'arn' => 'acs:eas:{#regionId}:{#accountId}:service/{#ServiceName}'], ], ], ], ], ], 'UpdateServiceRollout' => [ 'summary' => 'Updates a service rollout.', 'description' => '## Usage notes'."\n" ."\n" .'- **Provide at least one parameter**: Specify at least one of the `Partition`, `Batch`, or `Paused` parameters.'."\n" ."\n" .'- **Mutually exclusive strategies**: You cannot specify both the `Partition` and `Batch` parameters in the same request.'."\n" ."\n" .'- **Immediate effect**: Updates take effect immediately and affect ongoing service rollouts.'."\n" ."\n" .'- **Rollback**: You can perform a rollback by increasing the `Partition` value. However, this is not an automatic process, and you must manually update the service image.'."\n" ."\n" .'- **Pause does not affect parameters**: Pausing a rollout does not change the configured `Partition` or `Batch` parameters. It only suspends the current rollout strategy.', 'path' => '/api/v2/services/{ClusterId}/{ServiceName}/rollout', 'methods' => ['put'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATURElearnKDX12S'], ], 'parameters' => [ [ 'name' => 'ClusterId', 'in' => 'path', 'schema' => ['description' => 'The region ID where the service is located.'."\n" ."\n" .'- Type: string'."\n" ."\n" .'- Required: Yes'."\n" ."\n" .'- Description: The ID of the region where the service is located.'."\n" ."\n" .'- Example: cn-shanghai', 'type' => 'string', 'required' => true, 'example' => 'cn-shanghai', 'title' => ''], ], [ 'name' => 'ServiceName', 'in' => 'path', 'schema' => ['description' => 'The name of the service.'."\n" ."\n" .'- Type: string'."\n" ."\n" .'- Required: Yes'."\n" ."\n" .'- Description: The name of the service for which to update the release policy.'."\n" ."\n" .'- Example: my-service', 'type' => 'string', 'required' => true, 'example' => 'my-service', 'title' => ''], ], [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'type' => 'object', 'properties' => [ 'Partition' => [ 'type' => 'object', 'properties' => [ 'Partition' => ['description' => '**Partition value**'."\n" ."\n" .'- Type: string'."\n" ."\n" .'- Required: Yes'."\n" ."\n" .'- Description: The partition value. This parameter specifies the number or percentage of old-version replicas to retain. It supports two formats:'."\n" ."\n" .' 1. An integer, such as "5", for the number of replicas.'."\n" ."\n" .' 2. A percentage, such as "50%", for the proportion of replicas.'."\n" ."\n" .' Adjustment strategy:'."\n" ."\n" .' - Increasing the value rolls back to the previous version by increasing the number of old-version replicas.'."\n" ."\n" .' - Decreasing the value continues the rollout by reducing the number of old-version replicas.'."\n" ."\n" .' - Setting the value to "0" or "0%" completes the rollout, replacing all old-version replicas.'."\n" ."\n" .'- Example: 30%', 'type' => 'string', 'example' => '30%', 'title' => '', 'required' => false], ], 'title' => '', 'description' => 'The partition rollout configuration. This parameter is mutually exclusive with `Batch`.'."\n" ."\n" .'- Type: object'."\n" ."\n" .'- Required: No'."\n" ."\n" .'- Description: The partition rollout configuration. This parameter adjusts the parameters for the partition strategy. It is mutually exclusive with `Batch`.', 'required' => false, 'example' => '', ], 'Batch' => [ 'type' => 'object', 'properties' => [ 'BatchSize' => ['description' => 'The number of replicas to update in each batch. This can be an integer or a percentage. The default is `"25%"`.', 'type' => 'string', 'example' => '25%', 'title' => '', 'required' => false], 'Interval' => ['description' => 'The interval to wait between batches. Supported units include `s` (seconds), `m` (minutes), and `h` (hours).', 'type' => 'string', 'example' => '60s', 'title' => '', 'required' => false], ], 'title' => '', 'description' => 'The batch rollout configuration. This parameter is mutually exclusive with `Partition`.'."\n" ."\n" .'- Type: object'."\n" ."\n" .'- Required: No'."\n" ."\n" .'- Description: The batch rollout configuration for adjusting batch policy parameters. This parameter is mutually exclusive with Partition.', 'required' => false, 'example' => '', ], 'Paused' => ['description' => 'Set to `true` to pause the rollout or `false` to resume it.', 'type' => 'boolean', 'example' => 'true', 'title' => '', 'required' => false], ], 'required' => false, 'description' => 'The request body.', 'title' => '', 'example' => '', ], ], ], 'responses' => [ 200 => [ 'description' => '成功响应', 'schema' => [ 'description' => 'The response body.', 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'A unique identifier for the request. You can use this request ID for troubleshooting and tracking.', 'type' => 'string', 'example' => '40325405-579C-4D82****', 'title' => ''], 'Message' => ['description' => 'A message that indicates the result of the request. Possible values include:'."\n" ."\n" .'- "Rollout updated successfully"'."\n" ."\n" .'- "Rollout paused successfully"'."\n" ."\n" .'- "Rollout resumed successfully"', 'type' => 'string', 'example' => 'Rollout updated successfully', 'title' => ''], ], 'title' => '', 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'title' => 'UpdateServiceRollout', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], ], 'ramActions' => [], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"40325405-579C-4D82****\\",\\n \\"Message\\": \\"Rollout updated successfully\\"\\n}","type":"json"}]', ], 'UpdateServiceSafetyLock' => [ 'summary' => 'Updates the safety lock of a service to minimize misoperations on the service.', 'path' => '/api/v2/services/{ClusterId}/{ServiceName}/lock', 'methods' => ['put'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => [], 'produces' => ['application/json'], 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', 'abilityTreeCode' => '161176', 'abilityTreeNodes' => ['FEATURElearnN5R68Z'], ], 'parameters' => [ [ 'name' => 'ClusterId', 'in' => 'path', 'schema' => ['description' => 'The ID of the region where the service is deployed.'."\n", 'type' => 'string', 'required' => true, 'example' => 'cn-beijing', 'title' => ''], ], [ 'name' => 'ServiceName', 'in' => 'path', 'schema' => ['description' => 'The service name. For more information about how to query the service name, see [ListServices](~~412109~~).'."\n", 'type' => 'string', 'required' => true, 'example' => 'foo', 'title' => ''], ], [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'description' => 'The request body.'."\n", 'type' => 'object', 'properties' => [ 'Lock' => [ 'description' => 'The lock scope. Valid values:'."\n" ."\n" .'* all: locks all operations.'."\n" .'* dangerous: locks dangerous operations such as delete and stop operations.'."\n" .'* none: locks no operations.'."\n", 'type' => 'string', 'required' => true, 'enumValueTitles' => ['all' => '', 'dangerous' => '', 'none' => ''], 'example' => 'dangerous', 'enum' => ['none', 'dangerous', 'all'], 'title' => '', ], ], 'required' => false, 'title' => '', 'example' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => 'The response parameters.'."\n", 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => 'E089D584-B6F4-50C4-9902-DA2295B7****', 'title' => ''], 'Message' => ['description' => 'The returned message.'."\n", 'type' => 'string', 'example' => 'service safety lock updated to dangerous', 'title' => ''], ], 'example' => '', ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"E089D584-B6F4-50C4-9902-DA2295B7****\\",\\n \\"Message\\": \\"service safety lock updated to dangerous\\"\\n}","type":"json"}]', 'title' => 'UpdateServiceSafetyLock', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateServiceSafetyLock'], ], ], 'ramActions' => [ [ 'operationType' => 'update', 'ramAction' => [ 'action' => 'eas:UpdateServiceSafetyLock', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'PAI', 'resourceType' => 'Service', 'arn' => 'acs:eas:{#regionId}:{#accountId}:service/{#ServiceName}'], ], ], ], ], ], 'UpdateServiceVersion' => [ 'path' => '/api/v2/services/{ClusterId}/{ServiceName}/version', 'methods' => ['put'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATURElearnKDX12S'], ], 'parameters' => [ [ 'name' => 'ClusterId', 'in' => 'path', 'schema' => ['description' => 'The ID of the region where the service is deployed.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'cn-shanghai'], ], [ 'name' => 'ServiceName', 'in' => 'path', 'schema' => ['description' => 'The service name. For more information about how to query the service name, see [ListServices](~~412109~~).', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'echo'], ], [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'description' => 'The request body.', 'type' => 'object', 'properties' => [ 'Version' => ['description' => 'The destination version of the service. The value must be of the INT type. The value must be greater than 0 and smaller than the current version of the service.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '1', 'title' => ''], ], 'required' => false, 'title' => '', 'example' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => 'The response parameters.', 'type' => 'object', 'properties' => [ 'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID.', 'type' => 'string', 'example' => '40325405-579C-4D82****'], 'Message' => ['description' => 'The returned message.', 'type' => 'string', 'example' => 'Service [foo] in region [cn-shanghai] is starting', 'title' => ''], ], 'example' => '', ], ], 400 => [], 403 => [], ], 'title' => 'UpdateServiceVersion', 'summary' => 'Updates the version of a service or rolls back the service to a specific version.', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateServiceVersion'], ], ], 'ramActions' => [], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"40325405-579C-4D82****\\",\\n \\"Message\\": \\"Service [foo] in region [cn-shanghai] is starting\\"\\n}","type":"json"}]', ], 'UpdateVirtualResource' => [ 'summary' => 'Updates the information about a virtual resource group.', 'path' => '/api/v2/virtualresources/{ClusterId}/{VirtualResourceId}', 'methods' => ['put'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', 'abilityTreeCode' => '238299', 'abilityTreeNodes' => ['FEATURElearnRPDTZG'], 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ 'name' => 'ClusterId', 'in' => 'path', 'schema' => ['title' => '', 'description' => 'The ID of the region to which the virtual resource group belongs.'."\n", 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'], ], [ 'name' => 'VirtualResourceId', 'in' => 'path', 'schema' => ['title' => '', 'description' => 'The ID of the virtual resource group.'."\n", 'type' => 'string', 'required' => true, 'example' => 'eas-vr-npovr28onap1xxxxxx'."\n"], ], [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'description' => 'The request parameters.'."\n", 'type' => 'object', 'properties' => [ 'Resources' => [ 'title' => '', 'description' => 'The resources in the virtual resource group.'."\n" ."\n" .'> If you specify this parameter, previous data is overwritten.'."\n", 'type' => 'array', 'items' => [ 'description' => 'The details of the resource.'."\n", 'type' => 'object', 'properties' => [ 'Region' => ['title' => '', 'description' => 'The region in which the resource resides.'."\n", 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'], 'Priority' => ['title' => '', 'description' => 'The priority of resource scheduling. A greater number indicates a higher priority.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '6'], 'InstanceType' => ['title' => '', 'description' => 'The instance type of the public resource group.'."\n" ."\n" .'> You must specify one and only one of the InstanceType, ResourceId, and QuotaId parameters.'."\n", 'type' => 'string', 'required' => false, 'example' => 'ecs.s6-c1m2.xlarge'."\n"], 'ResourceId' => ['title' => '', 'description' => 'The ID of the dedicated resource group. For information about how to obtain the ID of a dedicated resource group, see [ListResources](~~412133~~).'."\n" ."\n" .'> You must specify one and only one of the InstanceType, ResourceId, and QuotaId parameters.'."\n", 'type' => 'string', 'required' => false, 'example' => 'eas-r-g55ieatgg3butwrn7a'], 'QuotaId' => ['title' => '', 'description' => 'The ID of the Lingjun resource quota.'."\n" ."\n" .'> You must specify one and only one of the InstanceType, ResourceId, and QuotaId parameters.'."\n", 'type' => 'string', 'required' => false, 'example' => 'quota185lqf994k6'], 'SpotPriceLimit' => ['title' => '', 'description' => 'The maximum price of preemptible instances in a public resource group.'."\n" ."\n" .'> If you leave this parameter empty, preemptible instances are not used.'."\n", 'type' => 'number', 'format' => 'float', 'required' => false, 'example' => '10.05'], ], 'required' => false, 'title' => '', 'example' => '', ], 'required' => false, 'example' => '', ], 'VirtualResourceName' => ['title' => '', 'description' => 'The new name of the virtual resource group.'."\n", 'type' => 'string', 'required' => false, 'example' => 'NewMyVirtualResource'], 'DisableSpotProtectionPeriod' => ['description' => 'Specifies whether to disable the retention period of preemptible instances.'."\n", 'type' => 'boolean', 'required' => false, 'example' => 'true', 'title' => ''], ], 'required' => false, 'title' => '', 'example' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => 'The data returned.'."\n", 'type' => 'object', 'properties' => [ 'RequestId' => ['title' => 'Id of the request', 'description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '40325405-579C-4D82****'], 'Message' => ['description' => 'The returned message.'."\n", 'type' => 'string', 'example' => 'Successfully updated virtual resource eas-vr-npovr28onap1xxxxxx', 'title' => ''], ], 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"40325405-579C-4D82****\\",\\n \\"Message\\": \\"Successfully updated virtual resource eas-vr-npovr28onap1xxxxxx\\"\\n}","type":"json"}]', 'title' => 'UpdateVirtualResource', 'changeSet' => [ ['createdAt' => '2025-01-21T08:56:51.000Z', 'description' => 'Request parameters changed'], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateVirtualResource'], ], ], 'ramActions' => [ [ 'operationType' => 'update', 'ramAction' => [ 'action' => 'eas:UpdateVirtualResource', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'PAI', 'resourceType' => 'VirtualResource', 'arn' => 'acs:eas:{#regionId}:{#accountId}:virtualresource/{#VirtualResourceId}'], ], ], ], ], ], ], 'endpoints' => [ ['regionId' => 'cn-zhongwei', 'regionName' => 'China (Zhongwei)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'pai-eas.cn-zhongwei.aliyuncs.com', 'endpoint' => 'pai-eas.cn-zhongwei.aliyuncs.com', 'vpc' => 'pai-eas-manage-vpc.cn-zhongwei.aliyuncs.com'], ['regionId' => 'cn-wulanchabu', 'regionName' => 'China (Ulanqab)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'pai-eas.cn-wulanchabu.aliyuncs.com', 'endpoint' => 'pai-eas.cn-wulanchabu.aliyuncs.com', 'vpc' => 'pai-eas-manage-vpc.cn-wulanchabu.aliyuncs.com'], ['regionId' => 'cn-beijing', 'regionName' => 'China (Beijing)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'pai-eas.cn-beijing.aliyuncs.com', 'endpoint' => 'pai-eas.cn-beijing.aliyuncs.com', 'vpc' => 'pai-eas-manage-vpc.cn-beijing.aliyuncs.com'], ['regionId' => 'cn-shanghai', 'regionName' => 'China (Shanghai)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'pai-eas.cn-shanghai.aliyuncs.com', 'endpoint' => 'pai-eas.cn-shanghai.aliyuncs.com', 'vpc' => 'pai-eas-manage-vpc.cn-shanghai.aliyuncs.com'], ['regionId' => 'cn-hongkong', 'regionName' => 'China (Hong Kong)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'pai-eas.cn-hongkong.aliyuncs.com', 'endpoint' => 'pai-eas.cn-hongkong.aliyuncs.com', 'vpc' => 'pai-eas-manage-vpc.cn-hongkong.aliyuncs.com'], ['regionId' => 'cn-heyuan', 'regionName' => 'China (Heyuan)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'pai-eas.cn-heyuan.aliyuncs.com', 'endpoint' => 'pai-eas.cn-heyuan.aliyuncs.com', 'vpc' => 'pai-eas-manage-vpc.cn-heyuan.aliyuncs.com'], ['regionId' => 'cn-zhangjiakou', 'regionName' => 'China (Zhangjiakou)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'pai-eas.cn-zhangjiakou.aliyuncs.com', 'endpoint' => 'pai-eas.cn-zhangjiakou.aliyuncs.com', 'vpc' => 'pai-eas-manage-vpc.cn-zhangjiakou.aliyuncs.com'], ['regionId' => 'cn-shenzhen', 'regionName' => 'China (Shenzhen)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'pai-eas.cn-shenzhen.aliyuncs.com', 'endpoint' => 'pai-eas.cn-shenzhen.aliyuncs.com', 'vpc' => 'pai-eas-manage-vpc.cn-shenzhen.aliyuncs.com'], ['regionId' => 'ap-northeast-2', 'regionName' => 'South Korea (Seoul)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'pai-eas.ap-northeast-2.aliyuncs.com', 'endpoint' => 'pai-eas.ap-northeast-2.aliyuncs.com', 'vpc' => 'pai-eas-manage-vpc.ap-northeast-2.aliyuncs.com'], ['regionId' => 'ap-northeast-1', 'regionName' => 'Japan (Tokyo)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'pai-eas.ap-northeast-1.aliyuncs.com', 'endpoint' => 'pai-eas.ap-northeast-1.aliyuncs.com', 'vpc' => 'pai-eas-manage-vpc.ap-northeast-1.aliyuncs.com'], ['regionId' => 'cn-chengdu', 'regionName' => 'China (Chengdu)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'pai-eas.cn-chengdu.aliyuncs.com', 'endpoint' => 'pai-eas.cn-chengdu.aliyuncs.com', 'vpc' => 'pai-eas-manage-vpc.cn-chengdu.aliyuncs.com'], ['regionId' => 'cn-guangzhou', 'regionName' => 'China (Guangzhou)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'pai-eas.cn-guangzhou.aliyuncs.com', 'endpoint' => 'pai-eas.cn-guangzhou.aliyuncs.com', 'vpc' => 'pai-eas-manage-vpc.cn-guangzhou.aliyuncs.com'], ['regionId' => 'ap-southeast-1', 'regionName' => 'Singapore', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'pai-eas.ap-southeast-1.aliyuncs.com', 'endpoint' => 'pai-eas.ap-southeast-1.aliyuncs.com', 'vpc' => 'pai-eas-manage-vpc.ap-southeast-1.aliyuncs.com'], ['regionId' => 'ap-southeast-3', 'regionName' => 'Malaysia (Kuala Lumpur)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'pai-eas.ap-southeast-3.aliyuncs.com', 'endpoint' => 'pai-eas.ap-southeast-3.aliyuncs.com', 'vpc' => 'pai-eas-manage-vpc.ap-southeast-3.aliyuncs.com'], ['regionId' => 'ap-southeast-5', 'regionName' => 'Indonesia (Jakarta)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'pai-eas.ap-southeast-5.aliyuncs.com', 'endpoint' => 'pai-eas.ap-southeast-5.aliyuncs.com', 'vpc' => 'pai-eas-manage-vpc.ap-southeast-5.aliyuncs.com'], ['regionId' => 'ap-southeast-7', 'regionName' => 'Thailand (Bangkok)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'pai-eas.ap-southeast-7.aliyuncs.com', 'endpoint' => 'pai-eas.ap-southeast-7.aliyuncs.com', 'vpc' => 'pai-eas-manage-vpc.ap-southeast-7.aliyuncs.com'], ['regionId' => 'cn-hangzhou', 'regionName' => 'China (Hangzhou)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'pai-eas.cn-hangzhou.aliyuncs.com', 'endpoint' => 'pai-eas.cn-hangzhou.aliyuncs.com', 'vpc' => 'pai-eas-manage-vpc.cn-hangzhou.aliyuncs.com'], ['regionId' => 'ap-southeast-8', 'regionName' => 'Malaysia (Johor)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'pai-eas.ap-southeast-8.aliyuncs.com', 'endpoint' => 'pai-eas.ap-southeast-8.aliyuncs.com', 'vpc' => 'pai-eas-manage-vpc.ap-southeast-8.aliyuncs.com'], ['regionId' => 'us-east-1', 'regionName' => 'US (Virginia)', 'areaId' => 'europeAmerica', 'areaName' => 'Europe & Americas', 'public' => 'pai-eas.us-east-1.aliyuncs.com', 'endpoint' => 'pai-eas.us-east-1.aliyuncs.com', 'vpc' => 'pai-eas-manage-vpc.us-east-1.aliyuncs.com'], ['regionId' => 'us-southeast-1', 'regionName' => 'US(Atlanta)', 'areaId' => 'europeAmerica', 'areaName' => 'Europe & Americas', 'public' => 'pai-eas.us-southeast-1.aliyuncs.com', 'endpoint' => 'pai-eas.us-southeast-1.aliyuncs.com', 'vpc' => 'pai-eas-manage-vpc.us-southeast-1.aliyuncs.com'], ['regionId' => 'us-west-1', 'regionName' => 'US (Silicon Valley)', 'areaId' => 'europeAmerica', 'areaName' => 'Europe & Americas', 'public' => 'pai-eas.us-west-1.aliyuncs.com', 'endpoint' => 'pai-eas.us-west-1.aliyuncs.com', 'vpc' => 'pai-eas-manage-vpc.us-west-1.aliyuncs.com'], ['regionId' => 'eu-central-1', 'regionName' => 'Germany (Frankfurt)', 'areaId' => 'europeAmerica', 'areaName' => 'Europe & Americas', 'public' => 'pai-eas.eu-central-1.aliyuncs.com', 'endpoint' => 'pai-eas.eu-central-1.aliyuncs.com', 'vpc' => 'pai-eas-manage-vpc.eu-central-1.aliyuncs.com'], ['regionId' => 'me-east-1', 'regionName' => 'UAE (Dubai)', 'areaId' => 'middleEast', 'areaName' => 'Middle East', 'public' => 'pai-eas.me-east-1.aliyuncs.com', 'endpoint' => 'pai-eas.me-east-1.aliyuncs.com', 'vpc' => 'pai-eas-manage-vpc.me-east-1.aliyuncs.com'], ['regionId' => 'me-central-1', 'regionName' => 'Saudi Arabia (Riyadh)', 'areaId' => 'middleEast', 'areaName' => 'Middle East', 'public' => 'pai-eas.me-central-1.aliyuncs.com', 'endpoint' => 'pai-eas.me-central-1.aliyuncs.com', 'vpc' => 'pai-eas-manage-vpc.me-central-1.aliyuncs.com'], ['regionId' => 'cn-shanghai-finance-1', 'regionName' => 'China East 2 Finance', 'areaId' => 'industryCloud', 'areaName' => 'Industry Cloud', 'public' => 'pai-eas.cn-shanghai-finance-1.aliyuncs.com', 'endpoint' => 'pai-eas.cn-shanghai-finance-1.aliyuncs.com', 'vpc' => 'pai-eas-manage-vpc.cn-shanghai-finance-1.aliyuncs.com'], ], 'errorCodes' => [], 'changeSet' => [ [ 'apis' => [ ['description' => 'Request parameters changed', 'api' => 'CreateResource'], ['description' => 'Request parameters changed', 'api' => 'CreateResourceInstances'], ['description' => 'Request parameters changed', 'api' => 'ListResourceInstances'], ], 'createdAt' => '2025-02-05T11:07:08.000Z', 'description' => '', ], [ 'apis' => [ ['description' => 'Request parameters changed', 'api' => 'CreateVirtualResource'], ['description' => 'Response parameters changed', 'api' => 'DescribeVirtualResource'], ['description' => 'Request parameters changed', 'api' => 'ListResourceInstanceWorker'], ['description' => 'Request parameters changed', 'api' => 'ListResources'], ['description' => 'Response parameters changed', 'api' => 'ListVirtualResource'], ['description' => 'Request parameters changed', 'api' => 'UpdateVirtualResource'], ], 'createdAt' => '2025-01-21T08:57:07.000Z', 'description' => '', ], [ 'apis' => [ ['description' => 'Request parameters changed', 'api' => 'ReleaseService'], ], 'createdAt' => '2025-01-13T08:38:57.000Z', 'description' => '', ], [ 'apis' => [ ['description' => 'Response parameters changed', 'api' => 'DescribeResource'], ], 'createdAt' => '2024-12-10T08:41:54.000Z', 'description' => '', ], [ 'apis' => [ ['description' => 'Response parameters changed', 'api' => 'DescribeGateway'], ['description' => 'Response parameters changed', 'api' => 'ListGateway'], ['description' => 'Request parameters changed', 'api' => 'UpdateGateway'], ], 'createdAt' => '2024-11-28T05:36:13.000Z', 'description' => '', ], [ 'apis' => [ ['description' => 'Request parameters changed', 'api' => 'CreateAclPolicy'], ['description' => 'Request parameters changed', 'api' => 'ListAclPolicy'], ], 'createdAt' => '2024-10-11T02:05:56.000Z', 'description' => '', ], [ 'apis' => [ ['description' => 'Request parameters changed, Response parameters changed', 'api' => 'ListGateway'], ], 'createdAt' => '2024-10-11T02:05:16.000Z', 'description' => '', ], [ 'apis' => [ ['description' => 'Request parameters changed', 'api' => 'CreateGateway'], ], 'createdAt' => '2024-10-11T02:03:57.000Z', 'description' => '', ], [ 'apis' => [ ['description' => 'Request parameters changed', 'api' => 'ListServices'], ], 'createdAt' => '2024-10-08T11:21:11.000Z', 'description' => '', ], [ 'apis' => [ ['description' => 'Response parameters changed', 'api' => 'ListAclPolicy'], ], 'createdAt' => '2024-09-02T02:24:09.000Z', 'description' => '', ], [ 'apis' => [ ['description' => 'Request parameters changed', 'api' => 'CloneService'], ], 'createdAt' => '2024-08-19T02:57:45.000Z', 'description' => '', ], [ 'apis' => [ ['description' => 'Request parameters changed', 'api' => 'CreateGateway'], ['description' => 'Response parameters changed', 'api' => 'DescribeGateway'], ['description' => 'Request parameters changed', 'api' => 'ListServices'], ['description' => 'Request parameters changed', 'api' => 'UpdateGateway'], ], 'createdAt' => '2024-07-31T09:23:38.000Z', 'description' => '', ], [ 'apis' => [ ['description' => 'Request parameters changed', 'api' => 'CreateResourceLog'], ['description' => 'Request parameters changed', 'api' => 'DescribeServiceCronScaler'], ['description' => 'Request parameters changed', 'api' => 'DescribeSpotDiscountHistory'], ], 'createdAt' => '2024-07-19T09:17:51.000Z', 'description' => '', ], [ 'apis' => [ ['description' => 'Request parameters changed', 'api' => 'ListServices'], ['description' => 'Response parameters changed', 'api' => 'ListServiceVersions'], ], 'createdAt' => '2024-01-23T13:07:17.000Z', 'description' => '', ], [ 'apis' => [ ['description' => 'Request parameters changed', 'api' => 'UpdateAppService'], ], 'createdAt' => '2024-01-16T14:09:38.000Z', 'description' => '', ], [ 'apis' => [ ['description' => 'Request parameters changed', 'api' => 'UpdateService'], ], 'createdAt' => '2023-12-26T09:25:36.000Z', 'description' => '', ], [ 'apis' => [ ['description' => 'Request parameters changed', 'api' => 'UpdateGateway'], ], 'createdAt' => '2023-11-16T09:00:20.000Z', 'description' => '', ], [ 'apis' => [ ['description' => 'Request parameters changed, Response parameters changed', 'api' => 'CreateService'], ['description' => 'Request parameters changed', 'api' => 'ListGroups'], ['description' => 'Request parameters changed', 'api' => 'ListServices'], ], 'createdAt' => '2023-09-01T08:10:47.000Z', 'description' => '', ], [ 'apis' => [ ['description' => 'Request parameters changed', 'api' => 'CreateResource'], ['description' => 'Request parameters changed', 'api' => 'UpdateResource'], ], 'createdAt' => '2023-08-25T09:36:29.000Z', 'description' => '', ], [ 'apis' => [ ['description' => 'Request parameters changed', 'api' => 'CreateResource'], ['description' => 'Response parameters changed, Response parameters changed', 'api' => 'DescribeResource'], ['description' => 'Request parameters changed', 'api' => 'ListResources'], ['description' => 'Request parameters changed', 'api' => 'UpdateResource'], ], 'createdAt' => '2023-08-24T06:58:37.000Z', 'description' => '', ], [ 'apis' => [ ['description' => 'Response parameters changed', 'api' => 'DeleteServiceLabel'], ['description' => 'Response parameters changed', 'api' => 'UpdateServiceLabel'], ], 'createdAt' => '2023-08-09T02:09:13.000Z', 'description' => '', ], [ 'apis' => [ ['description' => 'Request parameters changed', 'api' => 'DeleteServiceInstances'], ], 'createdAt' => '2023-06-06T06:07:16.000Z', 'description' => '', ], [ 'apis' => [ ['description' => 'Request parameters changed', 'api' => 'CreateServiceAutoScaler'], ['description' => 'Request parameters changed', 'api' => 'UpdateServiceAutoScaler'], ], 'createdAt' => '2023-05-17T07:24:15.000Z', 'description' => '', ], [ 'apis' => [ ['description' => 'Request parameters changed', 'api' => 'DescribeServiceLog'], ], 'createdAt' => '2023-05-09T06:45:44.000Z', 'description' => '', ], [ 'apis' => [ ['description' => 'Request parameters changed', 'api' => 'ListResourceInstances'], ['description' => 'Request parameters changed', 'api' => 'ListServiceInstances'], ['description' => 'Request parameters changed, Response parameters changed', 'api' => 'ListServices'], ], 'createdAt' => '2023-05-06T09:55:23.000Z', 'description' => '', ], [ 'apis' => [ ['description' => 'Response parameters changed', 'api' => 'CreateResource'], ['description' => 'Response parameters changed', 'api' => 'CreateResourceInstances'], ], 'createdAt' => '2023-04-24T10:27:44.000Z', 'description' => '', ], [ 'apis' => [ ['description' => 'Request parameters changed, Response parameters changed', 'api' => 'CreateResource'], ['description' => 'Request parameters changed, Response parameters changed', 'api' => 'CreateResourceInstances'], ], 'createdAt' => '2023-04-18T04:39:41.000Z', 'description' => '', ], [ 'apis' => [ ['description' => 'Request parameters changed, Response parameters changed', 'api' => 'DescribeServiceEvent'], ], 'createdAt' => '2023-03-31T08:42:05.000Z', 'description' => '', ], [ 'apis' => [ ['description' => 'Request parameters changed, Response parameters changed', 'api' => 'CreateResource'], ['description' => 'Request parameters changed, Response parameters changed', 'api' => 'CreateResourceInstances'], ], 'createdAt' => '2023-03-24T08:24:25.000Z', 'description' => '', ], [ 'apis' => [ ['description' => 'Request parameters changed', 'api' => 'DescribeServiceLog'], ], 'createdAt' => '2023-03-24T08:23:07.000Z', 'description' => '', ], [ 'apis' => [ ['description' => 'Response parameters changed', 'api' => 'CreateService'], ], 'createdAt' => '2023-01-05T03:16:41.000Z', 'description' => '增加CreateService timeout', ], [ 'apis' => [ ['description' => 'Request parameters changed', 'api' => 'CreateService'], ], 'createdAt' => '2023-01-04T03:36:06.000Z', 'description' => '新增Restart API', ], [ 'apis' => [ ['description' => 'Request parameters changed', 'api' => 'ListServices'], ], 'createdAt' => '2022-12-27T01:55:33.000Z', 'description' => '增加ServiceTag相关接口', ], [ 'apis' => [ ['description' => 'Request parameters changed', 'api' => 'UpdateService'], ], 'createdAt' => '2022-12-07T06:47:31.000Z', 'description' => '修改为必填参数', ], [ 'apis' => [ ['description' => 'Request parameters changed', 'api' => 'ListServices'], ], 'createdAt' => '2022-12-05T04:33:56.000Z', 'description' => 'ListService API新增查询参数ParentServiceUid和ServiceType;ListServiceInstance新增响应参数Role和ResourceType。', ], [ 'apis' => [ ['description' => 'Request parameters changed', 'api' => 'ListBenchmarkTask'], ], 'createdAt' => '2022-11-30T08:37:46.000Z', 'description' => '修复问题', ], [ 'apis' => [ ['description' => 'Request parameters changed', 'api' => 'ListResourceInstances'], ['description' => 'Request parameters changed', 'api' => 'ListResources'], ], 'createdAt' => '2022-11-29T06:36:44.000Z', 'description' => '新增查询过滤参数', ], [ 'apis' => [ ['description' => 'Response parameters changed', 'api' => 'DescribeBenchmarkTask'], ['description' => 'Request parameters changed, Response parameters changed', 'api' => 'DescribeBenchmarkTaskReport'], ['description' => 'Request parameters changed, Response parameters changed', 'api' => 'ListBenchmarkTask'], ], 'createdAt' => '2022-11-02T09:46:49.000Z', 'description' => '更新压测相关api', ], [ 'apis' => [ ['description' => 'OpenAPI offline', 'api' => 'DescribeGroup'], ['description' => 'OpenAPI offline', 'api' => 'ListGroups'], ['description' => 'Request parameters changed', 'api' => 'ListServices'], ], 'createdAt' => '2022-09-27T03:18:06.000Z', 'description' => '新增服务组API', ], [ 'apis' => [ ['description' => 'Request parameters changed', 'api' => 'CreateServiceAutoScaler'], ['description' => 'Request parameters changed', 'api' => 'CreateServiceAutoScaler'], ['description' => 'Response parameters changed', 'api' => 'DescribeServiceAutoScaler'], ['description' => 'Response parameters changed', 'api' => 'DescribeServiceAutoScaler'], ['description' => 'Request parameters changed', 'api' => 'UpdateServiceAutoScaler'], ['description' => 'Request parameters changed', 'api' => 'UpdateServiceAutoScaler'], ], 'createdAt' => '2022-09-16T08:40:24.000Z', 'description' => '修改Autoscaler接口参数定义,通过scaleStrategies替代strategies', ], [ 'apis' => [ ['description' => 'OpenAPI offline', 'api' => 'ListServiceVersions'], ], 'createdAt' => '2022-09-05T08:17:03.000Z', 'description' => '新增Versions接口,列举服务历史版本信息。', ], [ 'apis' => [ ['description' => 'Response parameters changed', 'api' => 'CreateBenchmarkTask'], ], 'createdAt' => '2022-08-30T11:20:39.000Z', 'description' => ' 修改CreateBenchmarkTask api 返回参数', ], [ 'apis' => [ ['description' => 'Request parameters changed', 'api' => 'ReleaseService'], ], 'createdAt' => '2022-08-11T06:07:58.000Z', 'description' => '增加部分字段', ], [ 'apis' => [ ['description' => 'Request parameters changed', 'api' => 'CreateServiceAutoScaler'], ['description' => 'Response parameters changed', 'api' => 'DescribeServiceAutoScaler'], ['description' => 'Request parameters changed', 'api' => 'UpdateServiceAutoScaler'], ], 'createdAt' => '2022-08-05T07:05:50.000Z', 'description' => '更新Autoscaler字段', ], [ 'apis' => [ ['description' => 'OpenAPI offline', 'api' => 'CreateBenchmarkTask'], ['description' => 'OpenAPI offline', 'api' => 'DeleteBenchmarkTask'], ['description' => 'OpenAPI offline', 'api' => 'DescribeBenchmarkTask'], ['description' => 'OpenAPI offline', 'api' => 'ListBenchmarkTask'], ['description' => 'OpenAPI offline', 'api' => 'StartBenchmarkTask'], ['description' => 'OpenAPI offline', 'api' => 'StopBenchmarkTask'], ['description' => 'OpenAPI offline', 'api' => 'UpdateBenchmarkTask'], ], 'createdAt' => '2022-05-27T03:23:30.000Z', 'description' => 'eas benchmark api上线', ], [ 'apis' => [ ['description' => 'OpenAPI offline', 'api' => 'DescribeBenchmarkTaskReport'], ], 'createdAt' => '2022-05-27T03:20:47.000Z', 'description' => 'eas benchmark api上线', ], [ 'apis' => [ ['description' => 'OpenAPI offline', 'api' => 'ListStresses'], ], 'createdAt' => '2022-05-18T12:31:12.000Z', 'description' => '新增ListStresses api', ], [ 'apis' => [ ['description' => 'OpenAPI offline', 'api' => 'CreateStress'], ['description' => 'OpenAPI offline', 'api' => 'DeleteStress'], ['description' => 'OpenAPI offline', 'api' => 'DescribeStress'], ['description' => 'OpenAPI offline', 'api' => 'ReportStress'], ['description' => 'OpenAPI offline', 'api' => 'StartStress'], ['description' => 'OpenAPI offline', 'api' => 'StopStress'], ['description' => 'OpenAPI offline', 'api' => 'UpdateStress'], ], 'createdAt' => '2022-05-18T12:27:15.000Z', 'description' => '新增stress api', ], [ 'apis' => [ ['description' => 'Request parameters changed', 'api' => 'ListResourceInstances'], ], 'createdAt' => '2022-05-10T11:41:52.000Z', 'description' => 'ListResouceInstance增加付费类型过滤', ], [ 'apis' => [ ['description' => 'OpenAPI offline', 'api' => 'CreateServiceCronScaler'], ['description' => 'OpenAPI offline', 'api' => 'DeleteServiceCronScaler'], ['description' => 'Response parameters changed, Response parameters changed', 'api' => 'DescribeResource'], ['description' => 'OpenAPI offline', 'api' => 'DescribeServiceCronScaler'], ['description' => 'OpenAPI offline', 'api' => 'UpdateServiceCronScaler'], ], 'createdAt' => '2022-02-24T03:15:31.000Z', 'description' => '增加定时扩缩容相关接口', ], [ 'apis' => [ ['description' => 'Response parameters changed', 'api' => 'DescribeResourceDLink'], ], 'createdAt' => '2021-12-08T12:01:19.000Z', 'description' => '增加Accesstoken', ], [ 'apis' => [ ['description' => 'Request parameters changed', 'api' => 'ListServices'], ], 'createdAt' => '2021-11-22T08:57:10.000Z', 'description' => '更新api', ], [ 'apis' => [ ['description' => 'Request parameters changed', 'api' => 'CreateResource'], ], 'createdAt' => '2021-11-22T06:34:41.000Z', 'description' => '去掉多余参数', ], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListResources'], ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ReleaseService'], ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeVirtualResource'], ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListResourceInstanceWorker'], ['threshold' => '-1', 'countWindow' => 1, 'regionId' => '*'], ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListAclPolicy'], ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeGroupEndpoints'], ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'StartService'], ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateAppService'], ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeResourceLog'], ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListGateway'], ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateVirtualResource'], ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeServiceAutoScaler'], ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeGroup'], ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListGatewayIntranetSupportedZone'], ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateVirtualResource'], ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'StopService'], ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateGatewayIntranetLinkedVpcPeer'], ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeResource'], ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateService'], ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CloneService'], ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateGateway'], ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateService'], ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListGatewayIntranetLinkedVpc'], ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'RestartService'], ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeResourceDLink'], ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateBenchmarkTask'], ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListResourceInstances'], ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteServiceAutoScaler'], ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteServiceMirror'], ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteVirtualResource'], ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListBenchmarkTask'], ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteResourceDLink'], ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateResourceInstances'], ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeMachineSpec'], ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteResource'], ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteServiceCronScaler'], ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteGatewayIntranetLinkedVpcPeer'], ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeServiceSignedUrl'], ['threshold' => '5', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeServiceLog'], ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateServiceMirror'], ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'StopBenchmarkTask'], ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListVirtualResource'], ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeGateway'], ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateAclPolicy'], ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteServiceLabel'], ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeBenchmarkTask'], ['threshold' => '200', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeService'], ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateResourceInstance'], ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateResource'], ['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListServices'], ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListGatewayDomains'], ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListTenantAddons'], ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateServiceVersion'], ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListServiceContainers'], ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateBenchmarkTask'], ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeServiceMirror'], ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeServiceEndpoints'], ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateServiceInstance'], ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateGatewayIntranetLinkedVpc'], ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeServiceInstanceDiagnosis'], ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateServiceAutoScaler'], ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DetachGatewayDomain'], ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteResourceLog'], ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeServiceEvent'], ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListServiceVersions'], ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateResourceDLink'], ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteServiceInstances'], ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListResourceServices'], ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteService'], ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'StartBenchmarkTask'], ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateResource'], ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateAppService'], ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateGateway'], ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListGroups'], ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateServiceCronScaler'], ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListServiceInstances'], ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CommitService'], ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeRegions'], ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ReinstallTenantAddon'], ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateServiceCronScaler'], ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateServiceSafetyLock'], ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeBenchmarkTaskReport'], ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeServiceDiagnosis'], ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteGateway'], ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteResourceInstanceLabel'], ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'AttachGatewayDomain'], ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteResourceInstances'], ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateResourceInstanceLabel'], ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateResourceLog'], ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DevelopService'], ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeSpotDiscountHistory'], ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateServiceAutoScaler'], ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteBenchmarkTask'], ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteGatewayIntranetLinkedVpc'], ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateServiceLabel'], ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeServiceCronScaler'], ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteAclPolicy'], ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateServiceMirror'], ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListGatewayIntranetLinkedVpcPeer'], ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateGroup'], ], ], 'ram' => [ 'productCode' => 'PAI', 'productName' => 'Platform for AI', 'ramCodes' => ['paiplugin', 'eas', 'pai', 'datasetacc', 'featurestore', 'paidlc', 'paiitag', 'paidesigner', 'paitraining', 'paiartlab', 'paicomponentmanagement'], 'ramLevel' => 'RESOURCE', 'ramConditions' => [], 'ramActions' => [ [ 'apiName' => 'ListServiceContainers', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'eas:ListServiceContainers', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'PAI', 'resourceType' => 'Service', 'arn' => 'acs:eas:{#regionId}:{#accountId}:service/{#ServiceName}'], ], ], ], [ 'apiName' => 'ListAclPolicy', 'description' => '', 'operationType' => 'list', 'ramAction' => [ 'action' => 'eas:ListAclPolicy', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'PAI', 'resourceType' => 'Gateway', 'arn' => 'acs:eas:{#regionId}:{#accountId}:gateway/{#GatewayId}'], ], ], ], [ 'apiName' => 'StartService', 'description' => '', 'operationType' => 'update', 'ramAction' => [ 'action' => 'eas:StartService', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'PAI', 'resourceType' => 'Service', 'arn' => 'acs:eas:{#regionId}:{#accountId}:service/{#ServiceName}'], ], ], ], [ 'apiName' => 'MigrateResourceInstance', 'description' => '', 'operationType' => 'none', 'ramAction' => [ 'action' => 'eas:MigrateResourceInstance', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'PAI', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'DescribeResourceLog', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'eas:DescribeResourceLog', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'PAI', 'resourceType' => 'Resource', 'arn' => 'acs:eas:{#regionId}:{#accountId}:resource/{#ResourceId}'], ], ], ], [ 'apiName' => 'DeleteResourceLog', 'description' => '', 'operationType' => 'delete', 'ramAction' => [ 'action' => 'eas:DeleteResourceLog', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'PAI', 'resourceType' => 'Resource', 'arn' => 'acs:eas:{#regionId}:{#accountId}:resource/{#ResourceId}'], ], ], ], [ 'apiName' => 'UpdateServiceInstance', 'description' => '', 'operationType' => 'update', 'ramAction' => [ 'action' => 'eas:UpdateServiceInstance', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'PAI', 'resourceType' => 'Service', 'arn' => 'acs:eas:{#regionId}:{#accountId}:service/{#ServiceName}'], ], ], ], [ 'apiName' => 'DescribeVirtualResource', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'eas:DescribeVirtualResource', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'PAI', 'resourceType' => 'VirtualResource', 'arn' => 'acs:eas:{#regionId}:{#accountId}:virtualresource/{#VirtualResourceId}'], ], ], ], [ 'apiName' => 'UpdateServiceSafetyLock', 'description' => '', 'operationType' => 'update', 'ramAction' => [ 'action' => 'eas:UpdateServiceSafetyLock', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'PAI', 'resourceType' => 'Service', 'arn' => 'acs:eas:{#regionId}:{#accountId}:service/{#ServiceName}'], ], ], ], [ 'apiName' => 'UpdateServiceCronScaler', 'description' => '', 'operationType' => 'update', 'ramAction' => [ 'action' => 'eas:UpdateServiceCronScaler', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'PAI', 'resourceType' => 'Service', 'arn' => 'acs:eas:{#regionId}:{#accountId}:service/{#ServiceName}'], ], ], ], [ 'apiName' => 'CloneService', 'description' => '', 'operationType' => 'create', 'ramAction' => [ 'action' => 'eas:CloneService', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'PAI', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'ListResourceInstanceWorker', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'eas:ListResourceInstanceWorker', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'PAI', 'resourceType' => 'Resource', 'arn' => 'acs:eas:{#regionId}:{#accountId}:resource/{#ResourceId}'], ], ], ], [ 'apiName' => 'StopService', 'description' => '', 'operationType' => 'update', 'ramAction' => [ 'action' => 'eas:StopService', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'PAI', 'resourceType' => 'Service', 'arn' => 'acs:eas:{#regionId}:{#accountId}:service/{#ServiceName}'], ], ], ], [ 'apiName' => 'CreateAppService', 'description' => '', 'operationType' => 'create', 'ramAction' => [ 'action' => 'eas:CreateAppService', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'PAI', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'DeleteServiceInstances', 'description' => '', 'operationType' => 'delete', 'ramAction' => [ 'action' => 'eas:DeleteServiceInstances', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'PAI', 'resourceType' => 'Service', 'arn' => 'acs:eas:{#regionId}:{#accountId}:service/{#ServiceName}'], ], ], ], [ 'apiName' => 'ListServiceVersions', 'description' => '', 'operationType' => 'list', 'ramAction' => [ 'action' => 'eas:ListServiceVersions', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'PAI', 'resourceType' => 'Service', 'arn' => 'acs:eas:{#regionId}:{#accountId}:service/{#ServiceName}'], ], ], ], [ 'apiName' => 'CommitService', 'description' => '', 'operationType' => 'update', 'ramAction' => [ 'action' => 'eas:CommitService', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'PAI', 'resourceType' => 'Service', 'arn' => 'acs:eas:{#regionId}:{#accountId}:service/{#ServiceName}'], ], ], ], [ 'apiName' => 'ListResourceServices', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'eas:ListResourceServices', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'PAI', 'resourceType' => 'Resource', 'arn' => 'acs:eas:{#regionId}:{#accountId}:resource/{#ResourceId}'], ], ], ], [ 'apiName' => 'CreateAclPolicy', 'description' => '', 'operationType' => 'create', 'ramAction' => [ 'action' => 'eas:CreateAclPolicy', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'PAI', 'resourceType' => 'Gateway', 'arn' => 'acs:eas:{#regionId}:{#accountId}:gateway/{#GatewayId}'], ], ], ], [ 'apiName' => 'ListResourceInstances', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'eas:ListResourceInstances', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'PAI', 'resourceType' => 'Resource', 'arn' => 'acs:eas:{#regionId}:{#accountId}:resource/{#ResourceId}'], ], ], ], [ 'apiName' => 'UpdateServiceAutoScaler', 'description' => '', 'operationType' => 'update', 'ramAction' => [ 'action' => 'eas:UpdateServiceAutoScaler', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'PAI', 'resourceType' => 'Service', 'arn' => 'acs:eas:{#regionId}:{#accountId}:service/{#ServiceName}'], ], ], ], [ 'apiName' => 'ReinstallTenantAddon', 'description' => '', 'operationType' => 'update', 'ramAction' => [ 'action' => 'eas:ReinstallTenantAddon', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'PAI', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'DeleteService', 'description' => '', 'operationType' => 'delete', 'ramAction' => [ 'action' => 'eas:DeleteService', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'PAI', 'resourceType' => 'Service', 'arn' => 'acs:eas:{#regionId}:{#accountId}:service/{#ServiceName}'], ], ], ], [ 'apiName' => 'DescribeGateway', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'eas:DescribeGateway', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'PAI', 'resourceType' => 'Gateway', 'arn' => 'acs:eas:{#regionId}:{#accountId}:gateway/{#GatewayId}'], ], ], ], [ 'apiName' => 'UpdateServiceLabel', 'description' => '', 'operationType' => 'update', 'ramAction' => [ 'action' => 'eas:UpdateServiceLabel', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'PAI', 'resourceType' => 'Service', 'arn' => 'acs:eas:{#regionId}:{#accountId}:service/{#ServiceName}'], ], ], ], [ 'apiName' => 'ListTenantAddons', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'eas:ListTenantAddons', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'PAI', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'DescribeServiceInstanceDiagnosis', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'eas:DescribeServiceInstanceDiagnosis', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'PAI', 'resourceType' => 'Service', 'arn' => 'acs:eas:{#regionId}:{#accountId}:service/{#ServiceName}'], ], ], ], [ 'apiName' => 'CreateBenchmarkTask', 'description' => '', 'operationType' => '', 'ramAction' => [ 'action' => 'eas:CreateBenchmarkTask', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'PAI', 'resourceType' => 'BenchmarkTask', 'arn' => 'acs:eas:{#regionId}:{#accountId}:benchmarktask/*'], ], ], ], [ 'apiName' => 'DeleteGateway', 'description' => '', 'operationType' => 'delete', 'ramAction' => [ 'action' => 'eas:DeleteGateway', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'PAI', 'resourceType' => 'Gateway', 'arn' => 'acs:eas:{#regionId}:{#accountId}:gateway/{#GatewayId}'], ], ], ], [ 'apiName' => 'CreateVirtualResource', 'description' => '', 'operationType' => 'create', 'ramAction' => [ 'action' => 'eas:CreateVirtualResource', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'PAI', 'resourceType' => 'VirtualResource', 'arn' => 'acs:eas:{#regionId}:{#accountId}:virtualresource/*'], ], ], ], [ 'apiName' => 'DeleteAclPolicy', 'description' => '', 'operationType' => 'delete', 'ramAction' => [ 'action' => 'eas:DeleteAclPolicy', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'PAI', 'resourceType' => 'Gateway', 'arn' => 'acs:eas:{#regionId}:{#accountId}:gateway/{#GatewayId}'], ], ], ], [ 'apiName' => 'CreateGatewayIntranetLinkedVpc', 'description' => '', 'operationType' => 'create', 'ramAction' => [ 'action' => 'eas:CreateGatewayIntranetLinkedVpc', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'PAI', 'resourceType' => 'Gateway', 'arn' => 'acs:eas:{#regionId}:{#accountId}:gateway/{#GatewayId}'], ], ], ], [ 'apiName' => 'DeleteGatewayIntranetLinkedVpcPeer', 'description' => '', 'operationType' => 'delete', 'ramAction' => [ 'action' => 'eas:DeleteGatewayIntranetLinkedVpcPeer', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'PAI', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'CreateGateway', 'description' => '', 'operationType' => 'create', 'ramAction' => [ 'action' => 'eas:CreateGateway', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'PAI', 'resourceType' => 'Gateway', 'arn' => 'acs:eas:{#regionId}:{#accountId}:gateway/*'], ], ], ], [ 'apiName' => 'ListResources', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'eas:ListResources', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'PAI', 'resourceType' => 'Resource', 'arn' => 'acs:eas:{#regionId}:{#accountId}:resource/*'], ], ], ], [ 'apiName' => 'UpdateGateway', 'description' => '', 'operationType' => 'update', 'ramAction' => [ 'action' => 'eas:UpdateGateway', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'PAI', 'resourceType' => 'Gateway', 'arn' => 'acs:eas:{#regionId}:{#accountId}:gateway/{#GatewayId}'], ], ], ], [ 'apiName' => 'CreateServiceCronScaler', 'description' => '', 'operationType' => 'create', 'ramAction' => [ 'action' => 'eas:CreateServiceCronScaler', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'PAI', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'DescribeServiceSignedUrl', 'description' => '', 'operationType' => 'none', 'ramAction' => [ 'action' => 'eas:DescribeServiceSignedUrl', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'PAI', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'ListGatewayIntranetLinkedVpcPeer', 'description' => '', 'operationType' => 'list', 'ramAction' => [ 'action' => 'eas:ListGatewayIntranetLinkedVpcPeer', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'PAI', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'UpdateResource', 'description' => '', 'operationType' => 'update', 'ramAction' => [ 'action' => 'eas:UpdateResource', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'PAI', 'resourceType' => 'Resource', 'arn' => 'acs:eas:{#regionId}:{#accountId}:resource/{#resourceId}'], ], ], ], [ 'apiName' => 'CreateResourceLog', 'description' => '', 'operationType' => 'create', 'ramAction' => [ 'action' => 'eas:CreateResourceLog', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'PAI', 'resourceType' => 'Resource', 'arn' => 'acs:eas:{#regionId}:{#accountId}:resource/{#ResourceId}'], ], ], ], [ 'apiName' => 'DetachGatewayDomain', 'description' => '', 'operationType' => 'delete', 'ramAction' => [ 'action' => 'eas:DetachGatewayDomain', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'PAI', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'CreateServiceMirror', 'description' => '', 'operationType' => 'create', 'ramAction' => [ 'action' => 'eas:CreateServiceMirror', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'PAI', 'resourceType' => 'Service', 'arn' => 'acs:eas:{#regionId}:{#accountId}:service/{#ServiceName}'], ], ], ], [ 'apiName' => 'ListGateway', 'description' => '', 'operationType' => 'list', 'ramAction' => [ 'action' => 'eas:ListGateway', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'PAI', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'UpdateBenchmarkTask', 'description' => '', 'operationType' => '', 'ramAction' => [ 'action' => 'eas:UpdateBenchmarkTask', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'PAI', 'resourceType' => 'BenchmarkTask', 'arn' => 'acs:eas:{#regionId}:{#accountId}:benchmarktask/{#BenchmarkTaskId}'], ], ], ], [ 'apiName' => 'StartBenchmarkTask', 'description' => '', 'operationType' => '', 'ramAction' => [ 'action' => 'eas:StartBenchmarkTask', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'PAI', 'resourceType' => 'BenchmarkTask', 'arn' => 'acs:eas:{#regionId}:{#accountId}:benchmarktask/{#BenchmarkTaskId}'], ], ], ], [ 'apiName' => 'DescribeServiceCronScaler', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'eas:DescribeServiceCronScaler', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'PAI', 'resourceType' => 'Service', 'arn' => 'acs:eas:{#regionId}:{#accountId}:service/{#ServiceName}'], ], ], ], [ 'apiName' => 'UpdateResourceInstanceLabel', 'description' => '', 'operationType' => 'update', 'ramAction' => [ 'action' => 'eas:UpdateResourceInstanceLabel', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'PAI', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'UpdateAppService', 'description' => '', 'operationType' => 'update', 'ramAction' => [ 'action' => 'eas:UpdateAppService', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'PAI', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'DeleteGatewayIntranetLinkedVpc', 'description' => '', 'operationType' => 'delete', 'ramAction' => [ 'action' => 'eas:DeleteGatewayIntranetLinkedVpc', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'PAI', 'resourceType' => 'Gateway', 'arn' => 'acs:eas:{#regionId}:{#accountId}:gateway/{#GatewayId}'], ], ], ], [ 'apiName' => 'CreateGatewayIntranetLinkedVpcPeer', 'description' => '', 'operationType' => 'create', 'ramAction' => [ 'action' => 'eas:CreateGatewayIntranetLinkedVpcPeer', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'PAI', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'UpdateService', 'description' => '', 'operationType' => 'update', 'ramAction' => [ 'action' => 'eas:UpdateService', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'PAI', 'resourceType' => 'Service', 'arn' => 'acs:eas:{#regionId}:{#accountId}:service/{#ServiceName}'], ], ], ], [ 'apiName' => 'ListConfigs', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'eas:ListConfigs', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'PAI', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'DeleteBenchmarkTask', 'description' => '', 'operationType' => '', 'ramAction' => [ 'action' => 'eas:DeleteBenchmarkTask', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'PAI', 'resourceType' => 'BenchmarkTask', 'arn' => 'acs:eas:{#regionId}:{#accountId}:benchmarktask/{#BenchmarkTaskId}'], ], ], ], [ 'apiName' => 'DeleteServiceMirror', 'description' => '', 'operationType' => 'delete', 'ramAction' => [ 'action' => 'eas:DeleteServiceMirror', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'PAI', 'resourceType' => 'Service', 'arn' => 'acs:eas:{#regionId}:{#accountId}:service/{#ServiceName}'], ], ], ], [ 'apiName' => 'UpdateServiceVersion', 'description' => '', 'operationType' => 'update', 'ramAction' => [ 'action' => 'eas:UpdateServiceVersion', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'PAI', 'resourceType' => 'Service', 'arn' => 'acs:eas:{#regionId}:{#accountId}:service/{#ServiceName}'], ], ], ], [ 'apiName' => 'ScaleService', 'description' => '', 'operationType' => 'update', 'ramAction' => [ 'action' => 'eas:ScaleService', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'PAI', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'UpdateGatewayLabel', 'description' => '', 'operationType' => 'update', 'ramAction' => [ 'action' => 'eas:UpdateGatewayLabel', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'PAI', 'resourceType' => 'Service', 'arn' => 'acs:eas:{#regionId}:{#accountId}:gateway/{#GatewayId}'], ], ], ], [ 'apiName' => 'DeleteResourceDLink', 'description' => '', 'operationType' => 'delete', 'ramAction' => [ 'action' => 'eas:DeleteResourceDLink', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'PAI', 'resourceType' => 'Resource', 'arn' => 'acs:eas:{#regionId}:{#accountId}:resource/{#ResourceId}'], ], ], ], [ 'apiName' => 'ListGatewayIntranetLinkedVpc', 'description' => '', 'operationType' => 'list', 'ramAction' => [ 'action' => 'eas:ListGatewayIntranetLinkedVpc', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'PAI', 'resourceType' => 'Gateway', 'arn' => 'acs:eas:{#regionId}:{#accountId}:gateway/{#GatewayId}'], ], ], ], [ 'apiName' => 'UpdateGroup', 'description' => '', 'operationType' => 'update', 'ramAction' => [ 'action' => 'eas:UpdateGroup', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'PAI', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'DescribeServiceMirror', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'eas:DescribeServiceMirror', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'PAI', 'resourceType' => 'Service', 'arn' => 'acs:eas:{#regionId}:{#accountId}:service/{#ServiceName}'], ], ], ], [ 'apiName' => 'CreateService', 'description' => '', 'operationType' => 'create', 'ramAction' => [ 'action' => 'eas:CreateService', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'PAI', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'DeleteResourceInstances', 'description' => '', 'operationType' => 'delete', 'ramAction' => [ 'action' => 'eas:DeleteResourceInstances', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'PAI', 'resourceType' => 'ResourceInstance', 'arn' => 'acs:eas:{#regionId}:{#accountId}:resource/{#ResourceId}'], ], ], ], [ 'apiName' => 'AttachGatewayDomain', 'description' => '', 'operationType' => 'update', 'ramAction' => [ 'action' => 'eas:AttachGatewayDomain', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'PAI', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'UpdateResourceDLink', 'description' => '', 'operationType' => 'update', 'ramAction' => [ 'action' => 'eas:UpdateResourceDLink', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'PAI', 'resourceType' => 'Resource', 'arn' => 'acs:eas:{#regionId}:{#accountId}:resource/{#ResourceId}'], ], ], ], [ 'apiName' => 'DeleteServiceAutoScaler', 'description' => '', 'operationType' => 'delete', 'ramAction' => [ 'action' => 'eas:DeleteServiceAutoScaler', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'PAI', 'resourceType' => 'Service', 'arn' => 'acs:eas:{#regionId}:{#accountId}:service/{#ServiceName}'], ], ], ], [ 'apiName' => 'DevelopService', 'description' => '', 'operationType' => 'update', 'ramAction' => [ 'action' => 'eas:DevelopService', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'PAI', 'resourceType' => 'Service', 'arn' => 'acs:eas:{#regionId}:{#accountId}:service/{#ServiceName}'], ], ], ], [ 'apiName' => 'DeleteServiceCronScaler', 'description' => '', 'operationType' => 'delete', 'ramAction' => [ 'action' => 'eas:DeleteServiceCronScaler', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'PAI', 'resourceType' => 'Service', 'arn' => 'acs:eas:{#regionId}:{#accountId}:service/{#ServiceName}'], ], ], ], [ 'apiName' => 'UpdateServiceMirror', 'description' => '', 'operationType' => 'update', 'ramAction' => [ 'action' => 'eas:UpdateServiceMirror', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'PAI', 'resourceType' => 'Service', 'arn' => 'acs:eas:{#regionId}:{#accountId}:service/{#ServiceName}'], ], ], ], [ 'apiName' => 'RestartService', 'description' => '', 'operationType' => 'update', 'ramAction' => [ 'action' => 'eas:RestartService', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'PAI', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'DescribeResourceDLink', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'eas:DescribeResourceDLink', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'PAI', 'resourceType' => 'Resource', 'arn' => 'acs:eas:{#regionId}:{#accountId}:resource/{#ResourceId}'], ], ], ], [ 'apiName' => 'DeleteVirtualResource', 'description' => '', 'operationType' => 'delete', 'ramAction' => [ 'action' => 'eas:DeleteVirtualResource', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'PAI', 'resourceType' => 'VirtualResource', 'arn' => 'acs:eas:{#regionId}:{#accountId}:virtualresource/{#VirtualResourceId}'], ], ], ], [ 'apiName' => 'ListGatewayDomains', 'description' => '', 'operationType' => 'list', 'ramAction' => [ 'action' => 'eas:ListGatewayDomains', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'PAI', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'UpdateResourceInstance', 'description' => '', 'operationType' => 'update', 'ramAction' => [ 'action' => 'eas:UpdateResourceInstance', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'PAI', 'resourceType' => 'Resource', 'arn' => 'acs:eas:{#regionId}:{#accountId}:resource/{#ResourceId}'], ], ], ], [ 'apiName' => 'UpdateVirtualResource', 'description' => '', 'operationType' => 'update', 'ramAction' => [ 'action' => 'eas:UpdateVirtualResource', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'PAI', 'resourceType' => 'VirtualResource', 'arn' => 'acs:eas:{#regionId}:{#accountId}:virtualresource/{#VirtualResourceId}'], ], ], ], [ 'apiName' => 'DescribeBenchmarkTaskReport', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'eas:DescribeBenchmarkTaskReport', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'PAI', 'resourceType' => 'BenchmarkTask', 'arn' => 'acs:eas:{#regionId}:{#accountId}:benchmarktask/{#BenchmarkTaskId}'], ], ], ], [ 'apiName' => 'StopBenchmarkTask', 'description' => '', 'operationType' => '', 'ramAction' => [ 'action' => 'eas:StopBenchmarkTask', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'PAI', 'resourceType' => 'BenchmarkTask', 'arn' => 'acs:eas:{#regionId}:{#accountId}:benchmarktask/{#BenchmarkTaskId}'], ], ], ], [ 'apiName' => 'DescribeServiceDiagnosis', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'eas:DescribeServiceDiagnosis', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'PAI', 'resourceType' => 'Service', 'arn' => 'acs:eas:{#regionId}:{#accountId}:service/{#ServiceName}'], ], ], ], [ 'apiName' => 'DescribeServiceEvent', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'eas:DescribeServiceEvent', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'PAI', 'resourceType' => 'Service', 'arn' => 'acs:eas:{#regionId}:{#accountId}:service/{#ServiceName}'], ], ], ], [ 'apiName' => 'DescribeServiceAutoScaler', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'eas:DescribeServiceAutoScaler', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'PAI', 'resourceType' => 'Service', 'arn' => 'acs:eas:{#regionId}:{#accountId}:service/{#ServiceName}'], ], ], ], [ 'apiName' => 'DeleteServiceLabel', 'description' => '', 'operationType' => 'update', 'ramAction' => [ 'action' => 'eas:DeleteServiceLabel', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'PAI', 'resourceType' => 'Service', 'arn' => 'acs:eas:{#regionId}:{#accountId}:service/{#ServiceName}'], ], ], ], [ 'apiName' => 'ListGroups', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'eas:ListGroups', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'PAI', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'CreateResource', 'description' => '', 'operationType' => 'create', 'ramAction' => [ 'action' => 'eas:CreateResource', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'PAI', 'resourceType' => 'Resource', 'arn' => 'acs:eas:{#regionId}:{#accountId}:resource/*'], ], ], ], [ 'apiName' => 'CreateServiceAutoScaler', 'description' => '', 'operationType' => 'create', 'ramAction' => [ 'action' => 'eas:CreateServiceAutoScaler', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'PAI', 'resourceType' => 'Service', 'arn' => 'acs:eas:{#regionId}:{#accountId}:service/{#ServiceName}'], ], ], ], [ 'apiName' => 'CreateResourceInstances', 'description' => '', 'operationType' => 'create', 'ramAction' => [ 'action' => 'eas:CreateResourceInstances', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'PAI', 'resourceType' => 'ResourceInstance', 'arn' => 'acs:eas:{#regionId}:{#accountId}:resource/{#ResourceId}'], ], ], ], [ 'apiName' => 'DescribeServiceLog', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'eas:DescribeServiceLog', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'PAI', 'resourceType' => 'Service', 'arn' => 'acs:eas:{#regionId}:{#accountId}:service/{#ServiceName}'], ], ], ], [ 'apiName' => 'ListServiceInstances', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'eas:ListServiceInstances', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'PAI', 'resourceType' => 'Service', 'arn' => 'acs:eas:{#regionId}:{#accountId}:service/{#ServiceName}'], ], ], ], [ 'apiName' => 'DeleteResource', 'description' => '', 'operationType' => 'delete', 'ramAction' => [ 'action' => 'eas:DeleteResource', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'PAI', 'resourceType' => 'Resource', 'arn' => 'acs:eas:{#regionId}:{#accountId}:resource/{#ResourceId}'], ], ], ], [ 'apiName' => 'ListBenchmarkTask', 'description' => '', 'operationType' => 'list', 'ramAction' => [ 'action' => 'eas:ListBenchmarkTask', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'PAI', 'resourceType' => 'BenchmarkTask', 'arn' => 'acs:eas:{#regionId}:{#accountId}:benchmarktask/*'], ], ], ], [ 'apiName' => 'DescribeBenchmarkTask', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'eas:DescribeBenchmarkTask', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'PAI', 'resourceType' => 'BenchmarkTask', 'arn' => 'acs:eas:{#regionId}:{#accountId}:benchmarktask/{#BenchmarkTaskId}'], ], ], ], [ 'apiName' => 'DescribeGroup', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'eas:DescribeGroup', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'PAI', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'DescribeService', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'eas:DescribeService', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'PAI', 'resourceType' => 'Service', 'arn' => 'acs:eas:{#regionId}:{#accountId}:service/{#ServiceName}'], ], ], ], [ 'apiName' => 'ListGatewayIntranetSupportedZone', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'eas:ListGatewayIntranetSupportedZone', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'PAI', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'ListServices', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'eas:ListServices', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'PAI', 'resourceType' => 'Service', 'arn' => 'acs:eas:{#regionId}:{#accountId}:service/*'], ], ], ], [ 'apiName' => 'ListVirtualResource', 'description' => '', 'operationType' => 'list', 'ramAction' => [ 'action' => 'eas:ListVirtualResource', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'PAI', 'resourceType' => 'VirtualResource', 'arn' => 'acs:eas:{#regionId}:{#accountId}:virtualresource/*'], ], ], ], [ 'apiName' => 'DescribeResource', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'eas:DescribeResource', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'PAI', 'resourceType' => 'Resource', 'arn' => 'acs:eas:{#regionId}:{#accountId}:resource/{#ResourceId}'], ], ], ], [ 'apiName' => 'DescribeServiceEndpoints', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'eas:DescribeServiceEndpoints', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'PAI', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'CreateServiceInstanceToken', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'eas:CreateServiceInstanceToken', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'PAI', 'resourceType' => 'Service', 'arn' => 'acs:eas:{#regionId}:{#accountId}:service/{#ServiceName}'], ], ], ], [ 'apiName' => 'DescribeServiceRollout', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'eas:DescribeServiceRollout', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'PAI', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], 'resourceTypes' => [ ['validationType' => 'always', 'resourceType' => 'Service', 'arn' => 'acs:eas:{#regionId}:{#accountId}:service/{#ServiceName}'], ['validationType' => 'always', 'resourceType' => 'Gateway', 'arn' => 'acs:eas:{#regionId}:{#accountId}:gateway/{#GatewayId}'], ['validationType' => 'always', 'resourceType' => 'Resource', 'arn' => 'acs:eas:{#regionId}:{#accountId}:resource/{#ResourceId}'], ['validationType' => 'always', 'resourceType' => 'VirtualResource', 'arn' => 'acs:eas:{#regionId}:{#accountId}:virtualresource/{#VirtualResourceId}'], ['validationType' => 'always', 'resourceType' => 'BenchmarkTask', 'arn' => 'acs:eas:{#regionId}:{#accountId}:benchmarktask/*'], ['validationType' => 'always', 'resourceType' => 'VirtualResource', 'arn' => 'acs:eas:{#regionId}:{#accountId}:virtualresource/*'], ['validationType' => 'always', 'resourceType' => 'Gateway', 'arn' => 'acs:eas:{#regionId}:{#accountId}:gateway/*'], ['validationType' => 'always', 'resourceType' => 'Resource', 'arn' => 'acs:eas:{#regionId}:{#accountId}:resource/*'], ['validationType' => 'always', 'resourceType' => 'Service', 'arn' => 'acs:paiplugin:{#regionId}:{#accountId}:service/{#ServiceName}'], ['validationType' => 'always', 'resourceType' => 'BenchmarkTask', 'arn' => 'acs:eas:{#regionId}:{#accountId}:benchmarktask/{#BenchmarkTaskId}'], ['validationType' => 'always', 'resourceType' => 'Service', 'arn' => 'acs:eas:{#regionId}:{#accountId}:gateway/{#GatewayId}'], ['validationType' => 'always', 'resourceType' => 'Group', 'arn' => 'acs:eas:{#regionId}:{#accountId}:group/*'], ['validationType' => 'always', 'resourceType' => 'ResourceInstance', 'arn' => 'acs:eas:{#regionId}:{#accountId}:resource/{#ResourceId}'], ['validationType' => 'always', 'resourceType' => 'Service', 'arn' => 'acs:eas:{#regionId}:{#accountId}:service/*'], ], ], ];