'1.0',
'info' => ['style' => 'SLS', 'product' => 'Sls', 'version' => '2019-10-23'],
'directories' => ['AnalyzeAppLog', 'AnalyzeProductLog', 'CreateApp', 'DeleteApp', 'DescribeApp', 'DisableAlert', 'EnableAlert', 'GetAlert', 'GetAlertHistories', 'GetSlsService', 'OpenSlsService', 'SetAlertActionPolicy', 'SetAlertCenterResource', 'SyncAlertGroups', 'SyncAlertUsers', 'UpdateApp', 'InitUserAlertResource', 'InitProjectAlertResource'],
'components' => [
'schemas' => [],
],
'apis' => [
'AnalyzeAppLog' => [
'summary' => '创建或更新应用',
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => [
'operationType' => 'create',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '84948',
'abilityTreeNodes' => ['FEATUREslsL870A3'],
],
'parameters' => [
[
'name' => 'AppType',
'in' => 'query',
'schema' => ['type' => 'string', 'required' => true, 'docRequired' => true],
],
[
'name' => 'DisplayName',
'in' => 'query',
'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'VariableMap',
'in' => 'query',
'style' => 'json',
'schema' => ['type' => 'object', 'required' => true, 'docRequired' => true],
],
[
'name' => 'SlsAccessToken',
'in' => 'query',
'schema' => ['type' => 'string'],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'Code' => ['type' => 'string'],
'Message' => ['type' => 'string'],
'RequestId' => ['type' => 'string'],
'Success' => ['type' => 'string'],
],
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'CreateProjectFailed', 'errorMessage' => 'Failed to create the project: %s.'],
['errorCode' => 'JobError', 'errorMessage' => 'Failed to create or update the job: %s.'],
['errorCode' => 'LogstoreError', 'errorMessage' => 'Failed to create or update the logstore: %s.'],
['errorCode' => 'ParamsIsNull', 'errorMessage' => '%s.'],
['errorCode' => 'ProjectExist', 'errorMessage' => '%s.'],
['errorCode' => 'InvalidRegion', 'errorMessage' => 'The region is invalid.'],
['errorCode' => 'DashboardError', 'errorMessage' => 'Failed to create or update the dashboard: %s.'],
['errorCode' => 'InvalidParameter', 'errorMessage' => 'The parameter is invalid: %s.'],
['errorCode' => 'ProjectRegionInvalid', 'errorMessage' => '%s.'],
['errorCode' => 'UnRegisterProduct', 'errorMessage' => '%s.'],
['errorCode' => 'GetProjectFailed', 'errorMessage' => 'Failed to get project: %s.'],
['errorCode' => 'InvalidLang', 'errorMessage' => '%s.'],
['errorCode' => 'SavedSearchError', 'errorMessage' => '%s.'],
['errorCode' => 'IndexError', 'errorMessage' => 'Failed to create or update index: %s.'],
],
[
['errorCode' => 'PermissionDenied', 'errorMessage' => '%s.'],
['errorCode' => 'UnAuthorized', 'errorMessage' => '%s.'],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '',
],
'AnalyzeProductLog' => [
'summary' => '操作云产品日志服务资源',
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => [
'operationType' => 'create',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '84949',
'abilityTreeNodes' => ['FEATUREslsL870A3'],
],
'parameters' => [
[
'name' => 'Project',
'in' => 'query',
'schema' => ['type' => 'string', 'required' => true, 'docRequired' => true],
],
[
'name' => 'Logstore',
'in' => 'query',
'schema' => ['type' => 'string', 'required' => true, 'docRequired' => true],
],
[
'name' => 'CloudProduct',
'in' => 'query',
'schema' => ['type' => 'string', 'required' => true, 'docRequired' => true],
],
[
'name' => 'Lang',
'in' => 'query',
'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Region',
'in' => 'query',
'schema' => ['type' => 'string', 'required' => true, 'docRequired' => true],
],
[
'name' => 'TTL',
'in' => 'query',
'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
[
'name' => 'ResourceQuota',
'in' => 'query',
'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Overwrite',
'in' => 'query',
'schema' => ['type' => 'boolean', 'required' => false, 'default' => 'true'],
],
[
'name' => 'ClientIp',
'in' => 'query',
'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'VariableMap',
'in' => 'query',
'style' => 'json',
'schema' => ['type' => 'object', 'required' => false],
],
[
'name' => 'HotTTL',
'in' => 'query',
'schema' => ['type' => 'integer', 'format' => 'int32'],
],
[
'name' => 'SlsAccessToken',
'in' => 'query',
'schema' => ['type' => 'string'],
],
[
'name' => 'InternalConfigOnly',
'in' => 'query',
'schema' => ['type' => 'boolean', 'default' => 'false'],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'Code' => ['type' => 'string'],
'Message' => ['type' => 'string'],
'RequestId' => ['type' => 'string'],
'Success' => ['type' => 'string'],
],
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'CreateProjectFailed', 'errorMessage' => 'Failed to create the project: %s.'],
['errorCode' => 'ParamsIsNull', 'errorMessage' => '%s.'],
['errorCode' => 'InvalidLang', 'errorMessage' => '%s.'],
['errorCode' => 'InvalidRegion', 'errorMessage' => 'The region is invalid.'],
['errorCode' => 'ProjectExist', 'errorMessage' => '%s.'],
['errorCode' => 'LogstoreError', 'errorMessage' => 'Failed to create or update the logstore: %s.'],
['errorCode' => 'DashboardError', 'errorMessage' => 'Failed to create or update the dashboard: %s.'],
['errorCode' => 'InvalidParameter', 'errorMessage' => 'The parameter is invalid: %s.'],
['errorCode' => 'ProjectRegionInvalid', 'errorMessage' => '%s.'],
['errorCode' => 'GetProjectFailed', 'errorMessage' => 'Failed to get project: %s.'],
['errorCode' => 'UnRegisterProduct', 'errorMessage' => '%s.'],
['errorCode' => 'IndexError', 'errorMessage' => 'Failed to create or update index: %s.'],
['errorCode' => 'SavedSearchError', 'errorMessage' => '%s.'],
['errorCode' => 'JobError', 'errorMessage' => 'Failed to create or update the job: %s.'],
],
[
['errorCode' => 'UnAuthorized', 'errorMessage' => '%s.'],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '',
],
'CreateApp' => [
'summary' => '创建应用。',
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => [
'operationType' => 'create',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '84954',
'abilityTreeNodes' => ['FEATUREslsL870A3'],
],
'parameters' => [
[
'name' => 'AppName',
'in' => 'query',
'schema' => ['description' => '应用名称', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'k8s-event'],
],
[
'name' => 'DisplayName',
'in' => 'query',
'schema' => ['description' => '应用的显示名称。', 'type' => 'string', 'required' => false, 'example' => 'k8s-event'],
],
[
'name' => 'Config',
'in' => 'formData',
'schema' => ['description' => '新建应用的配置信息。配置信息以**listname**和**tagkey**命令查询。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '{\'Status\': 1, \'CreatedTime\': \'2021-07-21T09:29:17Z\', \'CycleType\': \'Week\', \'CycleTime\': \'2,4\', \'ModifiedTime\': \'2024-10-29T10:27:07Z\'}'],
],
[
'name' => 'ClientIp',
'in' => 'query',
'schema' => ['description' => '客户端ip地址。', 'type' => 'string', 'required' => false, 'example' => '123.103.9.177'],
],
[
'name' => 'ClientToken',
'in' => 'query',
'schema' => ['description' => '客户端token,用于保证请求的幂等性。由客户端生成该参数值,要保证在不同请求间唯一,最大不值过64个ascii字符。', 'type' => 'string', 'required' => false, 'example' => 'ADsFsFWQ*****'],
],
[
'name' => 'SlsAccessToken',
'in' => 'query',
'schema' => ['description' => '身份验证凭证', 'type' => 'string', 'required' => false, 'example' => 'ASVadFWQ*****'],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'Code' => ['description' => '错误码。200表示成功。', 'type' => 'string', 'example' => '200'],
'AppName' => ['description' => '应用名称。', 'type' => 'string', 'example' => 'k8s-event'],
'Message' => ['description' => '返回信息。', 'type' => 'string', 'example' => 'successful'],
'RequestId' => ['description' => '请求id。', 'type' => 'string', 'example' => '88E6BA9F-7DD1-5544-B2C3-71D00E07271B'],
'Success' => ['description' => '请求是否成功。'."\n"
."\n"
.'- true:表示成功。'."\n"
.'- false:表示失败。'."\n"
."\n", 'type' => 'string', 'example' => 'true'],
],
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'InvalidAppName', 'errorMessage' => 'The appName is invalid.'],
['errorCode' => 'InvalidDisplayName', 'errorMessage' => 'Display name length exceeds limit.'],
['errorCode' => 'ParamMissing', 'errorMessage' => 'The app name is required.'],
['errorCode' => 'AlreadyExist', 'errorMessage' => 'App already exist.'],
['errorCode' => 'GetAppFailed', 'errorMessage' => 'Get app failed.'],
['errorCode' => 'AppNotExist', 'errorMessage' => 'The App not exist.'],
['errorCode' => 'CreateFailed', 'errorMessage' => 'Create app failed.'],
],
[
['errorCode' => 'PermissionDenied', 'errorMessage' => '%s.'],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"200\\",\\n \\"AppName\\": \\"k8s-event\\",\\n \\"Message\\": \\"successful\\",\\n \\"RequestId\\": \\"88E6BA9F-7DD1-5544-B2C3-71D00E07271B\\",\\n \\"Success\\": \\"true\\"\\n}","type":"json"}]',
'title' => '创建应用',
],
'DeleteApp' => [
'summary' => '删除应用',
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => [
'operationType' => 'delete',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '84959',
'abilityTreeNodes' => ['FEATUREslsL870A3'],
],
'parameters' => [
[
'name' => 'AppName',
'in' => 'query',
'schema' => ['type' => 'string', 'required' => true, 'docRequired' => true],
],
[
'name' => 'ClientIp',
'in' => 'query',
'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'SlsAccessToken',
'in' => 'query',
'schema' => ['type' => 'string'],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'Code' => ['type' => 'string'],
'Message' => ['type' => 'string'],
'RequestId' => ['type' => 'string'],
'Success' => ['type' => 'string'],
],
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'InvalidAppName', 'errorMessage' => 'The appName is invalid.'],
['errorCode' => 'GetAppFailed', 'errorMessage' => 'Get app failed.'],
['errorCode' => 'ParamMissing', 'errorMessage' => 'The app name is required.'],
['errorCode' => 'AppNotExist', 'errorMessage' => 'The App not exist.'],
['errorCode' => 'DeleteFailed', 'errorMessage' => 'Delete app failed.'],
['errorCode' => 'InvalidDisplayName', 'errorMessage' => 'Display name length exceeds limit.'],
],
[
['errorCode' => 'PermissionDenied', 'errorMessage' => '%s.'],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '',
],
'DescribeApp' => [
'summary' => '获取应用',
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '84962',
'abilityTreeNodes' => ['FEATUREslsL870A3'],
],
'parameters' => [
[
'name' => 'AppName',
'in' => 'query',
'schema' => ['type' => 'string', 'required' => true, 'docRequired' => true],
],
[
'name' => 'ClientIp',
'in' => 'query',
'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'SlsAccessToken',
'in' => 'query',
'schema' => ['type' => 'string'],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'Code' => ['type' => 'string'],
'Message' => ['type' => 'string'],
'RequestId' => ['type' => 'string'],
'Success' => ['type' => 'string'],
'AppModel' => [
'type' => 'object',
'properties' => [
'DisplayName' => ['type' => 'string'],
'AppName' => ['type' => 'string'],
'Config' => ['type' => 'string'],
'Uid' => ['type' => 'integer', 'format' => 'int64'],
],
],
],
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'InvalidAppName', 'errorMessage' => 'The appName is invalid.'],
['errorCode' => 'GetAppFailed', 'errorMessage' => 'Get app failed.'],
['errorCode' => 'ParamMissing', 'errorMessage' => 'The app name is required.'],
['errorCode' => 'AppNotExist', 'errorMessage' => 'The App not exist.'],
['errorCode' => 'InvalidDisplayName', 'errorMessage' => 'Display name length exceeds limit.'],
],
[
['errorCode' => 'PermissionDenied', 'errorMessage' => '%s.'],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '',
],
'DisableAlert' => [
'summary' => '禁用告警任务',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => [
'operationType' => 'update',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '84964',
'abilityTreeNodes' => ['FEATUREslsL870A3'],
],
'parameters' => [
[
'name' => 'Endpoint',
'in' => 'formData',
'schema' => ['type' => 'string', 'required' => true, 'docRequired' => true],
],
[
'name' => 'App',
'in' => 'formData',
'schema' => ['type' => 'string', 'required' => true, 'docRequired' => true],
],
[
'name' => 'ProjectName',
'in' => 'formData',
'schema' => ['type' => 'string', 'required' => true, 'docRequired' => true],
],
[
'name' => 'AlertId',
'in' => 'formData',
'schema' => ['type' => 'string', 'required' => true, 'docRequired' => true],
],
[
'name' => 'SlsAccessToken',
'in' => 'query',
'schema' => ['type' => 'string'],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'Code' => ['type' => 'string'],
'Message' => ['type' => 'string'],
'RequestId' => ['type' => 'string'],
'Success' => ['type' => 'boolean'],
],
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'InputParaError', 'errorMessage' => '%s.'],
['errorCode' => 'ProjectNotExist', 'errorMessage' => '%s.'],
],
[
['errorCode' => 'UnAuthorized', 'errorMessage' => '%s.'],
],
404 => [
['errorCode' => 'AlertNotExist', 'errorMessage' => '%s.'],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
],
'EnableAlert' => [
'summary' => '启用告警任务',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => [
'operationType' => 'update',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '84965',
'abilityTreeNodes' => ['FEATUREslsL870A3'],
],
'parameters' => [
[
'name' => 'Endpoint',
'in' => 'formData',
'schema' => ['type' => 'string', 'required' => true, 'docRequired' => true],
],
[
'name' => 'App',
'in' => 'formData',
'schema' => ['type' => 'string', 'required' => true, 'docRequired' => true],
],
[
'name' => 'ProjectName',
'in' => 'formData',
'schema' => ['type' => 'string', 'required' => true, 'docRequired' => true],
],
[
'name' => 'AlertId',
'in' => 'formData',
'schema' => ['type' => 'string', 'required' => true, 'docRequired' => true],
],
[
'name' => 'Language',
'in' => 'formData',
'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Tokens',
'in' => 'formData',
'schema' => ['type' => 'string', 'required' => true, 'docRequired' => true],
],
[
'name' => 'RuleVersion',
'in' => 'formData',
'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'RuleId',
'in' => 'formData',
'schema' => ['type' => 'string', 'required' => true, 'docRequired' => true],
],
[
'name' => 'Region',
'in' => 'formData',
'schema' => ['type' => 'string', 'required' => true, 'docRequired' => true],
],
[
'name' => 'SlsAccessToken',
'in' => 'query',
'schema' => ['type' => 'string'],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'Code' => ['type' => 'string'],
'Message' => ['type' => 'string'],
'RequestId' => ['type' => 'string'],
'Success' => ['type' => 'boolean'],
],
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'ProjectNotExist', 'errorMessage' => '%s.'],
['errorCode' => 'InputParaError', 'errorMessage' => '%s.'],
['errorCode' => 'ProjectForbidden', 'errorMessage' => '%s.'],
['errorCode' => 'JobAlreadyExist', 'errorMessage' => 'The job already exists.'],
],
[
['errorCode' => 'UnAuthorized', 'errorMessage' => '%s.'],
],
404 => [
['errorCode' => 'AlertNotExist', 'errorMessage' => '%s.'],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '',
],
'GetAlert' => [
'summary' => '获取告警任务',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '84966',
'abilityTreeNodes' => ['FEATUREslsL870A3'],
],
'parameters' => [
[
'name' => 'Endpoint',
'in' => 'formData',
'schema' => ['type' => 'string', 'required' => true, 'docRequired' => true],
],
[
'name' => 'ProjectName',
'in' => 'formData',
'schema' => ['type' => 'string', 'required' => true, 'docRequired' => true],
],
[
'name' => 'App',
'in' => 'formData',
'schema' => ['type' => 'string', 'required' => true, 'docRequired' => true],
],
[
'name' => 'AlertId',
'in' => 'formData',
'schema' => ['type' => 'string', 'required' => true, 'docRequired' => true],
],
[
'name' => 'SlsAccessToken',
'in' => 'query',
'schema' => ['type' => 'string'],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'Code' => ['type' => 'string'],
'Data' => ['type' => 'string'],
'Message' => ['type' => 'string'],
'RequestId' => ['type' => 'string'],
'Success' => ['type' => 'boolean'],
],
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'ProjectNotExist', 'errorMessage' => '%s.'],
['errorCode' => 'InputParaError', 'errorMessage' => '%s.'],
],
[
['errorCode' => 'UnAuthorized', 'errorMessage' => '%s.'],
],
404 => [
['errorCode' => 'AlertNotExist', 'errorMessage' => '%s.'],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '',
],
'GetAlertHistories' => [
'summary' => '获取历史告警任务',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '84967',
'abilityTreeNodes' => ['FEATUREslsL870A3'],
],
'parameters' => [
[
'name' => 'App',
'in' => 'formData',
'schema' => ['type' => 'string', 'required' => true, 'docRequired' => true],
],
[
'name' => 'Region',
'in' => 'formData',
'schema' => ['type' => 'string', 'required' => true, 'docRequired' => true],
],
[
'name' => 'AlertId',
'in' => 'formData',
'schema' => ['type' => 'string', 'required' => true, 'docRequired' => true],
],
[
'name' => 'Offset',
'in' => 'formData',
'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
[
'name' => 'Line',
'in' => 'formData',
'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
[
'name' => 'FromTs',
'in' => 'formData',
'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true],
],
[
'name' => 'ToTs',
'in' => 'formData',
'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true],
],
[
'name' => 'ProjectName',
'in' => 'formData',
'schema' => ['type' => 'string', 'required' => true, 'docRequired' => true],
],
[
'name' => 'Endpoint',
'in' => 'formData',
'schema' => ['type' => 'string', 'required' => true, 'docRequired' => true],
],
[
'name' => 'SlsAccessToken',
'in' => 'query',
'schema' => ['type' => 'string'],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'Code' => ['type' => 'string'],
'Data' => ['type' => 'string'],
'Message' => ['type' => 'string'],
'RequestId' => ['type' => 'string'],
'Success' => ['type' => 'boolean'],
],
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'InputParaError', 'errorMessage' => '%s.'],
['errorCode' => 'ProjectNotExist', 'errorMessage' => '%s.'],
['errorCode' => 'GetAlertHistoriesError', 'errorMessage' => '%s.'],
],
[
['errorCode' => 'UnAuthorized', 'errorMessage' => '%s.'],
],
404 => [
['errorCode' => 'AlertNotExist', 'errorMessage' => '%s.'],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
],
'GetSlsService' => [
'summary' => '查询日志服务的开通状态',
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '84971',
'abilityTreeNodes' => ['FEATUREslsL870A3'],
],
'parameters' => [
[
'name' => 'SlsAccessToken',
'in' => 'query',
'schema' => ['type' => 'string'],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'Code' => ['type' => 'string'],
'Enabled' => ['type' => 'boolean'],
'Message' => ['type' => 'string'],
'RequestId' => ['type' => 'string'],
'Status' => ['type' => 'string'],
'Success' => ['type' => 'boolean'],
],
],
],
],
'errorCodes' => [
401 => [
['errorCode' => 'PermissionDenied', 'errorMessage' => '%s.'],
],
500 => [
['errorCode' => 'DescribeUserBusinessStatusFailed', 'errorMessage' => 'Failed to describe user business status.'],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
],
'OpenSlsService' => [
'summary' => '开通日志服务。',
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => [
'operationType' => 'update',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '84975',
'abilityTreeNodes' => ['FEATUREslsL870A3'],
],
'parameters' => [
[
'name' => 'SlsAccessToken',
'in' => 'query',
'schema' => ['description' => '身份验证凭证', 'type' => 'string', 'required' => false, 'example' => 'LTAI4Fw12345*******'],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'Code' => ['description' => '返回状态码', 'type' => 'string', 'example' => '200'],
'Message' => ['description' => '消息。', 'type' => 'string', 'example' => 'successful'],
'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '1CCC2B8E-4FF3-4755-A96C-8CE2E4BF27DF'],
'Success' => ['description' => '是否请求成功。'."\n"
."\n"
.'- true:请求成功。'."\n"
.'- false:请求失败。', 'type' => 'boolean', 'example' => 'true'],
],
],
],
],
'errorCodes' => [
200 => [
['errorCode' => 'CreateOrderError', 'errorMessage' => '%s.'],
],
401 => [
['errorCode' => 'PermissionDenied', 'errorMessage' => '%s.'],
],
500 => [
['errorCode' => 'GetSpecificationsFailed', 'errorMessage' => '%s.'],
['errorCode' => 'CreateOrderFailed', 'errorMessage' => 'Failed to create an order.'],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"successful\\",\\n \\"RequestId\\": \\"1CCC2B8E-4FF3-4755-A96C-8CE2E4BF27DF\\",\\n \\"Success\\": true\\n}","type":"json"}]',
'title' => '开通日志服务',
],
'SetAlertActionPolicy' => [
'summary' => ' 设置告警策略',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => [
'operationType' => 'update',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '84977',
'abilityTreeNodes' => ['FEATUREslsL870A3'],
],
'parameters' => [
[
'name' => 'App',
'in' => 'formData',
'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'PolicyId',
'in' => 'formData',
'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Policy',
'in' => 'formData',
'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'PolicyName',
'in' => 'formData',
'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'SlsAccessToken',
'in' => 'query',
'schema' => ['type' => 'string'],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'Code' => ['type' => 'string'],
'Message' => ['type' => 'string'],
'RequestId' => ['type' => 'string'],
'Success' => ['type' => 'boolean'],
],
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'InputParaError', 'errorMessage' => '%s.'],
['errorCode' => 'ProjectNotExist', 'errorMessage' => '%s.'],
],
[
['errorCode' => 'UnAuthorized', 'errorMessage' => '%s.'],
],
404 => [
['errorCode' => 'ResourceNotExist', 'errorMessage' => '%s.'],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
],
'SetAlertCenterResource' => [
'summary' => '设置告警资源',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => [
'operationType' => 'update',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '84978',
'abilityTreeNodes' => ['FEATUREslsL870A3'],
],
'parameters' => [
[
'name' => 'Language',
'in' => 'formData',
'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Region',
'in' => 'formData',
'schema' => ['type' => 'string', 'required' => true, 'docRequired' => true],
],
[
'name' => 'App',
'in' => 'formData',
'schema' => ['type' => 'string', 'required' => true, 'docRequired' => true],
],
[
'name' => 'SlsAccessToken',
'in' => 'query',
'schema' => ['type' => 'string'],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'Code' => ['type' => 'string'],
'Message' => ['type' => 'string'],
'RequestId' => ['type' => 'string'],
'Success' => ['type' => 'boolean'],
],
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'InputParaError', 'errorMessage' => '%s.'],
['errorCode' => 'ProjectNotExist', 'errorMessage' => '%s.'],
['errorCode' => 'SetAlertCenterResourceError', 'errorMessage' => '%s.'],
],
[
['errorCode' => 'UnAuthorized', 'errorMessage' => '%s.'],
],
404 => [
['errorCode' => 'AlertNotExist', 'errorMessage' => '%s.'],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
],
'SyncAlertGroups' => [
'summary' => '同步告警用户组',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => [
'operationType' => 'update',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '84981',
'abilityTreeNodes' => ['FEATUREslsL870A3'],
],
'parameters' => [
[
'name' => 'App',
'in' => 'formData',
'schema' => ['type' => 'string', 'required' => true, 'docRequired' => true],
],
[
'name' => 'Groups',
'in' => 'formData',
'schema' => ['type' => 'string', 'required' => true, 'docRequired' => true],
],
[
'name' => 'SlsAccessToken',
'in' => 'query',
'schema' => ['type' => 'string'],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'Code' => ['type' => 'string'],
'Data' => ['type' => 'string'],
'Message' => ['type' => 'string'],
'RequestId' => ['type' => 'string'],
'Success' => ['type' => 'boolean'],
],
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'InputParaError', 'errorMessage' => '%s.'],
['errorCode' => 'ResourceRecordNotExist', 'errorMessage' => '%s.'],
],
[
['errorCode' => 'UnAuthorized', 'errorMessage' => '%s.'],
],
404 => [
['errorCode' => 'AlertNotExist', 'errorMessage' => '%s.'],
['errorCode' => 'ResourceNotExist', 'errorMessage' => '%s.'],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '',
],
'SyncAlertUsers' => [
'summary' => '同步告警用户',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => [
'operationType' => 'update',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '84982',
'abilityTreeNodes' => ['FEATUREslsL870A3'],
],
'parameters' => [
[
'name' => 'App',
'in' => 'formData',
'schema' => ['type' => 'string', 'required' => true, 'docRequired' => true],
],
[
'name' => 'Users',
'in' => 'formData',
'schema' => ['type' => 'string', 'required' => true, 'docRequired' => true],
],
[
'name' => 'SlsAccessToken',
'in' => 'query',
'schema' => ['type' => 'string'],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'Code' => ['type' => 'string'],
'Data' => ['type' => 'string'],
'Message' => ['type' => 'string'],
'RequestId' => ['type' => 'string'],
'Success' => ['type' => 'boolean'],
],
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'ResourceRecordNotExist', 'errorMessage' => '%s.'],
['errorCode' => 'InputParaError', 'errorMessage' => '%s.'],
],
[
['errorCode' => 'UnAuthorized', 'errorMessage' => '%s.'],
],
404 => [
['errorCode' => 'AlertNotExist', 'errorMessage' => '%s.'],
['errorCode' => 'ResourceNotExist', 'errorMessage' => '%s.'],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
],
'UpdateApp' => [
'summary' => '更新应用。',
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => [
'operationType' => 'update',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '84983',
'abilityTreeNodes' => ['FEATUREslsL870A3'],
],
'parameters' => [
[
'name' => 'AppName',
'in' => 'query',
'schema' => ['description' => '应用名称。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'datalab'],
],
[
'name' => 'DisplayName',
'in' => 'query',
'schema' => ['description' => '应用的显示名称。', 'type' => 'string', 'required' => false, 'example' => 'k8s-event'],
],
[
'name' => 'Config',
'in' => 'formData',
'schema' => ['description' => '应用的配置信息。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '{\'Status\': 1, \'CreatedTime\': \'2023-10-23T02:16:05Z\', \'CycleType\': \'Week\', \'CycleTime\': \'7\', \'ModifiedTime\': \'2025-04-11T05:16:54Z\'}'],
],
[
'name' => 'ClientIp',
'in' => 'query',
'schema' => ['description' => '客户端ip地址。', 'type' => 'string', 'required' => false, 'example' => '59.82.66.154'],
],
[
'name' => 'SlsAccessToken',
'in' => 'query',
'schema' => ['description' => '身份验证凭证', 'type' => 'string', 'required' => false, 'example' => 'ASVadFWQ*****'],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'Code' => ['description' => '错误码。200表示成功。', 'type' => 'string', 'example' => '200'],
'Message' => ['description' => '返回信息。', 'type' => 'string', 'example' => 'successful'],
'RequestId' => ['description' => '请求id。', 'type' => 'string', 'example' => 'F24A3C08-0B45-5EB4-8B44-F30E034E40B4'],
'Success' => ['description' => '请求是否成功。'."\n"
."\n"
.'- true:表示成功。'."\n"
.'- false:表示失败。'."\n"
."\n", 'type' => 'string', 'example' => 'true'],
],
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'InvalidAppName', 'errorMessage' => 'The appName is invalid.'],
['errorCode' => 'InvalidDisplayName', 'errorMessage' => 'Display name length exceeds limit.'],
['errorCode' => 'GetAppFailed', 'errorMessage' => 'Get app failed.'],
['errorCode' => 'ParamMissing', 'errorMessage' => 'The app name is required.'],
['errorCode' => 'AppNotExist', 'errorMessage' => 'The App not exist.'],
['errorCode' => 'UpdateFailed', 'errorMessage' => 'Update app failed.'],
],
[
['errorCode' => 'PermissionDenied', 'errorMessage' => '%s.'],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"successful\\",\\n \\"RequestId\\": \\"F24A3C08-0B45-5EB4-8B44-F30E034E40B4\\",\\n \\"Success\\": \\"true\\"\\n}","type":"json"}]',
'title' => '更新应用',
],
'InitUserAlertResource' => [
'summary' => '初始化用户告警资源,包含一个告警中心Project(名称格式为sls-alert-{uid}-{region})、一个Logstore(名称为internal-alert-center-log)和相关诊断仪表盘。',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => [
'operationType' => 'create',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '84973',
'abilityTreeNodes' => ['FEATUREslsL870A3'],
],
'parameters' => [
[
'name' => 'Language',
'in' => 'formData',
'schema' => ['description' => '仪表盘语言,cn代表中文,en代表英文。', 'type' => 'string', 'required' => false, 'example' => 'cn'],
],
[
'name' => 'Region',
'in' => 'formData',
'schema' => ['description' => '指定告警中心Project所在地域,格式如:cn-shanghai。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cn-shanghai'],
],
[
'name' => 'App',
'in' => 'formData',
'schema' => ['description' => '固定填写none。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'none'],
],
[
'name' => 'SlsAccessToken',
'in' => 'query',
'schema' => ['type' => 'string'],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'Code' => ['description' => ' 错误码,200表示成功。', 'type' => 'string', 'example' => '200'],
'Message' => ['description' => '返回信息描述,成功一般返回successful,错误时会返回相应错误信息。', 'type' => 'string', 'example' => 'successful'],
'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'EE3A9553-2CBB-59CD-96DA-9EE3EED48969'],
'Success' => ['description' => '请求是否成功。'."\n"
."\n"
.'- true表示成功。'."\n"
.'- false表示失败。', 'type' => 'boolean', 'example' => 'true'],
],
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'SetAlertCenterResourceError', 'errorMessage' => '%s.'],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"successful\\",\\n \\"RequestId\\": \\"EE3A9553-2CBB-59CD-96DA-9EE3EED48969\\",\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"successful\\nEE3A9553-2CBB-59CD-96DA-9EE3EED48969\\n200\\ntrue","errorExample":""}]',
'title' => 'InitUserAlertResource',
'description' => '## 接口说明'."\n"
.'在使用SLS告警之前,需要先调用该接口初始化告警资源,同一个阿里云账号仅需初始化一次。初始化内容包括:'."\n"
.'- 告警中心Project:名称格式为sls-alert-{uid}-{region},uid为阿里云账号id,用户可以选择存储区域。'."\n"
.'- 告警中心Logstore:名称为internal-alert-center-log,存储了告警执行日志,该Logstore免费。'."\n"
.'- 告警中心仪表盘:包括告警链路中心,告警排障中心,监控规则中心,开放告警中心。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
],
'InitProjectAlertResource' => [
'summary' => '初始化Project告警资源,包括internal-alert-history和告警历史统计仪表盘,同一Project下的告警规则共享同一个internal-alert-history。',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => [
'operationType' => 'create',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '84972',
'abilityTreeNodes' => ['FEATUREslsL870A3'],
],
'parameters' => [
[
'name' => 'Region',
'in' => 'formData',
'schema' => ['description' => '服务地域,如cn-hangzhou,cn-shanghai。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cn-hangzhou'],
],
[
'name' => 'ProjectName',
'in' => 'formData',
'schema' => ['description' => 'Project名称。其命名规则如下:'."\n"
."\n"
.'- Project名称必须全局唯一。'."\n"
.'- 只能包括小写字母、数字和短划线(-)。'."\n"
.'- 必须以小写字母或者数字开头和结尾。'."\n"
.'- 长度为3-63字节。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'test-project'],
],
[
'name' => 'SlsAccessToken',
'in' => 'query',
'schema' => ['type' => 'string'],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'Code' => ['description' => '返回码,200表示正常。', 'type' => 'string', 'example' => '200'],
'Message' => ['description' => '返回描述信息,成功时返回successful,错误时会返回相应错误信息。', 'type' => 'string', 'example' => 'Success'],
'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'D39895CE-1769-5485-BEF6-6B5A9DDEE75D'],
'Success' => ['description' => '请求是否成功。'."\n"
."\n"
.'- true:表示成功。'."\n"
.'- false:表示失败。'."\n"
."\n", 'type' => 'boolean', 'example' => 'true'],
],
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'LogstoreError', 'errorMessage' => 'Failed to create or update the logstore: %s.'],
],
[
['errorCode' => 'UnAuthorized', 'errorMessage' => '%s.'],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"Success\\",\\n \\"RequestId\\": \\"D39895CE-1769-5485-BEF6-6B5A9DDEE75D\\",\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"Success\\nD39895CE-1769-5485-BEF6-6B5A9DDEE75D\\n200\\ntrue","errorExample":""}]',
'title' => 'InitProjectAlertResource',
'description' => '## 接口说明'."\n"
.'- 同一Project下仅需初始化一次'."\n"
.'- Project为当前告警规则归属的Project'."\n"
.'- Logstore: internal-alert-history(免费)'."\n"
.'- 仪表盘:告警历史统计',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
],
],
'endpoints' => [
['regionId' => 'cn-qingdao', 'endpoint' => 'cn-qingdao.log.aliyuncs.com'],
['regionId' => 'cn-beijing', 'endpoint' => 'cn-beijing.log.aliyuncs.com'],
['regionId' => 'cn-zhangjiakou', 'endpoint' => 'cn-zhangjiakou.log.aliyuncs.com'],
['regionId' => 'cn-huhehaote', 'endpoint' => 'cn-huhehaote.log.aliyuncs.com'],
['regionId' => 'cn-wulanchabu', 'endpoint' => 'cn-wulanchabu.log.aliyuncs.com'],
['regionId' => 'cn-hangzhou', 'endpoint' => 'cn-hangzhou.log.aliyuncs.com'],
['regionId' => 'cn-shanghai', 'endpoint' => 'cn-shanghai.log.aliyuncs.com'],
['regionId' => 'cn-nanjing', 'endpoint' => 'cn-nanjing.log.aliyuncs.com'],
['regionId' => 'cn-fuzhou', 'endpoint' => 'cn-fuzhou.log.aliyuncs.com'],
['regionId' => 'cn-shenzhen', 'endpoint' => 'cn-shenzhen.log.aliyuncs.com'],
['regionId' => 'cn-heyuan', 'endpoint' => 'cn-heyuan.log.aliyuncs.com'],
['regionId' => 'cn-guangzhou', 'endpoint' => 'cn-guangzhou.log.aliyuncs.com'],
['regionId' => 'cn-chengdu', 'endpoint' => 'cn-chengdu.log.aliyuncs.com'],
['regionId' => 'cn-hongkong', 'endpoint' => 'cn-hongkong.log.aliyuncs.com'],
['regionId' => 'ap-northeast-1', 'endpoint' => 'ap-northeast-1.log.aliyuncs.com'],
['regionId' => 'ap-northeast-2', 'endpoint' => 'ap-northeast-2.log.aliyuncs.com'],
['regionId' => 'ap-southeast-1', 'endpoint' => 'ap-southeast-1.log.aliyuncs.com'],
['regionId' => 'ap-southeast-2', 'endpoint' => 'ap-southeast-2.log.aliyuncs.com'],
['regionId' => 'ap-southeast-3', 'endpoint' => 'ap-southeast-3.log.aliyuncs.com'],
['regionId' => 'ap-southeast-5', 'endpoint' => 'ap-southeast-5.log.aliyuncs.com'],
['regionId' => 'ap-southeast-6', 'endpoint' => 'ap-southeast-6.log.aliyuncs.com'],
['regionId' => 'ap-southeast-7', 'endpoint' => 'ap-southeast-7.log.aliyuncs.com'],
['regionId' => 'us-southeast-1', 'endpoint' => 'us-southeast-1.log.aliyuncs.com'],
['regionId' => 'eu-central-1', 'endpoint' => 'eu-central-1.log.aliyuncs.com'],
['regionId' => 'eu-west-1', 'endpoint' => 'eu-west-1.log.aliyuncs.com'],
['regionId' => 'us-west-1', 'endpoint' => 'us-west-1.log.aliyuncs.com'],
['regionId' => 'us-east-1', 'endpoint' => 'us-east-1.log.aliyuncs.com'],
['regionId' => 'me-central-1', 'endpoint' => 'me-central-1.log.aliyuncs.com'],
['regionId' => 'me-east-1', 'endpoint' => 'me-east-1.log.aliyuncs.com'],
['regionId' => 'ap-south-1', 'endpoint' => 'ap-south-1.log.aliyuncs.com'],
['regionId' => 'cn-heyuan-acdr-1', 'endpoint' => 'cn-heyuan-acdr-1-intranet.log.aliyuncs.com'],
['regionId' => 'cn-beijing-finance-1', 'endpoint' => 'cn-beijing-finance-1.log.aliyuncs.com'],
['regionId' => 'cn-shenzhen-finance-1', 'endpoint' => 'cn-shenzhen-finance-1.log.aliyuncs.com'],
['regionId' => 'cn-shanghai-finance-1', 'endpoint' => 'cn-shanghai-finance-1.log.aliyuncs.com'],
['regionId' => 'cn-hangzhou-finance', 'endpoint' => 'cn-hangzhou-finance.log.aliyuncs.com'],
],
];