'1.0', 'info' => ['style' => 'V3', 'product' => 'ARMS', 'version' => '2018-10-15'], 'components' => [ 'schemas' => [ 'CallChainInfo' => [ 'type' => 'object', 'properties' => [ 'LogTime' => ['type' => 'integer', 'format' => 'int64'], 'ResultCode' => ['type' => 'string'], 'Children' => [ 'type' => 'array', 'items' => ['$ref' => '#/components/schemas/CallChainInfo'], ], 'RpcId' => ['type' => 'string'], 'RpcType' => ['type' => 'integer', 'format' => 'int64'], 'ServerIp' => ['type' => 'string'], 'AppName' => ['type' => 'string'], 'Rpc' => ['type' => 'string'], 'TraceId' => ['type' => 'string'], 'Span' => ['type' => 'integer', 'format' => 'int64'], 'HaveSpan' => ['type' => 'boolean'], 'AdditionalInfo' => ['type' => 'string'], 'ParentSpanId' => ['type' => 'string'], 'SpanId' => ['type' => 'string'], 'TagMap' => [ 'type' => 'object', 'additionalProperties' => ['type' => 'string'], ], 'LogMap' => [ 'type' => 'object', 'additionalProperties' => [ 'type' => 'object', 'additionalProperties' => ['type' => 'string'], ], ], 'Pid' => ['type' => 'string'], 'AppType' => ['type' => 'string'], 'RegionId' => ['type' => 'string'], ], ], 'GrafanaWorkspace' => [ 'type' => 'object', 'properties' => [ 'status' => ['type' => 'string'], 'description' => ['type' => 'string'], 'grafanaWorkspaceEdition' => ['type' => 'string'], 'endTime' => ['type' => 'number', 'format' => 'float'], 'grafanaWorkspaceId' => ['type' => 'string'], 'upgradeVersion' => [ 'type' => 'array', 'items' => ['type' => 'string'], ], 'grafanaWorkspaceIp' => ['type' => 'string'], 'snatIp' => ['type' => 'string'], 'grafanaWorkspaceDomain' => ['type' => 'string'], 'grafanaWorkspaceDomainStatus' => ['type' => 'string'], 'commercial' => ['type' => 'boolean'], 'grafanaWorkspaceName' => ['type' => 'string'], 'grafanaVersion' => ['type' => 'string'], 'gmtCreate' => ['type' => 'number', 'format' => 'float'], 'userId' => ['type' => 'string'], 'maxAccount' => ['type' => 'string'], 'regionId' => ['type' => 'string'], 'protocol' => ['type' => 'string'], 'shareSynced' => ['type' => 'boolean'], 'ntmId' => ['type' => 'string'], 'personalDomain' => ['type' => 'string'], 'personalDomainPrefix' => ['type' => 'string'], 'resourceGroupId' => ['type' => 'string'], 'deployType' => ['type' => 'string'], 'tags' => [ 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'key' => ['type' => 'string'], 'value' => ['type' => 'string'], ], ], ], 'privateIp' => ['type' => 'string'], 'privateDomain' => ['type' => 'string'], ], ], 'GrafanaWorkspaceAccount' => [ 'type' => 'object', 'properties' => [ 'accountId' => ['type' => 'integer', 'format' => 'int64'], 'aliyunUid' => ['type' => 'string'], 'aliyunUserName' => ['type' => 'string'], 'accountNotes' => ['type' => 'string'], 'gmtCreate' => ['type' => 'number', 'format' => 'float'], 'orgs' => [ 'type' => 'array', 'items' => ['$ref' => '#/components/schemas/GrafanaWorkspaceUserOrg'], ], ], ], 'GrafanaWorkspaceAlertNotification' => [ 'type' => 'object', 'properties' => [ 'id' => ['type' => 'integer', 'format' => 'int64'], 'name' => ['type' => 'string'], 'uid' => ['type' => 'string'], 'type' => ['type' => 'string'], 'isDefault' => ['type' => 'boolean'], 'isArms' => ['type' => 'boolean'], 'sendReminder' => ['type' => 'boolean'], 'settings' => ['type' => 'string'], ], ], 'GrafanaWorkspaceArmsAlertConfig' => [ 'type' => 'object', 'properties' => [ 'armsAlertsEnable' => ['type' => 'string'], 'armsAlertsWebhookUrl' => ['type' => 'string'], ], ], 'GrafanaWorkspaceCustomDomain' => [ 'type' => 'object', 'properties' => [ 'id' => ['type' => 'integer', 'format' => 'int64'], 'date' => ['type' => 'integer', 'format' => 'int64'], 'grafanaWorkspaceId' => ['type' => 'string'], 'status' => [ 'type' => 'string', 'enum' => ['Creating', 'CreateFailed', 'CreateSucceed', 'Deleting', 'DeleteFailed', 'DeleteSucceed'], ], 'domain' => ['type' => 'string'], 'uri' => ['type' => 'string'], 'protocol' => ['type' => 'string'], 'cert' => ['type' => 'string'], 'key' => ['type' => 'string'], 'privateZone' => ['type' => 'string'], ], ], 'GrafanaWorkspaceDashboardReport' => [ 'type' => 'object', 'properties' => [ 'id' => ['type' => 'integer', 'format' => 'int64'], 'gmtCreate' => ['type' => 'integer', 'format' => 'int64'], 'lastSendTime' => ['type' => 'integer', 'format' => 'int64'], 'grafanaWorkspaceId' => ['type' => 'string'], 'userId' => ['type' => 'string'], 'name' => ['type' => 'string'], 'url' => ['type' => 'string'], 'status' => ['type' => 'string'], 'msg' => ['type' => 'string'], 'reportChannelType' => ['type' => 'string'], 'reportChannelTarget' => ['type' => 'string'], 'reportType' => ['type' => 'string'], 'reportStyle' => ['type' => 'string'], 'triggerType' => ['type' => 'string'], 'triggerDay' => ['type' => 'string'], 'triggerTime' => ['type' => 'string'], ], ], 'GrafanaWorkspaceDataBackup' => [ 'type' => 'object', 'properties' => [ 'id' => ['type' => 'integer', 'format' => 'int64'], 'gmtCreate' => ['type' => 'integer', 'format' => 'int64'], 'gmtModified' => ['type' => 'integer', 'format' => 'int64'], 'grafanaWorkspaceId' => ['type' => 'string'], 'userId' => ['type' => 'string'], 'processName' => ['type' => 'string'], 'subType' => [ 'type' => 'string', 'enum' => ['System', 'User', 'Restore'], ], 'processStatus' => ['type' => 'string'], 'msg' => ['type' => 'string'], ], ], 'GrafanaWorkspaceIniBackup' => [ 'type' => 'object', 'properties' => [ 'id' => ['type' => 'integer', 'format' => 'int64'], 'gmtCreate' => ['type' => 'integer', 'format' => 'int64'], 'gmtModified' => ['type' => 'integer', 'format' => 'int64'], 'grafanaWorkspaceId' => ['type' => 'string'], 'userId' => ['type' => 'string'], 'processName' => ['type' => 'string'], 'subType' => [ 'type' => 'string', 'enum' => ['System', 'User', 'Restore'], ], 'processStatus' => ['type' => 'string'], 'msg' => ['type' => 'string'], 'ext' => ['type' => 'string'], ], ], 'GrafanaWorkspaceIniProperty' => [ 'type' => 'object', 'properties' => [ 'key' => ['type' => 'string'], 'value' => ['type' => 'string'], 'defaultValue' => ['type' => 'string'], 'description' => ['type' => 'string'], 'example' => ['type' => 'string'], 'secret' => ['type' => 'boolean'], ], ], 'GrafanaWorkspaceIniSection' => [ 'type' => 'object', 'properties' => [ 'section' => ['type' => 'string'], 'propertys' => [ 'type' => 'array', 'items' => ['$ref' => '#/components/schemas/GrafanaWorkspaceIniProperty'], ], ], ], 'GrafanaWorkspaceIntegration' => [ 'type' => 'object', 'properties' => [ 'integrationName' => ['type' => 'string'], 'integrationId' => ['type' => 'string'], 'status' => ['type' => 'string'], 'datasourceAmount' => ['type' => 'integer', 'format' => 'int64'], 'supportRegions' => [ 'type' => 'array', 'items' => ['type' => 'string'], ], 'previews' => [ 'type' => 'array', 'items' => ['$ref' => '#/components/schemas/GrafanaWorkspaceIntegrationPreview'], ], ], ], 'GrafanaWorkspaceIntegrationDataSource' => [ 'type' => 'object', 'properties' => [ 'datasourceId' => ['type' => 'string'], 'datasourceName' => ['type' => 'string'], 'clusterType' => ['type' => 'string'], 'regionId' => ['type' => 'string'], 'type' => ['type' => 'string'], 'status' => ['type' => 'string'], 'datasourceUrl' => ['type' => 'string'], 'folderUrl' => ['type' => 'string'], 'exploreUrl' => ['type' => 'string'], 'description' => ['type' => 'string'], ], ], 'GrafanaWorkspaceIntegrationDetail' => [ 'type' => 'object', 'properties' => [ 'integrationId' => ['type' => 'string'], 'status' => ['type' => 'string'], 'dataSources' => [ 'type' => 'array', 'items' => ['$ref' => '#/components/schemas/GrafanaWorkspaceIntegrationDataSource'], ], ], ], 'GrafanaWorkspaceIntegrationPreview' => [ 'type' => 'object', 'properties' => [ 'id' => ['type' => 'string'], 'name' => ['type' => 'string'], 'thumbnail' => ['type' => 'string'], 'image' => ['type' => 'string'], ], ], 'GrafanaWorkspaceNews' => [ 'type' => 'object', 'properties' => [ 'title' => ['type' => 'string'], 'image' => ['type' => 'string'], 'link' => ['type' => 'string'], 'date' => ['type' => 'integer', 'format' => 'int64'], 'description' => ['type' => 'string'], ], ], 'GrafanaWorkspaceOperateLog' => [ 'type' => 'object', 'properties' => [ 'id' => ['type' => 'integer', 'format' => 'int64'], 'date' => ['type' => 'number', 'format' => 'float'], 'grafanaWorkspaceId' => ['type' => 'string'], 'detail' => ['type' => 'string'], 'operatorId' => ['type' => 'string'], ], ], 'GrafanaWorkspaceOrg' => [ 'type' => 'object', 'properties' => [ 'id' => ['type' => 'integer', 'format' => 'int64'], 'name' => ['type' => 'string'], ], ], 'GrafanaWorkspaceTrans' => [ 'type' => 'object', 'properties' => [ 'id' => ['type' => 'integer', 'format' => 'int64'], 'gmtCreate' => ['type' => 'number', 'format' => 'float'], 'gmtModified' => ['type' => 'number', 'format' => 'float'], 'grafanaWorkspaceId' => ['type' => 'string'], 'userId' => ['type' => 'string'], 'authType' => ['type' => 'string'], 'processStatus' => ['type' => 'string'], 'msg' => ['type' => 'string'], 'apiUrl' => ['type' => 'string'], 'transDetails' => [ 'type' => 'array', 'items' => ['$ref' => '#/components/schemas/GrafanaWorkspaceTransDetail'], ], ], ], 'GrafanaWorkspaceTransDetail' => [ 'type' => 'object', 'properties' => [ 'original' => ['type' => 'integer', 'format' => 'int64'], 'originalName' => ['type' => 'string'], 'target' => ['type' => 'integer', 'format' => 'int64'], 'targetName' => ['type' => 'string'], 'dataSourceAmount' => ['type' => 'integer', 'format' => 'int32'], 'dashboardAmount' => ['type' => 'integer', 'format' => 'int32'], ], ], 'GrafanaWorkspaceUserCert' => [ 'type' => 'object', 'properties' => [ 'id' => ['type' => 'string'], 'name' => ['type' => 'string'], ], ], 'GrafanaWorkspaceUserOrg' => [ 'type' => 'object', 'properties' => [ 'orgId' => ['type' => 'integer', 'format' => 'int64'], 'orgName' => ['type' => 'string'], 'role' => ['type' => 'string'], ], ], 'GrafanaWorkspaceVpcConfig' => [ 'type' => 'object', 'properties' => [ 'id' => ['type' => 'integer', 'format' => 'int64'], 'name' => ['type' => 'string'], 'installStatus' => [ 'type' => 'string', 'enum' => ['Creating', 'CreateSucceed', 'CreateFailed', 'Deleting', 'DeleteSucceed', 'DeleteFailed'], ], 'userId' => ['type' => 'string'], 'securityGroupId' => ['type' => 'string'], 'vpcId' => ['type' => 'string'], 'vSwitchId' => ['type' => 'string'], 'fcConfig' => ['type' => 'string'], 'regionId' => ['type' => 'string'], 'installMsg' => ['type' => 'string'], ], ], 'GrafanaWorkspaceVpcRegion' => [ 'type' => 'object', 'properties' => [ 'regionId' => ['type' => 'string'], 'regionName' => ['type' => 'string'], ], ], 'GrafanaWorkspaceVpcRegionDetail' => [ 'type' => 'object', 'properties' => [ 'vpcId' => ['type' => 'string'], 'name' => ['type' => 'string'], 'regionId' => ['type' => 'string'], 'userId' => ['type' => 'string'], 'installStatus' => [ 'type' => 'string', 'enum' => ['Uninitialized', 'DeleteSucceed', 'DeleteFailed'], ], 'securityGroupIds' => [ 'type' => 'array', 'items' => ['type' => 'string'], ], 'vSwitchIds' => [ 'type' => 'array', 'items' => ['type' => 'string'], ], 'id' => ['type' => 'integer', 'format' => 'int64'], 'fcConfig' => ['type' => 'string'], 'securityGroupId' => ['type' => 'string'], 'vSwitchId' => ['type' => 'string'], ], ], ], ], 'apis' => [ 'ARMSQueryDataSet' => [ 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'parameters' => [ [ 'name' => 'IntervalInSec', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => true], ], [ 'name' => 'DateStr', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'MinTime', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true], ], [ 'name' => 'MaxTime', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true], ], [ 'name' => 'IsDrillDown', 'in' => 'query', 'schema' => ['type' => 'boolean', 'required' => false], ], [ 'name' => 'OrderByKey', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'Limit', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ 'name' => 'ReduceTail', 'in' => 'query', 'schema' => ['type' => 'boolean', 'required' => false], ], [ 'name' => 'HungryMode', 'in' => 'query', 'schema' => ['type' => 'boolean', 'required' => false], ], [ 'name' => 'DatasetId', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true], ], [ 'name' => 'Dimensions', 'in' => 'query', 'style' => 'repeatList', 'schema' => [ 'type' => 'array', 'required' => false, 'items' => [ 'type' => 'object', 'properties' => [ 'Key' => ['type' => 'string', 'required' => false], 'Type' => ['type' => 'string', 'required' => false], 'Value' => ['type' => 'string', 'required' => false], ], ], 'maxItems' => 5, ], ], [ 'name' => 'Measures', 'in' => 'query', 'style' => 'repeatList', 'schema' => [ 'type' => 'array', 'required' => false, 'items' => ['type' => 'string'], 'maxItems' => 5, ], ], [ 'name' => 'RequiredDims', 'in' => 'query', 'style' => 'repeatList', 'schema' => [ 'type' => 'array', 'required' => false, 'items' => [ 'type' => 'object', 'properties' => [ 'Key' => ['type' => 'string', 'required' => false], 'Type' => ['type' => 'string', 'required' => false], 'Value' => ['type' => 'string', 'required' => false], ], ], 'maxItems' => 5, ], ], [ 'name' => 'OptionalDims', 'in' => 'query', 'style' => 'repeatList', 'schema' => [ 'type' => 'array', 'required' => false, 'items' => [ 'type' => 'object', 'properties' => [ 'Key' => ['type' => 'string', 'required' => false], 'Type' => ['type' => 'string', 'required' => false], 'Value' => ['type' => 'string', 'required' => false], ], ], 'maxItems' => 10, ], ], [ 'name' => 'HackerUserId', 'in' => 'query', 'schema' => ['type' => 'string'], ], ], ], 'MetricQuery' => [ 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'parameters' => [ [ 'name' => 'IintervalInSec', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ 'name' => 'StartTime', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true], ], [ 'name' => 'EndTime', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true], ], [ 'name' => 'Metric', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'OrderBy', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'Limit', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ 'name' => 'Order', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'Filters', 'in' => 'query', 'style' => 'repeatList', 'schema' => [ 'type' => 'array', 'required' => false, 'items' => [ 'type' => 'object', 'properties' => [ 'Key' => ['type' => 'string', 'required' => false], 'Value' => ['type' => 'string', 'required' => false], ], ], 'maxItems' => 5, ], ], [ 'name' => 'Measures', 'in' => 'query', 'style' => 'repeatList', 'schema' => [ 'type' => 'array', 'required' => true, 'items' => ['type' => 'string'], 'maxItems' => 5, ], ], [ 'name' => 'Dimensions', 'in' => 'query', 'style' => 'repeatList', 'schema' => [ 'type' => 'array', 'required' => false, 'items' => ['type' => 'string'], 'maxItems' => 5, ], ], [ 'name' => 'HackerUserId', 'in' => 'query', 'schema' => ['type' => 'string'], ], ], ], ], 'endpoints' => [ ['regionId' => 'cn-qingdao', 'endpoint' => 'arms.cn-qingdao.aliyuncs.com'], ['regionId' => 'cn-beijing', 'endpoint' => 'arms.cn-beijing.aliyuncs.com'], ['regionId' => 'cn-zhangjiakou', 'endpoint' => 'arms.cn-zhangjiakou.aliyuncs.com'], ['regionId' => 'cn-zhengzhou-jva', 'endpoint' => 'arms.cn-zhengzhou-jva.aliyuncs.com'], ['regionId' => 'cn-huhehaote', 'endpoint' => 'arms.cn-huhehaote.aliyuncs.com'], ['regionId' => 'cn-wulanchabu', 'endpoint' => 'arms.cn-wulanchabu.aliyuncs.com'], ['regionId' => 'cn-hangzhou', 'endpoint' => 'arms.cn-hangzhou.aliyuncs.com'], ['regionId' => 'cn-shanghai', 'endpoint' => 'arms.cn-shanghai.aliyuncs.com'], ['regionId' => 'cn-shenzhen', 'endpoint' => 'arms.cn-shenzhen.aliyuncs.com'], ['regionId' => 'cn-heyuan', 'endpoint' => 'arms.cn-heyuan.aliyuncs.com'], ['regionId' => 'cn-guangzhou', 'endpoint' => 'arms.cn-guangzhou.aliyuncs.com'], ['regionId' => 'cn-chengdu', 'endpoint' => 'arms.cn-chengdu.aliyuncs.com'], ['regionId' => 'cn-hongkong', 'endpoint' => 'arms.cn-hongkong.aliyuncs.com'], ['regionId' => 'ap-northeast-1', 'endpoint' => 'arms.ap-northeast-1.aliyuncs.com'], ['regionId' => 'ap-northeast-2', 'endpoint' => 'arms.ap-northeast-2.aliyuncs.com'], ['regionId' => 'ap-southeast-1', 'endpoint' => 'arms.ap-southeast-1.aliyuncs.com'], ['regionId' => 'ap-southeast-2', 'endpoint' => 'arms.ap-southeast-2.aliyuncs.com'], ['regionId' => 'ap-southeast-3', 'endpoint' => 'arms.ap-southeast-3.aliyuncs.com'], ['regionId' => 'ap-southeast-5', 'endpoint' => 'arms.ap-southeast-5.aliyuncs.com'], ['regionId' => 'ap-southeast-6', 'endpoint' => 'arms.ap-southeast-6.aliyuncs.com'], ['regionId' => 'us-east-1', 'endpoint' => 'arms.us-east-1.aliyuncs.com'], ['regionId' => 'us-west-1', 'endpoint' => 'arms.us-west-1.aliyuncs.com'], ['regionId' => 'eu-west-1', 'endpoint' => 'arms.eu-west-1.aliyuncs.com'], ['regionId' => 'eu-central-1', 'endpoint' => 'arms.eu-central-1.aliyuncs.com'], ['regionId' => 'ap-south-1', 'endpoint' => 'arms.ap-south-1.aliyuncs.com'], ['regionId' => 'me-east-1', 'endpoint' => 'arms.aliyuncs.com'], ['regionId' => 'cn-hangzhou-finance', 'endpoint' => 'arms.cn-hangzhou-finance.aliyuncs.com'], ['regionId' => 'cn-shanghai-finance-1', 'endpoint' => 'arms.cn-shanghai-finance-1.aliyuncs.com'], ['regionId' => 'cn-shenzhen-finance-1', 'endpoint' => 'arms.cn-shenzhen-finance-1.aliyuncs.com'], ['regionId' => 'ap-southeast-7', 'endpoint' => 'arms.ap-southeast-7.aliyuncs.com'], ['regionId' => 'cn-beijing-finance-1', 'endpoint' => 'arms.aliyuncs.com'], ['regionId' => 'me-central-1', 'endpoint' => 'arms.me-central-1.aliyuncs.com'], ['regionId' => 'cn-heyuan-acdr-1', 'endpoint' => 'arms.cn-heyuan-acdr-1.aliyuncs.com'], ], ];