'1.0', 'info' => ['style' => 'ROA', 'product' => 'eas', 'version' => '2021-07-01'], 'components' => [ 'schemas' => [ 'ContainerInfo' => [ 'type' => 'object', 'properties' => [ 'Name' => ['type' => 'string'], 'Image' => ['type' => 'string'], 'Port' => ['type' => 'integer', 'format' => 'int32'], 'RestartCount' => ['type' => 'integer', 'format' => 'int32'], 'Ready' => ['type' => 'boolean'], 'CurrentStatus' => ['type' => 'string'], 'CurrentReaon' => ['type' => 'string'], 'CurrentTimestamp' => ['type' => 'string'], 'LastStatus' => ['type' => 'string'], 'LastReason' => ['type' => 'string'], 'LastTimestamp' => ['type' => 'string'], ], ], 'Group' => [ 'type' => 'object', 'properties' => [ 'Name' => ['type' => 'string'], 'ClusterId' => ['type' => 'string'], 'CreateTime' => ['type' => 'string'], 'UpdateTime' => ['type' => 'string'], 'QueueService' => ['type' => 'string'], 'InternetEndpoint' => ['type' => 'string'], 'IntranetEndpoint' => ['type' => 'string'], 'AccessToken' => ['type' => 'string'], 'TrafficMode' => ['type' => 'string'], 'Network' => [ 'type' => 'object', 'properties' => [ 'VpcId' => ['type' => 'string'], 'VSwitchId' => ['type' => 'string'], 'SecurityGroupId' => ['type' => 'string'], 'GatewayId' => ['type' => 'string'], ], ], 'ParentUid' => ['type' => 'string'], 'CallerUid' => ['type' => 'string'], 'Labels' => [ 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'LabelKey' => ['type' => 'string'], 'LabelValue' => ['type' => 'string'], ], ], ], ], ], 'Instance' => [ 'type' => 'object', 'properties' => [ 'HostIP' => ['type' => 'string'], 'HostName' => ['type' => 'string'], 'InnerIP' => ['type' => 'string'], 'InstanceName' => ['type' => 'string'], 'InstancePort' => ['type' => 'integer', 'format' => 'int32'], 'LastState' => [ 'type' => 'array', 'items' => ['type' => 'object'], ], 'Namespace' => ['type' => 'string'], 'Reason' => ['type' => 'string'], 'RestartCount' => ['type' => 'integer', 'format' => 'int32'], 'Status' => ['type' => 'string'], 'TotalProcesses' => ['type' => 'integer', 'format' => 'int32'], 'ReadyProcesses' => ['type' => 'integer', 'format' => 'int32'], 'StartAt' => ['type' => 'string', 'deprecated' => true], 'Role' => ['type' => 'string'], 'ResourceType' => ['type' => 'string'], 'TenantInstanceIP' => ['type' => 'string'], 'TenantHostIP' => ['type' => 'string'], 'IsSpot' => ['type' => 'boolean'], 'CurrentAmount' => ['type' => 'number', 'format' => 'float'], 'OriginalAmount' => ['type' => 'number', 'format' => 'float'], 'Isolated' => ['type' => 'boolean'], 'Zone' => ['type' => 'string'], 'ExternalIP' => ['type' => 'string'], 'ExternalInstancePort' => ['type' => 'integer', 'format' => 'int32'], 'StartTime' => ['type' => 'string'], 'InstanceType' => ['type' => 'string'], 'IsLatest' => ['type' => 'boolean'], 'Detached' => ['type' => 'boolean'], 'IsReplica' => ['type' => 'boolean'], 'ReplicaName' => ['type' => 'string'], 'CreateTime' => ['type' => 'string'], ], ], 'Resource' => [ 'type' => 'object', 'properties' => [ 'ResourceId' => ['type' => 'string'], 'ResourceName' => ['type' => 'string'], 'ResourceType' => ['type' => 'string'], 'ClusterId' => ['type' => 'string'], 'CreateTime' => ['type' => 'string'], 'UpdateTime' => ['type' => 'string'], 'InstanceCount' => ['type' => 'integer', 'format' => 'int32'], 'PrePaidInstanceCount' => ['type' => 'integer', 'format' => 'int32'], 'PostPaidInstanceCount' => ['type' => 'integer', 'format' => 'int32'], 'CpuCount' => ['type' => 'integer', 'format' => 'int32'], 'GpuCount' => ['type' => 'integer', 'format' => 'int32'], 'Memory' => ['type' => 'integer', 'format' => 'int32'], 'CpuUsed' => ['type' => 'integer', 'format' => 'int32'], 'GpuUsed' => ['type' => 'number', 'format' => 'float'], 'MemoryUsed' => ['type' => 'integer', 'format' => 'int32'], 'Status' => ['type' => 'string'], 'Message' => ['type' => 'string'], 'ExtraData' => ['type' => 'object'], 'Vendor' => [ 'type' => 'string', 'enum' => ['ECS', 'BareMetal'], ], 'Features' => [ 'type' => 'array', 'items' => ['type' => 'string'], ], 'InstanceMaxAllocatableMemory' => ['type' => 'integer', 'format' => 'int32'], 'InstanceMaxAllocatableGPU' => ['type' => 'number', 'format' => 'float'], 'InstanceMaxAllocatableCPU' => ['type' => 'integer', 'format' => 'int32'], 'UsageMode' => ['type' => 'string'], 'ServiceCount' => ['type' => 'integer', 'format' => 'int32'], ], ], 'ResourceInstance' => [ 'type' => 'object', 'properties' => [ 'InstanceId' => ['type' => 'string'], 'InstanceName' => ['type' => 'string'], 'InstanceIp' => ['type' => 'string'], 'InstanceStatus' => ['type' => 'string'], 'InstancePhase' => ['type' => 'string'], 'InstanceCpuCount' => ['type' => 'integer', 'format' => 'int32'], 'InstanceGpuCount' => ['type' => 'integer', 'format' => 'int32'], 'InstanceMemory' => ['type' => 'string'], 'InstanceSystemDiskSize' => ['type' => 'integer', 'format' => 'int32'], 'InstanceGpuMemory' => ['type' => 'string'], 'InstanceUsedCpu' => ['type' => 'number', 'format' => 'float'], 'InstanceUsedGpu' => ['type' => 'number', 'format' => 'float'], 'InstanceUsedMemory' => ['type' => 'string'], 'InstanceType' => ['type' => 'string'], 'CreateTime' => ['type' => 'string'], 'ChargeType' => ['type' => 'string'], 'ExpiredTime' => ['type' => 'string'], 'AutoRenewal' => ['type' => 'boolean'], 'Arch' => ['type' => 'string'], 'Region' => ['type' => 'string'], 'Zone' => ['type' => 'string'], 'ResourceId' => ['type' => 'string'], 'InstanceTenantIp' => ['type' => 'string'], 'InstanceUsedGpuMemory' => ['type' => 'string'], 'Labels' => [ 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'LabelKey' => ['type' => 'string'], 'LabelValue' => ['type' => 'string'], ], ], ], 'LastCordonOperator' => ['type' => 'string'], 'LastCordonReason' => ['type' => 'string'], ], ], 'ResourceInstanceWorker' => [ 'type' => 'object', 'properties' => [ 'Name' => ['type' => 'string'], 'ServiceName' => ['type' => 'string'], 'Status' => ['type' => 'string'], 'Ready' => ['type' => 'boolean'], 'CpuRequest' => ['type' => 'integer', 'format' => 'int32'], 'GpuRequest' => ['type' => 'integer', 'format' => 'int32'], 'MemoryRquest' => ['type' => 'integer', 'format' => 'int32'], 'CpuLimit' => ['type' => 'integer', 'format' => 'int32'], 'GpuLimit' => ['type' => 'integer', 'format' => 'int32'], 'MemoryLimit' => ['type' => 'integer', 'format' => 'int64'], 'RestartCount' => ['type' => 'integer', 'format' => 'int64'], 'StartTime' => ['type' => 'string'], ], ], 'Service' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['type' => 'string'], 'Region' => ['type' => 'string'], 'CallerUid' => ['type' => 'string'], 'ParentUid' => ['type' => 'string'], 'CurrentVersion' => ['type' => 'integer', 'format' => 'int32'], 'Cpu' => ['type' => 'integer', 'format' => 'int32'], 'Gpu' => ['type' => 'integer', 'format' => 'int32'], 'Image' => ['type' => 'string'], 'PendingInstance' => ['type' => 'integer', 'format' => 'int32'], 'RunningInstance' => ['type' => 'integer', 'format' => 'int32'], 'TotalInstance' => ['type' => 'integer', 'format' => 'int32'], 'InternetEndpoint' => ['type' => 'string'], 'IntranetEndpoint' => ['type' => 'string'], 'LatestVersion' => ['type' => 'integer', 'format' => 'int32'], 'Memory' => ['type' => 'integer', 'format' => 'int32'], 'Message' => ['type' => 'string'], 'Namespace' => ['type' => 'string'], 'Reason' => ['type' => 'string'], 'Resource' => ['type' => 'string'], 'ResourceAlias' => ['type' => 'string'], 'ServiceConfig' => ['type' => 'string'], 'ServiceName' => ['type' => 'string'], 'ServiceGroup' => ['type' => 'string'], 'Status' => ['type' => 'string'], 'CreateTime' => ['type' => 'string'], 'UpdateTime' => ['type' => 'string'], 'Weight' => ['type' => 'integer', 'format' => 'int32'], 'ServiceId' => ['type' => 'string'], 'ServiceUid' => ['type' => 'string'], 'AccessToken' => ['type' => 'string'], 'Source' => ['type' => 'string'], 'ExtraData' => ['type' => 'string'], 'Role' => ['type' => 'string'], 'RoleAttrs' => ['type' => 'string'], 'SafetyLock' => [ 'type' => 'string', 'enum' => ['none', 'dangerous', 'all'], ], 'SecondaryInternetEndpoint' => ['type' => 'string'], 'SecondaryIntranetEndpoint' => ['type' => 'string'], 'Labels' => [ 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'LabelKey' => ['type' => 'string'], 'LabelValue' => ['type' => 'string'], ], ], ], 'WorkspaceId' => ['type' => 'string'], 'AppType' => ['type' => 'string'], 'AppConfig' => ['type' => 'string'], 'AppSpecName' => ['type' => 'string'], 'AppVersion' => ['type' => 'string'], 'TrafficState' => ['type' => 'string'], 'QuotaId' => ['type' => 'string'], 'Gateway' => ['type' => 'string'], 'GPUMemory' => ['type' => 'integer', 'format' => 'int32'], 'GPUCorePercentage' => ['type' => 'integer', 'format' => 'int32'], 'ResourceBurstable' => ['type' => 'boolean'], 'CronscalerEnabled' => ['type' => 'boolean'], 'AutoscalerEnabled' => ['type' => 'boolean'], 'InstanceCountInResource' => [ 'type' => 'object', 'properties' => [ 'Public' => ['type' => 'integer', 'format' => 'int32'], 'Dedicated' => ['type' => 'integer', 'format' => 'int32'], 'Quota' => ['type' => 'integer', 'format' => 'int32'], ], ], 'WorkloadType' => ['type' => 'string'], ], ], ], ], 'apis' => [ 'AttachGatewayDomain' => [ 'path' => '/api/v2/gateways/{ClusterId}/{GatewayId}/domain/attach', 'methods' => ['put'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'ClusterId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'GatewayId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'CustomDomain', 'in' => 'query', 'style' => 'json', 'schema' => [ 'type' => 'object', 'required' => true, 'properties' => [ 'Type' => ['type' => 'string', 'required' => true], 'CertificateId' => ['type' => 'string', 'required' => false], 'Domain' => ['type' => 'string', 'required' => true], ], ], ], ], ], 'CloneService' => [ 'path' => '/api/v2/services/{ClusterId}/{ServiceName}/clone', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'ClusterId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'ServiceName', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'body', 'in' => 'body', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'Labels', 'in' => 'query', 'style' => 'json', 'schema' => [ 'type' => 'object', 'required' => false, 'additionalProperties' => ['type' => 'string'], ], ], ], ], 'CommitService' => [ 'path' => '/api/v2/services/{ClusterId}/{ServiceName}/commit', 'methods' => ['put'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'ClusterId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'ServiceName', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => false], ], ], ], 'CreateAclPolicy' => [ 'path' => '/api/v2/gateways/{ClusterId}/{GatewayId}/acl_policy', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'ClusterId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'GatewayId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'VpcId', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'AclPolicyList', 'in' => 'query', 'style' => 'json', 'schema' => [ 'type' => 'array', 'required' => true, 'items' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'Entry' => ['type' => 'string', 'required' => true], 'Comment' => ['type' => 'string', 'required' => false], ], ], ], ], ], ], 'CreateAppService' => [ 'path' => '/api/v2/app_services', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'WorkspaceId', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'QuotaId', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'ServiceName' => ['type' => 'string', 'required' => true], 'AppType' => ['type' => 'string', 'required' => true], 'AppVersion' => ['type' => 'string', 'required' => false], 'ServiceSpec' => ['type' => 'string', 'required' => true], 'Replicas' => ['type' => 'integer', 'format' => 'int32', 'required' => true], 'Config' => [ 'type' => 'object', 'required' => false, 'additionalProperties' => ['type' => 'any'], ], ], ], ], ], ], 'CreateBenchmarkTask' => [ 'path' => '/api/v2/benchmark-tasks', 'methods' => ['post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'body', 'in' => 'body', 'schema' => ['type' => 'string', 'required' => false], ], ], ], 'CreateConfig' => [ 'path' => '/api/v2/configs/{ClusterId}/{ConfigType}/{Name}/{ConfigKey}', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'ClusterId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'ConfigType', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'Name', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'ConfigKey', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'Value' => ['type' => 'string', 'required' => false], ], ], ], ], ], 'CreateFaultInjection' => [ 'path' => '/api/v2/services/{ClusterId}/{ServiceName}/instances/{InstanceName}/faults', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'ClusterId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'ServiceName', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'InstanceName', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'FaultType' => ['type' => 'string', 'required' => false], 'FaultArgs' => ['type' => 'any', 'required' => false], ], ], ], ], ], 'CreateGateway' => [ 'path' => '/api/v2/gateways', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'ResourceName', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'InstanceType' => ['type' => 'string', 'required' => false], 'EnableIntranet' => ['type' => 'boolean', 'required' => false], 'EnableInternet' => ['type' => 'boolean', 'required' => false], 'Name' => ['type' => 'string', 'required' => false], 'Replicas' => ['type' => 'integer', 'format' => 'int32', 'required' => false], 'ChargeType' => ['type' => 'string', 'required' => false], 'AutoRenewal' => ['type' => 'boolean', 'required' => false], 'GatewayType' => ['type' => 'string'], ], ], ], ], ], 'CreateGatewayIntranetLinkedVpc' => [ 'path' => '/api/v2/gateways/{ClusterId}/{GatewayId}/intranet_endpoint_linked_vpc', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'ClusterId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'GatewayId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'VpcId', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'VSwitchId', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'EnableAuthoritativeDns', 'in' => 'query', 'schema' => ['type' => 'boolean', 'required' => false], ], [ 'name' => 'AccountId', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], ], ], 'CreateGatewayIntranetLinkedVpcPeer' => [ 'path' => '/api/v2/gateways/{ClusterId}/{GatewayId}/intranet_endpoint_linked_vpc_peer', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'ClusterId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'GatewayId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'VpcId', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'PeerVpcs', 'in' => 'query', 'style' => 'json', 'schema' => [ 'type' => 'array', 'required' => false, 'items' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'VpcId' => ['type' => 'string', 'required' => false], 'Region' => ['type' => 'string', 'required' => false], ], ], ], ], ], ], 'CreateGroup' => [ 'path' => '/api/v2/groups', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'Name' => ['type' => 'string', 'required' => false], 'WorkSpaceId' => ['type' => 'string', 'required' => false], 'Network' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'VpcId' => ['type' => 'string', 'required' => false], 'VSwitchId' => ['type' => 'string', 'required' => false], 'SecurityGroupId' => ['type' => 'string', 'required' => false], 'GatewayId' => ['type' => 'string', 'required' => false], ], ], 'Labels' => [ 'type' => 'object', 'required' => false, 'additionalProperties' => ['type' => 'string'], ], ], ], ], ], ], 'CreateResource' => [ 'path' => '/api/v2/resources', 'methods' => ['post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'EcsInstanceType' => ['type' => 'string', 'required' => false], 'SystemDiskSize' => ['type' => 'integer', 'format' => 'int32', 'required' => false, 'minimum' => '200', 'maximum' => '2000'], 'EcsInstanceCount' => ['type' => 'integer', 'format' => 'int32', 'required' => false], 'ChargeType' => [ 'type' => 'string', 'required' => false, 'enum' => ['PrePaid', 'PostPaid'], ], 'AutoRenewal' => ['type' => 'boolean', 'required' => false], 'Zone' => ['type' => 'string', 'required' => false], 'ResourceType' => ['type' => 'string', 'required' => false], 'SelfManagedResourceOptions' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'ExternalClusterId' => ['type' => 'string', 'required' => false], 'RoleName' => ['type' => 'string', 'required' => false], 'NodeMatchLabels' => [ 'type' => 'object', 'required' => false, 'additionalProperties' => ['type' => 'string'], ], 'NodeTolerations' => [ 'type' => 'array', 'required' => false, 'items' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'key' => ['type' => 'string', 'required' => false], 'value' => ['type' => 'string', 'required' => false], 'operator' => ['type' => 'string', 'required' => false], 'effect' => ['type' => 'string', 'required' => false], ], ], ], ], ], 'Labels' => [ 'type' => 'object', 'required' => false, 'additionalProperties' => ['type' => 'string'], ], 'ResourceName' => ['type' => 'string', 'required' => false], 'UsageMode' => ['type' => 'string'], ], ], ], ], ], 'CreateResourceInstances' => [ 'path' => '/api/v2/resources/{ClusterId}/{ResourceId}/instances', 'methods' => ['post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'ClusterId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'ResourceId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'EcsInstanceType' => ['type' => 'string', 'required' => true], 'SystemDiskSize' => ['type' => 'integer', 'format' => 'int32', 'required' => false, 'minimum' => '200', 'maximum' => '2000'], 'EcsInstanceCount' => ['type' => 'integer', 'format' => 'int32', 'required' => true], 'ChargeType' => [ 'type' => 'string', 'required' => true, 'enum' => ['PrePaid', 'PostPaid'], ], 'UserData' => ['type' => 'string', 'deprecated' => true, 'required' => false], 'AutoRenewal' => ['type' => 'boolean', 'required' => false], 'Zone' => ['type' => 'string', 'required' => false], 'Labels' => [ 'type' => 'object', 'required' => false, 'additionalProperties' => ['type' => 'string'], ], ], ], ], ], ], 'CreateResourceLog' => [ 'path' => '/api/v2/resources/{ClusterId}/{ResourceId}/log', 'methods' => ['post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'ClusterId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'ResourceId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'ProjectName' => ['type' => 'string', 'required' => true], 'LogStore' => ['type' => 'string', 'required' => true], ], ], ], ], ], 'CreateService' => [ 'path' => '/api/v2/services', 'methods' => ['post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'body', 'in' => 'body', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'Develop', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'Labels', 'in' => 'query', 'style' => 'json', 'schema' => [ 'type' => 'object', 'required' => false, 'additionalProperties' => ['type' => 'string'], ], ], [ 'name' => 'WorkspaceId', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], ], ], 'CreateServiceAutoScaler' => [ 'path' => '/api/v2/services/{ClusterId}/{ServiceName}/autoscaler', 'methods' => ['post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'ClusterId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'ServiceName', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'min' => ['type' => 'integer', 'format' => 'int32', 'required' => true], 'max' => ['type' => 'integer', 'format' => 'int32', 'required' => true], 'scaleStrategies' => [ 'type' => 'array', 'required' => true, 'items' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'metricName' => ['type' => 'string', 'required' => true], 'threshold' => ['type' => 'number', 'format' => 'float', 'required' => true], 'service' => ['type' => 'string', 'required' => false], ], ], ], 'behavior' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'scaleUp' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'stabilizationWindowSeconds' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], ], 'scaleDown' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'stabilizationWindowSeconds' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], ], 'onZero' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'scaleDownGracePeriodSeconds' => ['type' => 'integer', 'format' => 'int32', 'required' => false], 'scaleUpActivationReplicas' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], ], ], ], ], ], ], ], ], 'CreateServiceCronScaler' => [ 'path' => '/api/v2/services/{ClusterId}/{ServiceName}/cronscaler', 'methods' => ['post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'ClusterId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'ServiceName', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'ScaleJobs' => [ 'type' => 'array', 'required' => true, 'items' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'TargetSize' => ['type' => 'integer', 'format' => 'int32', 'required' => true], 'Schedule' => ['type' => 'string', 'required' => true], 'Name' => ['type' => 'string', 'required' => false], 'TimeZone' => ['type' => 'string', 'required' => false], ], ], ], 'ExcludeDates' => [ 'type' => 'array', 'required' => false, 'items' => ['type' => 'string', 'required' => false], ], ], ], ], ], ], 'CreateServiceInstanceToken' => [ 'path' => '/api/v2/services/{ClusterId}/{ServiceName}/instances/{InstanceName}/token', 'methods' => ['get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => [], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'ClusterId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'ServiceName', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'InstanceName', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'WorkerName', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'ActionType', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], ], ], 'CreateServiceMirror' => [ 'path' => '/api/v2/services/{ClusterId}/{ServiceName}/mirror', 'methods' => ['post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'ClusterId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'ServiceName', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'Ratio' => ['type' => 'integer', 'format' => 'int32', 'required' => false], 'Target' => [ 'type' => 'array', 'required' => false, 'items' => ['type' => 'string', 'required' => false], ], ], ], ], ], ], 'CreateServiceRollout' => [ 'path' => '/api/v2/services/{ClusterId}/{ServiceName}/rollout', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'ClusterId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'ServiceName', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'Partition' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'Partition' => ['type' => 'string', 'required' => false], ], ], 'Batch' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'BatchSize' => ['type' => 'string', 'required' => false], 'Interval' => ['type' => 'string', 'required' => false], ], ], 'Paused' => ['type' => 'boolean', 'required' => false], ], ], ], ], ], 'CreateVirtualResource' => [ 'path' => '/api/v2/virtualresources', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'Resources' => [ 'type' => 'array', 'required' => false, 'items' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'Region' => ['type' => 'string', 'required' => false], 'InstanceType' => ['type' => 'string', 'required' => false], 'Priority' => ['type' => 'integer', 'format' => 'int32', 'required' => false], 'QuotaId' => ['type' => 'string', 'required' => false], 'SpotPriceLimit' => ['type' => 'number', 'format' => 'float', 'required' => false], 'ResourceId' => ['type' => 'string', 'required' => false], ], ], ], 'VirtualResourceName' => ['type' => 'string', 'required' => false], 'DisableSpotProtectionPeriod' => ['type' => 'boolean', 'required' => false], ], ], ], ], ], 'DeleteAclPolicy' => [ 'path' => '/api/v2/gateways/{ClusterId}/{GatewayId}/acl_policy', 'methods' => ['delete'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'ClusterId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'GatewayId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'VpcId', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'AclPolicyList', 'in' => 'query', 'style' => 'json', 'schema' => [ 'type' => 'array', 'required' => false, 'items' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'Entry' => ['type' => 'string', 'required' => false], 'Comment' => ['type' => 'string', 'required' => false], ], ], ], ], ], ], 'DeleteBenchmarkTask' => [ 'path' => '/api/v2/benchmark-tasks/{ClusterId}/{TaskName}', 'methods' => ['delete'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'ClusterId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'TaskName', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], ], ], 'DeleteConfig' => [ 'path' => '/api/v2/configs/{ClusterId}/{ConfigType}/{Name}/{ConfigKey}', 'methods' => ['delete'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'ClusterId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'ConfigType', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'Name', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'ConfigKey', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => false], ], ], ], 'DeleteFaultInjection' => [ 'path' => '/api/v2/services/{ClusterId}/{ServiceName}/instances/{InstanceName}/faults/{FaultType}', 'methods' => ['delete'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'ClusterId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'ServiceName', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'InstanceName', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'FaultType', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => false], ], ], ], 'DeleteGateway' => [ 'path' => '/api/v2/gateways/{ClusterId}/{GatewayId}', 'methods' => ['delete'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'ClusterId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'GatewayId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], ], ], 'DeleteGatewayIntranetLinkedVpc' => [ 'path' => '/api/v2/gateways/{ClusterId}/{GatewayId}/intranet_endpoint_linked_vpc', 'methods' => ['delete'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'ClusterId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'GatewayId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'VpcId', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'VSwitchId', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], ], ], 'DeleteGatewayIntranetLinkedVpcPeer' => [ 'path' => '/api/v2/gateways/{ClusterId}/{GatewayId}/intranet_endpoint_linked_vpc_peer', 'methods' => ['delete'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'ClusterId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'GatewayId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'VpcId', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'PeerVpcs', 'in' => 'query', 'style' => 'json', 'schema' => [ 'type' => 'array', 'required' => false, 'items' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'VpcId' => ['type' => 'string', 'required' => false], 'Region' => ['type' => 'string', 'required' => false], ], ], ], ], ], ], 'DeleteGatewayLabel' => [ 'path' => '/api/v2/gateways/{ClusterId}/{GatewayId}/label', 'methods' => ['delete'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'ClusterId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'GatewayId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'LabelKeys', 'in' => 'query', 'style' => 'json', 'schema' => [ 'type' => 'array', 'required' => true, 'items' => ['type' => 'string', 'required' => false], ], ], ], ], 'DeleteGroup' => [ 'path' => '/api/v2/groups/{ClusterId}/{GroupName}', 'methods' => ['delete'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'ClusterId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'GroupName', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'CascadeDelete', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], ], ], 'DeleteResource' => [ 'path' => '/api/v2/resources/{ClusterId}/{ResourceId}', 'methods' => ['delete'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'ClusterId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'ResourceId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], ], ], 'DeleteResourceDLink' => [ 'path' => '/api/v2/resources/{ClusterId}/{ResourceId}/dlink', 'methods' => ['delete'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'ClusterId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'ResourceId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], ], ], 'DeleteResourceInstanceLabel' => [ 'path' => '/api/v2/resources/{ClusterId}/{ResourceId}/label', 'methods' => ['delete'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'ClusterId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'ResourceId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'InstanceIds', 'in' => 'query', 'style' => 'simple', 'schema' => [ 'type' => 'array', 'required' => false, 'items' => ['type' => 'string', 'required' => false], ], ], [ 'name' => 'AllInstances', 'in' => 'query', 'schema' => ['type' => 'boolean', 'required' => false], ], [ 'name' => 'Keys', 'in' => 'query', 'style' => 'simple', 'schema' => [ 'type' => 'array', 'deprecated' => true, 'required' => false, 'items' => ['type' => 'string', 'required' => false], ], ], [ 'name' => 'LabelKeys', 'in' => 'query', 'style' => 'json', 'schema' => [ 'type' => 'array', 'required' => false, 'items' => ['type' => 'string', 'required' => false], ], ], ], ], 'DeleteResourceInstances' => [ 'path' => '/api/v2/resources/{ClusterId}/{ResourceId}/instances', 'methods' => ['delete'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'ClusterId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'ResourceId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'InstanceList', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'AllFailed', 'in' => 'query', 'schema' => ['type' => 'boolean', 'required' => false], ], ], ], 'DeleteResourceLog' => [ 'path' => '/api/v2/resources/{ClusterId}/{ResourceId}/log', 'methods' => ['delete'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'ClusterId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'ResourceId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], ], ], 'DeleteService' => [ 'path' => '/api/v2/services/{ClusterId}/{ServiceName}', 'methods' => ['delete'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'ClusterId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'ServiceName', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], ], ], 'DeleteServiceAutoScaler' => [ 'path' => '/api/v2/services/{ClusterId}/{ServiceName}/autoscaler', 'methods' => ['delete'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'ClusterId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'ServiceName', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], ], ], 'DeleteServiceCronScaler' => [ 'path' => '/api/v2/services/{ClusterId}/{ServiceName}/cronscaler', 'methods' => ['delete'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'ClusterId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'ServiceName', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], ], ], 'DeleteServiceInstances' => [ 'path' => '/api/v2/services/{ClusterId}/{ServiceName}/instances', 'methods' => ['delete'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => [], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'ClusterId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'ServiceName', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'InstanceList', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'SoftRestart', 'in' => 'query', 'schema' => ['type' => 'boolean', 'required' => false], ], [ 'name' => 'Container', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'IsReplica', 'in' => 'query', 'schema' => ['type' => 'boolean', 'required' => false], ], ], ], 'DeleteServiceLabel' => [ 'path' => '/api/v2/services/{ClusterId}/{ServiceName}/label', 'methods' => ['delete'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'ClusterId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'ServiceName', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'Keys', 'in' => 'query', 'style' => 'simple', 'schema' => [ 'type' => 'array', 'deprecated' => true, 'required' => false, 'items' => ['type' => 'string', 'required' => false], ], ], [ 'name' => 'LabelKeys', 'in' => 'query', 'style' => 'json', 'schema' => [ 'type' => 'array', 'required' => false, 'items' => ['type' => 'string', 'required' => false], ], ], ], ], 'DeleteServiceMirror' => [ 'path' => '/api/v2/services/{ClusterId}/{ServiceName}/mirror', 'methods' => ['delete'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'ClusterId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'ServiceName', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], ], ], 'DeleteServiceRollout' => [ 'path' => '/api/v2/services/{ClusterId}/{ServiceName}/rollout', 'methods' => ['delete'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'ClusterId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'ServiceName', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], ], ], 'DeleteVirtualResource' => [ 'path' => '/api/v2/virtualresources/{ClusterId}/{VirtualResourceId}', 'methods' => ['delete'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'ClusterId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'VirtualResourceId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], ], ], 'DescribeBenchmarkTask' => [ 'path' => '/api/v2/benchmark-tasks/{ClusterId}/{TaskName}', 'methods' => ['get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'ClusterId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'TaskName', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], ], ], 'DescribeBenchmarkTaskReport' => [ 'path' => '/api/v2/benchmark-tasks/{ClusterId}/{TaskName}/report', 'methods' => ['get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'ClusterId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'TaskName', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'ReportType', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], ], ], 'DescribeGateway' => [ 'path' => '/api/v2/gateways/{ClusterId}/{GatewayId}', 'methods' => ['get'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'ClusterId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'GatewayId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], ], ], 'DescribeGroup' => [ 'path' => '/api/v2/groups/{ClusterId}/{GroupName}', 'methods' => ['get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'ClusterId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'GroupName', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], ], ], 'DescribeGroupEndpoints' => [ 'path' => '/api/v2/groups/{ClusterId}/{GroupName}/endpoints', 'methods' => ['get'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => [], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'ClusterId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'GroupName', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], ], ], 'DescribeMachineSpec' => [ 'path' => '/api/v2/public/instance_types', 'methods' => ['get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => [], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'ResourceType', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'ChargeType', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'InstanceTypes', 'in' => 'query', 'style' => 'simple', 'schema' => [ 'type' => 'array', 'deprecated' => true, 'required' => false, 'items' => ['type' => 'string', 'required' => false], ], ], ], ], 'DescribeRegions' => [ 'path' => '/api/v2/regions', 'methods' => ['get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [], ], 'DescribeResource' => [ 'path' => '/api/v2/resources/{ClusterId}/{ResourceId}', 'methods' => ['get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'ClusterId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'ResourceId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], ], ], 'DescribeResourceDLink' => [ 'path' => '/api/v2/resources/{ClusterId}/{ResourceId}/dlink', 'methods' => ['get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'ClusterId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'ResourceId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], ], ], 'DescribeResourceLog' => [ 'path' => '/api/v2/resources/{ClusterId}/{ResourceId}/log', 'methods' => ['get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'ClusterId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'ResourceId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], ], ], 'DescribeService' => [ 'path' => '/api/v2/services/{ClusterId}/{ServiceName}', 'methods' => ['get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'ClusterId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'ServiceName', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], ], ], 'DescribeServiceAutoScaler' => [ 'path' => '/api/v2/services/{ClusterId}/{ServiceName}/autoscaler', 'methods' => ['get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'ClusterId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'ServiceName', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], ], ], 'DescribeServiceCronScaler' => [ 'path' => '/api/v2/services/{ClusterId}/{ServiceName}/cronscaler', 'methods' => ['get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'ClusterId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'ServiceName', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], ], ], 'DescribeServiceDiagnosis' => [ 'path' => '/api/v2/services/{ClusterId}/{ServiceName}/diagnosis', 'methods' => ['get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'ClusterId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'ServiceName', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], ], ], 'DescribeServiceEndpoints' => [ 'path' => '/api/v2/services/{ClusterId}/{ServiceName}/endpoints', 'methods' => ['get'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => [], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'ClusterId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'ServiceName', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], ], ], 'DescribeServiceEvent' => [ 'path' => '/api/v2/services/{ClusterId}/{ServiceName}/events', 'methods' => ['get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'PageNum', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'PageSize', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'ClusterId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'ServiceName', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'StartTime', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'EndTime', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'EventType', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'InstanceName', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], ], ], 'DescribeServiceInstanceDiagnosis' => [ 'path' => '/api/v2/services/{ClusterId}/{ServiceName}/instances/{InstanceName}/diagnosis', 'methods' => ['get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'ClusterId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'ServiceName', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'InstanceName', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], ], ], 'DescribeServiceLog' => [ 'path' => '/api/v2/services/{ClusterId}/{ServiceName}/logs', 'methods' => ['get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => [], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'PageNum', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false], ], [ 'name' => 'PageSize', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false], ], [ 'name' => 'Ip', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'Keyword', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'StartTime', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'EndTime', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'ClusterId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'ServiceName', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'InstanceName', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'ContainerName', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'Previous', 'in' => 'query', 'schema' => ['type' => 'boolean', 'required' => false], ], ], ], 'DescribeServiceMirror' => [ 'path' => '/api/v2/services/{ClusterId}/{ServiceName}/mirror', 'methods' => ['get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'ClusterId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'ServiceName', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], ], ], 'DescribeServiceRollout' => [ 'path' => '/api/v2/services/{ClusterId}/{ServiceName}/rollout', 'methods' => ['get'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'ClusterId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'ServiceName', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => false], ], ], ], 'DescribeServiceSignedUrl' => [ 'path' => '/api/v2/services/{ClusterId}/{ServiceName}/signed_url', 'methods' => ['get'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'ClusterId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'ServiceName', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'Type', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'Expire', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false], ], [ 'name' => 'Internal', 'in' => 'query', 'schema' => ['type' => 'boolean', 'required' => false], ], ], ], 'DescribeSpotDiscountHistory' => [ 'path' => '/api/v2/public/spot_discount', 'methods' => ['get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'InstanceType', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'IsProtect', 'in' => 'query', 'schema' => ['type' => 'boolean', 'required' => false], ], ], ], 'DescribeVirtualResource' => [ 'path' => '/api/v2/virtualresources/{ClusterId}/{VirtualResourceId}', 'methods' => ['get'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'ClusterId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'VirtualResourceId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], ], ], 'DetachGatewayDomain' => [ 'path' => '/api/v2/gateways/{ClusterId}/{GatewayId}/domain/detach', 'methods' => ['put'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'ClusterId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'GatewayId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'CustomDomain', 'in' => 'query', 'style' => 'json', 'schema' => [ 'type' => 'object', 'required' => true, 'properties' => [ 'Type' => ['type' => 'string', 'required' => true], 'Domain' => ['type' => 'string', 'required' => true], ], ], ], ], ], 'DevelopService' => [ 'path' => '/api/v2/services/{ClusterId}/{ServiceName}/develop', 'methods' => ['put'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'ClusterId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'ServiceName', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'Exit', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], ], ], 'ListAclPolicy' => [ 'path' => '/api/v2/gateways/{ClusterId}/{GatewayId}/acl_policy', 'methods' => ['get'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'ClusterId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'GatewayId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'VpcId', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], ], ], 'ListBenchmarkTask' => [ 'path' => '/api/v2/benchmark-tasks', 'methods' => ['get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'Filter', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'Sort', 'in' => 'query', 'schema' => ['type' => 'string'], ], [ 'name' => 'Order', 'in' => 'query', 'schema' => ['type' => 'string'], ], [ 'name' => 'ServiceName', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'Status', 'in' => 'query', 'schema' => ['type' => 'string'], ], [ 'name' => 'ModelId', 'in' => 'query', 'schema' => ['type' => 'string'], ], [ 'name' => 'RequestMethod', 'in' => 'query', 'schema' => ['type' => 'string'], ], [ 'name' => 'PageNumber', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'PageSize', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], ], ], 'ListConfigs' => [ 'path' => '/api/v2/configs/{ClusterId}/{ConfigType}/{Name}', 'methods' => ['get'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'ClusterId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'ConfigType', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'Name', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'Page', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ 'name' => 'PageSize', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], ], ], 'ListGateway' => [ 'path' => '/api/v2/gateways', 'methods' => ['get'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'GatewayId', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'PageNumber', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ 'name' => 'PageSize', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ 'name' => 'GatewayName', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'ResourceName', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'InternetEnabled', 'in' => 'query', 'schema' => ['type' => 'boolean', 'required' => false], ], [ 'name' => 'Status', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'ChargeType', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'Sort', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'Order', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'GatewayType', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'Label', 'in' => 'query', 'style' => 'json', 'schema' => [ 'type' => 'object', 'required' => false, 'additionalProperties' => ['type' => 'string'], ], ], ], ], 'ListGatewayDomains' => [ 'path' => '/api/v2/gateways/{ClusterId}/{GatewayId}/domains', 'methods' => ['get'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'ClusterId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'GatewayId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], ], ], 'ListGatewayIntranetLinkedVpc' => [ 'path' => '/api/v2/gateways/{ClusterId}/{GatewayId}/intranet_endpoint_linked_vpc', 'methods' => ['get'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'ClusterId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'GatewayId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => false], ], ], ], 'ListGatewayIntranetLinkedVpcPeer' => [ 'path' => '/api/v2/gateways/{ClusterId}/{GatewayId}/intranet_endpoint_linked_vpc_peer', 'methods' => ['get'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'ClusterId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'GatewayId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'VpcId', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], ], ], 'ListGatewayIntranetSupportedZone' => [ 'path' => '/api/v2/gateways/{ClusterId}/{GatewayId}/intranet_supported_zone', 'methods' => ['get'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'GatewayId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'ClusterId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => false], ], ], ], 'ListGroups' => [ 'path' => '/api/v2/groups', 'methods' => ['get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => [], 'produces' => [], 'deprecated' => false, 'parameters' => [ [ 'name' => 'PageSize', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'PageNumber', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'Filter', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'WorkspaceId', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'TrafficMode', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'Sort', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'Order', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'Labels', 'in' => 'query', 'style' => 'json', 'schema' => [ 'type' => 'object', 'required' => false, 'additionalProperties' => ['type' => 'string'], ], ], ], ], 'ListResourceInstanceWorker' => [ 'path' => '/api/v2/resources/{ClusterId}/{ResourceId}/instance/{InstanceName}/workers', 'methods' => ['get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'ClusterId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'ResourceId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'InstanceName', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'PageNumber', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ 'name' => 'PageSize', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ 'name' => 'WorkerName', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'Status', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'Order', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'Sort', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'ServiceName', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'Ready', 'in' => 'query', 'schema' => ['type' => 'boolean', 'required' => false], ], ], ], 'ListResourceInstances' => [ 'path' => '/api/v2/resources/{ClusterId}/{ResourceId}/instances', 'methods' => ['get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'ClusterId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'ResourceId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'ChargeType', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'PageNumber', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ 'name' => 'PageSize', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ 'name' => 'InstanceName', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'InstanceId', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'InstanceIP', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'Filter', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'InstanceStatus', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'Label', 'in' => 'query', 'style' => 'json', 'schema' => [ 'type' => 'object', 'required' => false, 'additionalProperties' => ['type' => 'string'], ], ], [ 'name' => 'Sort', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'Order', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'Zone', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], ], ], 'ListResourceServices' => [ 'path' => '/api/v2/resources/{ClusterId}/{ResourceId}/services', 'methods' => ['get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => true, 'parameters' => [ [ 'name' => 'ClusterId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'ResourceId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'PageNumber', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ 'name' => 'PageSize', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], ], ], 'ListResources' => [ 'path' => '/api/v2/resources', 'methods' => ['get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'PageNumber', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ 'name' => 'PageSize', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ 'name' => 'ResourceName', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'ResourceId', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'ResourceType', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'ResourceStatus', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'UsageMode', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'Order', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'Sort', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], ], ], 'ListServiceContainers' => [ 'path' => '/api/v2/services/{ClusterId}/{ServiceName}/instances/{InstanceName}/containers', 'methods' => ['get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'ClusterId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'ServiceName', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'InstanceName', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], ], ], 'ListServiceInstanceFaultInjectionInfo' => [ 'path' => '/api/v2/services/{ClusterId}/{ServiceName}/instances/{InstanceName}/faults', 'methods' => ['get'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'ClusterId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'ServiceName', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'InstanceName', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], ], ], 'ListServiceInstances' => [ 'path' => '/api/v2/services/{ClusterId}/{ServiceName}/instances', 'methods' => ['get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'ClusterId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'ServiceName', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'PageNumber', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ 'name' => 'PageSize', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ 'name' => 'Filter', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'ResourceType', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'InstanceType', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'InstanceStatus', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'InstanceIP', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'InstanceName', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'HostIP', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'IsSpot', 'in' => 'query', 'schema' => ['type' => 'boolean', 'required' => false], ], [ 'name' => 'Role', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'Sort', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'Order', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'MemberType', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'ListReplica', 'in' => 'query', 'schema' => ['type' => 'boolean', 'required' => false], ], [ 'name' => 'ReplicaName', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'QuotaId', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'Resource', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], ], ], 'ListServiceVersions' => [ 'path' => '/api/v2/services/{ClusterId}/{ServiceName}/versions', 'methods' => ['get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'ClusterId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'ServiceName', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'PageNumber', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ 'name' => 'PageSize', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], ], ], 'ListServices' => [ 'path' => '/api/v2/services', 'methods' => ['get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'Sort', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'Order', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'Filter', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'PageNumber', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ 'name' => 'PageSize', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ 'name' => 'GroupName', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'ParentServiceUid', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'ServiceType', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'Label', 'in' => 'query', 'style' => 'json', 'schema' => [ 'type' => 'object', 'required' => false, 'additionalProperties' => ['type' => 'string'], ], ], [ 'name' => 'ServiceStatus', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'ServiceName', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'ServiceUid', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'ResourceName', 'in' => 'query', 'schema' => ['type' => 'string', 'deprecated' => true, 'required' => false], ], [ 'name' => 'WorkspaceId', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'QuotaId', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'Gateway', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'Role', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'ResourceType', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'IncludeNoWorkspace', 'in' => 'query', 'schema' => ['type' => 'boolean', 'required' => false], ], [ 'name' => 'ResourceAliasName', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'ResourceId', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'ResourceBurstable', 'in' => 'query', 'schema' => ['type' => 'boolean', 'required' => false], ], [ 'name' => 'CronscalerEnabled', 'in' => 'query', 'schema' => ['type' => 'boolean', 'required' => false], ], [ 'name' => 'AutoscalerEnabled', 'in' => 'query', 'schema' => ['type' => 'boolean', 'required' => false], ], [ 'name' => 'TrafficState', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'CallerUid', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'Accessibility', 'in' => 'query', 'schema' => [ 'type' => 'string', 'enum' => ['PUBLIC', 'PRIVATE'], ], ], ], ], 'ListTenantAddons' => [ 'path' => '/api/v2/tenantaddons', 'methods' => ['get'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [], ], 'ListVirtualResource' => [ 'path' => '/api/v2/virtualresources', 'methods' => ['get'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'PageNumber', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ 'name' => 'PageSize', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ 'name' => 'VirtualResourceId', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'VirtualResourceName', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'Sort', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'Order', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], ], ], 'MigrateResourceInstance' => [ 'path' => '/api/v2/resources/{ClusterId}/{ResourceId}/instances/migrate', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'ClusterId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'ResourceId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'InstanceIds' => [ 'type' => 'array', 'required' => true, 'items' => ['type' => 'string', 'required' => false], ], 'DestResourceId' => ['type' => 'string', 'required' => true], 'MigrateToHybrid' => ['type' => 'boolean', 'required' => false], ], ], ], ], ], 'ReinstallTenantAddon' => [ 'path' => '/api/v2/tenantaddons/{ClusterId}/{TenantAddonName}/reinstall', 'methods' => ['put'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'ClusterId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'TenantAddonName', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], ], ], 'ReleaseService' => [ 'path' => '/api/v2/services/{ClusterId}/{ServiceName}/release', 'methods' => ['put'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'ClusterId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'ServiceName', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'Weight' => ['type' => 'integer', 'format' => 'int32', 'required' => false], 'TrafficState' => ['type' => 'string', 'required' => false], ], ], ], ], ], 'RestartService' => [ 'path' => '/api/v2/services/{ClusterId}/{ServiceName}/restart', 'methods' => ['put'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'ClusterId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'ServiceName', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], ], ], 'ScaleService' => [ 'path' => '/api/v2/services/{ClusterId}/{ServiceName}/scale', 'methods' => ['put'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'ClusterId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'ServiceName', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'Instance' => ['type' => 'integer', 'format' => 'int64', 'required' => true], 'InstancesToDelete' => [ 'type' => 'array', 'required' => false, 'items' => ['type' => 'string', 'required' => false], 'minItems' => 0, ], ], ], ], ], ], 'StartBenchmarkTask' => [ 'path' => '/api/v2/benchmark-tasks/{ClusterId}/{TaskName}/start', 'methods' => ['put'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'ClusterId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'TaskName', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], ], ], 'StartService' => [ 'path' => '/api/v2/services/{ClusterId}/{ServiceName}/start', 'methods' => ['put'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'ClusterId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'ServiceName', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], ], ], 'StopBenchmarkTask' => [ 'path' => '/api/v2/benchmark-tasks/{ClusterId}/{TaskName}/stop', 'methods' => ['put'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'ClusterId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'TaskName', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], ], ], 'StopService' => [ 'path' => '/api/v2/services/{ClusterId}/{ServiceName}/stop', 'methods' => ['put'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'ClusterId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'ServiceName', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], ], ], 'UpdateAppService' => [ 'path' => '/api/v2/app_services/{ClusterId}/{ServiceName}', 'methods' => ['put'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'ClusterId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'ServiceName', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'WorkspaceId', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'QuotaId', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'AppType' => ['type' => 'string', 'required' => false], 'AppVersion' => ['type' => 'string', 'required' => false], 'ServiceSpec' => ['type' => 'string', 'required' => false], 'Replicas' => ['type' => 'integer', 'format' => 'int32', 'required' => false], 'Config' => [ 'type' => 'object', 'required' => false, 'additionalProperties' => ['type' => 'any'], ], ], ], ], ], ], 'UpdateBenchmarkTask' => [ 'path' => '/api/v2/benchmark-tasks/{ClusterId}/{TaskName}', 'methods' => ['put'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'ClusterId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'TaskName', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'body', 'in' => 'body', 'schema' => ['type' => 'string', 'required' => false], ], ], ], 'UpdateConfig' => [ 'path' => '/api/v2/configs/{ClusterId}/{ConfigType}/{Name}/{ConfigKey}', 'methods' => ['put'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'ClusterId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'ConfigType', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'Name', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'ConfigKey', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'Value' => ['type' => 'string', 'required' => false], ], ], ], ], ], 'UpdateGateway' => [ 'path' => '/api/v2/gateways/{ClusterId}/{GatewayId}', 'methods' => ['put'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'InstanceType' => ['type' => 'string', 'required' => false], 'Name' => ['type' => 'string', 'required' => false], 'EnableIntranet' => ['type' => 'boolean', 'required' => false], 'EnableInternet' => ['type' => 'boolean', 'required' => false], 'IsDefault' => ['type' => 'boolean', 'required' => false], 'Replicas' => ['type' => 'integer', 'format' => 'int32', 'required' => false], 'EnableSSLRedirection' => ['type' => 'boolean', 'required' => false], 'VpcId' => ['type' => 'string', 'required' => false], 'VSwitchIds' => [ 'type' => 'array', 'required' => false, 'items' => ['type' => 'string', 'required' => false], ], ], ], ], [ 'name' => 'GatewayId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'ClusterId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], ], ], 'UpdateGatewayLabel' => [ 'path' => '/api/v2/gateways/{ClusterId}/{GatewayId}/label', 'methods' => ['put'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'ClusterId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'GatewayId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'Labels' => [ 'type' => 'object', 'required' => true, 'additionalProperties' => ['type' => 'string'], ], ], ], ], ], ], 'UpdateGroup' => [ 'path' => '/api/v2/groups/{ClusterId}/{GroupName}', 'methods' => ['put'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'ClusterId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'GroupName', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'TrafficMode' => [ 'type' => 'string', 'required' => false, 'enum' => ['auto', 'customized'], ], 'Network' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'VpcId' => ['type' => 'string', 'required' => false], 'VSwitchId' => ['type' => 'string', 'required' => false], 'SecurityGroupId' => ['type' => 'string', 'required' => false], 'GatewayId' => ['type' => 'string', 'required' => false], ], ], 'Labels' => [ 'type' => 'object', 'required' => false, 'additionalProperties' => ['type' => 'string'], ], ], ], ], ], ], 'UpdateResource' => [ 'path' => '/api/v2/resources/{ClusterId}/{ResourceId}', 'methods' => ['put'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'ClusterId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'ResourceId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'ResourceName' => ['type' => 'string', 'required' => false], 'SelfManagedResourceOptions' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'NodeMatchLabels' => [ 'type' => 'object', 'required' => false, 'additionalProperties' => ['type' => 'string'], ], 'NodeTolerations' => [ 'type' => 'array', 'required' => false, 'items' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'key' => ['type' => 'string', 'required' => false], 'value' => ['type' => 'string', 'required' => false], 'operator' => ['type' => 'string', 'required' => false], 'effect' => ['type' => 'string', 'required' => false], ], ], ], ], ], ], ], ], ], ], 'UpdateResourceDLink' => [ 'path' => '/api/v2/resources/{ClusterId}/{ResourceId}/dlink', 'methods' => ['put'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'ClusterId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'ResourceId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'VSwitchId' => ['type' => 'string', 'required' => true], 'SecurityGroupId' => ['type' => 'string', 'required' => true], 'VSwitchIdList' => [ 'type' => 'array', 'required' => false, 'items' => ['type' => 'string', 'required' => false], ], 'DestinationCIDRs' => ['type' => 'string', 'required' => false], ], ], ], ], ], 'UpdateResourceInstance' => [ 'path' => '/api/v2/resources/{ClusterId}/{ResourceId}/instances/{InstanceId}', 'methods' => ['put'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'ClusterId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'ResourceId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'InstanceId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'Action' => ['type' => 'string', 'required' => true], 'NewDiskSize' => ['type' => 'string'], 'Reason' => ['type' => 'string', 'maxLength' => 200], ], ], ], ], ], 'UpdateResourceInstanceLabel' => [ 'path' => '/api/v2/resources/{ClusterId}/{ResourceId}/label', 'methods' => ['put'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'ClusterId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'ResourceId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'InstanceIds', 'in' => 'query', 'style' => 'simple', 'schema' => [ 'type' => 'array', 'required' => false, 'items' => ['type' => 'string', 'required' => false], ], ], [ 'name' => 'AllInstances', 'in' => 'query', 'schema' => ['type' => 'boolean', 'required' => false], ], [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'Labels' => [ 'type' => 'object', 'required' => false, 'additionalProperties' => ['type' => 'string'], ], ], ], ], ], ], 'UpdateService' => [ 'path' => '/api/v2/services/{ClusterId}/{ServiceName}', 'methods' => ['put'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'ClusterId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'ServiceName', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'UpdateType', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'MemberToUpdate', 'in' => 'query', 'schema' => ['type' => 'string'], ], [ 'name' => 'body', 'in' => 'body', 'schema' => ['type' => 'string', 'required' => false], ], ], ], 'UpdateServiceAutoScaler' => [ 'path' => '/api/v2/services/{ClusterId}/{ServiceName}/autoscaler', 'methods' => ['put'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'ClusterId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'ServiceName', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'min' => ['type' => 'integer', 'format' => 'int32', 'required' => true], 'max' => ['type' => 'integer', 'format' => 'int32', 'required' => true], 'scaleStrategies' => [ 'type' => 'array', 'required' => true, 'items' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'metricName' => ['type' => 'string', 'required' => true], 'threshold' => ['type' => 'number', 'format' => 'float', 'required' => true], 'service' => ['type' => 'string', 'required' => false], ], ], ], 'behavior' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'scaleUp' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'stabilizationWindowSeconds' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], ], 'scaleDown' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'stabilizationWindowSeconds' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], ], 'onZero' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'scaleDownGracePeriodSeconds' => ['type' => 'integer', 'format' => 'int32', 'required' => false], 'scaleUpActivationReplicas' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], ], ], ], ], ], ], ], ], 'UpdateServiceCronScaler' => [ 'path' => '/api/v2/services/{ClusterId}/{ServiceName}/cronscaler', 'methods' => ['put'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'ClusterId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'ServiceName', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'ScaleJobs' => [ 'type' => 'array', 'required' => true, 'items' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'TargetSize' => ['type' => 'integer', 'format' => 'int32', 'required' => true], 'Schedule' => ['type' => 'string', 'required' => true], 'Name' => ['type' => 'string', 'required' => false], 'TimeZone' => ['type' => 'string', 'required' => false], ], ], ], 'ExcludeDates' => [ 'type' => 'array', 'required' => false, 'items' => ['type' => 'string', 'required' => false], ], ], ], ], ], ], 'UpdateServiceInstance' => [ 'path' => '/api/v2/services/{ClusterId}/{ServiceName}/instances/{InstanceName}', 'methods' => ['put'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'ClusterId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'ServiceName', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'InstanceName', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'Hibernate' => ['type' => 'boolean', 'required' => false], 'Isolate' => ['type' => 'boolean', 'required' => false], 'Detach' => ['type' => 'boolean', 'required' => false], ], ], ], [ 'name' => 'IsReplica', 'in' => 'query', 'schema' => ['type' => 'boolean', 'required' => false], ], ], ], 'UpdateServiceLabel' => [ 'path' => '/api/v2/services/{ClusterId}/{ServiceName}/label', 'methods' => ['put'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'ClusterId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'ServiceName', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'Labels' => [ 'type' => 'object', 'required' => true, 'additionalProperties' => ['type' => 'string'], ], ], ], ], ], ], 'UpdateServiceMirror' => [ 'path' => '/api/v2/services/{ClusterId}/{ServiceName}/mirror', 'methods' => ['put'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'ClusterId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'ServiceName', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'Ratio' => ['type' => 'integer', 'format' => 'int32', 'required' => false], 'Target' => [ 'type' => 'array', 'required' => false, 'items' => ['type' => 'string', 'required' => false], ], ], ], ], ], ], 'UpdateServiceRollout' => [ 'path' => '/api/v2/services/{ClusterId}/{ServiceName}/rollout', 'methods' => ['put'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'ClusterId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'ServiceName', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'Partition' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'Partition' => ['type' => 'string', 'required' => false], ], ], 'Batch' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'BatchSize' => ['type' => 'string', 'required' => false], 'Interval' => ['type' => 'string', 'required' => false], ], ], 'Paused' => ['type' => 'boolean', 'required' => false], ], ], ], ], ], 'UpdateServiceSafetyLock' => [ 'path' => '/api/v2/services/{ClusterId}/{ServiceName}/lock', 'methods' => ['put'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => [], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'ClusterId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'ServiceName', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'Lock' => [ 'type' => 'string', 'required' => true, 'enum' => ['none', 'dangerous', 'all'], ], ], ], ], ], ], 'UpdateServiceVersion' => [ 'path' => '/api/v2/services/{ClusterId}/{ServiceName}/version', 'methods' => ['put'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'ClusterId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'ServiceName', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'Version' => ['type' => 'integer', 'format' => 'int32', 'required' => true], ], ], ], ], ], 'UpdateVirtualResource' => [ 'path' => '/api/v2/virtualresources/{ClusterId}/{VirtualResourceId}', 'methods' => ['put'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'ClusterId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'VirtualResourceId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'Resources' => [ 'type' => 'array', 'required' => false, 'items' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'Region' => ['type' => 'string', 'required' => false], 'Priority' => ['type' => 'integer', 'format' => 'int32', 'required' => false], 'InstanceType' => ['type' => 'string', 'required' => false], 'ResourceId' => ['type' => 'string', 'required' => false], 'QuotaId' => ['type' => 'string', 'required' => false], 'SpotPriceLimit' => ['type' => 'number', 'format' => 'float', 'required' => false], ], ], ], 'VirtualResourceName' => ['type' => 'string', 'required' => false], 'DisableSpotProtectionPeriod' => ['type' => 'boolean', 'required' => false], ], ], ], ], ], ], 'endpoints' => [ ['regionId' => 'cn-zhongwei', 'regionName' => '西北2(中卫)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', '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' => '华北6(乌兰察布)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', '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' => '华北2(北京)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', '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' => '华东2(上海)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', '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' => '中国香港', 'areaId' => 'asiaPacific', 'areaName' => '亚太', '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' => '华南2(河源)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', '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' => '华北3(张家口)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', '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' => '华南1(深圳)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', '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' => '韩国(首尔)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', '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' => '日本(东京)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', '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' => '西南1(成都)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', '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' => '华南3(广州)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', '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' => '新加坡', 'areaId' => 'asiaPacific', 'areaName' => '亚太', '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' => '马来西亚(吉隆坡)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', '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' => '印度尼西亚(雅加达)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', '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' => '泰国(曼谷)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', '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' => '华东1(杭州)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', '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' => '马来西亚(柔佛州)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', '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' => '美国(弗吉尼亚)', 'areaId' => 'europeAmerica', 'areaName' => '欧洲与美洲', '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' => '美国(亚特兰大)', 'areaId' => 'europeAmerica', 'areaName' => '欧洲与美洲', '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' => '美国(硅谷)', 'areaId' => 'europeAmerica', 'areaName' => '欧洲与美洲', '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' => '德国(法兰克福)', 'areaId' => 'europeAmerica', 'areaName' => '欧洲与美洲', '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' => '阿联酋(迪拜)', 'areaId' => 'middleEast', 'areaName' => '中东', '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' => '沙特(利雅得)', 'areaId' => 'middleEast', 'areaName' => '中东', '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' => '华东2 金融云', 'areaId' => 'industryCloud', 'areaName' => '行业云', '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'], ], ];