最近更新时间:2024.04.19 11:53:52
首次发布时间:2023.06.30 15:23:33
获取工作区实例规格列表。
参数名称 | 类型 | 是否必选 | 示例值 | 描述 |
---|---|---|---|---|
Action | String | 是 | ListWorkspaceInstanceTypes | 公共参数,本接口值:ListWorkspaceInstanceTypes。 |
Version | String | 是 | 2021-03-03 | 公共参数,本接口值:2021-03-03。 |
PageNumber | Integer | 否 | 1 | 当前页数,最小值或默认值均为 1。 |
PageSize | Integer | 否 | 10 | 单页数量:
|
Filters | Object WorkspaceInstanceTypeFilters | 否 | - | 工作区规格过滤条件。 |
参数名称 | 类型 | 是否必选 | 示例值 | 描述 |
---|---|---|---|---|
Ids | Array of String | 否 | ["vmp.standard.15d"] | 按工作区规格过滤,精确查询。 |
POST /?Action=ListWorkspaceInstanceTypes&Version=2021-03-03 Content-Type:application/json { "PageNumber": 1, "PageSize": 10, "Filters": { "Ids": ["vmp.standard.15d"] } }
参数名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
Total | Integer | 100 | 工作区规格总数。 |
Items | Array of WorkspaceInstanceType | - | 工作区规格列表。 |
参数名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
Id | String | vmp.standard.15d | 工作区实例规格 ID,可选值参见 工作区规格 实例规格列。 |
ActiveSeries | Integer | 10000000 | 最大活跃时序数。 |
IngestSamplesPerSecond | Integer | 1000000 | 最大每秒写入样本数。 |
QueryPerSecond | Integer | 100 | 最大查询 QPS。 |
RetentionPeriod | String | 360h | 最长数据保留时间。 |
Dedicated | Boolean | false | 是否为企业版工作区,取值:
|
AvailabilityZoneReplicas | Integer | 2 | 可用区(az)数。 |
ReplicasPerZone | Integer | 2 | 每个可用区(az)的数据副本数。 |
QueryConcurrency | Integer | 10 | 最大查询并发数。 |
ScanSeriesPerSecond | Integer | 20000 | 最大每秒扫描时序数。 |
ScanSamplesPerSecond | Integer | 200000000 | 最大每秒扫描样本数。 |
HTTP/1.1 200 OK Content-Type:application/json { "ResponseMetadata": { "RequestId": "202211302208xxxx", "Action": "ListWorkspaceInstanceTypes", "Version": "2021-03-03", "Service": "vmp", "Region": "cn-beijing" }, "Result": { "Total": 100, "Items": [ { "Id": " vmp.standard.15d", "ActiveSeries": 10000000, "IngestSamplesPerSecond": 1000000, "QueryPerSecond": 100, "RetentionPeriod": " 360h", "Dedicated": false, "AvailabilityZoneReplicas": 2, "ReplicasPerZone": 2, "QueryConcurrency": 10, "ScanSeriesPerSecond": 20000, "ScanSamplesPerSecond": 200000000 } ] } }
本接口错误码如下表所示,公共错误码请参见 公共错误码。
HTTP 状态码 | 错误码 | 错误信息 | 描述 |
---|---|---|---|
403 | ProductUnsubscribed | You are not subscribed to the Volcengine Managed Service for Prometheus (VMP). Please go to the VMP console web page to subscribe to the service | 当前账号未订阅 VMP 服务。 |