diff options
Diffstat (limited to 'data/devs/2023-07-14/api-docs.php')
| -rw-r--r-- | data/devs/2023-07-14/api-docs.php | 7540 |
1 files changed, 1011 insertions, 6529 deletions
diff --git a/data/devs/2023-07-14/api-docs.php b/data/devs/2023-07-14/api-docs.php index 3dee2a5..bb4c208 100644 --- a/data/devs/2023-07-14/api-docs.php +++ b/data/devs/2023-07-14/api-docs.php @@ -1,163 +1,18 @@ <?php return [ 'version' => '1.0', - 'info' => [ - 'style' => 'ROA', - 'product' => 'Devs', - 'version' => '2023-07-14', - ], + 'info' => ['style' => 'ROA', 'product' => 'Devs', 'version' => '2023-07-14'], 'components' => [ 'schemas' => [ 'APIKeyAuthParameter' => [ 'type' => 'object', 'properties' => [ - 'encrypted' => [ - 'type' => 'boolean', - ], 'in' => [ 'type' => 'string', - 'enum' => [ - 'header', - 'query', - ], - ], - 'value' => [ - 'type' => 'string', - ], - 'key' => [ - 'type' => 'string', - ], - ], - ], - 'Artifact' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'uid' => [ - 'type' => 'string', - 'required' => false, - ], - 'kind' => [ - 'type' => 'string', - ], - 'createdTime' => [ - 'type' => 'string', - ], - 'updatedTime' => [ - 'type' => 'string', - ], - 'name' => [ - 'type' => 'string', - 'required' => true, - 'minLength' => 1, - 'maxLength' => 64, - 'pattern' => '^[a-zA-Z_][a-zA-Z0-9_-]{0,63}$', - ], - 'spec' => [ - '$ref' => '#/components/schemas/ArtifactSpec', - 'required' => false, - ], - 'labels' => [ - 'type' => 'object', - 'additionalProperties' => [ - 'type' => 'string', - ], - ], - 'resourceVersion' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'description' => [ - 'type' => 'string', - ], - 'status' => [ - '$ref' => '#/components/schemas/ArtifactStatus', - ], - 'generation' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - ], - ], - 'ArtifactCode' => [ - 'type' => 'object', - 'properties' => [ - 'checksum' => [ - 'type' => 'string', - ], - 'url' => [ - 'type' => 'string', - ], - ], - ], - 'ArtifactMeta' => [ - 'type' => 'object', - 'properties' => [ - 'name' => [ - 'type' => 'string', - ], - 'checksum' => [ - 'type' => 'string', - ], - ], - ], - 'ArtifactSpec' => [ - 'type' => 'object', - 'properties' => [ - 'runtime' => [ - 'type' => 'string', - 'required' => true, - ], - 'type' => [ - 'type' => 'string', - 'required' => true, - ], - 'uri' => [ - 'type' => 'string', - 'required' => true, - ], - ], - ], - 'ArtifactStatus' => [ - 'type' => 'object', - 'properties' => [ - 'size' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'checksum' => [ - 'type' => 'string', - ], - 'arn' => [ - 'type' => 'string', - ], - ], - ], - 'ArtifactTempBucketToken' => [ - 'type' => 'object', - 'properties' => [ - 'ossObjectName' => [ - 'type' => 'string', - ], - 'ossBucketName' => [ - 'type' => 'string', - ], - 'ossRegion' => [ - 'type' => 'string', - ], - 'credentials' => [ - 'type' => 'object', - 'properties' => [ - 'accessKeyId' => [ - 'type' => 'string', - ], - 'accessKeySecret' => [ - 'type' => 'string', - ], - 'securityToken' => [ - 'type' => 'string', - ], - ], + 'enum' => ['header', 'query'], ], + 'key' => ['type' => 'string'], + 'value' => ['type' => 'string'], + 'encrypted' => ['type' => 'boolean'], ], ], 'Authorization' => [ @@ -166,148 +21,79 @@ 'type' => [ 'type' => 'string', 'required' => true, - 'enum' => [ - 'APIKey', - ], + 'enum' => ['APIKey', 'Credentials'], ], 'parameters' => [ 'type' => 'object', 'required' => true, 'properties' => [ - 'apiKeyParameter' => [ - '$ref' => '#/components/schemas/APIKeyAuthParameter', + 'apiKeyParameter' => ['$ref' => '#/components/schemas/APIKeyAuthParameter'], + 'credentials' => [ + 'type' => 'object', + 'additionalProperties' => ['$ref' => '#/components/schemas/Variable'], ], ], ], ], ], - 'BranchFilter' => [ - 'type' => 'object', - 'properties' => [ - 'name' => [ - 'type' => 'string', - ], - ], - ], - 'BuildCacheConfig' => [ - 'type' => 'object', - 'properties' => [ - 'paths' => [ - 'type' => 'array', - 'items' => [ - 'type' => 'string', - ], - ], - 'keyPath' => [ - 'type' => 'object', - ], - ], - ], - 'BuildConfig' => [ - 'type' => 'object', - 'properties' => [ - 'default' => [ - '$ref' => '#/components/schemas/DefaultBuilderConfig', - ], - ], - ], 'Checkout' => [ 'type' => 'object', 'properties' => [ - 'remote' => [ - 'type' => 'string', - ], - 'ref' => [ - 'type' => 'string', - ], + 'remote' => ['type' => 'string'], + 'ref' => ['type' => 'string'], ], ], - 'CodeVersionReference' => [ + 'CodeupEventPayload' => [ 'type' => 'object', 'properties' => [ - 'branch' => [ - 'type' => 'string', - ], - 'commitID' => [ - 'type' => 'string', - ], + 'originalPayload' => ['type' => 'string', 'format' => 'byte'], ], ], 'ComfyUIWorkflowTemplate' => [ 'type' => 'object', 'properties' => [ - 'name' => [ - 'type' => 'string', - ], - 'kind' => [ - 'type' => 'string', - ], - 'uid' => [ - 'type' => 'string', - ], - 'createdTime' => [ - 'type' => 'string', - ], - 'description' => [ - 'type' => 'string', - ], - 'spec' => [ - '$ref' => '#/components/schemas/ComfyUIWorkflowTemplateSpec', - ], + 'name' => ['type' => 'string'], + 'kind' => ['type' => 'string'], + 'uid' => ['type' => 'string'], + 'createdTime' => ['type' => 'string'], + 'description' => ['type' => 'string'], + 'spec' => ['$ref' => '#/components/schemas/ComfyUIWorkflowTemplateSpec'], + 'installCount' => ['type' => 'integer', 'format' => 'int32'], + 'viewerUids' => ['type' => 'string'], 'labels' => [ 'type' => 'object', - 'additionalProperties' => [ - 'type' => 'string', - ], - ], - 'installCount' => [ - 'type' => 'integer', - 'format' => 'int32', + 'additionalProperties' => ['type' => 'string'], ], ], ], 'ComfyUIWorkflowTemplateSpec' => [ 'type' => 'object', 'properties' => [ - 'displayName' => [ - 'type' => 'string', - ], + 'displayName' => ['type' => 'string'], 'author' => [ 'type' => 'object', 'properties' => [ - 'name' => [ - 'type' => 'string', - ], - 'type' => [ - 'type' => 'string', - ], - 'avatarUrl' => [ - 'type' => 'string', - ], + 'name' => ['type' => 'string'], + 'type' => ['type' => 'string'], + 'avatarUrl' => ['type' => 'string'], ], ], 'coverUrls' => [ 'type' => 'array', - 'items' => [ - 'type' => 'string', - ], + 'items' => ['type' => 'string'], ], 'versions' => [ 'type' => 'object', 'additionalProperties' => [ 'type' => 'object', 'properties' => [ - 'snapshotName' => [ - 'type' => 'string', - ], + 'snapshotName' => ['type' => 'string'], 'flows' => [ 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'name' => [ - 'type' => 'string', - ], + 'name' => ['type' => 'string'], ], ], ], @@ -316,31 +102,19 @@ 'items' => [ 'type' => 'object', 'properties' => [ - 'path' => [ - 'type' => 'string', - ], - 'name' => [ - 'type' => 'string', - ], - 'size' => [ - 'type' => 'string', - ], + 'path' => ['type' => 'string'], + 'name' => ['type' => 'string'], + 'size' => ['type' => 'string'], 'source' => [ 'type' => 'object', 'properties' => [ - 'type' => [ - 'type' => 'string', - ], - 'webUrl' => [ - 'type' => 'string', - ], + 'type' => ['type' => 'string'], + 'webUrl' => ['type' => 'string'], ], ], 'downloadUrls' => [ 'type' => 'object', - 'additionalProperties' => [ - 'type' => 'string', - ], + 'additionalProperties' => ['type' => 'string'], ], ], ], @@ -350,32 +124,20 @@ 'items' => [ 'type' => 'object', 'properties' => [ - 'name' => [ - 'type' => 'string', - ], + 'name' => ['type' => 'string'], 'version' => [ 'type' => 'object', 'properties' => [ - 'type' => [ - 'type' => 'string', - ], - 'value' => [ - 'type' => 'string', - ], + 'type' => ['type' => 'string'], + 'value' => ['type' => 'string'], ], ], 'source' => [ 'type' => 'object', 'properties' => [ - 'type' => [ - 'type' => 'string', - ], - 'webUrl' => [ - 'type' => 'string', - ], - 'cloneUrl' => [ - 'type' => 'string', - ], + 'type' => ['type' => 'string'], + 'webUrl' => ['type' => 'string'], + 'cloneUrl' => ['type' => 'string'], ], ], ], @@ -386,3331 +148,157 @@ ], 'publishedVersions' => [ 'type' => 'array', - 'items' => [ - 'type' => 'string', - ], - ], - ], - ], - 'ComfyUIWorkflowTemplateTask' => [ - 'type' => 'object', - 'properties' => [ - 'name' => [ - 'type' => 'string', - ], - 'kind' => [ - 'type' => 'string', - ], - 'uid' => [ - 'type' => 'string', - ], - 'createdTime' => [ - 'type' => 'string', - ], - 'description' => [ - 'type' => 'string', - ], - 'spec' => [ - '$ref' => '#/components/schemas/ComfyUIWorkflowTemplateTaskSpec', - ], - 'status' => [ - '$ref' => '#/components/schemas/ComfyUIWorkflowTemplateTaskStatus', - ], - 'labels' => [ - 'type' => 'object', - 'additionalProperties' => [ - 'type' => 'string', - ], - ], - ], - ], - 'ComfyUIWorkflowTemplateTaskSpec' => [ - 'type' => 'object', - 'properties' => [ - 'templateName' => [ - 'type' => 'string', - ], - 'region' => [ - 'type' => 'string', - ], - 'projectName' => [ - 'type' => 'string', - ], - 'devFunctionName' => [ - 'type' => 'string', - ], - 'installConfig' => [ - 'type' => 'object', - 'properties' => [ - 'version' => [ - 'type' => 'string', - ], - 'autoInstall' => [ - 'type' => 'boolean', - ], - 'template' => [ - '$ref' => '#/components/schemas/ComfyUIWorkflowTemplateSpec', - ], - ], - ], - ], - ], - 'ComfyUIWorkflowTemplateTaskStatus' => [ - 'type' => 'object', - 'properties' => [ - 'install' => [ - 'type' => 'object', - 'properties' => [ - 'phase' => [ - 'type' => 'string', - ], - 'invocationID' => [ - 'type' => 'string', - ], - 'message' => [ - 'type' => 'string', - ], - 'startTime' => [ - 'type' => 'string', - ], - 'finishedTime' => [ - 'type' => 'string', - ], - ], + 'items' => ['type' => 'string'], ], ], ], 'Condition' => [ 'type' => 'object', 'properties' => [ - 'expression' => [ - 'type' => 'string', - ], + 'expression' => ['type' => 'string'], ], ], 'Connection' => [ 'type' => 'object', 'properties' => [ - 'uid' => [ - 'type' => 'string', - 'required' => false, - ], - 'kind' => [ - 'type' => 'string', - ], - 'createdTime' => [ - 'type' => 'string', - ], - 'name' => [ - 'type' => 'string', - 'required' => true, - 'minLength' => 1, - 'maxLength' => 40, - 'pattern' => '[a-z](?!-)[a-z0-9-]{1,40}(?<!-)', - ], - 'spec' => [ - '$ref' => '#/components/schemas/ConnectionSpec', - 'required' => true, - ], + 'uid' => ['type' => 'string', 'required' => false], + 'kind' => ['type' => 'string'], + 'createdTime' => ['type' => 'string'], + 'name' => ['type' => 'string', 'required' => true, 'minLength' => 1, 'maxLength' => 40, 'pattern' => '[a-z](?!-)[a-z0-9-]{1,40}(?<!-)'], + 'spec' => ['$ref' => '#/components/schemas/ConnectionSpec', 'required' => true], 'labels' => [ 'type' => 'object', - 'additionalProperties' => [ - 'type' => 'string', - ], - ], - 'description' => [ - 'type' => 'string', - ], - 'status' => [ - '$ref' => '#/components/schemas/ConnectionStatus', + 'additionalProperties' => ['type' => 'string'], ], + 'description' => ['type' => 'string'], + 'status' => ['$ref' => '#/components/schemas/ConnectionStatus'], ], ], 'ConnectionSpec' => [ 'type' => 'object', 'properties' => [ - 'platform' => [ - 'type' => 'string', - 'required' => true, - ], - 'account' => [ - '$ref' => '#/components/schemas/GitAccount', - ], - 'gitlabConfig' => [ - '$ref' => '#/components/schemas/GitLabConfig', - ], + 'platform' => ['type' => 'string', 'required' => true], + 'account' => ['$ref' => '#/components/schemas/GitAccount'], + 'gitlabConfig' => ['$ref' => '#/components/schemas/GitLabConfig'], ], ], 'ConnectionStatus' => [ 'type' => 'object', 'properties' => [ - 'installation' => [ - '$ref' => '#/components/schemas/Installation', - ], + 'installation' => ['$ref' => '#/components/schemas/Installation'], ], ], 'Context' => [ 'type' => 'object', 'properties' => [ - 'data' => [ - 'type' => 'object', - ], - ], - ], - 'ContextSchema' => [ - 'type' => 'object', - 'properties' => [ - 'type' => [ - 'type' => 'string', - ], - 'description' => [ - 'type' => 'string', - ], - 'required' => [ - 'type' => 'boolean', - ], - 'hint' => [ - 'type' => 'string', - ], - 'name' => [ - 'type' => 'string', - ], - ], - ], - 'DefaultBuilderConfig' => [ - 'type' => 'object', - 'properties' => [ - 'cache' => [ - '$ref' => '#/components/schemas/BuildCacheConfig', - ], - 'languages' => [ - 'type' => 'array', - 'items' => [ - 'type' => 'string', - ], - ], - 'rootPath' => [ - 'type' => 'string', - ], - 'steps' => [ - 'type' => 'array', - 'items' => [ - 'type' => 'any', - ], - ], - ], - ], - 'DeleteModelOutput' => [ - 'type' => 'object', - 'properties' => [ - 'requestId' => [ - 'type' => 'string', - ], - 'success' => [ - 'type' => 'boolean', - ], - 'errCode' => [ - 'type' => 'string', - ], - 'errMsg' => [ - 'type' => 'string', - ], - ], - ], - 'DeployCustomContainerAsyncOutput' => [ - 'type' => 'object', - 'properties' => [ - 'requestId' => [ - 'type' => 'string', - 'required' => true, - ], - 'success' => [ - 'type' => 'boolean', - ], - 'errCode' => [ - 'type' => 'string', - ], - 'errMsg' => [ - 'type' => 'string', - ], - 'data' => [ - 'type' => 'string', - ], - ], - ], - 'DeployCustomContainerInput' => [ - 'type' => 'object', - 'properties' => [ - 'memorySize' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'description' => [ - 'type' => 'string', - ], - 'accountID' => [ - 'type' => 'string', - ], - 'vpcConfig' => [ - 'type' => 'object', - 'properties' => [ - 'securityGroupId' => [ - 'type' => 'string', - ], - 'vSwitchIds' => [ - 'type' => 'array', - 'items' => [ - 'type' => 'string', - ], - ], - 'vpcId' => [ - 'type' => 'string', - ], - ], - ], - 'projectName' => [ - 'type' => 'string', - ], - 'timeout' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'reportStatusURL' => [ - 'type' => 'string', - ], - 'cpu' => [ - 'type' => 'number', - 'format' => 'float', - ], - 'originalName' => [ - 'type' => 'string', - ], - 'provisionConfig' => [ - 'type' => 'object', - 'properties' => [ - 'scheduledActions' => [ - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'scheduleExpression' => [ - 'type' => 'string', - ], - 'name' => [ - 'type' => 'string', - ], - 'timeZone' => [ - 'type' => 'string', - ], - 'startTime' => [ - 'type' => 'string', - ], - 'endTime' => [ - 'type' => 'string', - ], - 'target' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - ], - ], - ], - 'alwaysAllocateGPU' => [ - 'type' => 'boolean', - ], - 'target' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - ], - ], - 'name' => [ - 'type' => 'string', - 'required' => true, - ], - 'role' => [ - 'type' => 'string', - 'required' => true, - ], - 'gpuConfig' => [ - 'type' => 'object', - 'properties' => [ - 'gpuMemorySize' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'gpuType' => [ - 'type' => 'string', - ], - ], - ], - 'diskSize' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'traceId' => [ - 'type' => 'string', - ], - 'region' => [ - 'type' => 'string', - ], - 'httpTrigger' => [ - 'type' => 'object', - 'properties' => [ - 'triggerConfig' => [ - 'type' => 'object', - 'properties' => [ - 'authConfig' => [ - 'type' => 'string', - ], - 'methods' => [ - 'type' => 'array', - 'items' => [ - 'type' => 'string', - ], - ], - 'authType' => [ - 'type' => 'string', - ], - 'dsableURLInternet' => [ - 'type' => 'boolean', - ], - 'disableURLInternet' => [ - 'type' => 'boolean', - ], - ], - ], - 'qualifier' => [ - 'type' => 'string', - ], - ], - ], - 'nasConfig' => [ - 'type' => 'object', - 'properties' => [ - 'groupId' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'mountPoints' => [ - 'type' => 'array', - 'items' => [ - 'type' => 'string', - ], - ], - 'userId' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - ], - ], - 'envName' => [ - 'type' => 'string', - ], - 'logConfig' => [ - 'type' => 'object', - 'properties' => [ - 'enableRequestMetrics' => [ - 'type' => 'boolean', - ], - 'enableInstanceMetrics' => [ - 'type' => 'boolean', - ], - 'logBeginRule' => [ - 'type' => 'string', - ], - 'project' => [ - 'type' => 'string', - ], - 'logstore' => [ - 'type' => 'string', - ], - ], - ], - 'environmentVariables' => [ - 'type' => 'object', - ], - 'customContainerConfig' => [ - 'type' => 'object', - 'properties' => [ - 'image' => [ - 'type' => 'string', - ], - 'role' => [ - 'type' => 'string', - ], - 'port' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'instanceLifecycleConfig' => [ - 'type' => 'object', - 'properties' => [ - 'preStop' => [ - 'type' => 'object', - 'properties' => [ - 'handler' => [ - 'type' => 'string', - ], - 'timeout' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - ], - ], - 'initializer' => [ - 'type' => 'object', - 'properties' => [ - 'handler' => [ - 'type' => 'string', - ], - 'timeout' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - ], - ], - ], - ], - 'entrypoint' => [ - 'type' => 'array', - 'items' => [ - 'type' => 'string', - ], - ], - 'command' => [ - 'type' => 'array', - 'items' => [ - 'type' => 'string', - ], - ], - 'instanceConcurrency' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'healthCheckConfig' => [ - 'type' => 'object', - 'properties' => [ - 'failureThreshold' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'httpGetUrl' => [ - 'type' => 'string', - ], - 'periodSeconds' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'timeoutSeconds' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'successThreshold' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'initialDelaySeconds' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - ], - ], - ], - ], - 'modelConfig' => [ - 'type' => 'object', - 'properties' => [ - 'srcModelScopeModelID' => [ - 'type' => 'string', - ], - 'prefix' => [ - 'type' => 'string', - ], - 'workingDir' => [ - 'type' => 'string', - ], - 'srcOssBucket' => [ - 'type' => 'string', - ], - 'withPPU' => [ - 'type' => 'boolean', - ], - 'skipDownload' => [ - 'type' => 'boolean', - ], - 'srcModelScopeModelRevision' => [ - 'type' => 'string', - ], - 'framework' => [ - 'type' => 'string', - ], - 'sourceType' => [ - 'type' => 'string', - ], - 'srcOssRegion' => [ - 'type' => 'string', - ], - 'srcModelScopeToken' => [ - 'type' => 'string', - ], - 'multiModelConfig' => [ - 'type' => 'array', - 'items' => [ - '$ref' => '#/components/schemas/ModelConfig', - ], - ], - 'syncStrategy' => [ - 'type' => 'string', - ], - 'srcOssPath' => [ - 'type' => 'string', - ], - ], - ], - 'concurrencyConfig' => [ - 'type' => 'object', - 'properties' => [ - 'reservedConcurrency' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - ], - ], - 'ossMountConfig' => [ - 'type' => 'object', - 'properties' => [ - 'mountPoints' => [ - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'bucketName' => [ - 'type' => 'string', - ], - 'endpoint' => [ - 'type' => 'string', - ], - 'bucketPath' => [ - 'type' => 'string', - ], - 'mountDir' => [ - 'type' => 'string', - ], - 'readOnly' => [ - 'type' => 'boolean', - ], - ], - ], - ], - ], - ], - 'asyncInvokeConfig' => [ - 'type' => 'object', - 'properties' => [ - 'asyncTask' => [ - 'type' => 'boolean', - ], - 'maxAsyncEventAgeInSeconds' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'destinationConfig' => [ - 'type' => 'object', - 'properties' => [ - 'onFailure' => [ - 'type' => 'object', - 'properties' => [ - 'destination' => [ - 'type' => 'string', - ], - ], - ], - 'onSuccess' => [ - 'type' => 'object', - 'properties' => [ - 'destination' => [ - 'type' => 'string', - ], - ], - ], - ], - ], - 'maxAsyncRetryAttempts' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - ], - ], - 'featureGates' => [ - 'type' => 'object', - 'properties' => [ - 'asyncProvisionCheck' => [ - 'type' => 'boolean', - ], - 'disableRollbackOnProvisionFailure' => [ - 'type' => 'boolean', - ], - ], - ], - ], - ], - 'DeployCustomContainerOutput' => [ - 'type' => 'object', - 'properties' => [ - 'data' => [ - 'type' => 'object', - 'properties' => [ - 'traceID' => [ - 'type' => 'string', - ], - 'vpcConfigStr' => [ - 'type' => 'string', - ], - 'urlInternet' => [ - 'type' => 'string', - ], - 'deploymentTaskID' => [ - 'type' => 'string', - ], - 'nasConfigStr' => [ - 'type' => 'string', - ], - 'errorMessage' => [ - 'type' => 'string', - ], - 'finished' => [ - 'type' => 'boolean', - ], - 'serviceName' => [ - 'type' => 'string', - ], - 'urlIntranet' => [ - 'type' => 'string', - ], - ], - ], - 'requestId' => [ - 'type' => 'string', - 'required' => true, - ], - 'success' => [ - 'type' => 'boolean', - ], - 'errCode' => [ - 'type' => 'string', - ], - 'errMsg' => [ - 'type' => 'string', - ], - ], - ], - 'DeployEnvironmentOptions' => [ - 'type' => 'object', - 'properties' => [ - 'services' => [ - 'type' => 'array', - 'items' => [ - 'type' => 'string', - ], - ], - ], - ], - 'DeployHuggingFaceModelAsyncOutput' => [ - 'type' => 'object', - 'properties' => [ - 'data' => [ - 'type' => 'string', - ], - 'requestId' => [ - 'type' => 'string', - 'required' => true, - ], - 'success' => [ - 'type' => 'boolean', - ], - 'errCode' => [ - 'type' => 'string', - ], - 'errMsg' => [ - 'type' => 'string', - ], - ], - ], - 'DeployHuggingFaceModelInput' => [ - 'type' => 'object', - 'properties' => [ - 'traceId' => [ - 'type' => 'string', - ], - 'logConfig' => [ - 'type' => 'object', - 'properties' => [ - 'enableRequestMetrics' => [ - 'type' => 'boolean', - ], - 'enableInstanceMetrics' => [ - 'type' => 'boolean', - ], - 'logBeginRule' => [ - 'type' => 'string', - ], - 'project' => [ - 'type' => 'string', - ], - 'logstore' => [ - 'type' => 'string', - ], - ], - ], - 'role' => [ - 'type' => 'string', - 'required' => true, - ], - 'imageName' => [ - 'type' => 'string', - ], - 'modelConfig' => [ - 'type' => 'object', - 'properties' => [ - 'srcModelScopeModelID' => [ - 'type' => 'string', - ], - 'prefix' => [ - 'type' => 'string', - ], - 'workingDir' => [ - 'type' => 'string', - ], - 'srcOssBucket' => [ - 'type' => 'string', - ], - 'withPPU' => [ - 'type' => 'boolean', - ], - 'fmkHuggingFaceConfig' => [ - 'type' => 'object', - 'properties' => [ - 'task' => [ - 'type' => 'string', - ], - 'framework' => [ - 'type' => 'string', - ], - ], - ], - 'skipDownload' => [ - 'type' => 'boolean', - ], - 'srcModelScopeModelRevision' => [ - 'type' => 'string', - ], - 'framework' => [ - 'type' => 'string', - ], - 'sourceType' => [ - 'type' => 'string', - ], - 'srcOssRegion' => [ - 'type' => 'string', - ], - 'srcModelScopeToken' => [ - 'type' => 'string', - ], - 'multiModelConfig' => [ - 'type' => 'array', - 'items' => [ - '$ref' => '#/components/schemas/ModelConfig', - ], - ], - 'syncStrategy' => [ - 'type' => 'string', - ], - 'srcOssPath' => [ - 'type' => 'string', - ], - ], - ], - 'gpuConfig' => [ - 'type' => 'object', - 'properties' => [ - 'gpuMemorySize' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'gpuType' => [ - 'type' => 'string', - ], - ], - ], - 'nasConfig' => [ - 'type' => 'object', - 'properties' => [ - 'groupId' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'mountPoints' => [ - 'type' => 'array', - 'items' => [ - 'type' => 'string', - ], - ], - 'userId' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - ], - ], - 'description' => [ - 'type' => 'string', - ], - 'cpu' => [ - 'type' => 'number', - 'format' => 'float', - ], - 'timeout' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'originalName' => [ - 'type' => 'string', - ], - 'accountID' => [ - 'type' => 'string', - ], - 'httpTrigger' => [ - 'type' => 'object', - 'properties' => [ - 'triggerConfig' => [ - 'type' => 'object', - 'properties' => [ - 'authConfig' => [ - 'type' => 'string', - ], - 'methods' => [ - 'type' => 'array', - 'items' => [ - 'type' => 'string', - ], - ], - 'authType' => [ - 'type' => 'string', - ], - 'dsableURLInternet' => [ - 'type' => 'boolean', - ], - 'disableURLInternet' => [ - 'type' => 'boolean', - ], - ], - ], - 'qualifier' => [ - 'type' => 'string', - ], - ], - ], - 'reportStatusURL' => [ - 'type' => 'string', - ], - 'provisionConfig' => [ - 'type' => 'object', - 'properties' => [ - 'scheduledActions' => [ - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'scheduleExpression' => [ - 'type' => 'string', - ], - 'name' => [ - 'type' => 'string', - ], - 'timeZone' => [ - 'type' => 'string', - ], - 'startTime' => [ - 'type' => 'string', - ], - 'endTime' => [ - 'type' => 'string', - ], - 'target' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - ], - ], - ], - 'alwaysAllocateGPU' => [ - 'type' => 'boolean', - ], - 'target' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - ], - ], - 'diskSize' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'memorySize' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'envName' => [ - 'type' => 'string', - ], - 'vpcConfig' => [ - 'type' => 'object', - 'properties' => [ - 'securityGroupId' => [ - 'type' => 'string', - ], - 'vSwitchIds' => [ - 'type' => 'array', - 'items' => [ - 'type' => 'string', - ], - ], - 'vpcId' => [ - 'type' => 'string', - ], - ], - ], - 'name' => [ - 'type' => 'string', - 'required' => true, - ], - 'projectName' => [ - 'type' => 'string', - ], - 'region' => [ - 'type' => 'string', - ], - 'concurrencyConfig' => [ - 'type' => 'object', - 'properties' => [ - 'reservedConcurrency' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - ], - ], - 'instanceConcurrency' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'environmentVariables' => [ - 'type' => 'object', - ], - 'featureGates' => [ - 'type' => 'object', - 'properties' => [ - 'asyncProvisionCheck' => [ - 'type' => 'boolean', - ], - 'disableRollbackOnProvisionFailure' => [ - 'type' => 'boolean', - ], - ], - ], - ], - ], - 'DeployHuggingFaceModelOutput' => [ - 'type' => 'object', - 'properties' => [ - 'data' => [ - 'type' => 'object', - 'properties' => [ - 'traceID' => [ - 'type' => 'string', - ], - 'taskType' => [ - 'type' => 'string', - ], - 'urlInternet' => [ - 'type' => 'string', - ], - 'deploymentTaskID' => [ - 'type' => 'string', - ], - 'errorMessage' => [ - 'type' => 'string', - ], - 'finished' => [ - 'type' => 'boolean', - ], - 'serviceName' => [ - 'type' => 'string', - ], - 'urlIntranet' => [ - 'type' => 'string', - ], - ], - ], - 'requestId' => [ - 'type' => 'string', - 'required' => true, - ], - 'success' => [ - 'type' => 'boolean', - ], - 'errCode' => [ - 'type' => 'string', - ], - 'errMsg' => [ - 'type' => 'string', - ], - ], - ], - 'DeployModelScopeModelAsyncOutput' => [ - 'type' => 'object', - 'properties' => [ - 'requestId' => [ - 'type' => 'string', - 'required' => true, - ], - 'success' => [ - 'type' => 'boolean', - ], - 'errCode' => [ - 'type' => 'string', - ], - 'errMsg' => [ - 'type' => 'string', - ], - 'data' => [ - 'type' => 'string', - ], - ], - ], - 'DeployModelScopeModelInput' => [ - 'type' => 'object', - 'properties' => [ - 'role' => [ - 'type' => 'string', - 'required' => true, - ], - 'modelConfig' => [ - 'type' => 'object', - 'properties' => [ - 'srcModelScopeModelID' => [ - 'type' => 'string', - ], - 'srcModelScopeModelRevision' => [ - 'type' => 'string', - ], - 'framework' => [ - 'type' => 'string', - ], - 'sourceType' => [ - 'type' => 'string', - ], - 'srcOssRegion' => [ - 'type' => 'string', - ], - 'prefix' => [ - 'type' => 'string', - ], - 'srcOssBucket' => [ - 'type' => 'string', - ], - 'srcModelScopeToken' => [ - 'type' => 'string', - ], - 'multiModelConfig' => [ - 'type' => 'array', - 'items' => [ - '$ref' => '#/components/schemas/ModelConfig', - ], - ], - 'syncStrategy' => [ - 'type' => 'string', - ], - 'srcOssPath' => [ - 'type' => 'string', - ], - ], - ], - 'nasConfig' => [ - 'type' => 'object', - 'properties' => [ - 'groupId' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'mountPoints' => [ - 'type' => 'array', - 'items' => [ - 'type' => 'string', - ], - ], - 'userId' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - ], - ], - 'description' => [ - 'type' => 'string', - ], - 'concurrencyConfig' => [ - 'type' => 'object', - 'properties' => [ - 'reservedConcurrency' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - ], - ], - 'timeout' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'originalName' => [ - 'type' => 'string', - ], - 'accountID' => [ - 'type' => 'string', - ], - 'httpTrigger' => [ - 'type' => 'object', - 'properties' => [ - 'triggerConfig' => [ - 'type' => 'object', - 'properties' => [ - 'authConfig' => [ - 'type' => 'string', - ], - 'methods' => [ - 'type' => 'array', - 'items' => [ - 'type' => 'string', - ], - ], - 'authType' => [ - 'type' => 'string', - ], - 'dsableURLInternet' => [ - 'type' => 'boolean', - ], - 'disableURLInternet' => [ - 'type' => 'boolean', - ], - ], - ], - 'qualifier' => [ - 'type' => 'string', - ], - ], - ], - 'diskSize' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'traceId' => [ - 'type' => 'string', - ], - 'logConfig' => [ - 'type' => 'object', - 'properties' => [ - 'enableRequestMetrics' => [ - 'type' => 'boolean', - ], - 'enableInstanceMetrics' => [ - 'type' => 'boolean', - ], - 'logBeginRule' => [ - 'type' => 'string', - ], - 'project' => [ - 'type' => 'string', - ], - 'logstore' => [ - 'type' => 'string', - ], - ], - ], - 'imageName' => [ - 'type' => 'string', - ], - 'gpuConfig' => [ - 'type' => 'object', - 'properties' => [ - 'gpuMemorySize' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'gpuType' => [ - 'type' => 'string', - ], - ], - ], - 'cpu' => [ - 'type' => 'number', - 'format' => 'float', - ], - 'instanceConcurrency' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'reportStatusURL' => [ - 'type' => 'string', - ], - 'provisionConfig' => [ - 'type' => 'object', - 'properties' => [ - 'scheduledActions' => [ - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'scheduleExpression' => [ - 'type' => 'string', - ], - 'name' => [ - 'type' => 'string', - ], - 'timeZone' => [ - 'type' => 'string', - ], - 'startTime' => [ - 'type' => 'string', - ], - 'endTime' => [ - 'type' => 'string', - ], - 'target' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - ], - ], - ], - 'alwaysAllocateGPU' => [ - 'type' => 'boolean', - ], - 'target' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - ], - ], - 'memorySize' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'envName' => [ - 'type' => 'string', - ], - 'environmentVariables' => [ - 'type' => 'object', - ], - 'vpcConfig' => [ - 'type' => 'object', - 'properties' => [ - 'securityGroupId' => [ - 'type' => 'string', - ], - 'vSwitchIds' => [ - 'type' => 'array', - 'items' => [ - 'type' => 'string', - ], - ], - 'vpcId' => [ - 'type' => 'string', - ], - ], - ], - 'name' => [ - 'type' => 'string', - 'required' => true, - ], - 'projectName' => [ - 'type' => 'string', - ], - 'region' => [ - 'type' => 'string', - ], - ], - ], - 'DeployModelScopeModelOutput' => [ - 'type' => 'object', - 'properties' => [ - 'requestId' => [ - 'type' => 'string', - 'required' => true, - ], - 'success' => [ - 'type' => 'boolean', - ], - 'errCode' => [ - 'type' => 'string', - ], - 'errMsg' => [ - 'type' => 'string', - ], - 'data' => [ - 'type' => 'object', - 'properties' => [ - 'taskType' => [ - 'type' => 'string', - ], - 'serviceName' => [ - 'type' => 'string', - ], - 'urlIntranet' => [ - 'type' => 'string', - ], - 'urlInternet' => [ - 'type' => 'string', - ], - 'traceID' => [ - 'type' => 'string', - ], - 'deploymentTaskID' => [ - 'type' => 'string', - ], - 'finished' => [ - 'type' => 'boolean', - ], - 'errorMessage' => [ - 'type' => 'string', - ], - ], - ], - ], - ], - 'DeployOllamaModelAsyncOutput' => [ - 'type' => 'object', - 'properties' => [ - 'data' => [ - 'type' => 'string', - ], - 'requestId' => [ - 'type' => 'string', - 'required' => true, - ], - 'success' => [ - 'type' => 'boolean', - ], - 'errCode' => [ - 'type' => 'string', - ], - 'errMsg' => [ - 'type' => 'string', - ], - ], - ], - 'DeployOllamaModelInput' => [ - 'type' => 'object', - 'properties' => [ - 'traceId' => [ - 'type' => 'string', - ], - 'logConfig' => [ - 'type' => 'object', - 'properties' => [ - 'enableRequestMetrics' => [ - 'type' => 'boolean', - ], - 'enableInstanceMetrics' => [ - 'type' => 'boolean', - ], - 'logBeginRule' => [ - 'type' => 'string', - ], - 'project' => [ - 'type' => 'string', - ], - 'logstore' => [ - 'type' => 'string', - ], - ], - ], - 'role' => [ - 'type' => 'string', - 'required' => true, - ], - 'imageName' => [ - 'type' => 'string', - ], - 'modelConfig' => [ - 'type' => 'object', - 'properties' => [ - 'srcModelScopeModelID' => [ - 'type' => 'string', - ], - 'prefix' => [ - 'type' => 'string', - ], - 'workingDir' => [ - 'type' => 'string', - ], - 'srcOssBucket' => [ - 'type' => 'string', - ], - 'withPPU' => [ - 'type' => 'boolean', - ], - 'skipDownload' => [ - 'type' => 'boolean', - ], - 'srcModelScopeModelRevision' => [ - 'type' => 'string', - ], - 'framework' => [ - 'type' => 'string', - ], - 'sourceType' => [ - 'type' => 'string', - ], - 'srcOssRegion' => [ - 'type' => 'string', - ], - 'srcModelScopeToken' => [ - 'type' => 'string', - ], - 'fmkOllamaConfig' => [ - 'type' => 'object', - 'properties' => [ - 'mirostat' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'seed' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'modelfileParams' => [ - 'type' => 'string', - ], - 'modelfileFullTextPostfix' => [ - 'type' => 'string', - ], - 'singleModelFile' => [ - 'type' => 'string', - ], - 'modelfileTemplate' => [ - 'type' => 'string', - ], - 'minP' => [ - 'type' => 'number', - 'format' => 'float', - ], - 'tfsZ' => [ - 'type' => 'number', - 'format' => 'float', - ], - 'stream' => [ - 'type' => 'boolean', - ], - 'temperature' => [ - 'type' => 'number', - 'format' => 'float', - ], - 'quantize' => [ - 'type' => 'string', - ], - 'numCtx' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'repeatPenalty' => [ - 'type' => 'number', - 'format' => 'float', - ], - 'numPredict' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'topK' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'mirostatEta' => [ - 'type' => 'number', - 'format' => 'float', - ], - 'modelfileAdditionalFromsString' => [ - 'type' => 'string', - ], - 'topP' => [ - 'type' => 'number', - 'format' => 'float', - ], - 'modelName' => [ - 'type' => 'string', - ], - 'stop' => [ - 'type' => 'string', - ], - 'modelfileAdapter' => [ - 'type' => 'string', - ], - 'modelfileSystem' => [ - 'type' => 'string', - ], - 'splitedModelStartFile' => [ - 'type' => 'string', - ], - 'mirostatTau' => [ - 'type' => 'number', - 'format' => 'float', - ], - 'repeatLastN' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - ], - ], - 'multiModelConfig' => [ - 'type' => 'array', - 'items' => [ - '$ref' => '#/components/schemas/ModelConfig', - ], - ], - 'syncStrategy' => [ - 'type' => 'string', - ], - 'srcOssPath' => [ - 'type' => 'string', - ], - ], - ], - 'gpuConfig' => [ - 'type' => 'object', - 'properties' => [ - 'gpuMemorySize' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'gpuType' => [ - 'type' => 'string', - ], - ], - ], - 'nasConfig' => [ - 'type' => 'object', - 'properties' => [ - 'groupId' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'mountPoints' => [ - 'type' => 'array', - 'items' => [ - 'type' => 'string', - ], - ], - 'userId' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - ], - ], - 'description' => [ - 'type' => 'string', - ], - 'cpu' => [ - 'type' => 'number', - 'format' => 'float', - ], - 'timeout' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'originalName' => [ - 'type' => 'string', - ], - 'accountID' => [ - 'type' => 'string', - ], - 'httpTrigger' => [ - 'type' => 'object', - 'properties' => [ - 'triggerConfig' => [ - 'type' => 'object', - 'properties' => [ - 'authConfig' => [ - 'type' => 'string', - ], - 'methods' => [ - 'type' => 'array', - 'items' => [ - 'type' => 'string', - ], - ], - 'authType' => [ - 'type' => 'string', - ], - 'dsableURLInternet' => [ - 'type' => 'boolean', - ], - 'disableURLInternet' => [ - 'type' => 'boolean', - ], - ], - ], - 'qualifier' => [ - 'type' => 'string', - ], - ], - ], - 'reportStatusURL' => [ - 'type' => 'string', - ], - 'provisionConfig' => [ - 'type' => 'object', - 'properties' => [ - 'scheduledActions' => [ - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'scheduleExpression' => [ - 'type' => 'string', - ], - 'name' => [ - 'type' => 'string', - ], - 'timeZone' => [ - 'type' => 'string', - ], - 'startTime' => [ - 'type' => 'string', - ], - 'endTime' => [ - 'type' => 'string', - ], - 'target' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - ], - ], - ], - 'alwaysAllocateGPU' => [ - 'type' => 'boolean', - ], - 'target' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - ], - ], - 'diskSize' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'memorySize' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'envName' => [ - 'type' => 'string', - ], - 'vpcConfig' => [ - 'type' => 'object', - 'properties' => [ - 'securityGroupId' => [ - 'type' => 'string', - ], - 'vSwitchIds' => [ - 'type' => 'array', - 'items' => [ - 'type' => 'string', - ], - ], - 'vpcId' => [ - 'type' => 'string', - ], - ], - ], - 'name' => [ - 'type' => 'string', - 'required' => true, - ], - 'projectName' => [ - 'type' => 'string', - ], - 'region' => [ - 'type' => 'string', - ], - 'concurrencyConfig' => [ - 'type' => 'object', - 'properties' => [ - 'reservedConcurrency' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - ], - ], - 'instanceConcurrency' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'environmentVariables' => [ - 'type' => 'object', - ], - 'featureGates' => [ - 'type' => 'object', - 'properties' => [ - 'asyncProvisionCheck' => [ - 'type' => 'boolean', - ], - 'disableRollbackOnProvisionFailure' => [ - 'type' => 'boolean', - ], - ], - ], - ], - ], - 'DeployOllamaModelOutput' => [ - 'type' => 'object', - 'properties' => [ - 'data' => [ - 'type' => 'object', - 'properties' => [ - 'traceID' => [ - 'type' => 'string', - ], - 'modelName' => [ - 'type' => 'string', - ], - 'urlInternet' => [ - 'type' => 'string', - ], - 'deploymentTaskID' => [ - 'type' => 'string', - ], - 'errorMessage' => [ - 'type' => 'string', - ], - 'finished' => [ - 'type' => 'boolean', - ], - 'serviceName' => [ - 'type' => 'string', - ], - 'urlIntranet' => [ - 'type' => 'string', - ], - ], - ], - 'requestId' => [ - 'type' => 'string', - 'required' => true, - ], - 'success' => [ - 'type' => 'boolean', - ], - 'errCode' => [ - 'type' => 'string', - ], - 'errMsg' => [ - 'type' => 'string', - ], - ], - ], - 'DeploySGLangModelAsyncOutput' => [ - 'type' => 'object', - 'properties' => [ - 'data' => [ - 'type' => 'string', - ], - 'requestId' => [ - 'type' => 'string', - 'required' => true, - ], - 'success' => [ - 'type' => 'boolean', - ], - 'errCode' => [ - 'type' => 'string', - ], - 'errMsg' => [ - 'type' => 'string', - ], + 'data' => ['type' => 'object'], ], ], - 'DeploySGLangModelInput' => [ + 'DifyPluginInstallationConfig' => [ 'type' => 'object', 'properties' => [ - 'role' => [ - 'type' => 'string', - 'required' => true, - ], - 'modelConfig' => [ - 'type' => 'object', - 'properties' => [ - 'fmkSGLangConfig' => [ - 'type' => 'object', - 'properties' => [ - 'fullTextPostfix' => [ - 'type' => 'string', - ], - 'loadFormat' => [ - 'type' => 'string', - ], - 'maxRunningRequests' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'servedModelName' => [ - 'type' => 'string', - ], - 'memFractionStatic' => [ - 'type' => 'number', - 'format' => 'float', - ], - 'apiKey' => [ - 'type' => 'string', - ], - 'chatTemplate' => [ - 'type' => 'string', - ], - 'dtype' => [ - 'type' => 'string', - ], - 'maxTotalTokens' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'quantization' => [ - 'type' => 'string', - ], - ], - ], - 'srcModelScopeModelID' => [ - 'type' => 'string', - ], - 'prefix' => [ - 'type' => 'string', - ], - 'workingDir' => [ - 'type' => 'string', - ], - 'srcOssBucket' => [ - 'type' => 'string', - ], - 'withPPU' => [ - 'type' => 'boolean', - ], - 'skipDownload' => [ - 'type' => 'boolean', - ], - 'srcModelScopeModelRevision' => [ - 'type' => 'string', - ], - 'framework' => [ - 'type' => 'string', - ], - 'sourceType' => [ - 'type' => 'string', - ], - 'srcOssRegion' => [ - 'type' => 'string', - ], - 'srcModelScopeToken' => [ - 'type' => 'string', - ], - 'multiModelConfig' => [ - 'type' => 'array', - 'items' => [ - '$ref' => '#/components/schemas/ModelConfig', - ], - ], - 'syncStrategy' => [ - 'type' => 'string', - ], - 'srcOssPath' => [ - 'type' => 'string', - ], - ], - ], - 'nasConfig' => [ - 'type' => 'object', - 'properties' => [ - 'groupId' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'mountPoints' => [ - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'enableTLS' => [ - 'type' => 'boolean', - ], - 'serverAddr' => [ - 'type' => 'string', - ], - 'mountDir' => [ - 'type' => 'string', - ], - ], - ], - ], - 'userId' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - ], - ], - 'description' => [ - 'type' => 'string', - ], - 'concurrencyConfig' => [ - 'type' => 'object', - 'properties' => [ - 'reservedConcurrency' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - ], - ], - 'timeout' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'originalName' => [ - 'type' => 'string', - ], - 'accountID' => [ - 'type' => 'string', - ], - 'httpTrigger' => [ - 'type' => 'object', - 'properties' => [ - 'triggerConfig' => [ - 'type' => 'object', - 'properties' => [ - 'authConfig' => [ - 'type' => 'string', - ], - 'methods' => [ - 'type' => 'array', - 'items' => [ - 'type' => 'string', - ], - ], - 'authType' => [ - 'type' => 'string', - ], - 'dsableURLInternet' => [ - 'type' => 'boolean', - ], - 'disableURLInternet' => [ - 'type' => 'boolean', - ], - ], - ], - 'qualifier' => [ - 'type' => 'string', - ], - ], - ], - 'diskSize' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'traceId' => [ - 'type' => 'string', - ], - 'logConfig' => [ - 'type' => 'object', - 'properties' => [ - 'enableRequestMetrics' => [ - 'type' => 'boolean', - ], - 'enableInstanceMetrics' => [ - 'type' => 'boolean', - ], - 'logBeginRule' => [ - 'type' => 'string', - ], - 'project' => [ - 'type' => 'string', - ], - 'logstore' => [ - 'type' => 'string', - ], - ], - ], - 'imageName' => [ - 'type' => 'string', - ], - 'gpuConfig' => [ - 'type' => 'object', - 'properties' => [ - 'gpuMemorySize' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'gpuType' => [ - 'type' => 'string', - ], - ], - ], - 'cpu' => [ - 'type' => 'number', - 'format' => 'float', - ], - 'instanceConcurrency' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'reportStatusURL' => [ - 'type' => 'string', - ], - 'provisionConfig' => [ - 'type' => 'object', - 'properties' => [ - 'scheduledActions' => [ - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'scheduleExpression' => [ - 'type' => 'string', - ], - 'name' => [ - 'type' => 'string', - ], - 'timeZone' => [ - 'type' => 'string', - ], - 'startTime' => [ - 'type' => 'string', - ], - 'endTime' => [ - 'type' => 'string', - ], - 'target' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - ], - ], - ], - 'alwaysAllocateGPU' => [ - 'type' => 'boolean', - ], - 'target' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - ], - ], - 'memorySize' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'envName' => [ - 'type' => 'string', - ], - 'environmentVariables' => [ - 'type' => 'object', - ], - 'vpcConfig' => [ - 'type' => 'object', - 'properties' => [ - 'securityGroupId' => [ - 'type' => 'string', - ], - 'vSwitchIds' => [ - 'type' => 'array', - 'items' => [ - 'type' => 'string', - ], - ], - 'vpcId' => [ - 'type' => 'string', - ], - ], - ], - 'name' => [ - 'type' => 'string', - 'required' => true, - ], - 'projectName' => [ - 'type' => 'string', - ], - 'region' => [ - 'type' => 'string', - ], - 'customContainerConfig' => [ - 'type' => 'object', - 'properties' => [ - 'role' => [ - 'type' => 'string', - ], - ], - ], - 'ossMountConfig' => [ - 'type' => 'object', - 'properties' => [ - 'mountPoints' => [ - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'bucketName' => [ - 'type' => 'string', - ], - 'endpoint' => [ - 'type' => 'string', - ], - 'bucketPath' => [ - 'type' => 'string', - ], - 'mountDir' => [ - 'type' => 'string', - ], - 'readOnly' => [ - 'type' => 'boolean', - ], - ], - ], - ], - ], - ], - 'featureGates' => [ - 'type' => 'object', - 'properties' => [ - 'asyncProvisionCheck' => [ - 'type' => 'boolean', - ], - 'disableRollbackOnProvisionFailure' => [ - 'type' => 'boolean', - ], - ], - ], - ], - ], - 'DeploySGLangModelOutput' => [ - 'type' => 'object', - 'properties' => [ - 'data' => [ - 'type' => 'object', - 'properties' => [ - 'traceID' => [ - 'type' => 'string', - ], - 'modelName' => [ - 'type' => 'string', - ], - 'urlInternet' => [ - 'type' => 'string', - ], - 'deploymentTaskID' => [ - 'type' => 'string', - ], - 'errorMessage' => [ - 'type' => 'string', - ], - 'finished' => [ - 'type' => 'boolean', - ], - 'serviceName' => [ - 'type' => 'string', - ], - 'urlIntranet' => [ - 'type' => 'string', - ], - ], - ], - 'requestId' => [ - 'type' => 'string', - 'required' => true, - ], - 'success' => [ - 'type' => 'boolean', - ], - 'errCode' => [ - 'type' => 'string', - ], - 'errMsg' => [ - 'type' => 'string', - ], - ], - ], - 'DeployTensorRtModelAsyncOutput' => [ - 'type' => 'object', - 'properties' => [ - 'data' => [ - 'type' => 'string', - ], - 'requestId' => [ - 'type' => 'string', - 'required' => true, - ], - 'success' => [ - 'type' => 'boolean', - ], - 'errCode' => [ - 'type' => 'string', - ], - 'errMsg' => [ - 'type' => 'string', - ], - ], - ], - 'DeployTensorRtModelInput' => [ - 'type' => 'object', - 'properties' => [ - 'role' => [ - 'type' => 'string', - 'required' => true, - ], - 'modelConfig' => [ - 'type' => 'object', - 'properties' => [ - 'srcModelScopeModelID' => [ - 'type' => 'string', - ], - 'srcModelScopeModelRevision' => [ - 'type' => 'string', - ], - 'framework' => [ - 'type' => 'string', - ], - 'sourceType' => [ - 'type' => 'string', - ], - 'srcOssRegion' => [ - 'type' => 'string', - ], - 'prefix' => [ - 'type' => 'string', - ], - 'srcOssBucket' => [ - 'type' => 'string', - ], - 'srcModelScopeToken' => [ - 'type' => 'string', - ], - 'multiModelConfig' => [ - 'type' => 'array', - 'items' => [ - '$ref' => '#/components/schemas/ModelConfig', - ], - ], - 'syncStrategy' => [ - 'type' => 'string', - ], - 'srcOssPath' => [ - 'type' => 'string', - ], - ], - ], - 'nasConfig' => [ - 'type' => 'object', - 'properties' => [ - 'groupId' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'mountPoints' => [ - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'enableTLS' => [ - 'type' => 'boolean', - ], - 'serverAddr' => [ - 'type' => 'string', - ], - 'mountDir' => [ - 'type' => 'string', - ], - ], - ], - ], - 'userId' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - ], - ], - 'description' => [ - 'type' => 'string', - ], - 'concurrencyConfig' => [ - 'type' => 'object', - 'properties' => [ - 'reservedConcurrency' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - ], - ], - 'timeout' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'originalName' => [ - 'type' => 'string', - ], - 'accountID' => [ - 'type' => 'string', - ], - 'httpTrigger' => [ + 'provider' => ['type' => 'string'], + 'source' => [ 'type' => 'object', 'properties' => [ - 'triggerConfig' => [ + 'marketplace' => [ 'type' => 'object', 'properties' => [ - 'authConfig' => [ - 'type' => 'string', - ], - 'methods' => [ - 'type' => 'array', - 'items' => [ - 'type' => 'string', - ], - ], - 'authType' => [ - 'type' => 'string', - ], - 'dsableURLInternet' => [ - 'type' => 'boolean', - ], - 'disableURLInternet' => [ - 'type' => 'boolean', - ], + 'pluginId' => ['type' => 'string'], + 'version' => ['type' => 'string'], + 'uniqueIdentifier' => ['type' => 'string'], ], ], - 'qualifier' => [ - 'type' => 'string', - ], - ], - ], - 'diskSize' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'traceId' => [ - 'type' => 'string', - ], - 'logConfig' => [ - 'type' => 'object', - 'properties' => [ - 'enableRequestMetrics' => [ - 'type' => 'boolean', - ], - 'enableInstanceMetrics' => [ - 'type' => 'boolean', - ], - 'logBeginRule' => [ - 'type' => 'string', - ], - 'project' => [ - 'type' => 'string', - ], - 'logstore' => [ - 'type' => 'string', - ], - ], - ], - 'imageName' => [ - 'type' => 'string', - ], - 'gpuConfig' => [ - 'type' => 'object', - 'properties' => [ - 'gpuMemorySize' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'gpuType' => [ - 'type' => 'string', - ], - ], - ], - 'cpu' => [ - 'type' => 'number', - 'format' => 'float', - ], - 'instanceConcurrency' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'reportStatusURL' => [ - 'type' => 'string', - ], - 'provisionConfig' => [ - 'type' => 'object', - 'properties' => [ - 'scheduledActions' => [ - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'scheduleExpression' => [ - 'type' => 'string', - ], - 'name' => [ - 'type' => 'string', - ], - 'timeZone' => [ - 'type' => 'string', - ], - 'startTime' => [ - 'type' => 'string', - ], - 'endTime' => [ - 'type' => 'string', - ], - 'target' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - ], - ], - ], - 'alwaysAllocateGPU' => [ - 'type' => 'boolean', - ], - 'target' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - ], - ], - 'memorySize' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'envName' => [ - 'type' => 'string', - ], - 'environmentVariables' => [ - 'type' => 'object', - ], - 'vpcConfig' => [ - 'type' => 'object', - 'properties' => [ - 'securityGroupId' => [ - 'type' => 'string', - ], - 'vSwitchIds' => [ - 'type' => 'array', - 'items' => [ - 'type' => 'string', - ], - ], - 'vpcId' => [ - 'type' => 'string', - ], - ], - ], - 'name' => [ - 'type' => 'string', - 'required' => true, - ], - 'projectName' => [ - 'type' => 'string', - ], - 'region' => [ - 'type' => 'string', - ], - ], - ], - 'DeployTensorRtModelOutput' => [ - 'type' => 'object', - 'properties' => [ - 'data' => [ - 'type' => 'object', - 'properties' => [ - 'traceID' => [ - 'type' => 'string', - ], - 'urlInternet' => [ - 'type' => 'string', - ], - 'deploymentTaskID' => [ - 'type' => 'string', - ], - 'errorMessage' => [ - 'type' => 'string', - ], - 'finished' => [ - 'type' => 'boolean', - ], - 'serviceName' => [ - 'type' => 'string', - ], - 'urlIntranet' => [ - 'type' => 'string', - ], - ], - ], - 'requestId' => [ - 'type' => 'string', - 'required' => true, - ], - 'success' => [ - 'type' => 'boolean', - ], - 'errCode' => [ - 'type' => 'string', - ], - 'errMsg' => [ - 'type' => 'string', - ], - ], - ], - 'DeployVllmModelAsyncOutput' => [ - 'type' => 'object', - 'properties' => [ - 'data' => [ - 'type' => 'string', - ], - 'requestId' => [ - 'type' => 'string', - 'required' => true, - ], - 'success' => [ - 'type' => 'boolean', - ], - 'errCode' => [ - 'type' => 'string', - ], - 'errMsg' => [ - 'type' => 'string', - ], - ], - ], - 'DeployVllmModelInput' => [ - 'type' => 'object', - 'properties' => [ - 'role' => [ - 'type' => 'string', - 'required' => true, - ], - 'modelConfig' => [ - 'type' => 'object', - 'properties' => [ - 'srcModelScopeModelID' => [ - 'type' => 'string', - ], - 'prefix' => [ - 'type' => 'string', - ], - 'workingDir' => [ - 'type' => 'string', - ], - 'srcOssBucket' => [ - 'type' => 'string', - ], - 'withPPU' => [ - 'type' => 'boolean', - ], - 'skipDownload' => [ - 'type' => 'boolean', - ], - 'srcModelScopeModelRevision' => [ - 'type' => 'string', - ], - 'framework' => [ - 'type' => 'string', - ], - 'sourceType' => [ - 'type' => 'string', - ], - 'srcOssRegion' => [ - 'type' => 'string', - ], - 'fmkVllmConfig' => [ + 'github' => [ 'type' => 'object', 'properties' => [ - 'fullTextPostfix' => [ - 'type' => 'string', - ], - 'loadFormat' => [ - 'type' => 'string', - ], - 'servedModelName' => [ - 'type' => 'string', - ], - 'gpuMemoryUtilization' => [ - 'type' => 'number', - 'format' => 'float', - ], - 'apiKey' => [ - 'type' => 'string', - ], - 'chatTemplate' => [ - 'type' => 'string', - ], - 'dtype' => [ - 'type' => 'string', - ], - 'swapSpace' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'maxModelLen' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'maxParallelLoadingWorkers' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'blockSize' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'quantization' => [ - 'type' => 'string', - ], - ], - ], - 'srcModelScopeToken' => [ - 'type' => 'string', - ], - 'multiModelConfig' => [ - 'type' => 'array', - 'items' => [ - '$ref' => '#/components/schemas/ModelConfig', - ], - ], - 'syncStrategy' => [ - 'type' => 'string', - ], - 'srcOssPath' => [ - 'type' => 'string', - ], - ], - ], - 'nasConfig' => [ - 'type' => 'object', - 'properties' => [ - 'groupId' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'mountPoints' => [ - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'enableTLS' => [ - 'type' => 'boolean', - ], - 'serverAddr' => [ - 'type' => 'string', - ], - 'mountDir' => [ - 'type' => 'string', - ], - ], + 'repository' => ['type' => 'string'], + 'version' => ['type' => 'string'], + 'package' => ['type' => 'string'], ], ], - 'userId' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - ], - ], - 'description' => [ - 'type' => 'string', - ], - 'concurrencyConfig' => [ - 'type' => 'object', - 'properties' => [ - 'reservedConcurrency' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - ], - ], - 'timeout' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'originalName' => [ - 'type' => 'string', - ], - 'accountID' => [ - 'type' => 'string', - ], - 'httpTrigger' => [ - 'type' => 'object', - 'properties' => [ - 'triggerConfig' => [ + 'downloadUrl' => ['type' => 'string'], + 'oss' => [ 'type' => 'object', 'properties' => [ - 'authConfig' => [ - 'type' => 'string', - ], - 'methods' => [ - 'type' => 'array', - 'items' => [ - 'type' => 'string', - ], - ], - 'authType' => [ - 'type' => 'string', - ], - 'dsableURLInternet' => [ - 'type' => 'boolean', - ], - 'disableURLInternet' => [ - 'type' => 'boolean', - ], - ], - ], - 'qualifier' => [ - 'type' => 'string', - ], - ], - ], - 'diskSize' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'traceId' => [ - 'type' => 'string', - ], - 'logConfig' => [ - 'type' => 'object', - 'properties' => [ - 'enableRequestMetrics' => [ - 'type' => 'boolean', - ], - 'enableInstanceMetrics' => [ - 'type' => 'boolean', - ], - 'logBeginRule' => [ - 'type' => 'string', - ], - 'project' => [ - 'type' => 'string', - ], - 'logstore' => [ - 'type' => 'string', - ], - ], - ], - 'imageName' => [ - 'type' => 'string', - ], - 'gpuConfig' => [ - 'type' => 'object', - 'properties' => [ - 'gpuMemorySize' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'gpuType' => [ - 'type' => 'string', - ], - ], - ], - 'cpu' => [ - 'type' => 'number', - 'format' => 'float', - ], - 'instanceConcurrency' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'reportStatusURL' => [ - 'type' => 'string', - ], - 'provisionConfig' => [ - 'type' => 'object', - 'properties' => [ - 'scheduledActions' => [ - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'scheduleExpression' => [ - 'type' => 'string', - ], - 'name' => [ - 'type' => 'string', - ], - 'timeZone' => [ - 'type' => 'string', - ], - 'startTime' => [ - 'type' => 'string', - ], - 'endTime' => [ - 'type' => 'string', - ], - 'target' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - ], + 'bucket' => ['type' => 'string'], + 'object' => ['type' => 'string'], + 'endpoint' => ['type' => 'string'], ], ], - 'alwaysAllocateGPU' => [ - 'type' => 'boolean', - ], - 'target' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - ], - ], - 'memorySize' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'envName' => [ - 'type' => 'string', - ], - 'environmentVariables' => [ - 'type' => 'object', - ], - 'vpcConfig' => [ - 'type' => 'object', - 'properties' => [ - 'securityGroupId' => [ - 'type' => 'string', - ], - 'vSwitchIds' => [ - 'type' => 'array', - 'items' => [ - 'type' => 'string', - ], - ], - 'vpcId' => [ - 'type' => 'string', - ], - ], - ], - 'name' => [ - 'type' => 'string', - 'required' => true, - ], - 'projectName' => [ - 'type' => 'string', - ], - 'region' => [ - 'type' => 'string', - ], - 'customContainerConfig' => [ - 'type' => 'object', - 'properties' => [ - 'role' => [ - 'type' => 'string', - ], - ], - ], - 'ossMountConfig' => [ - 'type' => 'object', - 'properties' => [ - 'mountPoints' => [ - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'bucketName' => [ - 'type' => 'string', - ], - 'endpoint' => [ - 'type' => 'string', - ], - 'bucketPath' => [ - 'type' => 'string', - ], - 'mountDir' => [ - 'type' => 'string', - ], - 'readOnly' => [ - 'type' => 'boolean', - ], - ], - ], - ], - ], - ], - 'featureGates' => [ - 'type' => 'object', - 'properties' => [ - 'asyncProvisionCheck' => [ - 'type' => 'boolean', - ], - 'disableRollbackOnProvisionFailure' => [ - 'type' => 'boolean', - ], - ], - ], - ], - ], - 'DeployVllmModelOutput' => [ - 'type' => 'object', - 'properties' => [ - 'data' => [ - 'type' => 'object', - 'properties' => [ - 'traceID' => [ - 'type' => 'string', - ], - 'modelName' => [ - 'type' => 'string', - ], - 'urlInternet' => [ - 'type' => 'string', - ], - 'deploymentTaskID' => [ - 'type' => 'string', - ], - 'errorMessage' => [ - 'type' => 'string', - ], - 'finished' => [ - 'type' => 'boolean', - ], - 'serviceName' => [ - 'type' => 'string', - ], - 'urlIntranet' => [ - 'type' => 'string', - ], ], ], - 'requestId' => [ - 'type' => 'string', - 'required' => true, - ], - 'success' => [ - 'type' => 'boolean', - ], - 'errCode' => [ - 'type' => 'string', - ], - 'errMsg' => [ - 'type' => 'string', - ], ], ], - 'DescribeRegionsOutput' => [ + 'DifyToolSchema' => [ 'type' => 'object', 'properties' => [ - 'regions' => [ - 'type' => 'object', - 'properties' => [ - 'region' => [ - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'localName' => [ - 'type' => 'string', - ], - 'regionId' => [ - 'type' => 'string', - ], - ], - ], - ], - ], - ], - ], - ], - 'DownloadModelOutput' => [ - 'type' => 'object', - 'properties' => [ - 'requestId' => [ - 'type' => 'string', - 'required' => true, - ], - 'data' => [ - 'type' => 'object', - 'properties' => [ - 'taskType' => [ - 'type' => 'string', - ], - 'modelPath' => [ - 'type' => 'string', - ], - ], - ], - 'success' => [ - 'type' => 'boolean', - ], - 'errCode' => [ - 'type' => 'string', - ], - 'errMsg' => [ - 'type' => 'string', - ], + 'name' => ['type' => 'string'], + 'description' => ['type' => 'string'], + 'inputSchema' => ['type' => 'object'], + 'outputSchema' => ['type' => 'object'], ], ], 'EfmModel' => [ 'type' => 'object', 'properties' => [ - 'uid' => [ - 'type' => 'string', - ], - 'kind' => [ - 'type' => 'string', - ], - 'createdTime' => [ - 'type' => 'string', - ], - 'updatedTime' => [ - 'type' => 'string', - ], - 'name' => [ - 'type' => 'string', - 'required' => true, - ], - 'resourceVersion' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'description' => [ - 'type' => 'string', - ], - 'generation' => [ - 'type' => 'string', - ], - 'spec' => [ - '$ref' => '#/components/schemas/EfmModelSpec', - 'required' => true, - ], - 'status' => [ - '$ref' => '#/components/schemas/EfmModelStatus', - ], + 'uid' => ['type' => 'string'], + 'kind' => ['type' => 'string'], + 'createdTime' => ['type' => 'string'], + 'updatedTime' => ['type' => 'string'], + 'name' => ['type' => 'string', 'required' => true], + 'resourceVersion' => ['type' => 'integer', 'format' => 'int32'], + 'description' => ['type' => 'string'], + 'generation' => ['type' => 'string'], + 'spec' => ['$ref' => '#/components/schemas/EfmModelSpec', 'required' => true], + 'status' => ['$ref' => '#/components/schemas/EfmModelStatus'], 'labels' => [ 'type' => 'object', - 'additionalProperties' => [ - 'type' => 'string', - ], + 'additionalProperties' => ['type' => 'string'], ], ], ], 'EfmModelSpec' => [ 'type' => 'object', 'properties' => [ - 'capacity' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - ], - 'suffix' => [ - 'type' => 'string', - ], - 'modelName' => [ - 'type' => 'string', - 'required' => true, - ], - 'token' => [ - 'type' => 'string', - ], - 'disableURLInternet' => [ - 'type' => 'boolean', - ], - 'modelUnitType' => [ - 'type' => 'string', - 'required' => true, - ], + 'capacity' => ['type' => 'integer', 'format' => 'int32', 'required' => true], + 'suffix' => ['type' => 'string'], + 'modelName' => ['type' => 'string', 'required' => true], + 'token' => ['type' => 'string'], + 'disableURLInternet' => ['type' => 'boolean'], + 'modelUnitType' => ['type' => 'string', 'required' => true], ], ], 'EfmModelStatus' => [ 'type' => 'object', 'properties' => [ - 'status' => [ - 'type' => 'string', - ], - 'deployedName' => [ - 'type' => 'string', - ], - 'readyCapacity' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'workspaceId' => [ - 'type' => 'string', - ], - 'urlInternet' => [ - 'type' => 'string', - ], - 'token' => [ - 'type' => 'string', - ], - 'baseCapacity' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'urlIntranet' => [ - 'type' => 'string', - ], - 'disableURLInternet' => [ - 'type' => 'boolean', - ], + 'status' => ['type' => 'string'], + 'deployedName' => ['type' => 'string'], + 'readyCapacity' => ['type' => 'integer', 'format' => 'int32'], + 'workspaceId' => ['type' => 'string'], + 'urlInternet' => ['type' => 'string'], + 'token' => ['type' => 'string'], + 'baseCapacity' => ['type' => 'integer', 'format' => 'int32'], + 'urlIntranet' => ['type' => 'string'], + 'disableURLInternet' => ['type' => 'boolean'], ], ], 'Environment' => [ 'type' => 'object', 'properties' => [ - 'name' => [ - 'type' => 'string', - 'required' => true, - ], - 'kind' => [ - 'type' => 'string', - ], - 'uid' => [ - 'type' => 'string', - 'required' => false, - ], - 'createdTime' => [ - 'type' => 'string', - ], - 'description' => [ - 'type' => 'string', - ], - 'spec' => [ - '$ref' => '#/components/schemas/EnvironmentSpec', - 'required' => true, - ], - 'labels' => [ - 'type' => 'object', - 'additionalProperties' => [ - 'type' => 'string', - ], - ], - 'status' => [ - '$ref' => '#/components/schemas/EnvironmentStatus', - ], - 'projectName' => [ - 'type' => 'string', - ], - 'generation' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - ], - ], - 'EnvironmentBaseline' => [ - 'type' => 'object', - 'properties' => [ - 'variables' => [ - 'type' => 'object', - 'additionalProperties' => [ - '$ref' => '#/components/schemas/Variable', - ], - ], - 'servicesInstances' => [ - 'type' => 'object', - 'additionalProperties' => [ - '$ref' => '#/components/schemas/ServiceInstance', - ], - ], - ], - ], - 'EnvironmentChanges' => [ - 'type' => 'object', - 'properties' => [ - 'services' => [ - 'type' => 'object', - ], - ], - ], - 'EnvironmentDeployment' => [ - 'type' => 'object', - 'properties' => [ - 'uid' => [ - 'type' => 'string', - 'required' => false, - ], - 'description' => [ - 'type' => 'string', - ], - 'kind' => [ - 'type' => 'string', - ], - 'createdTime' => [ - 'type' => 'string', - ], - 'name' => [ - 'type' => 'string', - 'required' => true, - 'minLength' => 1, - 'maxLength' => 63, - 'pattern' => '^(?![0-9]+$)(?!-)[a-zA-Z0-9-_]{0,63}(?<!-)$', - ], - 'status' => [ - '$ref' => '#/components/schemas/EnvironmentDeploymentStatus', - ], + 'name' => ['type' => 'string', 'required' => true], + 'kind' => ['type' => 'string'], + 'uid' => ['type' => 'string', 'required' => false], + 'createdTime' => ['type' => 'string'], + 'description' => ['type' => 'string'], + 'spec' => ['$ref' => '#/components/schemas/EnvironmentSpec', 'required' => true], 'labels' => [ 'type' => 'object', - 'additionalProperties' => [ - 'type' => 'string', - ], - ], - 'spec' => [ - '$ref' => '#/components/schemas/EnvironmentDeploymentSpec', - ], - ], - ], - 'EnvironmentDeploymentSpec' => [ - 'type' => 'object', - 'properties' => [ - 'changes' => [ - '$ref' => '#/components/schemas/EnvironmentChanges', - ], - 'baseline' => [ - '$ref' => '#/components/schemas/EnvironmentSnapshot', - ], - 'target' => [ - '$ref' => '#/components/schemas/EnvironmentStagedConfigs', - ], - 'skipRemoveResources' => [ - 'type' => 'boolean', - ], - 'webhookCodeContext' => [ - '$ref' => '#/components/schemas/WebhookCodeContext', - ], - ], - ], - 'EnvironmentDeploymentStatus' => [ - 'type' => 'object', - 'properties' => [ - 'phase' => [ - 'type' => 'string', - ], - 'pipelineName' => [ - 'type' => 'string', - ], - 'finishedTime' => [ - 'type' => 'string', - ], - 'serviceDeployments' => [ - 'type' => 'object', - 'additionalProperties' => [ - 'type' => 'string', - ], - ], - ], - ], - 'EnvironmentSnapshot' => [ - 'type' => 'object', - 'properties' => [ - 'services' => [ - 'type' => 'object', - 'additionalProperties' => [ - '$ref' => '#/components/schemas/ServiceInstance', - ], + 'additionalProperties' => ['type' => 'string'], ], + 'status' => ['$ref' => '#/components/schemas/EnvironmentStatus'], + 'projectName' => ['type' => 'string'], + 'generation' => ['type' => 'integer', 'format' => 'int32'], ], ], 'EnvironmentSpec' => [ @@ -3718,35 +306,10 @@ 'properties' => [ 'type' => [ 'type' => 'string', - 'enum' => [ - 'Testing', - 'Staging', - 'Production', - ], - ], - 'roleArn' => [ - 'type' => 'string', - ], - 'stagedConfigs' => [ - '$ref' => '#/components/schemas/EnvironmentStagedConfigs', - ], - ], - ], - 'EnvironmentStagedConfigs' => [ - 'type' => 'object', - 'properties' => [ - 'services' => [ - 'type' => 'object', - 'additionalProperties' => [ - '$ref' => '#/components/schemas/ServiceConfig', - ], - ], - 'variables' => [ - 'type' => 'object', - 'additionalProperties' => [ - '$ref' => '#/components/schemas/Variable', - ], + 'enum' => ['Testing', 'Staging', 'Production'], ], + 'roleArn' => ['type' => 'string'], + 'stagedConfigs' => ['$ref' => '#/components/schemas/EnvironmentStagedConfigs'], ], ], 'EnvironmentStatus' => [ @@ -3754,284 +317,115 @@ 'properties' => [ 'servicesInstances' => [ 'type' => 'object', - 'additionalProperties' => [ - '$ref' => '#/components/schemas/ServiceInstance', - ], - ], - 'latestEnvironmentDeploymentName' => [ - 'type' => 'string', + 'additionalProperties' => ['$ref' => '#/components/schemas/ServiceInstance'], ], + 'latestEnvironmentDeploymentName' => ['type' => 'string'], 'servicesWithPendingChanges' => [ 'type' => 'array', - 'items' => [ - 'type' => 'string', - ], - ], - 'observedGeneration' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'observedTime' => [ - 'type' => 'string', + 'items' => ['type' => 'string'], ], + 'observedGeneration' => ['type' => 'integer', 'format' => 'int64'], + 'observedTime' => ['type' => 'string'], ], ], 'EventFilterConfig' => [ 'type' => 'object', 'properties' => [ - 'branch' => [ - '$ref' => '#/components/schemas/BranchFilter', - ], + 'branch' => ['$ref' => '#/components/schemas/BranchFilter'], ], ], - 'FileManagerMountConfig' => [ + 'EventPayload' => [ 'type' => 'object', 'properties' => [ - 'name' => [ - 'type' => 'string', - ], - 'role' => [ - 'type' => 'string', - ], - 'region' => [ - 'type' => 'string', - 'required' => false, - ], - 'vpcConfig' => [ - '$ref' => '#/components/schemas/VpcConfig', - ], - 'ossMountPoints' => [ - 'type' => 'array', - 'items' => [ - '$ref' => '#/components/schemas/OSSMountPoint', - ], - ], - 'nasMountPoints' => [ - 'type' => 'array', - 'items' => [ - '$ref' => '#/components/schemas/NasMountConfig', - ], - ], - 'timeoutInSecond' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'mutex' => [ - 'type' => 'boolean', - ], + 'github' => ['$ref' => '#/components/schemas/GithubEventPayload'], + 'gitlab' => ['$ref' => '#/components/schemas/GitlabEventPayload'], + 'codeup' => ['$ref' => '#/components/schemas/CodeupEventPayload'], + 'gitee' => ['$ref' => '#/components/schemas/GiteeEventPayload'], + 'manual' => ['$ref' => '#/components/schemas/ManualEventPayload'], ], ], 'FileManagerTask' => [ 'type' => 'object', 'properties' => [ - 'name' => [ - 'type' => 'string', - ], - 'id' => [ - 'type' => 'string', - ], - 'startTime' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'updateTime' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'finishedTime' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'finished' => [ - 'type' => 'boolean', - ], - 'success' => [ - 'type' => 'boolean', - ], - 'errorMessage' => [ - 'type' => 'string', - ], - 'parameters' => [ - 'type' => 'any', - ], + 'name' => ['type' => 'string'], + 'id' => ['type' => 'string'], + 'startTime' => ['type' => 'integer', 'format' => 'int64'], + 'updateTime' => ['type' => 'integer', 'format' => 'int64'], + 'finishedTime' => ['type' => 'integer', 'format' => 'int64'], + 'finished' => ['type' => 'boolean'], + 'success' => ['type' => 'boolean'], + 'errorMessage' => ['type' => 'string'], + 'parameters' => ['type' => 'any'], 'progress' => [ 'type' => 'object', 'properties' => [ - 'currentBytes' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'totalBytes' => [ - 'type' => 'integer', - 'format' => 'int64', - ], + 'currentBytes' => ['type' => 'integer', 'format' => 'int64'], + 'totalBytes' => ['type' => 'integer', 'format' => 'int64'], ], ], - 'result' => [ - 'type' => 'any', - ], - 'errorCode' => [ - 'type' => 'string', - ], + 'result' => ['type' => 'any'], + 'errorCode' => ['type' => 'string'], ], ], - 'FinalizeConfig' => [ + 'GitAccount' => [ 'type' => 'object', 'properties' => [ - 'steps' => [ - 'type' => 'array', - 'items' => [ - 'type' => 'any', - ], - ], + 'name' => ['type' => 'string', 'required' => false], + 'displayName' => ['type' => 'string'], + 'id' => ['type' => 'string'], + 'avatar' => ['type' => 'string', 'required' => false], + 'uri' => ['type' => 'string', 'required' => false], ], ], - 'GetModelStatusOutput' => [ + 'GiteeEventPayload' => [ 'type' => 'object', 'properties' => [ - 'requestId' => [ - 'type' => 'string', - ], - 'data' => [ - 'type' => 'object', - 'properties' => [ - 'fileSize' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'finished' => [ - 'type' => 'boolean', - ], - 'finishedTime' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'startTime' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'total' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'errMessage' => [ - 'type' => 'string', - ], - 'speed' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'currentBytes' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - ], - ], - 'success' => [ - 'type' => 'boolean', - ], - 'errCode' => [ - 'type' => 'string', - ], - 'errMsg' => [ - 'type' => 'string', - ], + 'originalPayload' => ['type' => 'string', 'format' => 'byte'], ], ], - 'GitAccount' => [ + 'GitEventSnapshot' => [ 'type' => 'object', 'properties' => [ - 'name' => [ - 'type' => 'string', - 'required' => false, - ], - 'displayName' => [ - 'type' => 'string', - ], - 'id' => [ - 'type' => 'string', - ], - 'avatar' => [ - 'type' => 'string', - 'required' => false, - ], - 'uri' => [ - 'type' => 'string', - 'required' => false, - ], + 'branch' => ['type' => 'string'], + 'commitID' => ['type' => 'string'], + 'tag' => ['type' => 'string'], ], ], - 'GitEventSnapshot' => [ + 'GithubEventPayload' => [ 'type' => 'object', 'properties' => [ - 'branch' => [ - 'type' => 'string', - ], - 'commitID' => [ - 'type' => 'string', - ], - 'tag' => [ - 'type' => 'string', - ], + 'originalPayload' => ['type' => 'string', 'format' => 'byte'], ], ], 'GitLabConfig' => [ 'type' => 'object', 'properties' => [ - 'isFixedIP' => [ - 'type' => 'boolean', - ], - 'uri' => [ - 'type' => 'string', - ], - 'token' => [ - 'type' => 'string', - ], + 'isFixedIP' => ['type' => 'boolean'], + 'uri' => ['type' => 'string'], + 'token' => ['type' => 'string'], ], ], - 'ImageEvent' => [ + 'GitlabEventPayload' => [ 'type' => 'object', 'properties' => [ - 'type' => [ - 'type' => 'string', - ], - 'time' => [ - 'type' => 'string', - ], - 'message' => [ - 'type' => 'string', - ], - 'details' => [ - 'type' => 'object', - 'additionalProperties' => [ - 'type' => 'string', - ], - ], + 'originalPayload' => ['type' => 'string', 'format' => 'byte'], ], ], - 'InitializeConfig' => [ + 'Installation' => [ 'type' => 'object', 'properties' => [ - 'steps' => [ - 'type' => 'array', - 'items' => [ - 'type' => 'any', - ], - ], + 'stage' => ['type' => 'string'], + 'message' => ['type' => 'string'], + 'actionUri' => ['type' => 'string'], ], ], - 'Installation' => [ + 'ManualEventPayload' => [ 'type' => 'object', 'properties' => [ - 'stage' => [ - 'type' => 'string', - ], - 'message' => [ - 'type' => 'string', - ], - 'actionUri' => [ - 'type' => 'string', - ], + 'commitID' => ['type' => 'string'], + 'branch' => ['type' => 'string'], + 'tag' => ['type' => 'string'], + 'templateConfig' => ['$ref' => '#/components/schemas/TemplateConfig'], ], ], 'MCPGatewayConfig' => [ @@ -4049,40 +443,24 @@ 'properties' => [ 'name' => [ 'type' => 'string', - 'enum' => [ - 'MCP', - 'OpenAPI', - 'Toolset', - ], + 'enum' => ['MCP', 'OpenAPI', 'Toolset'], ], 'type' => [ 'type' => 'string', - 'enum' => [ - 'OpenAPI', - 'MCP', - 'Toolset', - ], + 'enum' => ['OpenAPI', 'MCP', 'Toolset'], ], 'details' => [ 'type' => 'object', 'properties' => [ - 'mcpInstallation' => [ - '$ref' => '#/components/schemas/MCPServerInstallationConfig', - ], + 'mcpInstallation' => ['$ref' => '#/components/schemas/MCPServerInstallationConfig'], 'toolsetSelector' => [ 'type' => 'object', 'properties' => [ - 'toolsetName' => [ - 'type' => 'string', - ], - 'toolName' => [ - 'type' => 'string', - ], + 'toolsetName' => ['type' => 'string'], + 'toolName' => ['type' => 'string'], ], ], - 'openAPISchema' => [ - 'type' => 'string', - ], + 'openAPISchema' => ['type' => 'string'], ], ], ], @@ -4091,9 +469,7 @@ 'policies' => [ 'type' => 'object', 'properties' => [ - 'authorization' => [ - '$ref' => '#/components/schemas/Authorization', - ], + 'authorization' => ['$ref' => '#/components/schemas/Authorization'], ], ], ], @@ -4104,272 +480,46 @@ 'MCPInstallationConfig' => [ 'type' => 'object', 'properties' => [ - 'mcpServers' => [ - '$ref' => '#/components/schemas/MCPServerInstallationConfig', - ], + 'mcpServers' => ['$ref' => '#/components/schemas/MCPServerInstallationConfig'], ], ], 'MCPServerInstallationConfig' => [ 'type' => 'object', 'properties' => [ - 'args' => [ - 'type' => 'string', - ], 'transportType' => [ 'type' => 'string', - 'enum' => [ - 'stdio', - 'sse', - 'streamableHttp', - ], + 'enum' => ['stdio', 'sse', 'streamableHttp'], ], + 'url' => ['type' => 'string'], + 'command' => ['type' => 'string'], + 'args' => ['type' => 'string'], 'env' => [ 'type' => 'object', - 'additionalProperties' => [ - 'type' => 'string', - ], - ], - 'url' => [ - 'type' => 'string', - ], - 'command' => [ - 'type' => 'string', + 'additionalProperties' => ['type' => 'string'], ], ], ], 'MCPToolMeta' => [ 'type' => 'object', 'properties' => [ - 'inputSchema' => [ - 'type' => 'object', - ], - 'name' => [ - 'type' => 'string', - ], - 'description' => [ - 'type' => 'string', - ], - ], - ], - 'ModelAsyncTask' => [ - 'type' => 'object', - 'properties' => [ - 'startTime' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'updateTime' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'taskType' => [ - 'type' => 'string', - ], - 'finished' => [ - 'type' => 'boolean', - ], - 'finishedTime' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'result' => [ - 'type' => 'any', - ], - 'errMsg' => [ - 'type' => 'string', - ], - 'errCode' => [ - 'type' => 'string', - ], - ], - ], - 'ModelConfig' => [ - 'type' => 'object', - 'properties' => [ - 'reversion' => [ - 'type' => 'string', - ], - 'bucket' => [ - 'type' => 'string', - ], - 'path' => [ - 'type' => 'string', - ], - 'framework' => [ - 'type' => 'string', - ], - 'prefix' => [ - 'type' => 'string', - ], - 'model' => [ - 'type' => 'string', - ], - 'multiModelConfig' => [ - 'type' => 'array', - 'items' => [ - '$ref' => '#/components/schemas/ModelConfig', - ], - ], - 'type' => [ - 'type' => 'string', - 'required' => true, - ], - 'region' => [ - 'type' => 'string', - ], - 'token' => [ - 'type' => 'string', - ], - ], - ], - 'ModelFile' => [ - 'type' => 'object', - 'properties' => [ - 'name' => [ - 'type' => 'string', - ], - 'path' => [ - 'type' => 'string', - ], - 'isDir' => [ - 'type' => 'boolean', - ], - 'size' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'modeTime' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - ], - ], - 'ModelFilePreview' => [ - 'type' => 'object', - 'properties' => [ - 'name' => [ - 'type' => 'string', - ], - 'path' => [ - 'type' => 'string', - ], - 'isDir' => [ - 'type' => 'boolean', - ], - 'size' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'hash' => [ - 'type' => 'string', - ], - 'content' => [ - 'type' => 'string', - ], - 'isCompressedImage' => [ - 'type' => 'boolean', - ], - 'unpreviewable' => [ - 'type' => 'boolean', - ], - ], - ], - 'ModelProvider' => [ - 'type' => 'object', - 'properties' => [ - 'uid' => [ - 'type' => 'string', - 'required' => false, - ], - 'kind' => [ - 'type' => 'string', - ], - 'name' => [ - 'type' => 'string', - 'required' => true, - ], - 'createdTime' => [ - 'type' => 'string', - ], - 'description' => [ - 'type' => 'string', - ], - 'labels' => [ - 'type' => 'object', - 'additionalProperties' => [ - 'type' => 'string', - ], - ], - ], - ], - 'ModelProviderAuthorization' => [ - 'type' => 'object', - 'properties' => [ - 'authConfig' => [ - 'type' => 'object', - 'additionalProperties' => [ - 'type' => 'string', - ], - ], - 'type' => [ - 'type' => 'string', - ], - ], - ], - 'ModelProviderSchema' => [ - 'type' => 'object', - 'properties' => [ - 'detail' => [ - 'type' => 'string', - ], - 'type' => [ - 'type' => 'string', - ], - ], - ], - 'ModelProviderSpec' => [ - 'type' => 'object', - 'properties' => [ - 'authorization' => [ - '$ref' => '#/components/schemas/ModelProviderAuthorization', - ], - 'schema' => [ - '$ref' => '#/components/schemas/ModelProviderSchema', - ], + 'name' => ['type' => 'string'], + 'description' => ['type' => 'string'], + 'inputSchema' => ['type' => 'object'], ], ], 'ModelSet' => [ 'type' => 'object', 'properties' => [ - 'generation' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'uid' => [ - 'type' => 'string', - 'required' => false, - ], - 'kind' => [ - 'type' => 'string', - ], - 'name' => [ - 'type' => 'string', - 'required' => true, - ], - 'createdTime' => [ - 'type' => 'string', - ], - 'description' => [ - 'type' => 'string', - ], - 'status' => [ - '$ref' => '#/components/schemas/ModelSetStatus', - ], + 'generation' => ['type' => 'integer', 'format' => 'int64'], + 'uid' => ['type' => 'string', 'required' => false], + 'kind' => ['type' => 'string'], + 'name' => ['type' => 'string', 'required' => true], + 'createdTime' => ['type' => 'string'], + 'description' => ['type' => 'string'], + 'status' => ['$ref' => '#/components/schemas/ModelSetStatus'], 'labels' => [ 'type' => 'object', - 'additionalProperties' => [ - 'type' => 'string', - ], + 'additionalProperties' => ['type' => 'string'], ], ], ], @@ -4378,569 +528,298 @@ 'properties' => [ 'sourceType' => [ 'type' => 'string', - 'enum' => [ - 'customized', - 'predefined', - ], - ], - 'displayName' => [ - 'type' => 'string', - ], - 'name' => [ - 'type' => 'string', - 'required' => true, - ], - 'description' => [ - 'type' => 'string', - ], - 'enabled' => [ - 'type' => 'boolean', + 'enum' => ['customized', 'predefined'], ], + 'displayName' => ['type' => 'string'], + 'name' => ['type' => 'string', 'required' => true], + 'description' => ['type' => 'string'], 'props' => [ 'type' => 'object', 'properties' => [ - 'llmMode' => [ - 'type' => 'string', - ], - 'contextSize' => [ - 'type' => 'integer', - 'format' => 'int64', - ], + 'llmMode' => ['type' => 'string'], + 'contextSize' => ['type' => 'integer', 'format' => 'int64'], ], ], + 'enabled' => ['type' => 'boolean'], ], ], 'ModelSetSpec' => [ 'type' => 'object', 'properties' => [ + 'authConfig' => ['$ref' => '#/components/schemas/Authorization'], + 'provider' => [ + 'type' => 'string', + 'enum' => ['OpenAI', 'FunctionAI', 'Tongyi', 'Anthropic', 'OpenAICompatible'], + ], + 'baseUrl' => ['type' => 'string'], 'features' => [ 'type' => 'object', 'properties' => [ - 'toolCall' => [ - 'type' => 'boolean', - ], - 'vision' => [ - 'type' => 'boolean', - ], - 'agentThought' => [ - 'type' => 'boolean', - ], - ], - ], - 'models' => [ - 'type' => 'array', - 'required' => true, - 'items' => [ - '$ref' => '#/components/schemas/ModelSetModelProfile', - ], - ], - 'baseUrl' => [ - 'type' => 'string', - ], - 'authConfig' => [ - '$ref' => '#/components/schemas/Authorization', - ], - 'provider' => [ - 'type' => 'string', - 'enum' => [ - 'OpenAI', - 'FunctionAI', - 'Tongyi', - 'Anthropic', - 'OpenAICompatible', + 'toolCall' => ['type' => 'boolean'], + 'vision' => ['type' => 'boolean'], + 'agentThought' => ['type' => 'boolean'], ], ], 'modelType' => [ 'type' => 'string', 'required' => true, - 'enum' => [ - 'llm', - 'text-embedding', - 'tts', - 'rerank', - 'speech2text', - 'moderation', - ], + 'enum' => ['llm', 'text-embedding', 'tts', 'rerank', 'speech2text', 'moderation'], ], 'apiInvokeType' => [ 'type' => 'string', - 'enum' => [ - 'openai', - 'ollama', - 'anthropic', - 'dashscope', - ], + 'enum' => ['openai', 'ollama', 'anthropic', 'dashscope'], + ], + 'models' => [ + 'type' => 'array', + 'required' => true, + 'items' => ['$ref' => '#/components/schemas/ModelSetModelProfile'], ], ], ], 'ModelSetStatus' => [ 'type' => 'object', 'properties' => [ - 'phase' => [ - 'type' => 'string', - ], - 'observedTime' => [ - 'type' => 'string', - ], - 'observedGeneration' => [ - 'type' => 'integer', - 'format' => 'int64', - ], + 'phase' => ['type' => 'string'], + 'observedTime' => ['type' => 'string'], + 'observedGeneration' => ['type' => 'integer', 'format' => 'int64'], ], ], - 'ModelTask' => [ + 'OAuthCredential' => [ 'type' => 'object', 'properties' => [ - 'finishTime' => [ - 'type' => 'number', - 'format' => 'double', - 'deprecated' => true, - ], - 'currentBytes' => [ - 'type' => 'string', - ], - 'errMsg' => [ - 'type' => 'string', - ], - 'finished' => [ - 'type' => 'boolean', - ], - 'updateTime' => [ - 'type' => 'number', - 'format' => 'double', - ], - 'params' => [ - 'type' => 'string', - ], - 'speed' => [ - 'type' => 'string', - ], - 'result' => [ - 'type' => 'any', - ], - 'taskType' => [ - 'type' => 'string', - ], - 'total' => [ - 'type' => 'number', - 'format' => 'float', - 'deprecated' => true, - ], - 'fileSize' => [ - 'type' => 'number', - 'format' => 'double', - 'deprecated' => true, - ], - 'errCode' => [ - 'type' => 'string', - ], - 'extra' => [ - 'type' => 'any', - ], - 'finishedTime' => [ - 'type' => 'number', - 'format' => 'double', - ], - 'totalBytes' => [ - 'type' => 'string', - ], - 'startTime' => [ - 'type' => 'number', - 'format' => 'double', - ], - 'id' => [ - 'type' => 'string', - ], - 'taskId' => [ - 'type' => 'string', - ], - 'status' => [ - 'type' => 'string', - ], + 'token' => ['type' => 'string', 'required' => true], + 'type' => ['type' => 'string'], + 'scope' => ['type' => 'string'], + 'expiration' => ['type' => 'integer', 'format' => 'int64', 'required' => true], + 'createdTime' => ['type' => 'integer', 'format' => 'int64', 'required' => true], + 'refreshToken' => ['type' => 'string'], ], ], - 'NasMountConfig' => [ + 'OpenAPIToolMeta' => [ 'type' => 'object', 'properties' => [ - 'enableTLS' => [ - 'type' => 'boolean', - ], - 'mountDir' => [ - 'type' => 'string', - ], - 'serverAddr' => [ - 'type' => 'string', - ], + 'toolName' => ['type' => 'string'], + 'toolId' => ['type' => 'string'], + 'path' => ['type' => 'string'], + 'method' => ['type' => 'string'], ], ], - 'OAuthCredential' => [ + 'OSSMountPoint' => [ 'type' => 'object', 'properties' => [ - 'token' => [ - 'type' => 'string', - 'required' => true, - ], - 'type' => [ - 'type' => 'string', - ], - 'scope' => [ - 'type' => 'string', - ], - 'expiration' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - ], - 'createdTime' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - ], - 'refreshToken' => [ - 'type' => 'string', - ], + 'bucketName' => ['type' => 'string'], + 'bucketPath' => ['type' => 'string'], + 'endpoint' => ['type' => 'string'], + 'mountDir' => ['type' => 'string'], + 'readOnly' => ['type' => 'boolean'], ], ], - 'OSSMountPoint' => [ + 'Pipeline' => [ 'type' => 'object', 'properties' => [ - 'bucketName' => [ - 'type' => 'string', - ], - 'bucketPath' => [ - 'type' => 'string', - ], - 'endpoint' => [ - 'type' => 'string', - ], - 'mountDir' => [ - 'type' => 'string', - ], - 'readOnly' => [ - 'type' => 'boolean', + 'spec' => ['$ref' => '#/components/schemas/PipelineSpec'], + 'status' => ['$ref' => '#/components/schemas/PipelineStatus'], + 'uid' => ['type' => 'string', 'required' => false], + 'generation' => ['type' => 'integer', 'format' => 'int32'], + 'description' => ['type' => 'string'], + 'kind' => ['type' => 'string'], + 'createdTime' => ['type' => 'string'], + 'name' => ['type' => 'string', 'required' => true, 'minLength' => 1, 'maxLength' => 40, 'pattern' => '[a-z](?!-)[a-z0-9-]{1,40}(?<!-)'], + 'labels' => [ + 'type' => 'object', + 'additionalProperties' => ['type' => 'string'], ], + 'resourceVersion' => ['type' => 'integer', 'format' => 'int32'], ], ], - 'OpenAPIToolMeta' => [ + 'PipelineSpec' => [ 'type' => 'object', 'properties' => [ - 'toolId' => [ - 'type' => 'string', - ], - 'path' => [ - 'type' => 'string', - ], - 'method' => [ - 'type' => 'string', - ], - 'toolName' => [ - 'type' => 'string', - ], + 'templateName' => ['type' => 'string'], + 'context' => ['$ref' => '#/components/schemas/Context'], + 'templateSpec' => ['$ref' => '#/components/schemas/PipelineTemplateSpec'], ], ], - 'OperationModelFileAction' => [ + 'PipelineStatus' => [ 'type' => 'object', 'properties' => [ - 'action' => [ - 'type' => 'string', - 'required' => true, - ], - 'source' => [ - 'type' => 'string', - 'required' => false, - ], - 'destination' => [ - 'type' => 'string', - 'required' => false, - ], - 'target' => [ - 'type' => 'string', - 'required' => false, - ], + 'phase' => ['type' => 'string'], + 'latestExecError' => ['$ref' => '#/components/schemas/TaskExecError'], ], ], - 'OssSourceConfig' => [ + 'PipelineTemplate' => [ 'type' => 'object', 'properties' => [ - 'bucket' => [ - 'type' => 'string', - ], - 'object' => [ - 'type' => 'string', + 'uid' => ['type' => 'string', 'required' => false], + 'generation' => ['type' => 'integer', 'format' => 'int32'], + 'description' => ['type' => 'string'], + 'kind' => ['type' => 'string'], + 'createdTime' => ['type' => 'string'], + 'name' => ['type' => 'string', 'required' => true, 'minLength' => 1, 'maxLength' => 40, 'pattern' => '[a-z](?!-)[a-z0-9-]{1,40}(?<!-)'], + 'deletionTime' => ['type' => 'string'], + 'spec' => ['$ref' => '#/components/schemas/PipelineTemplateSpec'], + 'labels' => [ + 'type' => 'object', + 'additionalProperties' => ['type' => 'string'], ], + 'resourceVersion' => ['type' => 'integer', 'format' => 'int32'], ], ], - 'Pipeline' => [ + 'PipelineTemplateSpec' => [ 'type' => 'object', 'properties' => [ - 'spec' => [ - '$ref' => '#/components/schemas/PipelineSpec', - ], - 'status' => [ - '$ref' => '#/components/schemas/PipelineStatus', - ], - 'uid' => [ - 'type' => 'string', - 'required' => false, - ], - 'generation' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'description' => [ - 'type' => 'string', - ], - 'kind' => [ - 'type' => 'string', - ], - 'createdTime' => [ - 'type' => 'string', - ], - 'name' => [ - 'type' => 'string', - 'required' => true, - 'minLength' => 1, - 'maxLength' => 40, - 'pattern' => '[a-z](?!-)[a-z0-9-]{1,40}(?<!-)', + 'context' => ['$ref' => '#/components/schemas/Context'], + 'tasks' => [ + 'type' => 'array', + 'items' => ['$ref' => '#/components/schemas/TaskExec'], ], + 'contextSchema' => ['type' => 'object'], + ], + ], + 'PipelineTrigger' => [ + 'type' => 'object', + 'properties' => [ + 'uid' => ['type' => 'string', 'required' => false], + 'generation' => ['type' => 'integer', 'format' => 'int32'], + 'description' => ['type' => 'string'], + 'kind' => ['type' => 'string'], + 'createdTime' => ['type' => 'string'], + 'name' => ['type' => 'string', 'required' => true, 'minLength' => 1, 'maxLength' => 63, 'pattern' => '^(?![0-9]+$)(?!-)[a-zA-Z0-9-_]{0,63}(?<!-)$'], + 'spec' => ['$ref' => '#/components/schemas/PipelineTriggerSpec'], 'labels' => [ 'type' => 'object', - 'additionalProperties' => [ - 'type' => 'string', - ], - ], - 'resourceVersion' => [ - 'type' => 'integer', - 'format' => 'int32', + 'additionalProperties' => ['type' => 'string'], ], + 'resourceVersion' => ['type' => 'integer', 'format' => 'int32'], ], ], - 'PipelineSpec' => [ + 'PipelineTriggerEvent' => [ 'type' => 'object', 'properties' => [ - 'templateName' => [ - 'type' => 'string', - ], - 'context' => [ - '$ref' => '#/components/schemas/Context', - ], - 'templateSpec' => [ - '$ref' => '#/components/schemas/PipelineTemplateSpec', + 'uid' => ['type' => 'string', 'required' => false], + 'generation' => ['type' => 'integer', 'format' => 'int32'], + 'description' => ['type' => 'string'], + 'kind' => ['type' => 'string'], + 'createdTime' => ['type' => 'string'], + 'name' => ['type' => 'string', 'required' => true, 'minLength' => 1, 'maxLength' => 63, 'pattern' => '^(?![0-9]+$)(?!-)[a-zA-Z0-9-_]{0,63}(?<!-)$'], + 'status' => ['$ref' => '#/components/schemas/PipelineTriggerEventStatus'], + 'labels' => [ + 'type' => 'object', + 'additionalProperties' => ['type' => 'string'], ], + 'resourceVersion' => ['type' => 'integer', 'format' => 'int32'], + 'spec' => ['$ref' => '#/components/schemas/PipelineTriggerEventSpec'], ], ], - 'PipelineStatus' => [ + 'PipelineTriggerEventSpec' => [ 'type' => 'object', 'properties' => [ - 'phase' => [ - 'type' => 'string', - ], - 'latestExecError' => [ - '$ref' => '#/components/schemas/TaskExecError', - ], + 'payload' => ['$ref' => '#/components/schemas/EventPayload'], + 'triggerName' => ['type' => 'string'], ], ], - 'PipelineTemplate' => [ + 'PipelineTriggerEventStatus' => [ 'type' => 'object', 'properties' => [ - 'uid' => [ - 'type' => 'string', - 'required' => false, - ], - 'generation' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'description' => [ - 'type' => 'string', - ], - 'kind' => [ - 'type' => 'string', - ], - 'createdTime' => [ - 'type' => 'string', - ], - 'name' => [ - 'type' => 'string', - 'required' => true, - 'minLength' => 1, - 'maxLength' => 40, - 'pattern' => '[a-z](?!-)[a-z0-9-]{1,40}(?<!-)', - ], - 'deletionTime' => [ - 'type' => 'string', - ], - 'spec' => [ - '$ref' => '#/components/schemas/PipelineTemplateSpec', - ], - 'labels' => [ - 'type' => 'object', - 'additionalProperties' => [ - 'type' => 'string', - ], - ], - 'resourceVersion' => [ - 'type' => 'integer', - 'format' => 'int32', - ], + 'status' => ['type' => 'string'], + 'firedPipelineName' => ['type' => 'string'], + 'releaseDetail' => ['$ref' => '#/components/schemas/ReleaseDetail'], + 'errorMessage' => ['type' => 'string'], ], ], - 'PipelineTemplateSpec' => [ + 'PipelineTriggerSpec' => [ 'type' => 'object', 'properties' => [ - 'context' => [ - '$ref' => '#/components/schemas/Context', - ], - 'tasks' => [ - 'type' => 'array', - 'items' => [ - '$ref' => '#/components/schemas/TaskExec', - ], - ], + 'eventFilter' => ['$ref' => '#/components/schemas/EventFilterConfig', 'required' => true], + 'runPipeline' => ['$ref' => '#/components/schemas/RunPipelineConfig'], ], ], 'Project' => [ 'type' => 'object', 'properties' => [ - 'uid' => [ - 'type' => 'string', - 'required' => false, - ], - 'kind' => [ - 'type' => 'string', - ], - 'createdTime' => [ - 'type' => 'string', - ], - 'name' => [ - 'type' => 'string', - 'required' => true, - 'minLength' => 1, - 'maxLength' => 40, - 'pattern' => '[a-z](?!-)[a-z0-9-]{1,40}(?<!-)', - ], + 'uid' => ['type' => 'string', 'required' => false], + 'kind' => ['type' => 'string'], + 'createdTime' => ['type' => 'string'], + 'name' => ['type' => 'string', 'required' => true, 'minLength' => 1, 'maxLength' => 40, 'pattern' => '[a-z](?!-)[a-z0-9-]{1,40}(?<!-)'], 'labels' => [ 'type' => 'object', - 'additionalProperties' => [ - 'type' => 'string', - ], - ], - 'description' => [ - 'type' => 'string', - ], - 'status' => [ - '$ref' => '#/components/schemas/ProjectStatus', + 'additionalProperties' => ['type' => 'string'], ], + 'description' => ['type' => 'string'], + 'spec' => ['$ref' => '#/components/schemas/ProjectSpec'], + 'status' => ['$ref' => '#/components/schemas/ProjectStatus'], ], ], 'ProjectSpec' => [ 'type' => 'object', - 'properties' => [], + 'properties' => [ + 'token' => ['type' => 'string'], + ], ], 'ProjectStatus' => [ 'type' => 'object', 'properties' => [ 'services' => [ 'type' => 'array', - 'items' => [ - '$ref' => '#/components/schemas/ServiceMeta', - ], + 'items' => ['$ref' => '#/components/schemas/ServiceMeta'], ], + 'isDeleting' => ['type' => 'boolean'], ], ], 'PublishTask' => [ 'type' => 'object', 'properties' => [ - 'name' => [ - 'type' => 'string', - ], - 'kind' => [ - 'type' => 'string', - ], - 'uid' => [ - 'type' => 'string', - ], - 'createdTime' => [ - 'type' => 'string', - ], - 'description' => [ - 'type' => 'string', - ], - 'spec' => [ - '$ref' => '#/components/schemas/PublishTaskSpec', - ], - 'status' => [ - '$ref' => '#/components/schemas/PublishTaskStatus', - ], + 'name' => ['type' => 'string'], + 'kind' => ['type' => 'string'], + 'uid' => ['type' => 'string'], + 'createdTime' => ['type' => 'string'], + 'description' => ['type' => 'string'], + 'spec' => ['$ref' => '#/components/schemas/PublishTaskSpec'], + 'status' => ['$ref' => '#/components/schemas/PublishTaskStatus'], 'labels' => [ 'type' => 'object', - 'additionalProperties' => [ - 'type' => 'string', - ], + 'additionalProperties' => ['type' => 'string'], ], ], ], 'PublishTaskSpec' => [ 'type' => 'object', 'properties' => [ - 'type' => [ - 'type' => 'string', - ], + 'type' => ['type' => 'string'], 'options' => [ 'type' => 'object', 'properties' => [ - 'autoSave' => [ - 'type' => 'boolean', - ], + 'autoSave' => ['type' => 'boolean'], ], ], 'rawResourceConfig' => [ 'type' => 'object', - 'additionalProperties' => [ - 'type' => 'any', - ], + 'additionalProperties' => ['type' => 'any'], ], ], ], 'PublishTaskStatus' => [ 'type' => 'object', 'properties' => [ - 'phase' => [ - 'type' => 'string', - ], + 'phase' => ['type' => 'string'], 'phases' => [ 'type' => 'object', 'additionalProperties' => [ 'type' => 'object', 'properties' => [ - 'attempts' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'status' => [ - 'type' => 'string', - ], - 'startTime' => [ - 'type' => 'string', - ], - 'finishTime' => [ - 'type' => 'string', - ], + 'attempts' => ['type' => 'integer', 'format' => 'int32'], + 'status' => ['type' => 'string'], + 'startTime' => ['type' => 'string'], + 'finishTime' => ['type' => 'string'], 'details' => [ 'type' => 'object', - 'additionalProperties' => [ - 'type' => 'any', - ], + 'additionalProperties' => ['type' => 'any'], ], 'error' => [ 'type' => 'object', 'properties' => [ - 'message' => [ - 'type' => 'string', - ], - 'code' => [ - 'type' => 'string', - ], + 'message' => ['type' => 'string'], + 'code' => ['type' => 'string'], ], ], ], @@ -4951,952 +830,275 @@ 'PullRequestFilter' => [ 'type' => 'object', 'properties' => [ - 'sourceBranch' => [ - 'type' => 'string', - 'required' => false, - ], - 'targetBranch' => [ - 'type' => 'string', - 'required' => false, - ], + 'sourceBranch' => ['type' => 'string', 'required' => false], + 'targetBranch' => ['type' => 'string', 'required' => false], 'types' => [ 'type' => 'array', - 'items' => [ - 'type' => 'string', - ], + 'items' => ['type' => 'string'], ], ], ], 'PushFilter' => [ 'type' => 'object', 'properties' => [ - 'branch' => [ - 'type' => 'string', - 'required' => false, - ], - 'tag' => [ - 'type' => 'string', - 'required' => false, - ], - ], - ], - 'Repository' => [ - 'type' => 'object', - 'properties' => [ - 'uid' => [ - 'type' => 'string', - 'required' => false, - ], - 'kind' => [ - 'type' => 'string', - ], - 'createdTime' => [ - 'type' => 'string', - ], - 'name' => [ - 'type' => 'string', - 'required' => true, - 'minLength' => 1, - 'maxLength' => 40, - 'pattern' => '[a-z](?!-)[a-z0-9-]{1,40}(?<!-)', - ], - 'spec' => [ - '$ref' => '#/components/schemas/RepositorySpec', - 'required' => true, - ], - 'labels' => [ - 'type' => 'object', - 'additionalProperties' => [ - 'type' => 'string', - ], - ], - 'description' => [ - 'type' => 'string', - ], - ], - ], - 'RepositorySourceConfig' => [ - 'type' => 'object', - 'properties' => [ - 'repositoryName' => [ - 'type' => 'string', - 'required' => true, - ], - 'codeVersion' => [ - '$ref' => '#/components/schemas/CodeVersionReference', - ], - 'filter' => [ - '$ref' => '#/components/schemas/EventFilterConfig', - ], - ], - ], - 'RepositorySpec' => [ - 'type' => 'object', - 'properties' => [ - 'connectionName' => [ - 'type' => 'string', - 'required' => true, - ], - 'cloneUrl' => [ - 'type' => 'string', - 'required' => true, - ], - 'platform' => [ - 'type' => 'string', - ], - 'id' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'owner' => [ - 'type' => 'string', - ], - 'displayName' => [ - 'type' => 'string', - ], - 'webUrl' => [ - 'type' => 'string', - ], - ], - ], - 'RunAfter' => [ - 'type' => 'object', - 'properties' => [ - 'name' => [ - 'type' => 'string', - ], + 'branch' => ['type' => 'string', 'required' => false], + 'tag' => ['type' => 'string', 'required' => false], ], ], - 'ServiceBaseline' => [ + 'ReleaseDetail' => [ 'type' => 'object', 'properties' => [ - 'serviceInstance' => [ - '$ref' => '#/components/schemas/ServiceInstance', - ], + 'pipelineTriggerEventName' => ['type' => 'string'], + 'bizStatus' => ['type' => 'string'], + 'pipelineName' => ['type' => 'string'], + 'templateConfigSnapshot' => ['$ref' => '#/components/schemas/TemplateConfig'], + 'releaseOutputs' => ['type' => 'object'], + 'finishedTime' => ['type' => 'string'], + 'repositorySnapshot' => ['$ref' => '#/components/schemas/RepositorySpec'], + 'gitEventSnapshot' => ['$ref' => '#/components/schemas/GitEventSnapshot'], + 'message' => ['type' => 'string'], + 'latestTaskExecError' => ['$ref' => '#/components/schemas/TaskExecError'], + 'envName' => ['type' => 'string'], ], ], - 'ServiceChanges' => [ - 'type' => 'object', - 'properties' => [ - 'merge' => [ - 'type' => 'object', - ], - ], - ], - 'ServiceCommandStep' => [ - 'type' => 'object', - 'properties' => [ - 'run' => [ - 'type' => 'string', - ], - 'path' => [ - 'type' => 'string', - ], - ], - ], - 'ServiceComponentStep' => [ - 'type' => 'object', - 'properties' => [ - 'component' => [ - 'type' => 'string', - ], - ], - ], - 'ServiceConfig' => [ - 'type' => 'object', - 'properties' => [ - 'props' => [ - 'type' => 'object', - ], - 'source' => [ - '$ref' => '#/components/schemas/SourceConfig', - ], - 'build' => [ - '$ref' => '#/components/schemas/BuildConfig', - ], - 'variables' => [ - 'type' => 'object', - 'additionalProperties' => [ - '$ref' => '#/components/schemas/Variable', - ], - ], - 'type' => [ - 'type' => 'string', - ], - 'component' => [ - 'type' => 'string', - ], - 'artifact' => [ - '$ref' => '#/components/schemas/ArtifactMeta', - ], - ], - ], - 'ServiceDeployment' => [ + 'Repository' => [ 'type' => 'object', 'properties' => [ - 'uid' => [ - 'type' => 'string', - 'required' => false, - ], - 'description' => [ - 'type' => 'string', - ], - 'kind' => [ - 'type' => 'string', - ], - 'createdTime' => [ - 'type' => 'string', - ], - 'environmentDeploymentName' => [ - 'type' => 'string', - ], - 'name' => [ - 'type' => 'string', - 'required' => true, - 'minLength' => 1, - 'maxLength' => 63, - 'pattern' => '^(?![0-9]+$)(?!-)[a-zA-Z0-9-_]{0,63}(?<!-)$', - ], - 'status' => [ - '$ref' => '#/components/schemas/ServiceDeploymentStatus', - ], + 'uid' => ['type' => 'string', 'required' => false], + 'kind' => ['type' => 'string'], + 'createdTime' => ['type' => 'string'], + 'name' => ['type' => 'string', 'required' => true, 'minLength' => 1, 'maxLength' => 40, 'pattern' => '[a-z](?!-)[a-z0-9-]{1,40}(?<!-)'], + 'spec' => ['$ref' => '#/components/schemas/RepositorySpec', 'required' => true], 'labels' => [ 'type' => 'object', - 'additionalProperties' => [ - 'type' => 'string', - ], + 'additionalProperties' => ['type' => 'string'], ], + 'description' => ['type' => 'string'], ], ], - 'ServiceDeploymentSpec' => [ + 'RepositoryConfig' => [ 'type' => 'object', 'properties' => [ - 'changes' => [ - '$ref' => '#/components/schemas/ServiceChanges', - ], - 'baseline' => [ - '$ref' => '#/components/schemas/ServiceBaseline', - ], - 'target' => [ - '$ref' => '#/components/schemas/ServiceBaseline', - ], - 'skipRemoveResources' => [ - 'type' => 'boolean', - ], + 'repositoryName' => ['type' => 'string', 'required' => true], + 'branchName' => ['type' => 'string', 'required' => true], + 'manifest' => ['type' => 'string'], ], ], - 'ServiceDeploymentStatus' => [ + 'RepositorySpec' => [ 'type' => 'object', 'properties' => [ - 'phase' => [ - 'type' => 'string', - ], - 'pipelineName' => [ - 'type' => 'string', - ], - 'startTime' => [ - 'type' => 'string', - ], - 'finishedTime' => [ - 'type' => 'string', - ], - 'taskName' => [ - 'type' => 'string', - ], + 'connectionName' => ['type' => 'string', 'required' => true], + 'cloneUrl' => ['type' => 'string', 'required' => true], + 'platform' => ['type' => 'string'], + 'id' => ['type' => 'integer', 'format' => 'int64'], + 'owner' => ['type' => 'string'], + 'displayName' => ['type' => 'string'], + 'webUrl' => ['type' => 'string'], ], ], - 'ServiceInstance' => [ + 'ResourceDrift' => [ 'type' => 'object', 'properties' => [ - 'config' => [ - '$ref' => '#/components/schemas/ServiceConfig', - ], - 'variables' => [ - 'type' => 'object', - 'additionalProperties' => [ - '$ref' => '#/components/schemas/Variable', - ], - ], - 'outputs' => [ - 'type' => 'object', - 'additionalProperties' => [ - 'type' => 'any', - ], - ], - 'latestDeployment' => [ + 'address' => ['type' => 'string'], + 'mode' => ['type' => 'string'], + 'type' => ['type' => 'string'], + 'name' => ['type' => 'string'], + 'change' => [ 'type' => 'object', 'properties' => [ - 'name' => [ - 'type' => 'string', - ], - 'startTime' => [ - 'type' => 'string', - ], - 'finishedTime' => [ - 'type' => 'string', - ], - 'phase' => [ - 'type' => 'string', + 'actions' => [ + 'type' => 'array', + 'items' => ['type' => 'string'], ], + 'before' => ['type' => 'any'], + 'after' => ['type' => 'any'], ], ], ], ], - 'ServiceMeta' => [ - 'type' => 'object', - 'properties' => [ - 'name' => [ - 'type' => 'string', - ], - 'type' => [ - 'type' => 'string', - ], - ], - ], - 'ServicePluginStep' => [ + 'RunAfter' => [ 'type' => 'object', 'properties' => [ - 'plugin' => [ - 'type' => 'string', - ], - 'args' => [ - 'type' => 'object', - ], + 'name' => ['type' => 'string'], ], ], - 'SourceConfig' => [ + 'RunPipelineConfig' => [ 'type' => 'object', 'properties' => [ - 'template' => [ - '$ref' => '#/components/schemas/TemplateSourceConfig', - ], - 'repository' => [ - '$ref' => '#/components/schemas/RepositorySourceConfig', - ], - 'oss' => [ - '$ref' => '#/components/schemas/OssSourceConfig', + 'yamlFilePath' => ['type' => 'string'], + 'yamlFileContent' => ['type' => 'string'], + 'pipelineSpec' => ['$ref' => '#/components/schemas/PipelineSpec'], + 'variables' => [ + 'type' => 'array', + 'items' => ['$ref' => '#/components/schemas/Variable'], ], ], ], 'Task' => [ 'type' => 'object', 'properties' => [ - 'spec' => [ - '$ref' => '#/components/schemas/TaskSpec', - ], - 'status' => [ - '$ref' => '#/components/schemas/TaskStatus', - ], - 'uid' => [ - 'type' => 'string', - 'required' => false, - ], - 'generation' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'description' => [ - 'type' => 'string', - ], - 'kind' => [ - 'type' => 'string', - ], - 'createdTime' => [ - 'type' => 'string', - ], - 'name' => [ - 'type' => 'string', - 'required' => true, - 'minLength' => 1, - 'maxLength' => 40, - 'pattern' => '[a-z](?!-)[a-z0-9-]{1,40}(?<!-)', - ], + 'spec' => ['$ref' => '#/components/schemas/TaskSpec'], + 'status' => ['$ref' => '#/components/schemas/TaskStatus'], + 'uid' => ['type' => 'string', 'required' => false], + 'generation' => ['type' => 'integer', 'format' => 'int32'], + 'description' => ['type' => 'string'], + 'kind' => ['type' => 'string'], + 'createdTime' => ['type' => 'string'], + 'name' => ['type' => 'string', 'required' => true, 'minLength' => 1, 'maxLength' => 40, 'pattern' => '[a-z](?!-)[a-z0-9-]{1,40}(?<!-)'], 'labels' => [ 'type' => 'object', - 'additionalProperties' => [ - 'type' => 'string', - ], - ], - 'resourceVersion' => [ - 'type' => 'integer', - 'format' => 'int32', + 'additionalProperties' => ['type' => 'string'], ], + 'resourceVersion' => ['type' => 'integer', 'format' => 'int32'], ], ], 'TaskExec' => [ 'type' => 'object', 'properties' => [ - 'name' => [ - 'type' => 'string', - ], - 'context' => [ - '$ref' => '#/components/schemas/Context', - ], - 'taskTemplate' => [ - 'type' => 'string', - ], + 'name' => ['type' => 'string'], + 'context' => ['$ref' => '#/components/schemas/Context'], + 'taskTemplate' => ['type' => 'string'], 'runAfters' => [ 'type' => 'array', - 'items' => [ - '$ref' => '#/components/schemas/RunAfter', - ], + 'items' => ['$ref' => '#/components/schemas/RunAfter'], ], ], ], 'TaskExecError' => [ 'type' => 'object', 'properties' => [ - 'title' => [ - 'type' => 'string', - ], - 'message' => [ - 'type' => 'string', - ], - 'code' => [ - 'type' => 'string', - ], - 'requestId' => [ - 'type' => 'string', - ], - 'extraInfo' => [ - 'type' => 'string', - ], + 'title' => ['type' => 'string'], + 'message' => ['type' => 'string'], + 'code' => ['type' => 'string'], + 'requestId' => ['type' => 'string'], + 'extraInfo' => ['type' => 'string'], ], ], 'TaskInvocation' => [ 'type' => 'object', 'properties' => [ - 'invocationID' => [ - 'type' => 'string', - ], - 'requestID' => [ - 'type' => 'string', - ], - 'invocationTarget' => [ - 'type' => 'string', - ], - 'status' => [ - 'type' => 'string', - ], - 'output' => [ - 'type' => 'string', - ], - 'instanceID' => [ - 'type' => 'string', - ], - 'slsProject' => [ - 'type' => 'string', - ], - 'slsLogStore' => [ - 'type' => 'string', - ], + 'invocationID' => ['type' => 'string'], + 'requestID' => ['type' => 'string'], + 'invocationTarget' => ['type' => 'string'], + 'status' => ['type' => 'string'], + 'output' => ['type' => 'string'], + 'instanceID' => ['type' => 'string'], + 'slsProject' => ['type' => 'string'], + 'slsLogStore' => ['type' => 'string'], ], ], 'TaskSpec' => [ 'type' => 'object', 'properties' => [ - 'templateName' => [ - 'type' => 'string', - ], - 'context' => [ - '$ref' => '#/components/schemas/Context', - ], + 'templateName' => ['type' => 'string'], + 'context' => ['$ref' => '#/components/schemas/Context'], ], ], 'TaskStatus' => [ 'type' => 'object', 'properties' => [ - 'statusGeneration' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'phase' => [ - 'type' => 'string', - ], + 'statusGeneration' => ['type' => 'integer', 'format' => 'int64'], + 'phase' => ['type' => 'string'], 'executionDetails' => [ 'type' => 'array', - 'items' => [ - 'type' => 'string', - ], + 'items' => ['type' => 'string'], ], 'invocations' => [ 'type' => 'array', - 'items' => [ - '$ref' => '#/components/schemas/TaskInvocation', - ], - ], - 'latestExecError' => [ - '$ref' => '#/components/schemas/TaskExecError', + 'items' => ['$ref' => '#/components/schemas/TaskInvocation'], ], + 'latestExecError' => ['$ref' => '#/components/schemas/TaskExecError'], ], ], 'TaskTemplate' => [ 'type' => 'object', 'properties' => [ - 'uid' => [ - 'type' => 'string', - 'required' => false, - ], - 'generation' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'description' => [ - 'type' => 'string', - ], - 'kind' => [ - 'type' => 'string', - ], - 'createdTime' => [ - 'type' => 'string', - ], - 'name' => [ - 'type' => 'string', - 'required' => true, - 'minLength' => 1, - 'maxLength' => 40, - 'pattern' => '[a-z](?!-)[a-z0-9-]{1,40}(?<!-)', - ], - 'deletionTime' => [ - 'type' => 'string', - ], - 'spec' => [ - '$ref' => '#/components/schemas/TaskTemplateSpec', - ], + 'uid' => ['type' => 'string', 'required' => false], + 'generation' => ['type' => 'integer', 'format' => 'int32'], + 'description' => ['type' => 'string'], + 'kind' => ['type' => 'string'], + 'createdTime' => ['type' => 'string'], + 'name' => ['type' => 'string', 'required' => true, 'minLength' => 1, 'maxLength' => 40, 'pattern' => '[a-z](?!-)[a-z0-9-]{1,40}(?<!-)'], + 'deletionTime' => ['type' => 'string'], + 'spec' => ['$ref' => '#/components/schemas/TaskTemplateSpec'], 'labels' => [ 'type' => 'object', - 'additionalProperties' => [ - 'type' => 'string', - ], - ], - 'resourceVersion' => [ - 'type' => 'integer', - 'format' => 'int32', + 'additionalProperties' => ['type' => 'string'], ], + 'resourceVersion' => ['type' => 'integer', 'format' => 'int32'], ], ], 'TaskTemplateSpec' => [ 'type' => 'object', 'properties' => [ - 'description' => [ - 'type' => 'string', - ], - 'worker' => [ - '$ref' => '#/components/schemas/TaskWorker', - ], - 'context' => [ - '$ref' => '#/components/schemas/Context', - ], - 'executeCondition' => [ - '$ref' => '#/components/schemas/Condition', - ], + 'description' => ['type' => 'string'], + 'worker' => ['$ref' => '#/components/schemas/TaskWorker'], + 'context' => ['$ref' => '#/components/schemas/Context'], + 'contextSchema' => ['type' => 'object'], + 'executeCondition' => ['$ref' => '#/components/schemas/Condition'], ], ], 'TaskWorker' => [ 'type' => 'object', 'properties' => [ - 'presetWorker' => [ - 'type' => 'string', - ], - ], - ], - 'Template' => [ - 'type' => 'object', - 'properties' => [ - 'uid' => [ - 'type' => 'string', - 'required' => false, - ], - 'kind' => [ - 'type' => 'string', - ], - 'name' => [ - 'type' => 'string', - ], - 'description' => [ - 'type' => 'string', - ], - 'createdTime' => [ - 'type' => 'string', - ], - 'spec' => [ - '$ref' => '#/components/schemas/TemplateSpec', - ], - 'labels' => [ - 'type' => 'object', - 'additionalProperties' => [ - 'type' => 'string', - ], - ], - 'status' => [ - '$ref' => '#/components/schemas/TemplateStatus', - ], + 'presetWorker' => ['type' => 'string'], ], ], 'TemplateConfig' => [ 'type' => 'object', 'properties' => [ - 'variableValues' => [ - '$ref' => '#/components/schemas/TemplateVariableValueMap', - ], - 'templateName' => [ - 'type' => 'string', - 'required' => true, - ], + 'variableValues' => ['$ref' => '#/components/schemas/TemplateVariableValueMap'], + 'templateName' => ['type' => 'string', 'required' => true], 'parameters' => [ 'type' => 'object', 'required' => false, - 'additionalProperties' => [ - 'type' => 'string', - ], + 'additionalProperties' => ['type' => 'string'], ], 'serviceNameChanges' => [ 'type' => 'object', - 'additionalProperties' => [ - 'type' => 'string', - ], - ], - ], - ], - 'TemplateParameterSchema' => [ - 'type' => 'object', - 'properties' => [ - 'default' => [ - 'type' => 'any', - ], - 'pattern' => [ - 'type' => 'string', - ], - 'description' => [ - 'type' => 'string', - ], - 'roleExtension' => [ - 'type' => 'object', - 'properties' => [ - 'service' => [ - 'type' => 'string', - ], - 'name' => [ - 'type' => 'string', - ], - 'authorities' => [ - 'type' => 'array', - 'items' => [ - 'type' => 'string', - ], - ], - ], - ], - 'sensitive' => [ - 'type' => 'boolean', - ], - 'title' => [ - 'type' => 'string', - 'required' => false, - ], - 'type' => [ - 'type' => 'string', - 'required' => true, - 'enum' => [ - 'string', - 'number', - 'integer', - 'boolean', - ], - ], - 'required' => [ - 'type' => 'boolean', - ], - 'enum' => [ - 'type' => 'array', - 'items' => [ - 'type' => 'string', - ], - ], - ], - ], - 'TemplateRevision' => [ - 'type' => 'object', - 'properties' => [ - 'uid' => [ - 'type' => 'string', - 'required' => false, - ], - 'templateName' => [ - 'type' => 'string', - ], - 'kind' => [ - 'type' => 'string', - ], - 'name' => [ - 'type' => 'string', - ], - 'description' => [ - 'type' => 'string', - ], - 'createdTime' => [ - 'type' => 'string', - ], - 'spec' => [ - '$ref' => '#/components/schemas/TemplateSpec', - ], - 'labels' => [ - 'type' => 'object', - 'additionalProperties' => [ - 'type' => 'string', - ], - ], - 'status' => [ - 'type' => 'object', - 'properties' => [ - 'phase' => [ - 'type' => 'string', - ], - 'pipelineName' => [ - 'type' => 'string', - ], - 'packageUrl' => [ - 'type' => 'string', - ], - 'templateUrl' => [ - 'type' => 'string', - ], - ], - ], - ], - ], - 'TemplateServiceConfig' => [ - 'type' => 'object', - 'properties' => [ - 'artifact' => [ - '$ref' => '#/components/schemas/ArtifactMeta', - ], - 'variables' => [ - 'type' => 'object', - 'additionalProperties' => [ - '$ref' => '#/components/schemas/TemplateParameterSchema', - ], - ], - 'component' => [ - 'type' => 'string', - ], - 'build' => [ - '$ref' => '#/components/schemas/BuildConfig', - ], - 'source' => [ - '$ref' => '#/components/schemas/SourceConfig', - ], - 'type' => [ - 'type' => 'string', - ], - 'props' => [ - 'type' => 'object', - ], - ], - ], - 'TemplateSourceConfig' => [ - 'type' => 'object', - 'properties' => [ - 'downloadUrl' => [ - 'type' => 'string', - ], - 'name' => [ - 'type' => 'string', - ], - ], - ], - 'TemplateSpec' => [ - 'type' => 'object', - 'properties' => [ - 'license' => [ - 'type' => 'string', - ], - 'registryToken' => [ - 'type' => 'string', - ], - 'variables' => [ - 'type' => 'object', - 'additionalProperties' => [ - '$ref' => '#/components/schemas/TemplateParameterSchema', - ], - ], - 'author' => [ - 'type' => 'string', - 'required' => true, - ], - 'readme' => [ - 'type' => 'string', - 'required' => true, - ], - 'source' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'repository' => [ - '$ref' => '#/components/schemas/RepositorySourceConfig', - ], - ], - ], - 'services' => [ - 'type' => 'object', - 'additionalProperties' => [ - '$ref' => '#/components/schemas/TemplateServiceConfig', - ], - ], - 'packageName' => [ - 'type' => 'string', - ], - 'category' => [ - 'type' => 'string', - 'required' => true, - ], - 'version' => [ - 'type' => 'string', - ], - ], - ], - 'TemplateStatus' => [ - 'type' => 'object', - 'properties' => [ - 'phase' => [ - 'type' => 'string', - ], - 'latestDeployment' => [ - 'type' => 'object', - 'properties' => [ - 'phase' => [ - 'type' => 'string', - ], - 'pipelineName' => [ - 'type' => 'string', - ], - 'finishedTime' => [ - 'type' => 'string', - ], - 'startTime' => [ - 'type' => 'string', - ], - ], - ], - 'latestVersion' => [ - 'type' => 'string', - ], - 'packageUrl' => [ - 'type' => 'string', - ], - 'templateUrl' => [ - 'type' => 'string', - ], - ], - ], - 'TemplateVariableValueMap' => [ - 'type' => 'object', - 'properties' => [ - 'shared' => [ - 'type' => 'object', - ], - 'services' => [ - 'type' => 'object', - 'additionalProperties' => [ - 'type' => 'object', - 'additionalProperties' => [ - 'type' => 'string', - ], - ], - ], - ], - ], - 'Tool' => [ - 'type' => 'object', - 'properties' => [ - 'toolId' => [ - 'type' => 'string', - ], - 'path' => [ - 'type' => 'string', - ], - 'method' => [ - 'type' => 'string', - ], - 'toolName' => [ - 'type' => 'string', + 'additionalProperties' => ['type' => 'string'], ], ], ], 'Toolset' => [ 'type' => 'object', 'properties' => [ - 'generation' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'uid' => [ - 'type' => 'string', - 'required' => false, - ], - 'kind' => [ - 'type' => 'string', - ], - 'name' => [ - 'type' => 'string', - 'required' => true, - ], - 'createdTime' => [ - 'type' => 'string', - ], - 'description' => [ - 'type' => 'string', - ], - 'spec' => [ - '$ref' => '#/components/schemas/ToolsetSpec', - ], + 'uid' => ['type' => 'string', 'required' => false], + 'kind' => ['type' => 'string'], + 'name' => ['type' => 'string', 'required' => true], + 'createdTime' => ['type' => 'string'], + 'description' => ['type' => 'string'], + 'spec' => ['$ref' => '#/components/schemas/ToolsetSpec'], 'labels' => [ 'type' => 'object', - 'additionalProperties' => [ - 'type' => 'string', - ], - ], - 'status' => [ - '$ref' => '#/components/schemas/ToolsetStatus', + 'additionalProperties' => ['type' => 'string'], ], + 'status' => ['$ref' => '#/components/schemas/ToolsetStatus'], + 'generation' => ['type' => 'integer', 'format' => 'int64'], ], ], 'ToolsetAuthorization' => [ 'type' => 'object', 'properties' => [ + 'type' => ['type' => 'string'], 'authConfig' => [ 'type' => 'object', - 'additionalProperties' => [ - 'type' => 'string', - ], - ], - 'type' => [ - 'type' => 'string', + 'additionalProperties' => ['type' => 'string'], ], ], ], 'ToolsetSchema' => [ 'type' => 'object', 'properties' => [ - 'type' => [ - 'type' => 'string', - ], - 'detail' => [ - 'type' => 'string', - 'deprecated' => false, - ], + 'type' => ['type' => 'string'], + 'detail' => ['type' => 'string', 'deprecated' => false], 'config' => [ 'type' => 'object', 'properties' => [ - 'mcpInstallation' => [ - '$ref' => '#/components/schemas/MCPInstallationConfig', - ], - 'openAPISchema' => [ - 'type' => 'string', - ], - 'mcpGateway' => [ - '$ref' => '#/components/schemas/MCPGatewayConfig', - ], + 'mcpInstallation' => ['$ref' => '#/components/schemas/MCPInstallationConfig'], + 'openAPISchema' => ['type' => 'string'], + 'mcpGateway' => ['$ref' => '#/components/schemas/MCPGatewayConfig'], + 'difyPluginInstallation' => ['$ref' => '#/components/schemas/DifyPluginInstallationConfig'], ], ], ], @@ -5904,1311 +1106,785 @@ 'ToolsetSpec' => [ 'type' => 'object', 'properties' => [ - 'schema' => [ - '$ref' => '#/components/schemas/ToolsetSchema', - ], - 'authConfig' => [ - '$ref' => '#/components/schemas/Authorization', - ], + 'schema' => ['$ref' => '#/components/schemas/ToolsetSchema'], 'networkConfig' => [ 'type' => 'object', 'properties' => [ - 'internetAccess' => [ - 'type' => 'boolean', - ], + 'internetAccess' => ['type' => 'boolean'], 'vpcConfig' => [ 'type' => 'object', 'properties' => [ - 'vpcId' => [ - 'type' => 'string', - ], + 'vpcId' => ['type' => 'string'], 'vSwitchIds' => [ 'type' => 'array', - 'items' => [ - 'type' => 'string', - ], - ], - 'securityGroupId' => [ - 'type' => 'string', + 'items' => ['type' => 'string'], ], + 'securityGroupId' => ['type' => 'string'], ], ], ], ], + 'authConfig' => ['$ref' => '#/components/schemas/Authorization'], ], ], 'ToolsetStatus' => [ 'type' => 'object', 'properties' => [ - 'phase' => [ - 'type' => 'string', - ], + 'phase' => ['type' => 'string'], 'outputs' => [ 'type' => 'object', 'properties' => [ + 'functionArn' => ['type' => 'string'], 'urls' => [ 'type' => 'object', 'properties' => [ - 'internetUrl' => [ - 'type' => 'string', - ], - 'intranetUrl' => [ - 'type' => 'string', - ], - ], - ], - 'openApiTools' => [ - 'type' => 'array', - 'items' => [ - '$ref' => '#/components/schemas/OpenAPIToolMeta', + 'internetUrl' => ['type' => 'string'], + 'intranetUrl' => ['type' => 'string'], ], ], 'mcpServerConfig' => [ 'type' => 'object', 'properties' => [ + 'url' => ['type' => 'string'], + 'transportType' => ['type' => 'string'], 'headers' => [ 'type' => 'object', - 'additionalProperties' => [ - 'type' => 'string', - ], - ], - 'transportType' => [ - 'type' => 'string', - ], - 'url' => [ - 'type' => 'string', + 'additionalProperties' => ['type' => 'string'], ], ], ], + 'openApiTools' => [ + 'type' => 'array', + 'items' => ['$ref' => '#/components/schemas/OpenAPIToolMeta'], + ], 'tools' => [ 'type' => 'array', - 'items' => [ - '$ref' => '#/components/schemas/MCPToolMeta', - ], + 'items' => ['$ref' => '#/components/schemas/MCPToolMeta'], ], - 'functionArn' => [ - 'type' => 'string', + 'difyTools' => [ + 'type' => 'array', + 'items' => ['$ref' => '#/components/schemas/DifyToolSchema'], ], ], ], - 'observedTime' => [ - 'type' => 'string', - ], - 'observedGeneration' => [ - 'type' => 'integer', - 'format' => 'int64', - ], + 'observedGeneration' => ['type' => 'integer', 'format' => 'int64'], + 'observedTime' => ['type' => 'string'], ], ], 'Variable' => [ 'type' => 'object', 'properties' => [ - 'value' => [ - 'type' => 'any', - ], - 'sensitive' => [ - 'type' => 'boolean', - ], - 'encrypted' => [ - 'type' => 'boolean', - ], - ], - ], - 'WebhookCodeContext' => [ - 'type' => 'object', - 'properties' => [ - 'description' => [ - 'type' => 'string', - ], - 'message' => [ - 'type' => 'string', - ], - 'eventType' => [ - 'type' => 'string', - ], - 'commitID' => [ - 'type' => 'string', - ], - 'branch' => [ - 'type' => 'string', - ], - 'sourceBranch' => [ - 'type' => 'string', - ], - 'title' => [ - 'type' => 'string', - ], - 'tag' => [ - 'type' => 'string', - ], - 'prType' => [ - 'type' => 'string', - ], - 'targetBranch' => [ - 'type' => 'string', - ], - 'repoUrl' => [ - 'type' => 'string', - ], - ], - ], - 'open_struct_OssSourceConfig' => [ - 'type' => 'object', - 'deprecated' => true, - 'properties' => [ - 'bucket' => [ - 'type' => 'string', - ], - 'object' => [ - 'type' => 'string', - ], + 'value' => ['type' => 'any'], + 'sensitive' => ['type' => 'boolean'], + 'encrypted' => ['type' => 'boolean'], ], ], ], ], 'apis' => [ - 'UpdateToolset' => [ - 'path' => '/2023-07-14/toolsets/{name}', - 'methods' => [ - 'put', - ], - 'schemes' => [ - 'https', - ], + 'ActivateConnection' => [ + 'path' => '/2023-07-14/connections/{name}/activate', + 'methods' => ['patch'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ + 'name' => 'name', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ - '$ref' => '#/components/schemas/Toolset', - 'required' => false, - ], - ], - [ - 'name' => 'name', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', + 'type' => 'object', 'required' => false, + 'properties' => [ + 'account' => ['$ref' => '#/components/schemas/GitAccount', 'required' => false], + 'credential' => ['$ref' => '#/components/schemas/OAuthCredential', 'required' => false], + ], ], ], ], ], - 'ListToolsets' => [ - 'path' => '/2023-07-14/toolsets', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'https', - ], + 'CancelPipeline' => [ + 'path' => '/2023-07-14/pipelines/{name}/cancel', + 'methods' => ['put'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'labelSelector', - 'in' => 'query', - 'style' => 'simple', - 'schema' => [ - 'type' => 'array', - 'required' => false, - 'items' => [ - 'type' => 'string', - 'required' => false, - ], - ], - ], - [ - 'name' => 'pageNumber', - 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - ], - ], - [ - 'name' => 'pageSize', - 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - ], - ], - [ - 'name' => 'keyword', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'name' => 'name', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'GetToolset' => [ - 'path' => '/2023-07-14/toolsets/{name}', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'https', - ], + 'CancelTask' => [ + 'path' => '/2023-07-14/tasks/{name}/cancel', + 'methods' => ['put'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'name', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'DeleteToolset' => [ - 'path' => '/2023-07-14/toolsets/{name}', - 'methods' => [ - 'delete', - ], - 'schemes' => [ - 'https', - ], + 'CreateArtifact' => [ + 'path' => '/2023-07-14/artifacts', + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', + 'schema' => ['$ref' => '#/components/schemas/Artifact', 'required' => false], + ], ], - 'produces' => [ - 'application/json', + ], + 'CreateEnvironment' => [ + 'path' => '/2023-07-14/projects/{projectName}/environments', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'name', + 'name' => 'body', + 'in' => 'body', + 'schema' => ['$ref' => '#/components/schemas/Environment', 'required' => false], + ], + [ + 'name' => 'projectName', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => true], ], ], ], - 'CreateToolset' => [ - 'path' => '/2023-07-14/toolsets', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - ], + 'CreatePipeline' => [ + 'path' => '/2023-07-14/pipelines', + 'methods' => ['post'], + 'schemes' => ['http', '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' => [ - '$ref' => '#/components/schemas/Toolset', - 'required' => false, - ], + 'schema' => ['$ref' => '#/components/schemas/Pipeline', 'required' => false], ], ], ], - 'RenderServicesByTemplate' => [ - 'path' => '/2023-07-14/templates/action/renderServices', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - ], + 'CreateProject' => [ + 'path' => '/2023-07-14/projects', + 'methods' => ['post'], + 'schemes' => ['http', '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' => [ - 'templateName' => [ - 'type' => 'string', - 'required' => true, - ], - 'parameters' => [ - 'type' => 'object', - 'required' => false, - ], - 'variableValues' => [ - '$ref' => '#/components/schemas/TemplateVariableValueMap', - 'required' => false, - ], - 'serviceNameChanges' => [ - 'type' => 'object', - 'required' => false, - 'additionalProperties' => [ - 'type' => 'string', - ], - ], - 'projectName' => [ - 'type' => 'string', - 'required' => false, - ], - ], - ], + 'schema' => ['$ref' => '#/components/schemas/Project', 'required' => false], ], ], ], - 'FetchArtifactDownloadUrl' => [ - 'path' => '/2023-07-14/artifacts/{name}/fetchCode', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'https', - ], + 'CreateTask' => [ + 'path' => '/2023-07-14/tasks', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'name', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', + 'schema' => ['$ref' => '#/components/schemas/Task', 'required' => false], ], ], ], - 'FetchArtifactTempBucketToken' => [ - 'path' => '/2023-07-14/artifacts/action/fetchTempBucketToken', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'CreateToolset' => [ + 'path' => '/2023-07-14/toolsets', + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, - 'parameters' => [], + 'parameters' => [ + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', + 'schema' => ['$ref' => '#/components/schemas/Toolset', 'required' => false], + ], + ], ], - 'GetArtifact' => [ + 'DeleteArtifact' => [ 'path' => '/2023-07-14/artifacts/{name}', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'https', - ], + 'methods' => ['delete'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'name', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'PutArtifact' => [ - 'path' => '/2023-07-14/artifacts/{name}', - 'methods' => [ - 'put', - ], - 'schemes' => [ - 'https', - ], + 'DeleteConnection' => [ + 'path' => '/2023-07-14/connections/{name}', + 'methods' => ['delete'], + 'schemes' => ['http', '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' => [ - '$ref' => '#/components/schemas/Artifact', - 'required' => false, - ], - ], - [ 'name' => 'name', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'force', 'in' => 'query', - 'schema' => [ - 'type' => 'boolean', - 'required' => false, - ], + 'schema' => ['type' => 'boolean', 'required' => false], ], ], ], - 'DeleteArtifact' => [ - 'path' => '/2023-07-14/artifacts/{name}', - 'methods' => [ - 'delete', - ], - 'schemes' => [ - 'https', - ], + 'DeleteEnvironment' => [ + 'path' => '/2023-07-14/projects/{projectName}/environments/{name}', + 'methods' => ['delete'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ + 'name' => 'projectName', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ 'name' => 'name', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => true], ], ], ], - 'CreateArtifact' => [ - 'path' => '/2023-07-14/artifacts', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - ], + 'DeleteProject' => [ + 'path' => '/2023-07-14/projects/{name}', + 'methods' => ['delete'], + 'schemes' => ['http', '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' => [ - '$ref' => '#/components/schemas/Artifact', - 'required' => false, - ], + 'name' => 'name', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'force', + 'in' => 'query', + 'schema' => ['type' => 'boolean', 'required' => false], ], ], ], - 'CreateProject' => [ - 'path' => '/2023-07-14/projects', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'DeleteToolset' => [ + 'path' => '/2023-07-14/toolsets/{name}', + 'methods' => ['delete'], + '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' => [ - '$ref' => '#/components/schemas/Project', - 'required' => false, - ], + 'name' => 'name', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'DeleteProject' => [ - 'path' => '/2023-07-14/projects/{name}', - 'methods' => [ - 'delete', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'DeployEnvironment' => [ + 'path' => '/2023-07-14/projects/{projectName}/environments/{name}/deploy', + 'methods' => ['patch'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ + 'name' => 'projectName', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ 'name' => 'name', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'force', - 'in' => 'query', - 'schema' => [ - 'type' => 'boolean', - 'required' => false, - ], + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', + 'schema' => ['$ref' => '#/components/schemas/DeployEnvironmentOptions', 'required' => false], ], ], ], - 'UpdateProject' => [ - 'path' => '/2023-07-14/projects/{name}', - 'methods' => [ - 'put', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'FetchArtifactDownloadUrl' => [ + 'path' => '/2023-07-14/artifacts/{name}/fetchCode', + 'methods' => ['get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => [], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'body', - 'in' => 'body', - 'style' => 'json', - 'schema' => [ - '$ref' => '#/components/schemas/Project', - 'required' => false, - ], - ], - [ 'name' => 'name', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'ListProjects' => [ - 'path' => '/2023-07-14/projects', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'FetchArtifactTempBucketToken' => [ + 'path' => '/2023-07-14/artifacts/action/fetchTempBucketToken', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [], - 'produces' => [ - 'application/json', - ], + 'produces' => ['application/json'], 'deprecated' => false, - 'parameters' => [ - [ - 'name' => 'labelSelector', - 'in' => 'query', - 'style' => 'simple', - 'schema' => [ - 'type' => 'array', - 'required' => false, - 'items' => [ - 'type' => 'string', - 'required' => false, - ], - ], - ], - [ - 'name' => 'pageNumber', - 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - ], - ], + 'parameters' => [], + ], + 'FetchConnectionCredential' => [ + 'path' => '/2023-07-14/connections/{name}/fetchCredential', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'pageSize', - 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - ], + 'AK' => [], ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ [ - 'name' => 'keyword', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'name' => 'name', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'GetProject' => [ - 'path' => '/2023-07-14/projects/{name}', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'GetArtifact' => [ + 'path' => '/2023-07-14/artifacts/{name}', + 'methods' => ['get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'produces' => [ - 'application/json', - ], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'name', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'DeployEnvironment' => [ - 'path' => '/2023-07-14/projects/{projectName}/environments/{name}/deploy', - 'methods' => [ - 'patch', - ], - 'schemes' => [ - 'https', - ], + 'GetEnvironment' => [ + 'path' => '/2023-07-14/projects/{projectName}/environments/{name}', + 'methods' => ['get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'projectName', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'name', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'body', - 'in' => 'body', - 'style' => 'json', - 'schema' => [ - '$ref' => '#/components/schemas/DeployEnvironmentOptions', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => true], ], ], ], 'GetEnvironmentDeployment' => [ 'path' => '/2023-07-14/environmentdeployments/{name}', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'https', - ], + 'methods' => ['get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'produces' => [ - 'application/json', - ], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'name', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'GetServiceDeployment' => [ - 'path' => '/2023-07-14/servicedeployments/{name}', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'GetPipeline' => [ + 'path' => '/2023-07-14/pipelines/{name}', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'name', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'ListServiceDeployments' => [ - 'path' => '/2023-07-14/servicedeployments', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'GetProject' => [ + 'path' => '/2023-07-14/projects/{name}', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [], - 'produces' => [ - 'application/json', - ], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'labelSelector', - 'in' => 'query', - 'style' => 'simple', - 'schema' => [ - 'type' => 'array', - 'required' => false, - 'items' => [ - 'type' => 'string', - 'required' => false, - ], - ], - ], - [ - 'name' => 'pageNumber', - 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - ], - ], - [ - 'name' => 'pageSize', - 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - ], - ], - [ - 'name' => 'keyword', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'name' => 'name', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'PreviewEnvironment' => [ - 'path' => '/2023-07-14/projects/{projectName}/environments/{name}/preview', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'https', - ], + 'GetRepository' => [ + 'path' => '/2023-07-14/repositories/{name}', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'projectName', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ 'name' => 'name', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'CreateEnvironment' => [ - 'path' => '/2023-07-14/projects/{projectName}/environments', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - ], + 'GetServiceDeployment' => [ + 'path' => '/2023-07-14/servicedeployments/{name}', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'body', - 'in' => 'body', - 'schema' => [ - '$ref' => '#/components/schemas/Environment', - 'required' => false, - ], - ], - [ - 'name' => 'projectName', + 'name' => 'name', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'DeleteEnvironment' => [ - 'path' => '/2023-07-14/projects/{projectName}/environments/{name}', - 'methods' => [ - 'delete', - ], - 'schemes' => [ - 'https', - ], + 'GetTask' => [ + 'path' => '/2023-07-14/tasks/{name}', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'projectName', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ 'name' => 'name', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'UpdateEnvironment' => [ - 'path' => '/2023-07-14/projects/{projectName}/environments/{name}', - 'methods' => [ - 'put', - ], - 'schemes' => [ - 'https', - ], + 'GetToolset' => [ + 'path' => '/2023-07-14/toolsets/{name}', + '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', - 'schema' => [ - '$ref' => '#/components/schemas/Environment', - 'required' => false, - ], - ], - [ - 'name' => 'projectName', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ 'name' => 'name', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'ListEnvironments' => [ - 'path' => '/2023-07-14/projects/{projectName}/environments/', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'https', - ], + 'ListConnections' => [ + 'path' => '/2023-07-14/connections', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => [], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'projectName', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ 'name' => 'labelSelector', 'in' => 'query', 'style' => 'simple', 'schema' => [ 'type' => 'array', 'required' => false, - 'items' => [ - 'type' => 'string', - 'required' => false, - ], + 'items' => ['type' => 'string', 'required' => false], ], ], [ 'name' => 'pageNumber', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false], ], [ 'name' => 'pageSize', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false], ], [ 'name' => 'keyword', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'GetEnvironment' => [ - 'path' => '/2023-07-14/projects/{projectName}/environments/{name}', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'https', - ], + 'ListEnvironments' => [ + 'path' => '/2023-07-14/projects/{projectName}/environments/', + 'methods' => ['get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'projectName', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'name', - 'in' => 'path', + 'name' => 'labelSelector', + 'in' => 'query', + 'style' => 'simple', 'schema' => [ - 'type' => 'string', - 'required' => true, + 'type' => 'array', + 'required' => false, + 'items' => ['type' => 'string', 'required' => false], ], ], + [ + 'name' => 'pageNumber', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false], + ], + [ + 'name' => 'pageSize', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false], + ], + [ + 'name' => 'keyword', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], ], ], - 'DeleteConnection' => [ - 'path' => '/2023-07-14/connections/{name}', - 'methods' => [ - 'delete', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ListPipelines' => [ + 'path' => '/2023-07-14/pipelines', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => [], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'name', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'force', + 'name' => 'labelSelector', 'in' => 'query', + 'style' => 'simple', 'schema' => [ - 'type' => 'boolean', + 'type' => 'array', 'required' => false, + 'items' => ['type' => 'string', 'required' => false], ], ], ], ], - 'ListConnections' => [ - 'path' => '/2023-07-14/connections', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ListProjects' => [ + 'path' => '/2023-07-14/projects', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => [], - 'produces' => [ - 'application/json', - ], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ @@ -7218,123 +1894,77 @@ 'schema' => [ 'type' => 'array', 'required' => false, - 'items' => [ - 'type' => 'string', - 'required' => false, - ], + 'items' => ['type' => 'string', 'required' => false], ], ], [ 'name' => 'pageNumber', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false], ], [ 'name' => 'pageSize', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false], ], [ 'name' => 'keyword', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'GetRepository' => [ - 'path' => '/2023-07-14/repositories/{name}', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ListServiceDeployments' => [ + 'path' => '/2023-07-14/servicedeployments', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => [], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'name', - 'in' => 'path', + 'name' => 'labelSelector', + 'in' => 'query', + 'style' => 'simple', 'schema' => [ - 'type' => 'string', + 'type' => 'array', 'required' => false, + 'items' => ['type' => 'string', 'required' => false], ], ], - ], - ], - 'CreatePipeline' => [ - 'path' => '/2023-07-14/pipelines', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ [ - 'AK' => [], + 'name' => 'pageNumber', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false], ], - ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], - 'deprecated' => false, - 'parameters' => [ [ - 'name' => 'body', - 'in' => 'body', - 'style' => 'json', - 'schema' => [ - '$ref' => '#/components/schemas/Pipeline', - 'required' => false, - ], + 'name' => 'pageSize', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false], + ], + [ + 'name' => 'keyword', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'ListPipelines' => [ - 'path' => '/2023-07-14/pipelines', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ListTasks' => [ + 'path' => '/2023-07-14/tasks', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => [], - 'produces' => [ - 'application/json', - ], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ @@ -7344,519 +1974,371 @@ 'schema' => [ 'type' => 'array', 'required' => false, - 'items' => [ - 'type' => 'string', - 'required' => false, - ], + 'items' => ['type' => 'string', 'required' => false], ], ], ], ], - 'GetPipeline' => [ - 'path' => '/2023-07-14/pipelines/{name}', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ListToolsets' => [ + 'path' => '/2023-07-14/toolsets', + 'methods' => ['get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'name', - 'in' => 'path', + 'name' => 'labelSelector', + 'in' => 'query', + 'style' => 'simple', 'schema' => [ - 'type' => 'string', + 'type' => 'array', 'required' => false, + 'items' => ['type' => 'string', 'required' => false], ], ], + [ + 'name' => 'pageNumber', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false], + ], + [ + 'name' => 'pageSize', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false], + ], + [ + 'name' => 'keyword', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], ], ], - 'StartPipeline' => [ - 'path' => '/2023-07-14/pipelines/{name}/start', - 'methods' => [ - 'put', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'PreviewEnvironment' => [ + 'path' => '/2023-07-14/projects/{projectName}/environments/{name}/preview', + 'methods' => ['get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ + 'name' => 'projectName', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ 'name' => 'name', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => true], ], ], ], - 'CancelPipeline' => [ - 'path' => '/2023-07-14/pipelines/{name}/cancel', - 'methods' => [ - 'put', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'PutArtifact' => [ + 'path' => '/2023-07-14/artifacts/{name}', + 'methods' => ['put'], + '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' => ['$ref' => '#/components/schemas/Artifact', 'required' => false], + ], + [ 'name' => 'name', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'force', + 'in' => 'query', + 'schema' => ['type' => 'boolean', 'required' => false], ], ], ], 'PutPipelineStatus' => [ 'path' => '/2023-07-14/pipelines/{name}/status', - 'methods' => [ - 'put', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['put'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'name', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'body', 'in' => 'body', - 'schema' => [ - '$ref' => '#/components/schemas/Pipeline', - 'required' => false, - ], + 'schema' => ['$ref' => '#/components/schemas/Pipeline', 'required' => false], ], [ 'name' => 'force', 'in' => 'query', - 'schema' => [ - 'type' => 'boolean', - 'required' => false, - ], + 'schema' => ['type' => 'boolean', 'required' => false], ], ], ], - 'CreateTask' => [ - 'path' => '/2023-07-14/tasks', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'PutTaskStatus' => [ + 'path' => '/2023-07-14/tasks/{name}/status', + 'methods' => ['put'], + 'schemes' => ['http', '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' => [ - '$ref' => '#/components/schemas/Task', - 'required' => false, - ], + 'name' => 'name', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => false], ], - ], - ], - 'ListTasks' => [ - 'path' => '/2023-07-14/tasks', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ [ - 'AK' => [], + 'name' => 'body', + 'in' => 'body', + 'schema' => ['$ref' => '#/components/schemas/Task', 'required' => false], ], - ], - 'consumes' => [], - 'produces' => [ - 'application/json', - ], - 'deprecated' => false, - 'parameters' => [ [ - 'name' => 'labelSelector', + 'name' => 'force', 'in' => 'query', - 'style' => 'simple', - 'schema' => [ - 'type' => 'array', - 'required' => false, - 'items' => [ - 'type' => 'string', - 'required' => false, - ], - ], + 'schema' => ['type' => 'boolean', 'required' => false], ], ], ], - 'GetTask' => [ - 'path' => '/2023-07-14/tasks/{name}', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'RenderServicesByTemplate' => [ + 'path' => '/2023-07-14/templates/action/renderServices', + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'name', - 'in' => 'path', + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'type' => 'string', + 'type' => 'object', 'required' => false, + 'properties' => [ + 'templateName' => ['type' => 'string', 'required' => true], + 'parameters' => ['type' => 'object', 'required' => false], + 'variableValues' => ['$ref' => '#/components/schemas/TemplateVariableValueMap', 'required' => false], + 'serviceNameChanges' => [ + 'type' => 'object', + 'required' => false, + 'additionalProperties' => ['type' => 'string'], + ], + 'projectName' => ['type' => 'string', 'required' => false], + ], ], ], ], ], - 'StartTask' => [ - 'path' => '/2023-07-14/tasks/{name}/start', - 'methods' => [ - 'put', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ResumeTask' => [ + 'path' => '/2023-07-14/tasks/{name}/resume', + 'methods' => ['put'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'name', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], ], 'RetryTask' => [ 'path' => '/2023-07-14/tasks/{name}/retry', - 'methods' => [ - 'put', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['put'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'name', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'ResumeTask' => [ - 'path' => '/2023-07-14/tasks/{name}/resume', - 'methods' => [ - 'put', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'StartPipeline' => [ + 'path' => '/2023-07-14/pipelines/{name}/start', + 'methods' => ['put'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'name', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'CancelTask' => [ - 'path' => '/2023-07-14/tasks/{name}/cancel', - 'methods' => [ - 'put', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'StartTask' => [ + 'path' => '/2023-07-14/tasks/{name}/start', + 'methods' => ['put'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'name', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'PutTaskStatus' => [ - 'path' => '/2023-07-14/tasks/{name}/status', - 'methods' => [ - 'put', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'UpdateEnvironment' => [ + 'path' => '/2023-07-14/projects/{projectName}/environments/{name}', + 'methods' => ['put'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'name', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ 'name' => 'body', 'in' => 'body', - 'schema' => [ - '$ref' => '#/components/schemas/Task', - 'required' => false, - ], + 'schema' => ['$ref' => '#/components/schemas/Environment', 'required' => false], ], [ - 'name' => 'force', - 'in' => 'query', - 'schema' => [ - 'type' => 'boolean', - 'required' => false, - ], + 'name' => 'projectName', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'name', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], ], ], ], - 'ActivateConnection' => [ - 'path' => '/2023-07-14/connections/{name}/activate', - 'methods' => [ - 'patch', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'UpdateProject' => [ + 'path' => '/2023-07-14/projects/{name}', + 'methods' => ['put'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'name', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ 'name' => 'body', 'in' => 'body', 'style' => 'json', - 'schema' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'account' => [ - '$ref' => '#/components/schemas/GitAccount', - 'required' => false, - ], - 'credential' => [ - '$ref' => '#/components/schemas/OAuthCredential', - 'required' => false, - ], - ], - ], + 'schema' => ['$ref' => '#/components/schemas/Project', 'required' => false], + ], + [ + 'name' => 'name', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'FetchConnectionCredential' => [ - 'path' => '/2023-07-14/connections/{name}/fetchCredential', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'UpdateToolset' => [ + 'path' => '/2023-07-14/toolsets/{name}', + 'methods' => ['put'], + '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' => ['$ref' => '#/components/schemas/Toolset', 'required' => false], + ], + [ 'name' => 'name', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], ], ], 'endpoints' => [ - [ - 'regionId' => 'cn-hangzhou', - 'endpoint' => 'devs.cn-hangzhou.aliyuncs.com', - ], + ['regionId' => 'cn-shenzhen', 'regionName' => '华南1(深圳)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'devs.cn-shenzhen.aliyuncs.com', 'endpoint' => 'devs.cn-shenzhen.aliyuncs.com', 'vpc' => 'devs-vpc.cn-shenzhen.aliyuncs.com'], + ['regionId' => 'cn-beijing', 'regionName' => '华北2(北京)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'devs.cn-beijing.aliyuncs.com', 'endpoint' => 'devs.cn-beijing.aliyuncs.com', 'vpc' => 'devs-vpc.cn-beijing.aliyuncs.com'], + ['regionId' => 'cn-shanghai', 'regionName' => '华东2(上海)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'devs.cn-shanghai.aliyuncs.com', 'endpoint' => 'devs.cn-shanghai.aliyuncs.com', 'vpc' => 'devs-vpc.cn-shanghai.aliyuncs.com'], + ['regionId' => 'ap-southeast-1', 'regionName' => '新加坡', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'devs.ap-southeast-1.aliyuncs.com', 'endpoint' => 'devs.ap-southeast-1.aliyuncs.com', 'vpc' => 'devs-vpc.ap-southeast-1.aliyuncs.com'], + ['regionId' => 'cn-hangzhou', 'regionName' => '华东1(杭州)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'devs.cn-hangzhou.aliyuncs.com', 'endpoint' => 'devs.cn-hangzhou.aliyuncs.com', 'vpc' => 'devs-vpc.cn-hangzhou.aliyuncs.com'], + ['regionId' => 'us-west-1', 'regionName' => '美国(硅谷)', 'areaId' => 'europeAmerica', 'areaName' => '欧洲与美洲', 'public' => 'devs.us-west-1.aliyuncs.com', 'endpoint' => 'devs.us-west-1.aliyuncs.com', 'vpc' => 'devs-vpc.us-west-1.aliyuncs.com'], ], ]; |
