public class DescribeMicroservicesRequest extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
| DescribeMicroservicesRequest() | 
| DescribeMicroservicesRequest(DescribeMicroservicesRequest source)NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
       and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy. | 
| Modifier and Type | Method and Description | 
|---|---|
| String | getConfigCenterInstanceId()Get 注册中心实例ID。业务预留参数,忽略传参。 | 
| Long | getLimit()Get 返回数量,默认为20,最大值为50。 | 
| String[] | getMicroserviceIdList()Get 微服务ID列表。该参数可以通过调用 [DescribeMicroservices](https://cloud.tencent.com/document/product/649/36084) 的返回值中的 MicroserviceId 字段来获取或通过登录[控制台](https://console.cloud.tencent.com/tse/tsf-consul?tab=service)查看;也可以调用[CreateMicroserviceWithDetailResp](https://cloud.tencent.com/document/product/649/85860)创建新的微服务。 | 
| String[] | getMicroserviceNameList()Get 微服务名称列表。该参数可以通过调用 [DescribeMicroservices](https://cloud.tencent.com/document/product/649/36084) 的返回值中的 MicroserviceName 字段来获取或通过登录[控制台](https://console.cloud.tencent.com/tse/tsf-consul?tab=service)查看;也可以调用[CreateMicroserviceWithDetailResp](https://cloud.tencent.com/document/product/649/85860)创建新的微服务。 | 
| String | getNamespaceId()Get 命名空间ID。该参数可以通过调用 [DescribeSimpleNamespaces](https://cloud.tencent.com/document/api/649/36096) 的返回值中的 NamespaceId 字段来获取或通过登录[控制台](https://console.cloud.tencent.com/tsf/resource?tab=namespace)查看;也可以调用[CreateNamespace](https://cloud.tencent.com/document/product/649/36098)创建新的命名空间。 | 
| Long | getOffset()Get 偏移量,默认为0。 | 
| String | getOrderBy()Get 排序字段。
- create_time:创建时间
默认为创建时间,暂不支持其他值。 | 
| Long | getOrderType()Get 排序类型。
- 1:倒序
默认为倒序,暂不支持其他值。 | 
| String | getSearchWord()Get 搜索字段。 | 
| String[] | getStatus()Get 状态。
- online:在线
- offline:离线
- single_online:单点在线 | 
| void | setConfigCenterInstanceId(String ConfigCenterInstanceId)Set 注册中心实例ID。业务预留参数,忽略传参。 | 
| void | setLimit(Long Limit)Set 返回数量,默认为20,最大值为50。 | 
| void | setMicroserviceIdList(String[] MicroserviceIdList)Set 微服务ID列表。该参数可以通过调用 [DescribeMicroservices](https://cloud.tencent.com/document/product/649/36084) 的返回值中的 MicroserviceId 字段来获取或通过登录[控制台](https://console.cloud.tencent.com/tse/tsf-consul?tab=service)查看;也可以调用[CreateMicroserviceWithDetailResp](https://cloud.tencent.com/document/product/649/85860)创建新的微服务。 | 
| void | setMicroserviceNameList(String[] MicroserviceNameList)Set 微服务名称列表。该参数可以通过调用 [DescribeMicroservices](https://cloud.tencent.com/document/product/649/36084) 的返回值中的 MicroserviceName 字段来获取或通过登录[控制台](https://console.cloud.tencent.com/tse/tsf-consul?tab=service)查看;也可以调用[CreateMicroserviceWithDetailResp](https://cloud.tencent.com/document/product/649/85860)创建新的微服务。 | 
| void | setNamespaceId(String NamespaceId)Set 命名空间ID。该参数可以通过调用 [DescribeSimpleNamespaces](https://cloud.tencent.com/document/api/649/36096) 的返回值中的 NamespaceId 字段来获取或通过登录[控制台](https://console.cloud.tencent.com/tsf/resource?tab=namespace)查看;也可以调用[CreateNamespace](https://cloud.tencent.com/document/product/649/36098)创建新的命名空间。 | 
| void | setOffset(Long Offset)Set 偏移量,默认为0。 | 
| void | setOrderBy(String OrderBy)Set 排序字段。
- create_time:创建时间
默认为创建时间,暂不支持其他值。 | 
| void | setOrderType(Long OrderType)Set 排序类型。
- 1:倒序
默认为倒序,暂不支持其他值。 | 
| void | setSearchWord(String SearchWord)Set 搜索字段。 | 
| void | setStatus(String[] Status)Set 状态。
- online:在线
- offline:离线
- single_online:单点在线 | 
| void | toMap(HashMap<String,String> map,
     String prefix)Internal implementation, normal users should not use it. | 
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonStringpublic DescribeMicroservicesRequest()
public DescribeMicroservicesRequest(DescribeMicroservicesRequest source)
public String getNamespaceId()
public void setNamespaceId(String NamespaceId)
NamespaceId - 命名空间ID。该参数可以通过调用 [DescribeSimpleNamespaces](https://cloud.tencent.com/document/api/649/36096) 的返回值中的 NamespaceId 字段来获取或通过登录[控制台](https://console.cloud.tencent.com/tsf/resource?tab=namespace)查看;也可以调用[CreateNamespace](https://cloud.tencent.com/document/product/649/36098)创建新的命名空间。public String getSearchWord()
public void setSearchWord(String SearchWord)
SearchWord - 搜索字段。public String getOrderBy()
public void setOrderBy(String OrderBy)
OrderBy - 排序字段。
- create_time:创建时间
默认为创建时间,暂不支持其他值。public Long getOrderType()
public void setOrderType(Long OrderType)
OrderType - 排序类型。
- 1:倒序
默认为倒序,暂不支持其他值。public Long getOffset()
public void setOffset(Long Offset)
Offset - 偏移量,默认为0。public Long getLimit()
public void setLimit(Long Limit)
Limit - 返回数量,默认为20,最大值为50。public String[] getStatus()
public void setStatus(String[] Status)
Status - 状态。
- online:在线
- offline:离线
- single_online:单点在线public String[] getMicroserviceIdList()
public void setMicroserviceIdList(String[] MicroserviceIdList)
MicroserviceIdList - 微服务ID列表。该参数可以通过调用 [DescribeMicroservices](https://cloud.tencent.com/document/product/649/36084) 的返回值中的 MicroserviceId 字段来获取或通过登录[控制台](https://console.cloud.tencent.com/tse/tsf-consul?tab=service)查看;也可以调用[CreateMicroserviceWithDetailResp](https://cloud.tencent.com/document/product/649/85860)创建新的微服务。public String[] getMicroserviceNameList()
public void setMicroserviceNameList(String[] MicroserviceNameList)
MicroserviceNameList - 微服务名称列表。该参数可以通过调用 [DescribeMicroservices](https://cloud.tencent.com/document/product/649/36084) 的返回值中的 MicroserviceName 字段来获取或通过登录[控制台](https://console.cloud.tencent.com/tse/tsf-consul?tab=service)查看;也可以调用[CreateMicroserviceWithDetailResp](https://cloud.tencent.com/document/product/649/85860)创建新的微服务。public String getConfigCenterInstanceId()
public void setConfigCenterInstanceId(String ConfigCenterInstanceId)
ConfigCenterInstanceId - 注册中心实例ID。业务预留参数,忽略传参。Copyright © 2025. All rights reserved.