list_sites
Retrieve and filter site lists under your account, including site names, statuses, configurations, and tags, using customizable search and pagination options.
Instructions
用于查询当前用户下的站点列表 ,包括站点的名称、状态、配置等信息。
Input Schema
Name | Required | Description | Default |
---|---|---|---|
accessType | No | 接入类型。取值:; - **NS**:通过NS托管接入。; - **CNAME**:通过CNAME接入。 | |
coverage | No | 加速区域。取值:; - **domestic**:仅中国内地。; - **global**:全球。; - **overseas**:全球(不包含中国内地)。 | |
onlyEnterprise | No | 仅企业版,传**true**时代表仅查询企业版的站点。 | |
orderBy | No | 排序字段,默认按照创建时间排序,支持; - gmtCreate:站点创建时间; - visitTime:站点访问时间 | |
pageNumber | No | 页码。默认值:**1**。 | |
pageSize | No | 分页大小。默认值:**500**。 | |
planSubscribeType | No | 套餐订阅类型。取值:; - **basicplan**: 基础版。; - **standardplan**:标准版。; - **advancedplan**:高级版。; - **enterpriseplan**:企业版。 | |
resourceGroupId | No | 资源组ID。用于查询的过滤条件。 | |
siteName | No | 站点名称。用于查询的过滤条件。 | |
siteSearchType | No | 站点名称的搜索匹配模式。默认为精确匹配,取值:; - **prefix**:前缀匹配。; - **suffix**:后缀匹配。; - **exact**:精确匹配。; - **fuzzy**:模糊匹配。 | |
status | No | 站点状态。用于查询的过滤条件。 | |
tagFilter | No | 标签过滤规则。 |
Input Schema (JSON Schema)
{
"annotations": {},
"properties": {
"accessType": {
"description": "接入类型。取值:; - **NS**:通过NS托管接入。; - **CNAME**:通过CNAME接入。",
"type": "string"
},
"coverage": {
"description": "加速区域。取值:; - **domestic**:仅中国内地。; - **global**:全球。; - **overseas**:全球(不包含中国内地)。",
"type": "string"
},
"onlyEnterprise": {
"description": "仅企业版,传**true**时代表仅查询企业版的站点。",
"type": "boolean"
},
"orderBy": {
"description": "排序字段,默认按照创建时间排序,支持; - gmtCreate:站点创建时间; - visitTime:站点访问时间",
"type": "string"
},
"pageNumber": {
"description": "页码。默认值:**1**。",
"type": "number"
},
"pageSize": {
"description": "分页大小。默认值:**500**。",
"type": "number"
},
"planSubscribeType": {
"description": "套餐订阅类型。取值:; - **basicplan**: 基础版。; - **standardplan**:标准版。; - **advancedplan**:高级版。; - **enterpriseplan**:企业版。",
"type": "string"
},
"resourceGroupId": {
"description": "资源组ID。用于查询的过滤条件。",
"type": "string"
},
"siteName": {
"description": "站点名称。用于查询的过滤条件。",
"type": "string"
},
"siteSearchType": {
"description": "站点名称的搜索匹配模式。默认为精确匹配,取值:; - **prefix**:前缀匹配。; - **suffix**:后缀匹配。; - **exact**:精确匹配。; - **fuzzy**:模糊匹配。",
"enum": [
"suffix",
"exact",
"prefix",
"fuzzy"
],
"type": "string"
},
"status": {
"description": "站点状态。用于查询的过滤条件。",
"type": "string"
},
"tagFilter": {
"description": "标签过滤规则。",
"items": {
"properties": {
"key": {
"description": "标签键,用于查询的过滤条件。",
"type": "string"
},
"value": {
"description": "标签值,用于查询的过滤条件。",
"type": "string"
}
},
"type": "object"
},
"type": "array"
}
},
"type": "object"
}