summaryrefslogtreecommitdiff
path: root/data/eas
diff options
context:
space:
mode:
authorZhineng Li <im@zhineng.li>2026-07-12 16:56:35 +0800
committerZhineng Li <im@zhineng.li>2026-07-12 16:56:35 +0800
commit814ec806c22e2782390af5a4a05cb6281aabd5e1 (patch)
tree29e1692a067b17e56886a7d246d2b9521b2b7777 /data/eas
parenteccd5cd5a067f5659982685afdeea209b1888efb (diff)
downloadafterglow-metadata-814ec806c22e2782390af5a4a05cb6281aabd5e1.tar.gz
afterglow-metadata-814ec806c22e2782390af5a4a05cb6281aabd5e1.zip
update APIs 20260712
Diffstat (limited to 'data/eas')
-rw-r--r--data/eas/2021-07-01/api-docs.php7485
1 files changed, 2637 insertions, 4848 deletions
diff --git a/data/eas/2021-07-01/api-docs.php b/data/eas/2021-07-01/api-docs.php
index 577ece8..a0a26ee 100644
--- a/data/eas/2021-07-01/api-docs.php
+++ b/data/eas/2021-07-01/api-docs.php
@@ -1,952 +1,416 @@
<?php return [
'version' => '1.0',
- 'info' => [
- 'style' => 'ROA',
- 'product' => 'eas',
- 'version' => '2021-07-01',
- ],
+ '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',
- ],
+ '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',
+ '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'],
+ ],
],
- 'TrafficMode' => [
- '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',
- ],
+ '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',
- ],
+ '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' => [
- 'Status' => [
- 'type' => 'string',
- ],
- 'PrePaidInstanceCount' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'Message' => [
- 'type' => 'string',
- ],
- 'ClusterId' => [
- 'type' => 'string',
- ],
- 'ResourceName' => [
- 'type' => 'string',
- ],
- 'Memory' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'CreateTime' => [
- 'type' => 'string',
- ],
- 'ResourceType' => [
- 'type' => 'string',
- ],
- 'PostPaidInstanceCount' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'ExtraData' => [
- 'type' => 'object',
- ],
+ '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',
- ],
- ],
- 'InstanceCount' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'CpuCount' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'InstanceMaxAllocatableCPU' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'ResourceId' => [
- 'type' => 'string',
- ],
- 'UpdateTime' => [
- 'type' => 'string',
- ],
- 'InstanceMaxAllocatableGPU' => [
- 'type' => 'number',
- 'format' => 'float',
- ],
- 'InstanceMaxAllocatableMemory' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'MemoryUsed' => [
- 'type' => 'integer',
- 'format' => 'int32',
+ 'enum' => ['ECS', 'BareMetal'],
],
'Features' => [
'type' => 'array',
- 'items' => [
- 'type' => 'string',
- ],
- ],
- 'GpuCount' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'GpuUsed' => [
- 'type' => 'number',
- 'format' => 'float',
- ],
- 'CpuUsed' => [
- 'type' => 'integer',
- 'format' => 'int32',
+ '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',
- ],
+ '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',
- ],
+ 'LabelKey' => ['type' => 'string'],
+ 'LabelValue' => ['type' => 'string'],
],
],
],
- 'LastCordonOperator' => [
- 'type' => 'string',
- ],
- 'LastCordonReason' => [
- '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' => 'int32',
- ],
- 'RestartCount' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'StartTime' => [
- 'type' => 'string',
- ],
+ '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' => [
- 'ServiceGroup' => [
- 'type' => 'string',
- ],
- 'Memory' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'Cpu' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'Image' => [
- 'type' => 'string',
- ],
- 'Gpu' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'TotalInstance' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'AccessToken' => [
- 'type' => 'string',
- ],
- 'ResourceBurstable' => [
- 'type' => 'boolean',
- ],
- 'InternetEndpoint' => [
- 'type' => 'string',
- ],
- 'ResourceAlias' => [
- 'type' => 'string',
- ],
- 'Status' => [
- 'type' => 'string',
- ],
- 'TrafficState' => [
- 'type' => 'string',
- ],
- 'RequestId' => [
- 'type' => 'string',
- ],
- 'Resource' => [
- 'type' => 'string',
- ],
- 'SecondaryInternetEndpoint' => [
+ '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' => [
- 'LabelValue' => [
- 'type' => 'string',
- ],
- 'LabelKey' => [
- 'type' => 'string',
- ],
+ 'LabelKey' => ['type' => 'string'],
+ 'LabelValue' => ['type' => 'string'],
],
],
],
- 'Namespace' => [
- 'type' => 'string',
- ],
- 'Weight' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'Role' => [
- 'type' => 'string',
- ],
- 'SecondaryIntranetEndpoint' => [
- 'type' => 'string',
- ],
- 'PendingInstance' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'ServiceName' => [
- 'type' => 'string',
- ],
- 'SafetyLock' => [
- 'type' => 'string',
- 'enum' => [
- 'none',
- 'dangerous',
- 'all',
- ],
- ],
- 'Region' => [
- 'type' => 'string',
- ],
- 'AppType' => [
- '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' => [
- 'Quota' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'Public' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'Dedicated' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
+ 'Public' => ['type' => 'integer', 'format' => 'int32'],
+ 'Dedicated' => ['type' => 'integer', 'format' => 'int32'],
+ 'Quota' => ['type' => 'integer', 'format' => 'int32'],
],
],
- 'IntranetEndpoint' => [
- 'type' => 'string',
- ],
- 'QuotaId' => [
- 'type' => 'string',
- ],
- 'Message' => [
- 'type' => 'string',
- ],
- 'CurrentVersion' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'RunningInstance' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'WorkspaceId' => [
- 'type' => 'string',
- ],
- 'CallerUid' => [
- 'type' => 'string',
- ],
- 'Reason' => [
- 'type' => 'string',
- ],
- 'Source' => [
- 'type' => 'string',
- ],
- 'ServiceId' => [
- 'type' => 'string',
- ],
- 'AppVersion' => [
- 'type' => 'string',
- ],
- 'CronscalerEnabled' => [
- 'type' => 'boolean',
- ],
- 'ServiceConfig' => [
- 'type' => 'string',
- ],
- 'Gateway' => [
- 'type' => 'string',
- ],
- 'AppSpecName' => [
- 'type' => 'string',
- ],
- 'GPUCorePercentage' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'GPUMemory' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'AppConfig' => [
- 'type' => 'string',
- ],
- 'CreateTime' => [
- 'type' => 'string',
- ],
- 'AutoscalerEnabled' => [
- 'type' => 'boolean',
- ],
- 'ExtraData' => [
- 'type' => 'string',
- ],
- 'LatestVersion' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'UpdateTime' => [
- 'type' => 'string',
- ],
- 'ServiceUid' => [
- 'type' => 'string',
- ],
- 'ParentUid' => [
- 'type' => 'string',
- ],
- 'RoleAttrs' => [
- 'type' => 'string',
- ],
+ 'WorkloadType' => ['type' => 'string'],
],
],
],
],
'apis' => [
- 'CreateService' => [
- 'path' => '/api/v2/services',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'AttachGatewayDomain' => [
+ 'path' => '/api/v2/gateways/{ClusterId}/{GatewayId}/domain/attach',
+ 'methods' => ['put'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
+ 'consumes' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
- 'name' => 'body',
- 'in' => 'body',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'name' => 'ClusterId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'Develop',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'name' => 'GatewayId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'Labels',
+ 'name' => 'CustomDomain',
'in' => 'query',
'style' => 'json',
'schema' => [
'type' => 'object',
- 'required' => false,
- 'additionalProperties' => [
- 'type' => 'string',
+ 'required' => true,
+ 'properties' => [
+ 'Type' => ['type' => 'string', 'required' => true],
+ 'CertificateId' => ['type' => 'string', 'required' => false],
+ 'Domain' => ['type' => 'string', 'required' => true],
],
],
],
- [
- 'name' => 'WorkspaceId',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
],
],
- 'CreateServiceAutoScaler' => [
- 'path' => '/api/v2/services/{ClusterId}/{ServiceName}/autoscaler',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ '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,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'ServiceName',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ '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,
- '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,
- ],
- ],
- ],
- ],
- ],
- ],
+ 'additionalProperties' => ['type' => 'string'],
],
],
],
],
- 'CreateServiceCronScaler' => [
- 'path' => '/api/v2/services/{ClusterId}/{ServiceName}/cronscaler',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'CommitService' => [
+ 'path' => '/api/v2/services/{ClusterId}/{ServiceName}/commit',
+ 'methods' => ['put'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'ClusterId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'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,
- ],
- ],
- ],
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
- 'CreateServiceMirror' => [
- 'path' => '/api/v2/services/{ClusterId}/{ServiceName}/mirror',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ '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,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'ServiceName',
+ 'name' => 'GatewayId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'body',
- 'in' => 'body',
+ 'name' => 'VpcId',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'AclPolicyList',
+ 'in' => 'query',
'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,
- ],
+ 'type' => 'array',
+ 'required' => true,
+ 'items' => [
+ 'type' => 'object',
+ 'required' => false,
+ 'properties' => [
+ 'Entry' => ['type' => 'string', 'required' => true],
+ 'Comment' => ['type' => 'string', 'required' => false],
],
],
],
@@ -955,40 +419,26 @@
],
'CreateAppService' => [
'path' => '/api/v2/app_services',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'WorkspaceId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'QuotaId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'body',
@@ -998,613 +448,393 @@
'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,
- ],
+ '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',
- ],
+ 'additionalProperties' => ['type' => 'any'],
],
],
],
],
],
],
- 'DescribeGroupEndpoints' => [
- 'path' => '/api/v2/groups/{ClusterId}/{GroupName}/endpoints',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'CreateBenchmarkTask' => [
+ 'path' => '/api/v2/benchmark-tasks',
+ 'methods' => ['post'],
+ 'schemes' => ['http', '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,
- ],
+ 'name' => 'body',
+ 'in' => 'body',
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
- 'DescribeServiceEndpoints' => [
- 'path' => '/api/v2/services/{ClusterId}/{ServiceName}/endpoints',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'CreateConfig' => [
+ 'path' => '/api/v2/configs/{ClusterId}/{ConfigType}/{Name}/{ConfigKey}',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [],
- 'produces' => [
- 'application/json',
- ],
'deprecated' => false,
'parameters' => [
[
'name' => 'ClusterId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'ServiceName',
+ 'name' => 'ConfigType',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
- ],
- ],
- ],
- 'DescribeServiceSignedUrl' => [
- 'path' => '/api/v2/services/{ClusterId}/{ServiceName}/signed_url',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
- 'security' => [
- [
- 'AK' => [],
+ 'schema' => ['type' => 'string', 'required' => false],
],
- ],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
- 'deprecated' => false,
- 'parameters' => [
[
- 'name' => 'ClusterId',
+ 'name' => 'Name',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'ServiceName',
+ 'name' => 'ConfigKey',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ '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',
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
'schema' => [
- 'type' => 'boolean',
+ 'type' => 'object',
'required' => false,
+ 'properties' => [
+ 'Value' => ['type' => 'string', 'required' => false],
+ ],
],
],
],
],
- 'CloneService' => [
- 'path' => '/api/v2/services/{ClusterId}/{ServiceName}/clone',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'CreateFaultInjection' => [
+ 'path' => '/api/v2/services/{ClusterId}/{ServiceName}/instances/{InstanceName}/faults',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'ClusterId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'ServiceName',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'body',
- 'in' => 'body',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'name' => 'InstanceName',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'Labels',
- 'in' => 'query',
+ 'name' => 'body',
+ 'in' => 'body',
'style' => 'json',
'schema' => [
'type' => 'object',
'required' => false,
- 'additionalProperties' => [
- 'type' => 'string',
+ 'properties' => [
+ 'FaultType' => ['type' => 'string', 'required' => false],
+ 'FaultArgs' => ['type' => 'any', 'required' => false],
],
],
],
],
],
- 'DeleteService' => [
- 'path' => '/api/v2/services/{ClusterId}/{ServiceName}',
- 'methods' => [
- 'delete',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'CreateGateway' => [
+ 'path' => '/api/v2/gateways',
+ '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' => 'ResourceName',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'ServiceName',
- 'in' => 'path',
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
'schema' => [
- 'type' => 'string',
- 'required' => true,
+ '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'],
+ ],
],
],
],
],
- 'DeleteServiceLabel' => [
- 'path' => '/api/v2/services/{ClusterId}/{ServiceName}/label',
- 'methods' => [
- 'delete',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'CreateGatewayIntranetLinkedVpc' => [
+ 'path' => '/api/v2/gateways/{ClusterId}/{GatewayId}/intranet_endpoint_linked_vpc',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'ClusterId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'ServiceName',
+ 'name' => 'GatewayId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'Keys',
+ 'name' => 'VpcId',
'in' => 'query',
- 'style' => 'simple',
- 'schema' => [
- 'type' => 'array',
- 'deprecated' => true,
- 'required' => false,
- 'items' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'LabelKeys',
+ 'name' => 'VSwitchId',
'in' => 'query',
- 'style' => 'json',
- 'schema' => [
- 'type' => 'array',
- 'required' => false,
- 'items' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
- ],
- ],
- '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' => 'EnableAuthoritativeDns',
+ 'in' => 'query',
+ 'schema' => ['type' => 'boolean', 'required' => false],
],
[
- 'name' => 'ServiceName',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'name' => 'AccountId',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
- 'DeleteServiceCronScaler' => [
- 'path' => '/api/v2/services/{ClusterId}/{ServiceName}/cronscaler',
- 'methods' => [
- 'delete',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'CreateGatewayIntranetLinkedVpcPeer' => [
+ 'path' => '/api/v2/gateways/{ClusterId}/{GatewayId}/intranet_endpoint_linked_vpc_peer',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'produces' => [
- 'application/json',
- ],
+ '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,
- ],
- ],
- ],
- ],
- 'DeleteServiceInstances' => [
- 'path' => '/api/v2/services/{ClusterId}/{ServiceName}/instances',
- 'methods' => [
- 'delete',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
- 'security' => [
- [
- 'AK' => [],
+ 'schema' => ['type' => 'string', 'required' => false],
],
- ],
- 'consumes' => [],
- 'produces' => [
- 'application/json',
- ],
- 'deprecated' => false,
- 'parameters' => [
[
- 'name' => 'ClusterId',
+ 'name' => 'GatewayId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- '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',
+ 'name' => 'VpcId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'IsReplica',
+ 'name' => 'PeerVpcs',
'in' => 'query',
+ 'style' => 'json',
'schema' => [
- 'type' => 'boolean',
+ 'type' => 'array',
'required' => false,
+ 'items' => [
+ 'type' => 'object',
+ 'required' => false,
+ 'properties' => [
+ 'VpcId' => ['type' => 'string', 'required' => false],
+ 'Region' => ['type' => 'string', 'required' => false],
+ ],
+ ],
],
],
],
],
- 'DeleteServiceMirror' => [
- 'path' => '/api/v2/services/{ClusterId}/{ServiceName}/mirror',
- 'methods' => [
- 'delete',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'CreateGroup' => [
+ 'path' => '/api/v2/groups',
+ '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',
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
'schema' => [
- 'type' => 'string',
- 'required' => true,
+ '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'],
+ ],
+ ],
],
],
],
],
- 'UpdateService' => [
- 'path' => '/api/v2/services/{ClusterId}/{ServiceName}',
- 'methods' => [
- 'put',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'CreateResource' => [
+ 'path' => '/api/v2/resources',
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ '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',
- 'required' => false,
- ],
- ],
- [
'name' => 'body',
'in' => 'body',
+ 'style' => 'json',
'schema' => [
- 'type' => 'string',
+ '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'],
+ ],
],
],
],
],
- 'UpdateServiceLabel' => [
- 'path' => '/api/v2/services/{ClusterId}/{ServiceName}/label',
- 'methods' => [
- 'put',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'CreateResourceInstances' => [
+ 'path' => '/api/v2/resources/{ClusterId}/{ResourceId}/instances',
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'ClusterId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'ServiceName',
+ 'name' => 'ResourceId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'body',
@@ -1614,27 +844,31 @@
'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' => true,
- 'additionalProperties' => [
- 'type' => 'string',
- ],
+ 'required' => false,
+ 'additionalProperties' => ['type' => 'string'],
],
],
],
],
],
],
- 'StartService' => [
- 'path' => '/api/v2/services/{ClusterId}/{ServiceName}/start',
- 'methods' => [
- 'put',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'CreateResourceLog' => [
+ 'path' => '/api/v2/resources/{ClusterId}/{ResourceId}/log',
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -1645,30 +879,32 @@
[
'name' => 'ClusterId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'ServiceName',
+ 'name' => 'ResourceId',
'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
+ ],
+ [
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
'schema' => [
- 'type' => 'string',
- 'required' => true,
+ 'type' => 'object',
+ 'required' => false,
+ 'properties' => [
+ 'ProjectName' => ['type' => 'string', 'required' => true],
+ 'LogStore' => ['type' => 'string', 'required' => true],
+ ],
],
],
],
],
- 'StopService' => [
- 'path' => '/api/v2/services/{ClusterId}/{ServiceName}/stop',
- 'methods' => [
- 'put',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'CreateService' => [
+ 'path' => '/api/v2/services',
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -1677,72 +913,36 @@
'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],
],
- ],
- ],
- 'RestartService' => [
- 'path' => '/api/v2/services/{ClusterId}/{ServiceName}/restart',
- 'methods' => [
- 'put',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
- 'security' => [
[
- 'AK' => [],
+ 'name' => 'Develop',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
- ],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
- 'deprecated' => false,
- 'parameters' => [
[
- 'name' => 'ClusterId',
- 'in' => 'path',
+ 'name' => 'Labels',
+ 'in' => 'query',
+ 'style' => 'json',
'schema' => [
- 'type' => 'string',
- 'required' => true,
+ 'type' => 'object',
+ 'required' => false,
+ 'additionalProperties' => ['type' => 'string'],
],
],
[
- 'name' => 'ServiceName',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'name' => 'WorkspaceId',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
- 'UpdateServiceAutoScaler' => [
+ 'CreateServiceAutoScaler' => [
'path' => '/api/v2/services/{ClusterId}/{ServiceName}/autoscaler',
- 'methods' => [
- 'put',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -1753,18 +953,12 @@
[
'name' => 'ClusterId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'ServiceName',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'body',
@@ -1774,16 +968,8 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'min' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- ],
- 'max' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- ],
+ 'min' => ['type' => 'integer', 'format' => 'int32', 'required' => true],
+ 'max' => ['type' => 'integer', 'format' => 'int32', 'required' => true],
'scaleStrategies' => [
'type' => 'array',
'required' => true,
@@ -1791,19 +977,9 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'metricName' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'threshold' => [
- 'type' => 'number',
- 'format' => 'float',
- 'required' => true,
- ],
- 'service' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'metricName' => ['type' => 'string', 'required' => true],
+ 'threshold' => ['type' => 'number', 'format' => 'float', 'required' => true],
+ 'service' => ['type' => 'string', 'required' => false],
],
],
],
@@ -1815,38 +991,22 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'stabilizationWindowSeconds' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'stabilizationWindowSeconds' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
],
'scaleDown' => [
'type' => 'object',
'required' => false,
'properties' => [
- 'stabilizationWindowSeconds' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ '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,
- ],
+ 'scaleDownGracePeriodSeconds' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
+ 'scaleUpActivationReplicas' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
],
],
@@ -1856,43 +1016,28 @@
],
],
],
- 'UpdateServiceCronScaler' => [
+ 'CreateServiceCronScaler' => [
'path' => '/api/v2/services/{ClusterId}/{ServiceName}/cronscaler',
- 'methods' => [
- 'put',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'ClusterId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'ServiceName',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'body',
@@ -1909,136 +1054,67 @@
'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,
- ],
+ '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,
- ],
+ 'items' => ['type' => 'string', 'required' => false],
],
],
],
],
],
],
- 'DevelopService' => [
- 'path' => '/api/v2/services/{ClusterId}/{ServiceName}/develop',
- 'methods' => [
- 'put',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'CreateServiceInstanceToken' => [
+ 'path' => '/api/v2/services/{ClusterId}/{ServiceName}/instances/{InstanceName}/token',
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => [],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'ClusterId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'ServiceName',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'Exit',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- ],
- ],
- 'CommitService' => [
- 'path' => '/api/v2/services/{ClusterId}/{ServiceName}/commit',
- 'methods' => [
- 'put',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
- 'security' => [
- [
- 'AK' => [],
+ 'name' => 'InstanceName',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
],
- ],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
- 'deprecated' => false,
- 'parameters' => [
[
- 'name' => 'ClusterId',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'name' => 'WorkerName',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'ServiceName',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'name' => 'ActionType',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
- 'UpdateServiceMirror' => [
+ 'CreateServiceMirror' => [
'path' => '/api/v2/services/{ClusterId}/{ServiceName}/mirror',
- 'methods' => [
- 'put',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -2049,18 +1125,12 @@
[
'name' => 'ClusterId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'ServiceName',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'body',
@@ -2070,55 +1140,39 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'Ratio' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'Ratio' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
'Target' => [
'type' => 'array',
'required' => false,
- 'items' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'items' => ['type' => 'string', 'required' => false],
],
],
],
],
],
],
- 'UpdateServiceVersion' => [
- 'path' => '/api/v2/services/{ClusterId}/{ServiceName}/version',
- 'methods' => [
- 'put',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ '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,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'ServiceName',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'body',
@@ -2128,53 +1182,41 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'Version' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
+ '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',
- ],
+ 'CreateVirtualResource' => [
+ 'path' => '/api/v2/virtualresources',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [],
- 'produces' => [
- 'application/json',
- ],
+ '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',
@@ -2182,693 +1224,505 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'Lock' => [
- 'type' => 'string',
- 'required' => true,
- 'enum' => [
- 'none',
- 'dangerous',
- 'all',
+ '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],
],
],
],
],
],
- 'UpdateServiceInstance' => [
- 'path' => '/api/v2/services/{ClusterId}/{ServiceName}/instances/{InstanceName}',
- 'methods' => [
- 'put',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'DeleteAclPolicy' => [
+ 'path' => '/api/v2/gateways/{ClusterId}/{GatewayId}/acl_policy',
+ 'methods' => ['delete'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'ClusterId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'ServiceName',
+ 'name' => 'GatewayId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'InstanceName',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'name' => 'VpcId',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'body',
- 'in' => 'body',
+ 'name' => 'AclPolicyList',
+ 'in' => 'query',
'style' => 'json',
'schema' => [
- 'type' => 'object',
+ 'type' => 'array',
'required' => false,
- 'properties' => [
- 'Hibernate' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
- 'Isolate' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
- 'Detach' => [
- 'type' => 'boolean',
- 'required' => false,
+ 'items' => [
+ 'type' => 'object',
+ 'required' => false,
+ 'properties' => [
+ 'Entry' => ['type' => 'string', 'required' => false],
+ 'Comment' => ['type' => 'string', 'required' => false],
],
],
],
],
- [
- 'name' => 'IsReplica',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
- ],
],
],
- 'UpdateAppService' => [
- 'path' => '/api/v2/app_services/{ClusterId}/{ServiceName}',
- 'methods' => [
- 'put',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'DeleteBenchmarkTask' => [
+ 'path' => '/api/v2/benchmark-tasks/{ClusterId}/{TaskName}',
+ 'methods' => ['delete'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
'deprecated' => false,
'parameters' => [
[
'name' => 'ClusterId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'ServiceName',
+ 'name' => 'TaskName',
'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',
- ],
- ],
- ],
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
- 'UpdateGroup' => [
- 'path' => '/api/v2/groups/{ClusterId}/{GroupName}',
- 'methods' => [
- 'put',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'DeleteConfig' => [
+ 'path' => '/api/v2/configs/{ClusterId}/{ConfigType}/{Name}/{ConfigKey}',
+ 'methods' => ['delete'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
'deprecated' => false,
'parameters' => [
[
'name' => 'ClusterId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'GroupName',
+ 'name' => 'ConfigType',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'body',
- 'in' => 'body',
- 'style' => 'json',
- 'schema' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- 'TrafficMode' => [
- 'type' => 'string',
- 'required' => false,
- 'enum' => [
- 'auto',
- 'customized',
- ],
- ],
- ],
- ],
+ 'name' => 'Name',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'ConfigKey',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
- 'ReleaseService' => [
- 'path' => '/api/v2/services/{ClusterId}/{ServiceName}/release',
- 'methods' => [
- 'put',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ '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' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'ServiceName',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'body',
- 'in' => 'body',
- 'style' => 'json',
- 'schema' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- 'Weight' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
- 'TrafficState' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- ],
+ 'name' => 'InstanceName',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'FaultType',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
- 'DescribeService' => [
- 'path' => '/api/v2/services/{ClusterId}/{ServiceName}',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ '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,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'ServiceName',
+ 'name' => 'GatewayId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
- 'DescribeServiceAutoScaler' => [
- 'path' => '/api/v2/services/{ClusterId}/{ServiceName}/autoscaler',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ '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,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'ServiceName',
+ 'name' => 'GatewayId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
+ ],
+ [
+ 'name' => 'VpcId',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'VSwitchId',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
- 'DescribeServiceCronScaler' => [
- 'path' => '/api/v2/services/{ClusterId}/{ServiceName}/cronscaler',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'DeleteGatewayIntranetLinkedVpcPeer' => [
+ 'path' => '/api/v2/gateways/{ClusterId}/{GatewayId}/intranet_endpoint_linked_vpc_peer',
+ 'methods' => ['delete'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'ClusterId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'ServiceName',
+ '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' => 'string',
- 'required' => true,
+ 'type' => 'array',
+ 'required' => false,
+ 'items' => [
+ 'type' => 'object',
+ 'required' => false,
+ 'properties' => [
+ 'VpcId' => ['type' => 'string', 'required' => false],
+ 'Region' => ['type' => 'string', 'required' => false],
+ ],
+ ],
],
],
],
],
- 'DescribeServiceDiagnosis' => [
- 'path' => '/api/v2/services/{ClusterId}/{ServiceName}/diagnosis',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'DeleteGatewayLabel' => [
+ 'path' => '/api/v2/gateways/{ClusterId}/{GatewayId}/label',
+ 'methods' => ['delete'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'ClusterId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'ServiceName',
+ 'name' => 'GatewayId',
'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
+ ],
+ [
+ 'name' => 'LabelKeys',
+ 'in' => 'query',
+ 'style' => 'json',
'schema' => [
- 'type' => 'string',
+ 'type' => 'array',
'required' => true,
+ 'items' => ['type' => 'string', 'required' => false],
],
],
],
],
- 'DescribeServiceInstanceDiagnosis' => [
- 'path' => '/api/v2/services/{ClusterId}/{ServiceName}/instances/{InstanceName}/diagnosis',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'DeleteGroup' => [
+ 'path' => '/api/v2/groups/{ClusterId}/{GroupName}',
+ 'methods' => ['delete'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'ClusterId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'ServiceName',
+ 'name' => 'GroupName',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'InstanceName',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'name' => 'CascadeDelete',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
- 'DescribeServiceLog' => [
- 'path' => '/api/v2/services/{ClusterId}/{ServiceName}/logs',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'DeleteResource' => [
+ 'path' => '/api/v2/resources/{ClusterId}/{ResourceId}',
+ 'methods' => ['delete'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [],
- 'produces' => [
- 'application/json',
- ],
'deprecated' => false,
'parameters' => [
[
- 'name' => 'PageNum',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- ],
+ 'name' => 'ClusterId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'PageSize',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- ],
+ 'name' => 'ResourceId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
],
+ ],
+ ],
+ 'DeleteResourceDLink' => [
+ 'path' => '/api/v2/resources/{ClusterId}/{ResourceId}/dlink',
+ 'methods' => ['delete'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
[
- 'name' => 'Ip',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'AK' => [],
],
+ ],
+ 'deprecated' => false,
+ 'parameters' => [
[
- 'name' => 'Keyword',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'name' => 'ClusterId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'StartTime',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'name' => 'ResourceId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
],
+ ],
+ ],
+ 'DeleteResourceInstanceLabel' => [
+ 'path' => '/api/v2/resources/{ClusterId}/{ResourceId}/label',
+ 'methods' => ['delete'],
+ 'schemes' => ['https'],
+ 'security' => [
[
- 'name' => 'EndTime',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'AK' => [],
],
+ ],
+ 'produces' => ['application/json'],
+ 'deprecated' => false,
+ 'parameters' => [
[
'name' => 'ClusterId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'ServiceName',
+ 'name' => 'ResourceId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'InstanceName',
+ 'name' => 'InstanceIds',
'in' => 'query',
+ 'style' => 'simple',
'schema' => [
- 'type' => 'string',
+ 'type' => 'array',
'required' => false,
+ 'items' => ['type' => 'string', 'required' => false],
],
],
[
- 'name' => 'ContainerName',
+ 'name' => 'AllInstances',
'in' => 'query',
+ 'schema' => ['type' => 'boolean', 'required' => false],
+ ],
+ [
+ 'name' => 'Keys',
+ 'in' => 'query',
+ 'style' => 'simple',
'schema' => [
- 'type' => 'string',
+ 'type' => 'array',
+ 'deprecated' => true,
'required' => false,
+ 'items' => ['type' => 'string', 'required' => false],
],
],
[
- 'name' => 'Previous',
+ 'name' => 'LabelKeys',
'in' => 'query',
+ 'style' => 'json',
'schema' => [
- 'type' => 'boolean',
+ 'type' => 'array',
'required' => false,
+ 'items' => ['type' => 'string', 'required' => false],
],
],
],
],
- 'DescribeServiceEvent' => [
- 'path' => '/api/v2/services/{ClusterId}/{ServiceName}/events',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'DeleteResourceInstances' => [
+ 'path' => '/api/v2/resources/{ClusterId}/{ResourceId}/instances',
+ 'methods' => ['delete'],
+ '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,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'ServiceName',
+ 'name' => 'ResourceId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'StartTime',
+ 'name' => 'InstanceList',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'EndTime',
+ 'name' => 'AllFailed',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'boolean', 'required' => false],
],
+ ],
+ ],
+ 'DeleteResourceLog' => [
+ 'path' => '/api/v2/resources/{ClusterId}/{ResourceId}/log',
+ 'methods' => ['delete'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
[
- 'name' => 'EventType',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'AK' => [],
],
+ ],
+ 'deprecated' => false,
+ 'parameters' => [
[
- 'name' => 'InstanceName',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'name' => 'ClusterId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
+ ],
+ [
+ 'name' => 'ResourceId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
- 'DescribeServiceMirror' => [
- 'path' => '/api/v2/services/{ClusterId}/{ServiceName}/mirror',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'DeleteService' => [
+ 'path' => '/api/v2/services/{ClusterId}/{ServiceName}',
+ 'methods' => ['delete'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -2879,1962 +1733,1234 @@
[
'name' => 'ClusterId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'ServiceName',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
- 'DescribeGroup' => [
- 'path' => '/api/v2/groups/{ClusterId}/{GroupName}',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'DeleteServiceAutoScaler' => [
+ 'path' => '/api/v2/services/{ClusterId}/{ServiceName}/autoscaler',
+ 'methods' => ['delete'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'ClusterId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'GroupName',
+ 'name' => 'ServiceName',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
- 'DescribeSpotDiscountHistory' => [
- 'path' => '/api/v2/public/spot_discount',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'DeleteServiceCronScaler' => [
+ 'path' => '/api/v2/services/{ClusterId}/{ServiceName}/cronscaler',
+ 'methods' => ['delete'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'produces' => [
- 'application/json',
- ],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
- 'name' => 'InstanceType',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'name' => 'ClusterId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'IsProtect',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
+ 'name' => 'ServiceName',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
- 'ListServiceInstances' => [
+ 'DeleteServiceInstances' => [
'path' => '/api/v2/services/{ClusterId}/{ServiceName}/instances',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['delete'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
+ 'consumes' => [],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'ClusterId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'ServiceName',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'PageNumber',
+ 'name' => 'InstanceList',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'PageSize',
+ 'name' => 'SoftRestart',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'boolean', 'required' => false],
],
[
- 'name' => 'Filter',
+ 'name' => 'Container',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'ResourceType',
+ 'name' => 'IsReplica',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'boolean', 'required' => false],
],
+ ],
+ ],
+ 'DeleteServiceLabel' => [
+ 'path' => '/api/v2/services/{ClusterId}/{ServiceName}/label',
+ 'methods' => ['delete'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
[
- 'name' => 'InstanceType',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'AK' => [],
],
+ ],
+ 'produces' => ['application/json'],
+ 'deprecated' => false,
+ 'parameters' => [
[
- 'name' => 'InstanceStatus',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'name' => 'ClusterId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'InstanceIP',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'name' => 'ServiceName',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'InstanceName',
+ 'name' => 'Keys',
'in' => 'query',
+ 'style' => 'simple',
'schema' => [
- 'type' => 'string',
+ 'type' => 'array',
+ 'deprecated' => true,
'required' => false,
+ 'items' => ['type' => 'string', 'required' => false],
],
],
[
- 'name' => 'HostIP',
+ 'name' => 'LabelKeys',
'in' => 'query',
+ 'style' => 'json',
'schema' => [
- 'type' => 'string',
+ 'type' => 'array',
'required' => false,
+ 'items' => ['type' => 'string', 'required' => false],
],
],
+ ],
+ ],
+ 'DeleteServiceMirror' => [
+ 'path' => '/api/v2/services/{ClusterId}/{ServiceName}/mirror',
+ 'methods' => ['delete'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
[
- 'name' => 'IsSpot',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
+ 'AK' => [],
],
+ ],
+ 'deprecated' => false,
+ 'parameters' => [
[
- 'name' => 'Role',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'name' => 'ClusterId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'Sort',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'name' => 'ServiceName',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
],
+ ],
+ ],
+ 'DeleteServiceRollout' => [
+ 'path' => '/api/v2/services/{ClusterId}/{ServiceName}/rollout',
+ 'methods' => ['delete'],
+ 'schemes' => ['https'],
+ 'security' => [
[
- 'name' => 'Order',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'AK' => [],
],
+ ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'deprecated' => false,
+ 'parameters' => [
[
- 'name' => 'MemberType',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'name' => 'ClusterId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'ListReplica',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
+ 'name' => 'ServiceName',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
],
+ ],
+ ],
+ 'DeleteVirtualResource' => [
+ 'path' => '/api/v2/virtualresources/{ClusterId}/{VirtualResourceId}',
+ 'methods' => ['delete'],
+ 'schemes' => ['https'],
+ 'security' => [
[
- 'name' => 'ReplicaName',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'AK' => [],
],
+ ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'deprecated' => false,
+ 'parameters' => [
[
- 'name' => 'QuotaId',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'name' => 'ClusterId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'Resource',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'name' => 'VirtualResourceId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
- 'ListServiceVersions' => [
- 'path' => '/api/v2/services/{ClusterId}/{ServiceName}/versions',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'DescribeBenchmarkTask' => [
+ 'path' => '/api/v2/benchmark-tasks/{ClusterId}/{TaskName}',
+ '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,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'ServiceName',
+ 'name' => 'TaskName',
'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,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
- 'ListServiceContainers' => [
- 'path' => '/api/v2/services/{ClusterId}/{ServiceName}/instances/{InstanceName}/containers',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'DescribeBenchmarkTaskReport' => [
+ 'path' => '/api/v2/benchmark-tasks/{ClusterId}/{TaskName}/report',
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'produces' => [
- 'application/json',
- ],
'deprecated' => false,
'parameters' => [
[
'name' => 'ClusterId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'ServiceName',
+ 'name' => 'TaskName',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'InstanceName',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'name' => 'ReportType',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
- 'ListServices' => [
- 'path' => '/api/v2/services',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'DescribeGateway' => [
+ 'path' => '/api/v2/gateways/{ClusterId}/{GatewayId}',
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ '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' => 'ClusterId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'Filter',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'name' => 'GatewayId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
],
+ ],
+ ],
+ 'DescribeGroup' => [
+ 'path' => '/api/v2/groups/{ClusterId}/{GroupName}',
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
[
- 'name' => 'PageNumber',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'AK' => [],
],
+ ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'deprecated' => false,
+ 'parameters' => [
[
- 'name' => 'PageSize',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'name' => 'ClusterId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'GroupName',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
],
+ ],
+ ],
+ 'DescribeGroupEndpoints' => [
+ 'path' => '/api/v2/groups/{ClusterId}/{GroupName}/endpoints',
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
+ 'security' => [
[
- 'name' => 'ParentServiceUid',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'AK' => [],
],
+ ],
+ 'consumes' => [],
+ 'produces' => ['application/json'],
+ 'deprecated' => false,
+ 'parameters' => [
[
- 'name' => 'ServiceType',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'name' => 'ClusterId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'Label',
- 'in' => 'query',
- 'style' => 'json',
- 'schema' => [
- 'type' => 'object',
- 'required' => false,
- 'additionalProperties' => [
- 'type' => 'string',
- ],
- ],
+ 'name' => 'GroupName',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
],
+ ],
+ ],
+ 'DescribeMachineSpec' => [
+ 'path' => '/api/v2/public/instance_types',
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
[
- 'name' => 'ServiceStatus',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'AK' => [],
],
+ ],
+ 'consumes' => [],
+ 'produces' => ['application/json'],
+ 'deprecated' => false,
+ 'parameters' => [
[
- 'name' => 'ServiceName',
+ 'name' => 'ResourceType',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'ServiceUid',
+ 'name' => 'ChargeType',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'ResourceName',
+ 'name' => 'InstanceTypes',
'in' => 'query',
+ 'style' => 'simple',
'schema' => [
- 'type' => 'string',
+ 'type' => 'array',
'deprecated' => true,
'required' => false,
+ 'items' => ['type' => 'string', 'required' => false],
],
],
+ ],
+ ],
+ 'DescribeRegions' => [
+ 'path' => '/api/v2/regions',
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
[
- 'name' => 'WorkspaceId',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'AK' => [],
],
+ ],
+ 'produces' => ['application/json'],
+ 'deprecated' => false,
+ 'parameters' => [],
+ ],
+ 'DescribeResource' => [
+ 'path' => '/api/v2/resources/{ClusterId}/{ResourceId}',
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
[
- 'name' => 'QuotaId',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'AK' => [],
],
+ ],
+ 'deprecated' => false,
+ 'parameters' => [
[
- 'name' => 'Gateway',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'name' => 'ClusterId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'Role',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'name' => 'ResourceId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
],
+ ],
+ ],
+ 'DescribeResourceDLink' => [
+ 'path' => '/api/v2/resources/{ClusterId}/{ResourceId}/dlink',
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
[
- 'name' => 'ResourceType',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'AK' => [],
],
+ ],
+ 'deprecated' => false,
+ 'parameters' => [
[
- 'name' => 'IncludeNoWorkspace',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
+ 'name' => 'ClusterId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'ResourceAliasName',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'name' => 'ResourceId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
],
+ ],
+ ],
+ 'DescribeResourceLog' => [
+ 'path' => '/api/v2/resources/{ClusterId}/{ResourceId}/log',
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
[
- 'name' => 'ResourceId',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'AK' => [],
],
+ ],
+ 'deprecated' => false,
+ 'parameters' => [
[
- 'name' => 'ResourceBurstable',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
+ 'name' => 'ClusterId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'CronscalerEnabled',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
+ 'name' => 'ResourceId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
],
+ ],
+ ],
+ 'DescribeService' => [
+ 'path' => '/api/v2/services/{ClusterId}/{ServiceName}',
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
[
- 'name' => 'AutoscalerEnabled',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
+ 'AK' => [],
],
+ ],
+ 'deprecated' => false,
+ 'parameters' => [
[
- 'name' => 'TrafficState',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'name' => 'ClusterId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'CallerUid',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'name' => 'ServiceName',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
- 'ListGroups' => [
- 'path' => '/api/v2/groups',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'DescribeServiceAutoScaler' => [
+ 'path' => '/api/v2/services/{ClusterId}/{ServiceName}/autoscaler',
+ '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' => 'ClusterId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'WorkspaceId',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'name' => 'ServiceName',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
],
+ ],
+ ],
+ 'DescribeServiceCronScaler' => [
+ 'path' => '/api/v2/services/{ClusterId}/{ServiceName}/cronscaler',
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
[
- 'name' => 'TrafficMode',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'AK' => [],
],
+ ],
+ 'produces' => ['application/json'],
+ 'deprecated' => false,
+ 'parameters' => [
[
- 'name' => 'Sort',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'name' => 'ClusterId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'Order',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'name' => 'ServiceName',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
- 'DescribeMachineSpec' => [
- 'path' => '/api/v2/public/instance_types',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'DescribeServiceDiagnosis' => [
+ 'path' => '/api/v2/services/{ClusterId}/{ServiceName}/diagnosis',
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [],
- 'produces' => [
- 'application/json',
- ],
+ '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' => 'ClusterId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'InstanceTypes',
- 'in' => 'query',
- 'style' => 'simple',
- 'schema' => [
- 'type' => 'array',
- 'deprecated' => true,
- 'required' => false,
- 'items' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
+ 'name' => 'ServiceName',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
- 'UpdateVirtualResource' => [
- 'path' => '/api/v2/virtualresources/{ClusterId}/{VirtualResourceId}',
- 'methods' => [
- 'put',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'DescribeServiceEndpoints' => [
+ 'path' => '/api/v2/services/{ClusterId}/{ServiceName}/endpoints',
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => [],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'ClusterId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'VirtualResourceId',
+ 'name' => 'ServiceName',
'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,
- ],
- ],
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
- 'ListVirtualResource' => [
- 'path' => '/api/v2/virtualresources',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'DescribeServiceEvent' => [
+ 'path' => '/api/v2/services/{ClusterId}/{ServiceName}/events',
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
- 'name' => 'PageNumber',
+ 'name' => 'PageNum',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'VirtualResourceId',
+ '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,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'VirtualResourceName',
+ 'name' => 'EndTime',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'Sort',
+ 'name' => 'EventType',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'Order',
+ 'name' => 'InstanceName',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
- 'DescribeVirtualResource' => [
- 'path' => '/api/v2/virtualresources/{ClusterId}/{VirtualResourceId}',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'DescribeServiceInstanceDiagnosis' => [
+ 'path' => '/api/v2/services/{ClusterId}/{ServiceName}/instances/{InstanceName}/diagnosis',
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'ClusterId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'VirtualResourceId',
+ 'name' => 'ServiceName',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
+ ],
+ [
+ 'name' => 'InstanceName',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
- 'DeleteVirtualResource' => [
- 'path' => '/api/v2/virtualresources/{ClusterId}/{VirtualResourceId}',
- 'methods' => [
- 'delete',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'DescribeServiceLog' => [
+ 'path' => '/api/v2/services/{ClusterId}/{ServiceName}/logs',
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ '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,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'VirtualResourceId',
+ 'name' => 'ServiceName',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ '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],
],
],
],
- 'CreateVirtualResource' => [
- 'path' => '/api/v2/virtualresources',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'DescribeServiceMirror' => [
+ 'path' => '/api/v2/services/{ClusterId}/{ServiceName}/mirror',
+ 'methods' => ['get'],
+ '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' => [
- '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,
- ],
- ],
- ],
+ 'name' => 'ClusterId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
+ ],
+ [
+ 'name' => 'ServiceName',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
- 'CreateResource' => [
- 'path' => '/api/v2/resources',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'DescribeServiceRollout' => [
+ 'path' => '/api/v2/services/{ClusterId}/{ServiceName}/rollout',
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ '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,
- ],
- ],
- ],
+ 'name' => 'ClusterId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'ServiceName',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
- 'CreateResourceInstances' => [
- 'path' => '/api/v2/resources/{ClusterId}/{ResourceId}/instances',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'DescribeServiceSignedUrl' => [
+ 'path' => '/api/v2/services/{ClusterId}/{ServiceName}/signed_url',
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'ClusterId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'ResourceId',
+ 'name' => 'ServiceName',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- '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',
- ],
- ],
- ],
- ],
+ '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],
],
],
],
- 'CreateResourceLog' => [
- 'path' => '/api/v2/resources/{ClusterId}/{ResourceId}/log',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'DescribeSpotDiscountHistory' => [
+ 'path' => '/api/v2/public/spot_discount',
+ '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' => 'InstanceType',
+ 'in' => 'query',
+ '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,
- ],
- ],
- ],
+ 'name' => 'IsProtect',
+ 'in' => 'query',
+ 'schema' => ['type' => 'boolean', 'required' => false],
],
],
],
- 'DeleteResource' => [
- 'path' => '/api/v2/resources/{ClusterId}/{ResourceId}',
- 'methods' => [
- 'delete',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ '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,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'ResourceId',
+ 'name' => 'VirtualResourceId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
- 'DeleteResourceDLink' => [
- 'path' => '/api/v2/resources/{ClusterId}/{ResourceId}/dlink',
- 'methods' => [
- 'delete',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ '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,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'ResourceId',
+ 'name' => 'GatewayId',
'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
+ ],
+ [
+ 'name' => 'CustomDomain',
+ 'in' => 'query',
+ 'style' => 'json',
'schema' => [
- 'type' => 'string',
+ 'type' => 'object',
'required' => true,
+ 'properties' => [
+ 'Type' => ['type' => 'string', 'required' => true],
+ 'Domain' => ['type' => 'string', 'required' => true],
+ ],
],
],
],
],
- 'DeleteResourceInstances' => [
- 'path' => '/api/v2/resources/{ClusterId}/{ResourceId}/instances',
- 'methods' => [
- 'delete',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ '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,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'ResourceId',
+ 'name' => 'ServiceName',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
- ],
- [
- 'name' => 'InstanceList',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'AllFailed',
+ 'name' => 'Exit',
'in' => 'query',
- 'schema' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
- 'DeleteResourceLog' => [
- 'path' => '/api/v2/resources/{ClusterId}/{ResourceId}/log',
- 'methods' => [
- 'delete',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ '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,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'ResourceId',
+ 'name' => 'GatewayId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
+ ],
+ [
+ 'name' => 'VpcId',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
- 'DeleteResourceInstanceLabel' => [
- 'path' => '/api/v2/resources/{ClusterId}/{ResourceId}/label',
- 'methods' => [
- 'delete',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'ListBenchmarkTask' => [
+ 'path' => '/api/v2/benchmark-tasks',
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'produces' => [
- 'application/json',
- ],
'deprecated' => false,
'parameters' => [
[
- 'name' => 'ClusterId',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'name' => 'Filter',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'ResourceId',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'name' => 'Sort',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string'],
],
[
- 'name' => 'InstanceIds',
+ 'name' => 'Order',
'in' => 'query',
- 'style' => 'simple',
- 'schema' => [
- 'type' => 'array',
- 'required' => false,
- 'items' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
+ 'schema' => ['type' => 'string'],
],
[
- 'name' => 'AllInstances',
+ 'name' => 'ServiceName',
'in' => 'query',
- 'schema' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'Keys',
+ 'name' => 'Status',
'in' => 'query',
- 'style' => 'simple',
- 'schema' => [
- 'type' => 'array',
- 'deprecated' => true,
- 'required' => false,
- 'items' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
+ 'schema' => ['type' => 'string'],
],
[
- 'name' => 'LabelKeys',
+ 'name' => 'ModelId',
'in' => 'query',
- 'style' => 'json',
- 'schema' => [
- 'type' => 'array',
- 'required' => false,
- 'items' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
+ '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],
],
],
],
- 'MigrateResourceInstance' => [
- 'path' => '/api/v2/resources/{ClusterId}/{ResourceId}/instances/migrate',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'ListConfigs' => [
+ 'path' => '/api/v2/configs/{ClusterId}/{ConfigType}/{Name}',
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
'deprecated' => false,
'parameters' => [
[
'name' => 'ClusterId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'ResourceId',
+ 'name' => 'ConfigType',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- '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,
- ],
- ],
- ],
+ '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],
],
],
],
- 'UpdateResourceInstanceLabel' => [
- 'path' => '/api/v2/resources/{ClusterId}/{ResourceId}/label',
- 'methods' => [
- 'put',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'ListGateway' => [
+ 'path' => '/api/v2/gateways',
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
- 'name' => 'ClusterId',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'name' => 'GatewayId',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'ResourceId',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'name' => 'PageNumber',
+ 'in' => 'query',
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
[
- 'name' => 'InstanceIds',
+ 'name' => 'PageSize',
'in' => 'query',
- 'style' => 'simple',
- 'schema' => [
- 'type' => 'array',
- 'required' => false,
- 'items' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
[
- 'name' => 'AllInstances',
+ 'name' => 'GatewayName',
'in' => 'query',
- 'schema' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'body',
- 'in' => 'body',
+ '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,
- 'properties' => [
- 'Labels' => [
- 'type' => 'object',
- 'required' => false,
- 'additionalProperties' => [
- 'type' => 'string',
- ],
- ],
- ],
+ 'additionalProperties' => ['type' => 'string'],
],
],
],
],
- 'UpdateResource' => [
- 'path' => '/api/v2/resources/{ClusterId}/{ResourceId}',
- 'methods' => [
- 'put',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ '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,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'ResourceId',
+ 'name' => 'GatewayId',
'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,
- ],
- ],
- ],
- ],
- ],
- ],
- ],
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
- 'UpdateResourceDLink' => [
- 'path' => '/api/v2/resources/{ClusterId}/{ResourceId}/dlink',
- 'methods' => [
- 'put',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ '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' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'ResourceId',
+ 'name' => 'GatewayId',
'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,
- ],
- ],
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
- 'UpdateResourceInstance' => [
- 'path' => '/api/v2/resources/{ClusterId}/{ResourceId}/instances/{InstanceId}',
- 'methods' => [
- 'put',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'ListGatewayIntranetLinkedVpcPeer' => [
+ 'path' => '/api/v2/gateways/{ClusterId}/{GatewayId}/intranet_endpoint_linked_vpc_peer',
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'ClusterId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'ResourceId',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
- ],
- [
- 'name' => 'InstanceId',
+ 'name' => 'GatewayId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'body',
- 'in' => 'body',
- 'style' => 'json',
- 'schema' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- 'Action' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'NewDiskSize' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'Reason' => [
- 'type' => 'string',
- 'required' => false,
- 'maxLength' => 200,
- ],
- ],
- ],
+ 'name' => 'VpcId',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
- 'DescribeResource' => [
- 'path' => '/api/v2/resources/{ClusterId}/{ResourceId}',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'ListGatewayIntranetSupportedZone' => [
+ 'path' => '/api/v2/gateways/{ClusterId}/{GatewayId}/intranet_supported_zone',
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -4843,100 +2969,150 @@
'deprecated' => false,
'parameters' => [
[
- 'name' => 'ClusterId',
+ 'name' => 'GatewayId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'ResourceId',
+ 'name' => 'ClusterId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
- 'DescribeResourceDLink' => [
- 'path' => '/api/v2/resources/{ClusterId}/{ResourceId}/dlink',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'ListGroups' => [
+ 'path' => '/api/v2/groups',
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
+ 'consumes' => [],
+ 'produces' => [],
'deprecated' => false,
'parameters' => [
[
- 'name' => 'ClusterId',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'name' => 'PageSize',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'ResourceId',
- 'in' => 'path',
+ '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' => 'string',
- 'required' => true,
+ 'type' => 'object',
+ 'required' => false,
+ 'additionalProperties' => ['type' => 'string'],
],
],
],
],
- 'DescribeResourceLog' => [
- 'path' => '/api/v2/resources/{ClusterId}/{ResourceId}/log',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ '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,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'ResourceId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ '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',
- ],
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -4947,84 +3123,52 @@
[
'name' => 'ClusterId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'ResourceId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'ChargeType',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'PageNumber',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
[
'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
[
'name' => 'InstanceName',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'InstanceId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'InstanceIP',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Filter',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'InstanceStatus',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Label',
@@ -5033,157 +3177,63 @@
'schema' => [
'type' => 'object',
'required' => false,
- 'additionalProperties' => [
- 'type' => 'string',
- ],
+ 'additionalProperties' => ['type' => 'string'],
],
],
[
'name' => 'Sort',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Order',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Zone',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
- 'ListResourceInstanceWorker' => [
- 'path' => '/api/v2/resources/{ClusterId}/{ResourceId}/instance/{InstanceName}/workers',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'ListResourceServices' => [
+ 'path' => '/api/v2/resources/{ClusterId}/{ResourceId}/services',
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'produces' => [
- 'application/json',
- ],
- 'deprecated' => false,
+ 'deprecated' => true,
'parameters' => [
[
'name' => 'ClusterId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'ResourceId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
- ],
- [
- 'name' => 'InstanceName',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'PageNumber',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ '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,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
],
],
'ListResources' => [
'path' => '/api/v2/resources',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -5194,192 +3244,113 @@
[
'name' => 'PageNumber',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
[
'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
[
'name' => 'ResourceName',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'ResourceId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'ResourceType',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'ResourceStatus',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'UsageMode',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Order',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Sort',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
- 'ListResourceServices' => [
- 'path' => '/api/v2/resources/{ClusterId}/{ResourceId}/services',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'ListServiceContainers' => [
+ 'path' => '/api/v2/services/{ClusterId}/{ServiceName}/instances/{InstanceName}/containers',
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'deprecated' => true,
+ 'produces' => ['application/json'],
+ 'deprecated' => false,
'parameters' => [
[
'name' => 'ClusterId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'ResourceId',
+ 'name' => 'ServiceName',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
- ],
- [
- 'name' => 'PageNumber',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'PageSize',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'name' => 'InstanceName',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
- 'CreateBenchmarkTask' => [
- 'path' => '/api/v2/benchmark-tasks',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ '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' => 'body',
- 'in' => 'body',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- ],
- ],
- 'DeleteBenchmarkTask' => [
- 'path' => '/api/v2/benchmark-tasks/{ClusterId}/{TaskName}',
- 'methods' => [
- 'delete',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
- 'security' => [
- [
- 'AK' => [],
+ 'name' => 'ClusterId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
],
- ],
- 'deprecated' => false,
- 'parameters' => [
[
- 'name' => 'ClusterId',
+ 'name' => 'ServiceName',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'TaskName',
+ 'name' => 'InstanceName',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
- 'DescribeBenchmarkTask' => [
- 'path' => '/api/v2/benchmark-tasks/{ClusterId}/{TaskName}',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'ListServiceInstances' => [
+ 'path' => '/api/v2/services/{ClusterId}/{ServiceName}/instances',
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -5390,351 +3361,442 @@
[
'name' => 'ClusterId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'TaskName',
+ 'name' => 'ServiceName',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ '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],
],
],
],
- 'DescribeBenchmarkTaskReport' => [
- 'path' => '/api/v2/benchmark-tasks/{ClusterId}/{TaskName}/report',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ '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,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'TaskName',
+ 'name' => 'ServiceName',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'ReportType',
+ 'name' => 'PageNumber',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
+ ],
+ [
+ 'name' => 'PageSize',
+ 'in' => 'query',
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
],
],
- 'ListBenchmarkTask' => [
- 'path' => '/api/v2/benchmark-tasks',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ '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,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'Sort',
+ 'name' => 'PageNumber',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
[
- 'name' => 'Order',
+ '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' => 'string',
+ '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,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'Status',
+ 'name' => 'ServiceUid',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'ModelId',
+ 'name' => 'ResourceName',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'deprecated' => true, 'required' => false],
],
[
- 'name' => 'RequestMethod',
+ 'name' => 'WorkspaceId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'PageNumber',
+ 'name' => 'QuotaId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'PageSize',
+ 'name' => 'Gateway',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
- ],
- ],
- 'StartBenchmarkTask' => [
- 'path' => '/api/v2/benchmark-tasks/{ClusterId}/{TaskName}/start',
- 'methods' => [
- 'put',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
- 'security' => [
[
- 'AK' => [],
+ 'name' => 'Role',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
- ],
- 'deprecated' => false,
- 'parameters' => [
[
- 'name' => 'ClusterId',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'name' => 'ResourceType',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'TaskName',
- 'in' => 'path',
+ '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',
- 'required' => true,
+ 'enum' => ['PUBLIC', 'PRIVATE'],
],
],
],
],
- 'StopBenchmarkTask' => [
- 'path' => '/api/v2/benchmark-tasks/{ClusterId}/{TaskName}/stop',
- 'methods' => [
- 'put',
- ],
- 'schemes' => [
- 'http',
- 'https',
+ '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' => 'ClusterId',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'name' => 'PageNumber',
+ 'in' => 'query',
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
[
- 'name' => 'TaskName',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ '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],
],
],
],
- 'UpdateBenchmarkTask' => [
- 'path' => '/api/v2/benchmark-tasks/{ClusterId}/{TaskName}',
- 'methods' => [
- 'put',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ '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,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'TaskName',
+ 'name' => 'ResourceId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'body',
'in' => 'body',
+ 'style' => 'json',
'schema' => [
- 'type' => 'string',
+ '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],
+ ],
],
],
],
],
- 'DeleteGatewayLabel' => [
- 'path' => '/api/v2/gateways/{ClusterId}/{GatewayId}/label',
- 'methods' => [
- 'delete',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'ReinstallTenantAddon' => [
+ 'path' => '/api/v2/tenantaddons/{ClusterId}/{TenantAddonName}/reinstall',
+ 'methods' => ['put'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
'deprecated' => false,
'parameters' => [
[
'name' => 'ClusterId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'GatewayId',
+ 'name' => 'TenantAddonName',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
- ],
- [
- 'name' => 'LabelKeys',
- 'in' => 'query',
- 'style' => 'json',
- 'schema' => [
- 'type' => 'array',
- 'required' => true,
- 'items' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
- 'UpdateGatewayLabel' => [
- 'path' => '/api/v2/gateways/{ClusterId}/{GatewayId}/label',
- 'methods' => [
- 'put',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'ReleaseService' => [
+ 'path' => '/api/v2/services/{ClusterId}/{ServiceName}/release',
+ '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,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'GatewayId',
+ 'name' => 'ServiceName',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'body',
@@ -5744,505 +3806,372 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'Labels' => [
- 'type' => 'object',
- 'required' => true,
- 'additionalProperties' => [
- 'type' => 'string',
- ],
- ],
+ 'Weight' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
+ 'TrafficState' => ['type' => 'string', 'required' => false],
],
],
],
],
],
- 'DetachGatewayDomain' => [
- 'path' => '/api/v2/gateways/{ClusterId}/{GatewayId}/domain/detach',
- 'methods' => [
- 'put',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'RestartService' => [
+ 'path' => '/api/v2/services/{ClusterId}/{ServiceName}/restart',
+ 'methods' => ['put'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'ClusterId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'GatewayId',
+ 'name' => 'ServiceName',
'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,
- ],
- ],
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
- 'AttachGatewayDomain' => [
- 'path' => '/api/v2/gateways/{ClusterId}/{GatewayId}/domain/attach',
- 'methods' => [
- 'put',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'ScaleService' => [
+ 'path' => '/api/v2/services/{ClusterId}/{ServiceName}/scale',
+ 'methods' => ['put'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'ClusterId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'GatewayId',
+ 'name' => 'ServiceName',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'CustomDomain',
- 'in' => 'query',
+ 'name' => 'body',
+ 'in' => 'body',
'style' => 'json',
'schema' => [
'type' => 'object',
- 'required' => true,
+ 'required' => false,
'properties' => [
- 'Type' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'CertificateId' => [
- 'type' => 'string',
+ 'Instance' => ['type' => 'integer', 'format' => 'int64', 'required' => true],
+ 'InstancesToDelete' => [
+ 'type' => 'array',
'required' => false,
- ],
- 'Domain' => [
- 'type' => 'string',
- 'required' => true,
+ 'items' => ['type' => 'string', 'required' => false],
+ 'minItems' => 0,
],
],
],
],
],
],
- 'ListGatewayDomains' => [
- 'path' => '/api/v2/gateways/{ClusterId}/{GatewayId}/domains',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'StartBenchmarkTask' => [
+ 'path' => '/api/v2/benchmark-tasks/{ClusterId}/{TaskName}/start',
+ 'methods' => ['put'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
'deprecated' => false,
'parameters' => [
[
'name' => 'ClusterId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'GatewayId',
+ 'name' => 'TaskName',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
- 'ListGateway' => [
- 'path' => '/api/v2/gateways',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'StartService' => [
+ 'path' => '/api/v2/services/{ClusterId}/{ServiceName}/start',
+ 'methods' => ['put'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
'deprecated' => false,
'parameters' => [
[
- 'name' => 'GatewayId',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'name' => 'ClusterId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'PageNumber',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'name' => 'ServiceName',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
],
+ ],
+ ],
+ 'StopBenchmarkTask' => [
+ 'path' => '/api/v2/benchmark-tasks/{ClusterId}/{TaskName}/stop',
+ 'methods' => ['put'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
[
- 'name' => 'PageSize',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'AK' => [],
],
+ ],
+ 'deprecated' => false,
+ 'parameters' => [
[
- 'name' => 'GatewayName',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'name' => 'ClusterId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'ResourceName',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'name' => 'TaskName',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
],
+ ],
+ ],
+ 'StopService' => [
+ 'path' => '/api/v2/services/{ClusterId}/{ServiceName}/stop',
+ 'methods' => ['put'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
[
- 'name' => 'InternetEnabled',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
+ 'AK' => [],
],
+ ],
+ 'deprecated' => false,
+ 'parameters' => [
[
- 'name' => 'Status',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'name' => 'ClusterId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'ChargeType',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'name' => 'ServiceName',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
],
+ ],
+ ],
+ 'UpdateAppService' => [
+ 'path' => '/api/v2/app_services/{ClusterId}/{ServiceName}',
+ 'methods' => ['put'],
+ 'schemes' => ['https'],
+ 'security' => [
[
- 'name' => 'Sort',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'AK' => [],
],
+ ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'deprecated' => false,
+ 'parameters' => [
[
- 'name' => 'Order',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'name' => 'ClusterId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'GatewayType',
+ 'name' => 'ServiceName',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
+ ],
+ [
+ 'name' => 'WorkspaceId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'Label',
+ 'name' => 'QuotaId',
'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'body',
+ 'in' => 'body',
'style' => 'json',
'schema' => [
'type' => 'object',
'required' => false,
- 'additionalProperties' => [
- 'type' => 'string',
+ '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'],
+ ],
],
],
],
],
],
- 'ListAclPolicy' => [
- 'path' => '/api/v2/gateways/{ClusterId}/{GatewayId}/acl_policy',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'UpdateBenchmarkTask' => [
+ 'path' => '/api/v2/benchmark-tasks/{ClusterId}/{TaskName}',
+ '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,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'GatewayId',
+ 'name' => 'TaskName',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'VpcId',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'name' => 'body',
+ 'in' => 'body',
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
- 'DeleteAclPolicy' => [
- 'path' => '/api/v2/gateways/{ClusterId}/{GatewayId}/acl_policy',
- 'methods' => [
- 'delete',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'UpdateConfig' => [
+ 'path' => '/api/v2/configs/{ClusterId}/{ConfigType}/{Name}/{ConfigKey}',
+ 'methods' => ['put'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
'deprecated' => false,
'parameters' => [
[
'name' => 'ClusterId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'GatewayId',
+ 'name' => 'ConfigType',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'VpcId',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'name' => 'Name',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'AclPolicyList',
- 'in' => 'query',
+ 'name' => 'ConfigKey',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'body',
+ 'in' => 'body',
'style' => 'json',
'schema' => [
- 'type' => 'array',
+ 'type' => 'object',
'required' => false,
- 'items' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- 'Entry' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'Comment' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
+ 'properties' => [
+ 'Value' => ['type' => 'string', 'required' => false],
],
],
],
],
],
- 'CreateAclPolicy' => [
- 'path' => '/api/v2/gateways/{ClusterId}/{GatewayId}/acl_policy',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'UpdateGateway' => [
+ 'path' => '/api/v2/gateways/{ClusterId}/{GatewayId}',
+ 'methods' => ['put'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
- 'name' => 'ClusterId',
- 'in' => 'path',
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
'schema' => [
- 'type' => 'string',
- 'required' => true,
+ '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' => 'VpcId',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- '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,
- ],
- ],
- ],
- ],
+ 'name' => 'ClusterId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
- 'CreateGateway' => [
- 'path' => '/api/v2/gateways',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'UpdateGatewayLabel' => [
+ 'path' => '/api/v2/gateways/{ClusterId}/{GatewayId}/label',
+ 'methods' => ['put'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
- 'name' => 'ResourceName',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'name' => 'ClusterId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
+ ],
+ [
+ 'name' => 'GatewayId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'body',
@@ -6252,104 +4181,39 @@
'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',
- 'required' => false,
+ 'Labels' => [
+ 'type' => 'object',
+ 'required' => true,
+ 'additionalProperties' => ['type' => 'string'],
],
],
],
],
],
],
- 'DescribeGateway' => [
- 'path' => '/api/v2/gateways/{ClusterId}/{GatewayId}',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'UpdateGroup' => [
+ 'path' => '/api/v2/groups/{ClusterId}/{GroupName}',
+ 'methods' => ['put'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'ClusterId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'GatewayId',
+ 'name' => 'GroupName',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
- ],
- ],
- ],
- 'UpdateGateway' => [
- 'path' => '/api/v2/gateways/{ClusterId}/{GatewayId}',
- 'methods' => [
- 'put',
- ],
- 'schemes' => [
- 'https',
- ],
- 'security' => [
- [
- 'AK' => [],
+ 'schema' => ['type' => 'string', 'required' => true],
],
- ],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
- 'deprecated' => false,
- 'parameters' => [
[
'name' => 'body',
'in' => 'body',
@@ -6358,633 +4222,557 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'InstanceType' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'Name' => [
+ 'TrafficMode' => [
'type' => 'string',
'required' => false,
+ 'enum' => ['auto', 'customized'],
],
- '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',
+ '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],
+ ],
],
- 'VSwitchIds' => [
- 'type' => 'array',
+ 'Labels' => [
+ 'type' => 'object',
'required' => false,
- 'items' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'additionalProperties' => ['type' => 'string'],
],
],
],
],
- [
- 'name' => 'GatewayId',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
- ],
- [
- 'name' => 'ClusterId',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
- ],
],
],
- 'CreateGatewayIntranetLinkedVpc' => [
- 'path' => '/api/v2/gateways/{ClusterId}/{GatewayId}/intranet_endpoint_linked_vpc',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'UpdateResource' => [
+ 'path' => '/api/v2/resources/{ClusterId}/{ResourceId}',
+ '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,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'GatewayId',
+ 'name' => 'ResourceId',
'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,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'EnableAuthoritativeDns',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'AccountId',
- 'in' => 'query',
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
'schema' => [
- 'type' => 'string',
+ '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],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
],
],
],
],
- 'ListGatewayIntranetLinkedVpc' => [
- 'path' => '/api/v2/gateways/{ClusterId}/{GatewayId}/intranet_endpoint_linked_vpc',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'UpdateResourceDLink' => [
+ 'path' => '/api/v2/resources/{ClusterId}/{ResourceId}/dlink',
+ '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,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'GatewayId',
+ 'name' => 'ResourceId',
'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
+ ],
+ [
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
'schema' => [
- 'type' => 'string',
+ '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],
+ ],
],
],
],
],
- 'ListGatewayIntranetSupportedZone' => [
- 'path' => '/api/v2/gateways/{ClusterId}/{GatewayId}/intranet_supported_zone',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ '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' => 'GatewayId',
+ 'name' => 'ClusterId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'ClusterId',
+ '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' => 'string',
+ 'type' => 'object',
'required' => false,
+ 'properties' => [
+ 'Action' => ['type' => 'string', 'required' => true],
+ 'NewDiskSize' => ['type' => 'string'],
+ 'Reason' => ['type' => 'string', 'maxLength' => 200],
+ ],
],
],
],
],
- 'DeleteGatewayIntranetLinkedVpc' => [
- 'path' => '/api/v2/gateways/{ClusterId}/{GatewayId}/intranet_endpoint_linked_vpc',
- 'methods' => [
- 'delete',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'UpdateResourceInstanceLabel' => [
+ 'path' => '/api/v2/resources/{ClusterId}/{ResourceId}/label',
+ 'methods' => ['put'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'ClusterId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'GatewayId',
+ 'name' => 'ResourceId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'VpcId',
+ 'name' => 'InstanceIds',
'in' => 'query',
+ 'style' => 'simple',
'schema' => [
- 'type' => 'string',
+ 'type' => 'array',
'required' => false,
+ 'items' => ['type' => 'string', 'required' => false],
],
],
[
- 'name' => 'VSwitchId',
+ 'name' => 'AllInstances',
'in' => 'query',
+ 'schema' => ['type' => 'boolean', 'required' => false],
+ ],
+ [
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
'schema' => [
- 'type' => 'string',
+ 'type' => 'object',
'required' => false,
+ 'properties' => [
+ 'Labels' => [
+ 'type' => 'object',
+ 'required' => false,
+ 'additionalProperties' => ['type' => 'string'],
+ ],
+ ],
],
],
],
],
- 'DeleteGateway' => [
- 'path' => '/api/v2/gateways/{ClusterId}/{GatewayId}',
- 'methods' => [
- 'delete',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'UpdateService' => [
+ 'path' => '/api/v2/services/{ClusterId}/{ServiceName}',
+ 'methods' => ['put'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'ClusterId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'GatewayId',
+ 'name' => 'ServiceName',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ '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],
],
],
],
- 'ListGatewayIntranetLinkedVpcPeer' => [
- 'path' => '/api/v2/gateways/{ClusterId}/{GatewayId}/intranet_endpoint_linked_vpc_peer',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'UpdateServiceAutoScaler' => [
+ 'path' => '/api/v2/services/{ClusterId}/{ServiceName}/autoscaler',
+ '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,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'GatewayId',
+ 'name' => 'ServiceName',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'VpcId',
- 'in' => 'query',
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
'schema' => [
- 'type' => 'string',
+ '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],
+ ],
+ ],
+ ],
+ ],
+ ],
],
],
],
],
- 'CreateGatewayIntranetLinkedVpcPeer' => [
- 'path' => '/api/v2/gateways/{ClusterId}/{GatewayId}/intranet_endpoint_linked_vpc_peer',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'UpdateServiceCronScaler' => [
+ 'path' => '/api/v2/services/{ClusterId}/{ServiceName}/cronscaler',
+ 'methods' => ['put'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'ClusterId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'GatewayId',
+ 'name' => 'ServiceName',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'VpcId',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'PeerVpcs',
- 'in' => 'query',
+ 'name' => 'body',
+ 'in' => 'body',
'style' => 'json',
'schema' => [
- 'type' => 'array',
+ 'type' => 'object',
'required' => false,
- 'items' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- 'VpcId' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'Region' => [
- 'type' => 'string',
+ '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],
+ ],
],
],
],
],
],
- 'DeleteGatewayIntranetLinkedVpcPeer' => [
- 'path' => '/api/v2/gateways/{ClusterId}/{GatewayId}/intranet_endpoint_linked_vpc_peer',
- 'methods' => [
- 'delete',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'UpdateServiceInstance' => [
+ 'path' => '/api/v2/services/{ClusterId}/{ServiceName}/instances/{InstanceName}',
+ 'methods' => ['put'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'ClusterId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'GatewayId',
+ 'name' => 'ServiceName',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'VpcId',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'name' => 'InstanceName',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'PeerVpcs',
- 'in' => 'query',
+ 'name' => 'body',
+ 'in' => 'body',
'style' => 'json',
'schema' => [
- 'type' => 'array',
+ 'type' => 'object',
'required' => false,
- 'items' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- 'VpcId' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'Region' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
+ 'properties' => [
+ 'Hibernate' => ['type' => 'boolean', 'required' => false],
+ 'Isolate' => ['type' => 'boolean', 'required' => false],
+ 'Detach' => ['type' => 'boolean', 'required' => false],
],
],
],
- ],
- ],
- 'DescribeRegions' => [
- 'path' => '/api/v2/regions',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
- 'security' => [
[
- 'AK' => [],
+ 'name' => 'IsReplica',
+ 'in' => 'query',
+ 'schema' => ['type' => 'boolean', 'required' => false],
],
],
- 'produces' => [
- 'application/json',
- ],
- 'deprecated' => false,
- 'parameters' => [],
],
- 'ReinstallTenantAddon' => [
- 'path' => '/api/v2/tenantaddons/{ClusterId}/{TenantAddonName}/reinstall',
- 'methods' => [
- 'put',
- ],
- 'schemes' => [
- 'https',
- ],
+ '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,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'TenantAddonName',
+ 'name' => 'ServiceName',
'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
+ ],
+ [
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
'schema' => [
- 'type' => 'string',
- 'required' => true,
+ 'type' => 'object',
+ 'required' => false,
+ 'properties' => [
+ 'Labels' => [
+ 'type' => 'object',
+ 'required' => true,
+ 'additionalProperties' => ['type' => 'string'],
+ ],
+ ],
],
],
],
],
- 'ListServiceInstanceFaultInjectionInfo' => [
- 'path' => '/api/v2/services/{ClusterId}/{ServiceName}/instances/{InstanceName}/faults',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'UpdateServiceMirror' => [
+ 'path' => '/api/v2/services/{ClusterId}/{ServiceName}/mirror',
+ '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,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'ServiceName',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'InstanceName',
- 'in' => 'path',
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
'schema' => [
- 'type' => 'string',
- 'required' => true,
+ 'type' => 'object',
+ 'required' => false,
+ 'properties' => [
+ 'Ratio' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
+ 'Target' => [
+ 'type' => 'array',
+ 'required' => false,
+ 'items' => ['type' => 'string', 'required' => false],
+ ],
+ ],
],
],
],
],
- 'CreateFaultInjection' => [
- 'path' => '/api/v2/services/{ClusterId}/{ServiceName}/instances/{InstanceName}/faults',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'UpdateServiceRollout' => [
+ 'path' => '/api/v2/services/{ClusterId}/{ServiceName}/rollout',
+ 'methods' => ['put'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'ClusterId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'ServiceName',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
- ],
- [
- 'name' => 'InstanceName',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'body',
@@ -6994,182 +4782,183 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'FaultType' => [
- 'type' => 'string',
+ 'Partition' => [
+ 'type' => 'object',
'required' => false,
+ 'properties' => [
+ 'Partition' => ['type' => 'string', 'required' => false],
+ ],
],
- 'FaultArgs' => [
- 'type' => 'any',
+ 'Batch' => [
+ 'type' => 'object',
'required' => false,
+ 'properties' => [
+ 'BatchSize' => ['type' => 'string', 'required' => false],
+ 'Interval' => ['type' => 'string', 'required' => false],
+ ],
],
+ 'Paused' => ['type' => 'boolean', 'required' => false],
],
],
],
],
],
- 'DeleteFaultInjection' => [
- 'path' => '/api/v2/services/{ClusterId}/{ServiceName}/instances/{InstanceName}/faults/{FaultType}',
- 'methods' => [
- 'delete',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'UpdateServiceSafetyLock' => [
+ 'path' => '/api/v2/services/{ClusterId}/{ServiceName}/lock',
+ 'methods' => ['put'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => [],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'ClusterId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'ServiceName',
'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
+ ],
+ [
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
'schema' => [
- 'type' => 'string',
+ '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' => [
[
- 'name' => 'InstanceName',
+ 'AK' => [],
+ ],
+ ],
+ 'deprecated' => false,
+ 'parameters' => [
+ [
+ 'name' => 'ClusterId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'FaultType',
+ 'name' => 'ServiceName',
'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
+ ],
+ [
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
'schema' => [
- 'type' => 'string',
+ 'type' => 'object',
'required' => false,
+ 'properties' => [
+ 'Version' => ['type' => 'integer', 'format' => 'int32', 'required' => true],
+ ],
],
],
],
],
- 'ListTenantAddons' => [
- 'path' => '/api/v2/tenantaddons',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'UpdateVirtualResource' => [
+ 'path' => '/api/v2/virtualresources/{ClusterId}/{VirtualResourceId}',
+ 'methods' => ['put'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
- 'parameters' => [],
+ '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-heyuan',
- 'endpoint' => 'pai-eas.cn-heyuan.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-beijing',
- 'endpoint' => 'pai-eas.cn-beijing.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-zhangjiakou',
- 'endpoint' => 'pai-eas.cn-zhangjiakou.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-hangzhou',
- 'endpoint' => 'pai-eas.cn-hangzhou.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shanghai',
- 'endpoint' => 'pai-eas.cn-shanghai.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shenzhen',
- 'endpoint' => 'pai-eas.cn-shenzhen.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-chengdu',
- 'endpoint' => 'pai-eas.cn-chengdu.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-hongkong',
- 'endpoint' => 'pai-eas.cn-hongkong.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-southeast-1',
- 'endpoint' => 'pai-eas.ap-southeast-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-southeast-5',
- 'endpoint' => 'pai-eas.ap-southeast-5.aliyuncs.com',
- ],
- [
- 'regionId' => 'us-east-1',
- 'endpoint' => 'pai-eas.us-east-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'us-west-1',
- 'endpoint' => 'pai-eas.us-west-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'eu-central-1',
- 'endpoint' => 'pai-eas.eu-central-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shanghai-finance-1',
- 'endpoint' => 'pai-eas.cn-shanghai-finance-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-wulanchabu',
- 'endpoint' => 'pai-eas.cn-wulanchabu.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-guangzhou',
- 'endpoint' => 'pai-eas.cn-guangzhou.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-northeast-1',
- 'endpoint' => 'pai-eas.ap-northeast-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-northeast-2',
- 'endpoint' => 'pai-eas.ap-northeast-2.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-southeast-3',
- 'endpoint' => 'pai-eas.ap-southeast-3.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-southeast-7',
- 'endpoint' => 'pai-eas.ap-southeast-7.aliyuncs.com',
- ],
- [
- 'regionId' => 'me-east-1',
- 'endpoint' => 'pai-eas.me-east-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'us-southeast-1',
- 'endpoint' => 'pai-eas.us-southeast-1.aliyuncs.com',
- ],
+ ['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'],
],
];