diff options
Diffstat (limited to 'data/ehpcinstant')
| -rw-r--r-- | data/ehpcinstant/2023-07-01/api-docs.php | 2187 |
1 files changed, 712 insertions, 1475 deletions
diff --git a/data/ehpcinstant/2023-07-01/api-docs.php b/data/ehpcinstant/2023-07-01/api-docs.php index c1896de..0b7b184 100644 --- a/data/ehpcinstant/2023-07-01/api-docs.php +++ b/data/ehpcinstant/2023-07-01/api-docs.php @@ -1,379 +1,13 @@ <?php return [ 'version' => '1.0', - 'info' => [ - 'style' => 'RPC', - 'product' => 'EhpcInstant', - 'version' => '2023-07-01', - ], + 'info' => ['style' => 'RPC', 'product' => 'EhpcInstant', 'version' => '2023-07-01'], 'components' => [ 'schemas' => [], ], 'apis' => [ - 'CreateActionPlan' => [ - 'path' => '', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'deprecated' => false, - 'parameters' => [ - [ - 'name' => 'ActionPlanName', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'AppId', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'Script', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'PrologScript', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'ResourceType', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - 'enum' => [ - 'VCpuCapacity', - 'ExecutorCapacity', - ], - ], - ], - [ - 'name' => 'DesiredCapacity', - 'in' => 'query', - 'schema' => [ - 'type' => 'number', - 'format' => 'double', - 'required' => false, - ], - ], - [ - 'name' => 'Resources', - 'in' => 'query', - 'style' => 'json', - 'schema' => [ - 'type' => 'array', - 'required' => false, - 'items' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'Cores' => [ - 'type' => 'number', - 'format' => 'double', - 'required' => false, - ], - 'Memory' => [ - 'type' => 'number', - 'format' => 'double', - 'required' => false, - ], - ], - ], - ], - ], - [ - 'name' => 'Regions', - 'in' => 'query', - 'style' => 'json', - 'schema' => [ - 'type' => 'array', - 'required' => false, - 'items' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'RegionId' => [ - 'type' => 'string', - 'required' => false, - ], - 'VSwitchIds' => [ - 'type' => 'array', - 'required' => false, - 'items' => [ - 'type' => 'string', - 'required' => false, - ], - ], - 'SecurityGroupId' => [ - 'type' => 'array', - 'required' => false, - 'items' => [ - 'type' => 'string', - 'required' => false, - ], - ], - 'SecurityGroupIds' => [ - 'type' => 'array', - 'required' => false, - 'items' => [ - 'type' => 'string', - 'required' => false, - ], - ], - ], - ], - ], - ], - [ - 'name' => 'AllocationSpec', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'Level', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'IntervalMinutes', - 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - ], - ], - ], - 'UpdateActionPlan' => [ - 'path' => '', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'deprecated' => false, - 'parameters' => [ - [ - 'name' => 'ActionPlanId', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'DesiredCapacity', - 'in' => 'query', - 'schema' => [ - 'type' => 'number', - 'format' => 'float', - 'required' => false, - ], - ], - [ - 'name' => 'Enabled', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'IntervalMinutes', - 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - ], - ], - ], - 'ListActionPlans' => [ - 'path' => '', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'deprecated' => false, - 'parameters' => [ - [ - 'name' => 'ActionPlanIds', - 'in' => 'query', - 'style' => 'json', - 'schema' => [ - 'type' => 'array', - 'required' => false, - 'items' => [ - 'type' => 'string', - 'required' => false, - ], - ], - ], - [ - 'name' => 'NextToken', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'MaxResults', - 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - ], - ], - ], - 'ListActionPlanActivities' => [ - 'path' => '', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'deprecated' => false, - 'parameters' => [ - [ - 'name' => 'ActionPlanId', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'NextToken', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'MaxResults', - 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - ], - ], - ], - 'GetActionPlan' => [ - 'path' => '', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'deprecated' => false, - 'parameters' => [ - [ - 'name' => 'ActionPlanId', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - ], - ], - 'DeleteActionPlan' => [ - 'path' => '', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'deprecated' => false, - 'parameters' => [ - [ - 'name' => 'ActionPlanId', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - ], - ], 'AddImage' => [ - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -384,34 +18,22 @@ [ 'name' => 'ImageType', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'Name', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'ImageVersion', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'Description', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'ContainerImageSpec', @@ -421,38 +43,17 @@ 'type' => 'object', 'required' => false, 'properties' => [ - 'RegistryUrl' => [ - 'type' => 'string', - 'required' => false, - ], - 'IsACRRegistry' => [ - 'type' => 'boolean', - 'required' => false, - ], - 'IsACREnterprise' => [ - 'type' => 'boolean', - 'required' => false, - ], - 'RegistryCriId' => [ - 'type' => 'string', - 'required' => false, - ], + 'RegistryUrl' => ['type' => 'string', 'required' => false], + 'IsACRRegistry' => ['type' => 'boolean', 'required' => false], + 'IsACREnterprise' => ['type' => 'boolean', 'required' => false], + 'RegistryCriId' => ['type' => 'string', 'required' => false], 'RegistryCredential' => [ 'type' => 'object', 'required' => false, 'properties' => [ - 'Server' => [ - 'type' => 'string', - 'required' => false, - ], - 'UserName' => [ - 'type' => 'string', - 'required' => false, - ], - 'Password' => [ - 'type' => 'string', - 'required' => false, - ], + 'Server' => ['type' => 'string', 'required' => false], + 'UserName' => ['type' => 'string', 'required' => false], + 'Password' => ['type' => 'string', 'required' => false], ], ], ], @@ -466,24 +67,16 @@ 'type' => 'object', 'required' => false, 'properties' => [ - 'ImageId' => [ - 'type' => 'string', - 'required' => false, - ], + 'ImageId' => ['type' => 'string', 'required' => false], ], ], ], ], ], - 'GetImage' => [ - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'CreateActionPlan' => [ + 'path' => '', + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -492,269 +85,107 @@ 'deprecated' => false, 'parameters' => [ [ - 'name' => 'ImageCategory', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'ImageType', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'ImageId', + 'name' => 'ActionPlanName', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'AdditionalRegionIds', + 'name' => 'AppId', 'in' => 'query', - 'style' => 'json', - 'schema' => [ - 'type' => 'array', - 'required' => false, - 'items' => [ - 'type' => 'string', - 'required' => false, - ], - ], + 'schema' => ['type' => 'string', 'required' => false], ], - ], - ], - 'ListImages' => [ - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ [ - 'AK' => [], - ], - ], - 'deprecated' => false, - 'parameters' => [ - [ - 'name' => 'PageNumber', + 'name' => 'Script', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'PageSize', + 'name' => 'PrologScript', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'ImageCategory', + 'name' => 'ResourceType', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => false, + 'enum' => ['VCpuCapacity', 'ExecutorCapacity'], ], ], [ - 'name' => 'ImageType', + 'name' => 'DesiredCapacity', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'number', 'format' => 'double', 'required' => false], ], [ - 'name' => 'ImageIds', + 'name' => 'Resources', 'in' => 'query', 'style' => 'json', 'schema' => [ 'type' => 'array', 'required' => false, 'items' => [ - 'type' => 'string', + 'type' => 'object', 'required' => false, + 'properties' => [ + 'Cores' => ['type' => 'number', 'format' => 'double', 'required' => false], + 'Memory' => ['type' => 'number', 'format' => 'double', 'required' => false], + ], ], ], ], [ - 'name' => 'ImageNames', + 'name' => 'Regions', 'in' => 'query', 'style' => 'json', 'schema' => [ 'type' => 'array', 'required' => false, 'items' => [ - 'type' => 'string', + 'type' => 'object', 'required' => false, + 'properties' => [ + 'RegionId' => ['type' => 'string', 'required' => false], + 'VSwitchIds' => [ + 'type' => 'array', + 'required' => false, + 'items' => ['type' => 'string', 'required' => false], + ], + 'SecurityGroupId' => [ + 'type' => 'array', + 'required' => false, + 'items' => ['type' => 'string', 'required' => false], + ], + 'SecurityGroupIds' => [ + 'type' => 'array', + 'required' => false, + 'items' => ['type' => 'string', 'required' => false], + ], + ], ], ], ], [ - 'name' => 'Mode', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - ], - ], - 'RemoveImage' => [ - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'deprecated' => false, - 'parameters' => [ - [ - 'name' => 'ImageType', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'ImageId', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - ], - ], - 'GetAppVersions' => [ - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'deprecated' => false, - 'parameters' => [ - [ - 'name' => 'PageNumber', - 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - ], - ], - [ - 'name' => 'PageSize', - 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - ], - ], - [ - 'name' => 'ImageCategory', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'ImageType', + 'name' => 'AllocationSpec', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'AppName', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - ], - ], - 'SynchronizeApp' => [ - 'path' => '', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'deprecated' => false, - 'parameters' => [ - [ - 'name' => 'AppId', + 'name' => 'Level', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'TargetRegionIds', + 'name' => 'IntervalMinutes', 'in' => 'query', - 'style' => 'json', - 'schema' => [ - 'type' => 'array', - 'required' => false, - 'items' => [ - 'type' => 'string', - 'required' => false, - ], - ], + 'schema' => ['type' => 'integer', 'format' => 'int32'], ], ], ], 'CreateJob' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -765,18 +196,12 @@ [ 'name' => 'JobName', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'JobDescription', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'Tasks', @@ -789,10 +214,7 @@ 'type' => 'object', 'required' => false, 'properties' => [ - 'TaskName' => [ - 'type' => 'string', - 'required' => false, - ], + 'TaskName' => ['type' => 'string', 'required' => false], 'TaskSpec' => [ 'type' => 'object', 'required' => false, @@ -808,21 +230,12 @@ 'type' => 'object', 'required' => false, 'properties' => [ - 'Image' => [ - 'type' => 'string', - 'required' => true, - ], - 'WorkingDir' => [ - 'type' => 'string', - 'required' => false, - ], + 'Image' => ['type' => 'string', 'required' => true], + 'WorkingDir' => ['type' => 'string', 'required' => false], 'Command' => [ 'type' => 'array', 'required' => false, - 'items' => [ - 'type' => 'string', - 'required' => false, - ], + 'items' => ['type' => 'string', 'required' => false], ], 'EnvironmentVars' => [ 'type' => 'array', @@ -831,32 +244,17 @@ 'type' => 'object', 'required' => false, 'properties' => [ - 'Name' => [ - 'type' => 'string', - 'required' => false, - ], - 'Value' => [ - 'type' => 'string', - 'required' => false, - ], + 'Name' => ['type' => 'string', 'required' => false], + 'Value' => ['type' => 'string', 'required' => false], ], ], ], - 'AppId' => [ - 'type' => 'string', - 'required' => false, - ], - 'ImageRegistryOptions' => [ - 'type' => 'string', - 'required' => false, - ], + 'AppId' => ['type' => 'string', 'required' => false], + 'ImageRegistryOptions' => ['type' => 'string', 'required' => false], 'Arg' => [ 'type' => 'array', 'required' => false, - 'items' => [ - 'type' => 'string', - 'required' => false, - ], + 'items' => ['type' => 'string', 'required' => false], ], ], ], @@ -864,26 +262,11 @@ 'type' => 'object', 'required' => false, 'properties' => [ - 'Image' => [ - 'type' => 'string', - 'required' => true, - ], - 'PrologScript' => [ - 'type' => 'string', - 'required' => false, - ], - 'Script' => [ - 'type' => 'string', - 'required' => false, - ], - 'AppId' => [ - 'type' => 'string', - 'required' => false, - ], - 'Password' => [ - 'type' => 'string', - 'required' => false, - ], + 'Image' => ['type' => 'string', 'required' => true], + 'PrologScript' => ['type' => 'string', 'required' => false], + 'Script' => ['type' => 'string', 'required' => false], + 'AppId' => ['type' => 'string', 'required' => false], + 'Password' => ['type' => 'string', 'required' => false], ], ], ], @@ -896,22 +279,10 @@ 'type' => 'object', 'required' => false, 'properties' => [ - 'MountPath' => [ - 'type' => 'string', - 'required' => false, - ], - 'VolumeDriver' => [ - 'type' => 'string', - 'required' => false, - ], - 'MountOptions' => [ - 'type' => 'string', - 'required' => false, - ], - 'ReadOnly' => [ - 'type' => 'boolean', - 'required' => false, - ], + 'MountPath' => ['type' => 'string', 'required' => false], + 'VolumeDriver' => ['type' => 'string', 'required' => false], + 'MountOptions' => ['type' => 'string', 'required' => false], + 'ReadOnly' => ['type' => 'boolean', 'required' => false], ], ], ], @@ -919,20 +290,9 @@ 'type' => 'object', 'required' => false, 'properties' => [ - 'Cores' => [ - 'type' => 'number', - 'format' => 'float', - 'required' => false, - ], - 'EnableHT' => [ - 'type' => 'boolean', - 'required' => false, - ], - 'Memory' => [ - 'type' => 'number', - 'format' => 'float', - 'required' => false, - ], + 'Cores' => ['type' => 'number', 'format' => 'float', 'required' => false], + 'EnableHT' => ['type' => 'boolean', 'required' => false], + 'Memory' => ['type' => 'number', 'format' => 'float', 'required' => false], 'Disks' => [ 'type' => 'array', 'required' => false, @@ -940,29 +300,16 @@ 'type' => 'object', 'required' => false, 'properties' => [ - 'Type' => [ - 'type' => 'string', - 'required' => false, - ], - 'Size' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], + 'Type' => ['type' => 'string', 'required' => false], + 'Size' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], ], ], - 'HostNamePrefix' => [ - 'type' => 'string', - 'required' => false, - ], + 'HostNamePrefix' => ['type' => 'string', 'required' => false], 'InstanceTypes' => [ 'type' => 'array', 'required' => false, - 'items' => [ - 'type' => 'string', - 'required' => false, - ], + 'items' => ['type' => 'string', 'required' => false], ], ], ], @@ -970,11 +317,7 @@ 'type' => 'object', 'required' => false, 'properties' => [ - 'RetryCount' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], + 'RetryCount' => ['type' => 'integer', 'format' => 'int32', 'required' => false], 'ExitCodeActions' => [ 'type' => 'array', 'required' => false, @@ -982,15 +325,8 @@ 'type' => 'object', 'required' => false, 'properties' => [ - 'ExitCode' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - ], - 'Action' => [ - 'type' => 'string', - 'required' => true, - ], + 'ExitCode' => ['type' => 'integer', 'format' => 'int64', 'required' => true], + 'Action' => ['type' => 'string', 'required' => true], ], ], ], @@ -1002,38 +338,19 @@ 'type' => 'object', 'required' => false, 'properties' => [ - 'MaxCount' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], + 'MaxCount' => ['type' => 'integer', 'format' => 'int32', 'required' => false], 'ArraySpec' => [ 'type' => 'object', 'required' => false, 'properties' => [ - 'IndexStart' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - 'IndexEnd' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - 'IndexStep' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], + 'IndexStart' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + 'IndexEnd' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + 'IndexStep' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], ], ], ], - 'TaskSustainable' => [ - 'type' => 'boolean', - 'required' => false, - ], + 'TaskSustainable' => ['type' => 'boolean', 'required' => false], ], ], 'minItems' => 1, @@ -1047,10 +364,7 @@ 'type' => 'object', 'required' => false, 'properties' => [ - 'AllocationSpec' => [ - 'type' => 'string', - 'required' => false, - ], + 'AllocationSpec' => ['type' => 'string', 'required' => false], 'Network' => [ 'type' => 'object', 'required' => false, @@ -1058,15 +372,9 @@ 'Vswitch' => [ 'type' => 'array', 'required' => false, - 'items' => [ - 'type' => 'string', - 'required' => false, - ], - ], - 'EnableExternalIpAddress' => [ - 'type' => 'boolean', - 'required' => false, + 'items' => ['type' => 'string', 'required' => false], ], + 'EnableExternalIpAddress' => ['type' => 'boolean', 'required' => false], ], ], 'Tag' => [ @@ -1076,35 +384,24 @@ 'type' => 'object', 'required' => false, 'properties' => [ - 'Key' => [ - 'type' => 'string', - 'required' => true, - ], - 'Value' => [ - 'type' => 'string', - 'required' => false, - ], + 'Key' => ['type' => 'string', 'required' => true], + 'Value' => ['type' => 'string', 'required' => false], ], ], 'maxItems' => 20, ], - 'Pool' => [ - 'type' => 'string', - 'required' => false, - ], - 'Priority' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - 'Level' => [ - 'type' => 'string', - 'required' => false, - ], + 'Pool' => ['type' => 'string', 'required' => false], + 'Priority' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + 'Level' => ['type' => 'string', 'required' => false], ], ], ], [ + 'name' => 'JobScheduler', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ 'name' => 'SecurityPolicy', 'in' => 'query', 'style' => 'json', @@ -1119,10 +416,7 @@ 'SecurityGroupIds' => [ 'type' => 'array', 'required' => false, - 'items' => [ - 'type' => 'string', - 'required' => false, - ], + 'items' => ['type' => 'string', 'required' => false], ], ], ], @@ -1144,19 +438,11 @@ 'type' => 'object', 'required' => false, 'properties' => [ - 'JobId' => [ - 'type' => 'string', - 'required' => true, - ], + 'JobId' => ['type' => 'string', 'required' => true], 'Type' => [ 'type' => 'string', 'required' => false, - 'enum' => [ - 'AfterSucceeded', - 'AfterFailed', - 'AfterAny', - 'AfterCorresponding', - ], + 'enum' => ['AfterSucceeded', 'AfterFailed', 'AfterAny', 'AfterCorresponding'], ], ], ], @@ -1166,13 +452,9 @@ ], ], ], - 'GetJob' => [ - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - ], + 'CreatePool' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -1181,22 +463,38 @@ 'deprecated' => false, 'parameters' => [ [ - 'name' => 'JobId', + 'name' => 'PoolName', 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true, 'maxLength' => 32], + ], + [ + 'name' => 'Priority', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + ], + [ + 'name' => 'ResourceLimits', + 'in' => 'query', + 'style' => 'json', 'schema' => [ - 'type' => 'string', + 'type' => 'object', 'required' => false, + 'properties' => [ + 'MaxExecutorNum' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + ], ], ], + [ + 'name' => 'SchedulingPolicyId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], ], ], - 'ListJobs' => [ - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - ], + 'DeleteActionPlan' => [ + 'path' => '', + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -1205,84 +503,37 @@ 'deprecated' => false, 'parameters' => [ [ - 'name' => 'PageSize', - 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - ], - [ - 'name' => 'PageNumber', + 'name' => 'ActionPlanId', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], + ], + ], + 'DeleteJobRecords' => [ + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ [ - 'name' => 'Filter', - 'in' => 'query', - 'style' => 'json', - 'schema' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'JobName' => [ - 'type' => 'string', - 'required' => false, - ], - 'JobId' => [ - 'type' => 'string', - 'required' => false, - ], - 'TimeCreatedAfter' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - 'TimeCreatedBefore' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - 'Status' => [ - 'type' => 'string', - 'required' => false, - ], - ], - ], + 'AK' => [], ], + ], + 'deprecated' => false, + 'parameters' => [ [ - 'name' => 'SortBy', + 'name' => 'JobIds', 'in' => 'query', 'style' => 'json', 'schema' => [ - 'type' => 'object', + 'type' => 'array', 'required' => false, - 'properties' => [ - 'Label' => [ - 'type' => 'string', - 'required' => false, - ], - 'Order' => [ - 'type' => 'string', - 'required' => false, - ], - ], + 'items' => ['type' => 'string', 'required' => false], ], ], ], ], 'DeleteJobs' => [ - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -1301,10 +552,7 @@ 'type' => 'object', 'required' => false, 'properties' => [ - 'JobId' => [ - 'type' => 'string', - 'required' => false, - ], + 'JobId' => ['type' => 'string', 'required' => false], 'TaskSpec' => [ 'type' => 'array', 'required' => false, @@ -1312,18 +560,11 @@ 'type' => 'object', 'required' => false, 'properties' => [ - 'TaskName' => [ - 'type' => 'string', - 'required' => false, - ], + 'TaskName' => ['type' => 'string', 'required' => false], 'ArrayIndex' => [ 'type' => 'array', 'required' => false, - 'items' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], + 'items' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], ], ], @@ -1339,29 +580,36 @@ 'schema' => [ 'type' => 'array', 'required' => false, - 'items' => [ - 'type' => 'string', - 'required' => false, - ], + 'items' => ['type' => 'string', 'required' => false], ], ], [ 'name' => 'JobScheduler', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'ListJobExecutors' => [ - 'methods' => [ - 'post', + 'DeletePool' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], ], - 'schemes' => [ - 'https', + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'PoolName', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], + ], ], + ], + 'DescribeJobMetricData' => [ + 'methods' => ['get', 'post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -1372,47 +620,227 @@ [ 'name' => 'JobId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'TaskName', 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'MetricName', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'ArrayIndex', + 'in' => 'query', + 'style' => 'json', 'schema' => [ - 'type' => 'string', - 'required' => false, + 'type' => 'array', + 'required' => true, + 'items' => ['type' => 'integer', 'format' => 'int32', 'required' => true], ], ], + ], + ], + 'DescribeJobMetricLast' => [ + 'methods' => ['get', 'post'], + 'schemes' => ['https'], + 'security' => [ [ - 'name' => 'PageSize', + 'AK' => [], + ], + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'JobId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'TaskName', 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'ArrayIndex', + 'in' => 'query', + 'style' => 'json', 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, + 'type' => 'array', + 'required' => true, + 'items' => ['type' => 'integer', 'format' => 'int32', 'required' => true], ], ], + ], + ], + 'DescribeJobResults' => [ + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'JobId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'TaskName', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'ArrayIndex', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + ], + [ + 'name' => 'ContentEncoding', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'LimitBytes', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'StartTime', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + ], + ], + 'GetActionPlan' => [ + 'path' => '', + 'methods' => ['get', 'post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'ActionPlanId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + ], + ], + 'GetAppVersions' => [ + 'methods' => ['get', 'post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'parameters' => [ [ 'name' => 'PageNumber', 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false], + ], + [ + 'name' => 'ImageCategory', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'ImageType', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'AppName', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], + ], + ], + ], + 'GetImage' => [ + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'ImageCategory', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'ImageType', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'ImageId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'AdditionalRegionIds', + 'in' => 'query', + 'style' => 'json', 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', + 'type' => 'array', 'required' => false, + 'items' => ['type' => 'string', 'required' => false], ], ], ], ], - 'ListExecutors' => [ - 'methods' => [ - 'post', - 'get', + 'GetJob' => [ + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'JobId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], ], - 'schemes' => [ - 'https', + ], + 'GetJobRecordDuration' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], ], + 'deprecated' => false, + 'parameters' => [], + ], + 'GetPool' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -1421,109 +849,76 @@ 'deprecated' => false, 'parameters' => [ [ - 'name' => 'Filter', + 'name' => 'PoolName', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], + ], + ], + ], + 'ListActionPlanActivities' => [ + 'path' => '', + 'methods' => ['get', 'post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'ActionPlanId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'NextToken', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'MaxResults', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + ], + ], + ], + 'ListActionPlans' => [ + 'path' => '', + 'methods' => ['get', 'post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'ActionPlanIds', 'in' => 'query', 'style' => 'json', 'schema' => [ - 'type' => 'object', + 'type' => 'array', 'required' => false, - 'properties' => [ - 'JobName' => [ - 'type' => 'string', - 'required' => false, - ], - 'ExecutorIds' => [ - 'type' => 'array', - 'required' => false, - 'items' => [ - 'type' => 'string', - 'required' => false, - ], - ], - 'IpAddresses' => [ - 'type' => 'array', - 'required' => false, - 'items' => [ - 'type' => 'string', - 'required' => false, - ], - ], - 'Status' => [ - 'type' => 'array', - 'required' => false, - 'items' => [ - 'type' => 'string', - 'required' => false, - 'enum' => [ - 'Pending', - 'Initing', - 'Failed', - 'Running', - 'Exception', - 'Retrying', - 'Expired', - 'Deleting', - 'Deleted', - 'Suspended', - 'Restarting', - 'Succeeded', - 'Succeed', - ], - ], - ], - 'TimeCreatedBefore' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - 'TimeCreatedAfter' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - 'VswitchId' => [ - 'type' => 'string', - 'required' => false, - ], - 'Image' => [ - 'type' => 'string', - 'required' => false, - ], - 'VpcId' => [ - 'type' => 'string', - 'required' => false, - ], - ], + 'items' => ['type' => 'string', 'required' => false], ], ], [ - 'name' => 'PageSize', + 'name' => 'NextToken', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'PageNumber', + 'name' => 'MaxResults', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], ], ], 'ListExecutorEvents' => [ - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'https', - ], + 'methods' => ['get', 'post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -1534,20 +929,12 @@ [ 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ 'name' => 'PageNumber', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ 'name' => 'Filter', @@ -1557,44 +944,23 @@ 'type' => 'object', 'required' => false, 'properties' => [ - 'Level' => [ - 'type' => 'string', - 'required' => false, - ], - 'TimeAfter' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - ], - 'TimeBefore' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - ], - 'JobId' => [ - 'type' => 'string', - 'required' => false, - ], + 'Level' => ['type' => 'string', 'required' => false], + 'TimeAfter' => ['type' => 'integer', 'format' => 'int64', 'required' => false], + 'TimeBefore' => ['type' => 'integer', 'format' => 'int64', 'required' => false], + 'JobId' => ['type' => 'string', 'required' => false], 'ExecutorIds' => [ 'type' => 'array', 'required' => false, - 'items' => [ - 'type' => 'string', - 'required' => false, - ], + 'items' => ['type' => 'string', 'required' => false], ], ], ], ], ], ], - 'DeleteJobRecords' => [ - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - ], + 'ListExecutors' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -1603,27 +969,56 @@ 'deprecated' => false, 'parameters' => [ [ - 'name' => 'JobIds', + 'name' => 'Filter', 'in' => 'query', 'style' => 'json', 'schema' => [ - 'type' => 'array', + 'type' => 'object', 'required' => false, - 'items' => [ - 'type' => 'string', - 'required' => false, + 'properties' => [ + 'JobName' => ['type' => 'string', 'required' => false], + 'ExecutorIds' => [ + 'type' => 'array', + 'required' => false, + 'items' => ['type' => 'string', 'required' => false], + ], + 'IpAddresses' => [ + 'type' => 'array', + 'required' => false, + 'items' => ['type' => 'string', 'required' => false], + ], + 'Status' => [ + 'type' => 'array', + 'required' => false, + 'items' => [ + 'type' => 'string', + 'required' => false, + 'enum' => ['Pending', 'Initing', 'Failed', 'Running', 'Exception', 'Retrying', 'Expired', 'Deleting', 'Deleted', 'Suspended', 'Restarting', 'Succeeded', 'Succeed'], + ], + ], + 'TimeCreatedBefore' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + 'TimeCreatedAfter' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + 'VswitchId' => ['type' => 'string', 'required' => false], + 'Image' => ['type' => 'string', 'required' => false], + 'VpcId' => ['type' => 'string', 'required' => false], ], ], ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + ], + [ + 'name' => 'PageNumber', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + ], ], ], - 'DescribeJobResults' => [ - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - ], + 'ListImages' => [ + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -1632,64 +1027,55 @@ 'deprecated' => false, 'parameters' => [ [ - 'name' => 'JobId', + 'name' => 'PageNumber', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false], ], [ - 'name' => 'TaskName', + 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false], ], [ - 'name' => 'ArrayIndex', + 'name' => 'ImageCategory', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'ContentEncoding', + 'name' => 'ImageType', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'LimitBytes', + 'name' => 'ImageIds', 'in' => 'query', + 'style' => 'json', 'schema' => [ - 'type' => 'string', + 'type' => 'array', 'required' => false, + 'items' => ['type' => 'string', 'required' => false], ], ], [ - 'name' => 'StartTime', + 'name' => 'ImageNames', 'in' => 'query', + 'style' => 'json', 'schema' => [ - 'type' => 'string', + 'type' => 'array', 'required' => false, + 'items' => ['type' => 'string', 'required' => false], ], ], + [ + 'name' => 'Mode', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], ], ], - 'DescribeJobMetricData' => [ - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'https', - ], + 'ListJobExecutors' => [ + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -1700,51 +1086,28 @@ [ 'name' => 'JobId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'TaskName', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'MetricName', + 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ - 'name' => 'ArrayIndex', + 'name' => 'PageNumber', 'in' => 'query', - 'style' => 'json', - 'schema' => [ - 'type' => 'array', - 'required' => true, - 'items' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - ], - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], ], ], - 'DescribeJobMetricLast' => [ - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'https', - ], + 'ListJobs' => [ + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -1753,45 +1116,49 @@ 'deprecated' => false, 'parameters' => [ [ - 'name' => 'JobId', + 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ - 'name' => 'TaskName', + 'name' => 'PageNumber', 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + ], + [ + 'name' => 'Filter', + 'in' => 'query', + 'style' => 'json', 'schema' => [ - 'type' => 'string', - 'required' => true, + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'JobName' => ['type' => 'string', 'required' => false], + 'JobId' => ['type' => 'string', 'required' => false], + 'TimeCreatedAfter' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + 'TimeCreatedBefore' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + 'Status' => ['type' => 'string', 'required' => false], + ], ], ], [ - 'name' => 'ArrayIndex', + 'name' => 'SortBy', 'in' => 'query', 'style' => 'json', 'schema' => [ - 'type' => 'array', - 'required' => true, - 'items' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'Label' => ['type' => 'string', 'required' => false], + 'Order' => ['type' => 'string', 'required' => false], ], ], ], ], ], - 'TagResources' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'https', - ], + 'ListPools' => [ + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -1800,62 +1167,47 @@ 'deprecated' => false, 'parameters' => [ [ - 'name' => 'ResourceType', + 'name' => 'Filter', 'in' => 'query', + 'style' => 'json', 'schema' => [ - 'type' => 'string', - 'required' => true, - 'enum' => [], + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'PoolName' => [ + 'type' => 'array', + 'required' => false, + 'items' => ['type' => 'string', 'required' => false], + ], + 'Status' => [ + 'type' => 'array', + 'required' => false, + 'items' => [ + 'type' => 'string', + 'required' => false, + 'enum' => ['Creating', 'Working', 'Updating', 'Deleting', 'Deleted'], + ], + ], + 'TimeCreatedBefore' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + 'TimeCreatedAfter' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + ], ], ], [ - 'name' => 'ResourceId', + 'name' => 'PageSize', 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'type' => 'array', - 'required' => true, - 'items' => [ - 'type' => 'string', - 'required' => false, - ], - 'maxItems' => 51, - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ - 'name' => 'Tag', + 'name' => 'PageNumber', 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'type' => 'array', - 'required' => true, - 'items' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'Key' => [ - 'type' => 'string', - 'required' => true, - ], - 'Value' => [ - 'type' => 'string', - 'required' => false, - ], - ], - ], - 'maxItems' => 21, - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], ], ], 'ListTagResources' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -1879,10 +1231,7 @@ 'schema' => [ 'type' => 'array', 'required' => false, - 'items' => [ - 'type' => 'string', - 'required' => false, - ], + 'items' => ['type' => 'string', 'required' => false], 'maxItems' => 51, ], ], @@ -1897,14 +1246,8 @@ 'type' => 'object', 'required' => false, 'properties' => [ - 'Key' => [ - 'type' => 'string', - 'required' => false, - ], - 'Value' => [ - 'type' => 'string', - 'required' => false, - ], + 'Key' => ['type' => 'string', 'required' => false], + 'Value' => ['type' => 'string', 'required' => false], ], ], 'maxItems' => 21, @@ -1913,30 +1256,68 @@ [ 'name' => 'NextToken', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'MaxResult', 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + ], + ], + ], + 'RemoveImage' => [ + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'ImageType', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'ImageId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], + ], + ], + ], + 'SynchronizeApp' => [ + 'path' => '', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'AppId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'TargetRegionIds', + 'in' => 'query', + 'style' => 'json', 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', + 'type' => 'array', 'required' => false, + 'items' => ['type' => 'string', 'required' => false], ], ], ], ], - 'UnTagResources' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'https', - ], + 'TagResources' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -1960,45 +1341,33 @@ 'schema' => [ 'type' => 'array', 'required' => true, - 'items' => [ - 'type' => 'string', - 'required' => false, - ], - 'maxItems' => 50, + 'items' => ['type' => 'string', 'required' => false], + 'maxItems' => 51, ], ], [ - 'name' => 'TagKey', + 'name' => 'Tag', 'in' => 'query', 'style' => 'repeatList', 'schema' => [ 'type' => 'array', - 'required' => false, + 'required' => true, 'items' => [ - 'type' => 'string', + 'type' => 'object', 'required' => false, + 'properties' => [ + 'Key' => ['type' => 'string', 'required' => true], + 'Value' => ['type' => 'string', 'required' => false], + ], ], - 'maxItems' => 20, - ], - ], - [ - 'name' => 'All', - 'in' => 'query', - 'schema' => [ - 'type' => 'boolean', - 'required' => false, + 'maxItems' => 21, ], ], ], ], - 'CreatePool' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'https', - ], + 'UnTagResources' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -2007,49 +1376,47 @@ 'deprecated' => false, 'parameters' => [ [ - 'name' => 'PoolName', + 'name' => 'ResourceType', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => true, - 'maxLength' => 32, + 'enum' => [], ], ], [ - 'name' => 'Priority', + 'name' => 'ResourceId', 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, + 'type' => 'array', + 'required' => true, + 'items' => ['type' => 'string', 'required' => false], + 'maxItems' => 50, ], ], [ - 'name' => 'ResourceLimits', + 'name' => 'TagKey', 'in' => 'query', - 'style' => 'json', + 'style' => 'repeatList', 'schema' => [ - 'type' => 'object', + 'type' => 'array', 'required' => false, - 'properties' => [ - 'MaxExectorNum' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - ], + 'items' => ['type' => 'string', 'required' => false], + 'maxItems' => 20, ], ], + [ + 'name' => 'All', + 'in' => 'query', + 'schema' => ['type' => 'boolean', 'required' => false], + ], ], ], - 'UpdatePool' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'https', - ], + 'UpdateActionPlan' => [ + 'path' => '', + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -2058,48 +1425,30 @@ 'deprecated' => false, 'parameters' => [ [ - 'name' => 'PoolName', + 'name' => 'ActionPlanId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'Priority', + 'name' => 'DesiredCapacity', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], + 'schema' => ['type' => 'number', 'format' => 'float', 'required' => false], ], [ - 'name' => 'ResourceLimits', + 'name' => 'Enabled', 'in' => 'query', - 'style' => 'json', - 'schema' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'MaxExectorNum' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - ], - ], + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'IntervalMinutes', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int32'], ], ], ], - 'GetPool' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'https', - ], + 'UpdateJobRecordDuration' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -2108,22 +1457,15 @@ 'deprecated' => false, 'parameters' => [ [ - 'name' => 'PoolName', + 'name' => 'JobRecordDuration', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true], ], ], ], - 'ListPools' => [ - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - ], + 'UpdatePool' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -2132,155 +1474,50 @@ 'deprecated' => false, 'parameters' => [ [ - 'name' => 'Filter', + 'name' => 'PoolName', 'in' => 'query', - 'style' => 'json', - 'schema' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'PoolName' => [ - 'type' => 'array', - 'required' => false, - 'items' => [ - 'type' => 'string', - 'required' => false, - ], - ], - 'Status' => [ - 'type' => 'array', - 'required' => false, - 'items' => [ - 'type' => 'string', - 'required' => false, - 'enum' => [ - 'Creating', - 'Working', - 'Updating', - 'Deleting', - 'Deleted', - ], - ], - ], - 'TimeCreatedBefore' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - 'TimeCreatedAfter' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - ], - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'PageSize', + 'name' => 'Priority', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ - 'name' => 'PageNumber', + 'name' => 'ResourceLimits', 'in' => 'query', + 'style' => 'json', 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', + 'type' => 'object', 'required' => false, + 'properties' => [ + 'MaxExecutorNum' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + ], ], ], - ], - ], - 'DeletePool' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'deprecated' => false, - 'parameters' => [ [ - 'name' => 'PoolName', + 'name' => 'SchedulingPolicyId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], ], ], 'endpoints' => [ - [ - 'regionId' => 'cn-beijing', - 'endpoint' => 'ehpcinstant.cn-beijing.aliyuncs.com', - ], - [ - 'regionId' => 'cn-wulanchabu', - 'endpoint' => 'ehpcinstant.cn-wulanchabu.aliyuncs.com', - ], - [ - 'regionId' => 'cn-hangzhou', - 'endpoint' => 'ehpcinstant.cn-hangzhou.aliyuncs.com', - ], - [ - 'regionId' => 'cn-shanghai', - 'endpoint' => 'ehpcinstant.cn-shanghai.aliyuncs.com', - ], - [ - 'regionId' => 'cn-shenzhen', - 'endpoint' => 'ehpcinstant.cn-shenzhen.aliyuncs.com', - ], - [ - 'regionId' => 'cn-heyuan', - 'endpoint' => 'ehpcinstant.cn-heyuan.aliyuncs.com', - ], - [ - 'regionId' => 'cn-guangzhou', - 'endpoint' => 'ehpcinstant.cn-guangzhou.aliyuncs.com', - ], - [ - 'regionId' => 'cn-chengdu', - 'endpoint' => 'ehpcinstant.cn-chengdu.aliyuncs.com', - ], - [ - 'regionId' => 'cn-hongkong', - 'endpoint' => 'ehpcinstant.cn-hongkong.aliyuncs.com', - ], - [ - 'regionId' => 'ap-northeast-1', - 'endpoint' => 'ehpcinstant.ap-northeast-1.aliyuncs.com', - ], - [ - 'regionId' => 'ap-southeast-1', - 'endpoint' => 'ehpcinstant.ap-southeast-1.aliyuncs.com', - ], - [ - 'regionId' => 'ap-southeast-5', - 'endpoint' => 'ehpcinstant.ap-southeast-5.aliyuncs.com', - ], - [ - 'regionId' => 'eu-central-1', - 'endpoint' => 'ehpcinstant.eu-central-1.aliyuncs.com', - ], - [ - 'regionId' => 'ap-northeast-2', - 'endpoint' => 'ehpcinstant.ap-northeast-2.aliyuncs.com', - ], - [ - 'regionId' => 'ap-southeast-3', - 'endpoint' => 'ehpcinstant.ap-southeast-3.aliyuncs.com', - ], + ['regionId' => 'cn-shenzhen', 'regionName' => '华南1(深圳)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'ehpcinstant.cn-shenzhen.aliyuncs.com', 'endpoint' => 'ehpcinstant.cn-shenzhen.aliyuncs.com', 'vpc' => 'ehpcinstant-vpc.cn-shenzhen.aliyuncs.com'], + ['regionId' => 'cn-wulanchabu', 'regionName' => '华北6(乌兰察布)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'ehpcinstant.cn-wulanchabu.aliyuncs.com', 'endpoint' => 'ehpcinstant.cn-wulanchabu.aliyuncs.com', 'vpc' => 'ehpcinstant-vpc.cn-wulanchabu.aliyuncs.com'], + ['regionId' => 'cn-beijing', 'regionName' => '华北2(北京)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'ehpcinstant.cn-beijing.aliyuncs.com', 'endpoint' => 'ehpcinstant.cn-beijing.aliyuncs.com', 'vpc' => 'ehpcinstant-vpc.cn-beijing.aliyuncs.com'], + ['regionId' => 'ap-northeast-2', 'regionName' => '韩国(首尔)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'ehpcinstant.ap-northeast-2.aliyuncs.com', 'endpoint' => 'ehpcinstant.ap-northeast-2.aliyuncs.com', 'vpc' => 'ehpcinstant-vpc.ap-northeast-2.aliyuncs.com'], + ['regionId' => 'ap-northeast-1', 'regionName' => '日本(东京)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'ehpcinstant.ap-northeast-1.aliyuncs.com', 'endpoint' => 'ehpcinstant.ap-northeast-1.aliyuncs.com', 'vpc' => 'ehpcinstant-vpc.ap-northeast-1.aliyuncs.com'], + ['regionId' => 'cn-chengdu', 'regionName' => '西南1(成都)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'ehpcinstant.cn-chengdu.aliyuncs.com', 'endpoint' => 'ehpcinstant.cn-chengdu.aliyuncs.com', 'vpc' => 'ehpcinstant-vpc.cn-chengdu.aliyuncs.com'], + ['regionId' => 'cn-shanghai', 'regionName' => '华东2(上海)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'ehpcinstant.cn-shanghai.aliyuncs.com', 'endpoint' => 'ehpcinstant.cn-shanghai.aliyuncs.com', 'vpc' => 'ehpcinstant-vpc.cn-shanghai.aliyuncs.com'], + ['regionId' => 'cn-guangzhou', 'regionName' => '华南3(广州)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'ehpcinstant.cn-guangzhou.aliyuncs.com', 'endpoint' => 'ehpcinstant.cn-guangzhou.aliyuncs.com', 'vpc' => 'ehpcinstant-vpc.cn-guangzhou.aliyuncs.com'], + ['regionId' => 'cn-hongkong', 'regionName' => '中国香港', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'ehpcinstant.cn-hongkong.aliyuncs.com', 'endpoint' => 'ehpcinstant.cn-hongkong.aliyuncs.com', 'vpc' => 'ehpcinstant-vpc.cn-hongkong.aliyuncs.com'], + ['regionId' => 'cn-heyuan', 'regionName' => '华南2(河源)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'ehpcinstant.cn-heyuan.aliyuncs.com', 'endpoint' => 'ehpcinstant.cn-heyuan.aliyuncs.com', 'vpc' => 'ehpcinstant-vpc.cn-heyuan.aliyuncs.com'], + ['regionId' => 'ap-southeast-1', 'regionName' => '新加坡', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'ehpcinstant.ap-southeast-1.aliyuncs.com', 'endpoint' => 'ehpcinstant.ap-southeast-1.aliyuncs.com', 'vpc' => 'ehpcinstant-vpc.ap-southeast-1.aliyuncs.com'], + ['regionId' => 'ap-southeast-3', 'regionName' => '马来西亚(吉隆坡)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'ehpcinstant.ap-southeast-3.aliyuncs.com', 'endpoint' => 'ehpcinstant.ap-southeast-3.aliyuncs.com', 'vpc' => 'ehpcinstant-vpc.ap-southeast-3.aliyuncs.com'], + ['regionId' => 'ap-southeast-5', 'regionName' => '印度尼西亚(雅加达)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'ehpcinstant.ap-southeast-5.aliyuncs.com', 'endpoint' => 'ehpcinstant.ap-southeast-5.aliyuncs.com', 'vpc' => 'ehpcinstant-vpc.ap-southeast-5.aliyuncs.com'], + ['regionId' => 'cn-hangzhou', 'regionName' => '华东1(杭州)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'ehpcinstant.cn-hangzhou.aliyuncs.com', 'endpoint' => 'ehpcinstant.cn-hangzhou.aliyuncs.com', 'vpc' => 'ehpcinstant-vpc.cn-hangzhou.aliyuncs.com'], + ['regionId' => 'eu-central-1', 'regionName' => '德国(法兰克福)', 'areaId' => 'europeAmerica', 'areaName' => '欧洲与美洲', 'public' => 'ehpcinstant.eu-central-1.aliyuncs.com', 'endpoint' => 'ehpcinstant.eu-central-1.aliyuncs.com', 'vpc' => 'ehpcinstant-vpc.eu-central-1.aliyuncs.com'], ], ]; |
