插件下载了解更多
Alibaba Cloud Developer ToolkitbetaAlibaba Cloud OpenAPI
Alibaba Cloud Developer Toolkit is a collection of extensions that can help access Alibaba Cloud services in Visual Studio Code.
安装插件之前,确保已安装 JetBrains IDE安装插件之前,确保已安装 JetBrains IDE
Alibaba Cloud Developer ToolkitbetaAlibaba Cloud OpenAPI
The Alibaba Cloud Developer Toolkit for JetBrains makes it easier to access Alibaba Cloud services.
流控信息
请求速率为200/1(s)。
请求语法
GET /api/v2/services/{ClusterId}/{ServiceName} HTTP/1.1
路径参数
字段名称 | 字段详情 |
---|---|
ClusterIdstring | 服务所在地域 ID。 示例值:cn-shanghai |
ServiceNamestring | 服务名称。如何查看服务名称,请参见ListServices 。 示例值:foo参考取值来源: CreateService CloneService ListServices |
返回参数
字段名称 | 字段详情 |
---|---|
QuotaIdstring | 服务的配额 Id。只有部署在灵骏资源配额上的服务才会有此信息。 示例值:quotaxxxxx |
Messagestring | 服务的摘要信息。 示例值:Service start successfully |
ServiceGroupstring | 服务所在分组。 示例值:my_group |
Memoryinteger<int32> | 每个实例申请的内存,单位为 MB。 示例值:1024 |
CurrentVersioninteger<int32> | 当前运行的模型版本。 示例值:1 |
RunningInstanceinteger<int32> | 正在运行的服务的实例个数。 示例值:1 |
WorkspaceIdstring | 服务所属工作空间 ID 示例值:123445 |
Cpuinteger<int32> | 每个实例申请的 CPU。 示例值:1 |
Imagestring | 服务的数据镜像。 示例值:registry.cn-shanghai.aliyuncs.com/eas/echo_cn-shanghai:v0.0.1-20210129111320 |
Gpuinteger<int32> | 每个实例申请的 GPU。 示例值:0 |
CallerUidstring | 服务创建账号的 UID。 示例值:20123******* |
Reasonstring | 服务的状态原因。 示例值:RUNNING |
Sourcestring | 服务的部署来源。 示例值:dsw |
ServiceIdstring | 服务的唯一 ID。 示例值:eas-m-xxasdat |
TotalInstanceinteger<int32> | 服务的所有实例总个数。 示例值:1 |
AppVersionstring | 应用服务版本 示例值:v1 |
ServiceConfigstring | 服务的配置信息。 示例值:{"metadata":{"cpu":1,"instance":1,"memory":1024},"name":"echo","processor_entry":"libecho.so","processor_path":"http://oss-cn-hangzhou-zmf.aliyuncs.com/059247/echo_processor_release.tar.gz","processor_type":"cpp"} |
AccessTokenstring | 服务的请求 Token。 示例值:MzJiMDI5MDliODc0MTlkYmI0ZDhlYmExYjczYTIyZTE3Zm******** |
Gatewaystring | 服务的专属网关 Id。只有绑定了专属网关的服务才有此信息。 示例值:gw-xxxxxx |
AppSpecNamestring | 应用服务规格名称 示例值:llama_7b_fp16 |
InternetEndpointstring | 服务的公网 Endpoint。该字段仅在 DescribeService 接口中返回。 示例值:http://10123*****.cn-shanghai.aliyuncs.com/api/predict/echo |
ResourceAliasstring | 服务所在的资源组别名。 示例值:my_resource |
Statusstring | 服务的状态。 示例值:Running枚举值:CreatingDeployingStoppedFailedUpdatingStoppingWaitingHotUpdateStartingDeleteFailedRunningScalingPendingDeleting |
AppConfigstring | 应用服务配置信息 示例值:{"ModelStorage":"oss"} |
TrafficStatestring | 流量状态 示例值:standalone枚举值:standalonegrouping |
RequestIdstring | 请求 ID。 示例值:40325405-579C-4D82******** |
CreateTimestring | 服务的创建时间。UTC 时间,RFC3339 格式。 示例值:2021-01-29T11:13:20Z |
Resourcestring | 服务所在的资源组。 示例值:eas-r-xxxxxxx |
SecondaryInternetEndpointstring | 异步服务同步请求的公网 Endpoint。该字段仅在 DescribeService 接口中返回。 示例值:http://10123*****.cn-shanghai.aliyuncs.com/api/predict/async_path.echo
|
Labelsarray<object> | 服务标签列表。 |
ExtraDatastring | 服务的额外信息。 示例值:{"blue_green_services":["test","testxxxx"]} |
Namespacestring | 服务所在的命名空间。 示例值:echo |
Weightinteger<int32> | 服务灰度发布的权重值。 示例值:100 |
Rolestring | 服务角色。 示例值:Queue |
SecondaryIntranetEndpointstring | 异步服务同步请求的内网 Endpoint。该字段仅在 DescribeService 接口中返回。 示例值:http://10123*****.vpc.cn-shanghai.aliyuncs.com/api/predict/async_path.echo
|
PendingInstanceinteger<int32> | 被挂起的服务的实例个数。 示例值:0 |
LatestVersioninteger<int32> | 服务最新版本号。 示例值:1 |
ServiceNamestring | 服务的名称。 示例值:echo |
SafetyLockstring | 服务安全锁。 示例值:dangerous枚举值:alldangerousnone |
UpdateTimestring | 服务的更新时间。UTC 时间,RFC3339 格式。 示例值:2021-01-29T11:13:20Z |
ServiceUidstring | 服务 ID,同 ServiceId。 示例值:eas-m-xxasdat
|
Regionstring | 服务所在的区域。 示例值:cn-shanghai |
AppTypestring | 应用服务类型 示例值:LLM |
ParentUidstring | 服务创建账号的主账号 UID。 示例值:11234******* |
IntranetEndpointstring | 服务内网 Endpoint。该字段仅在 DescribeService 接口中返回。 示例值:http://10123*****.vpc.cn-shanghai.aliyuncs.com/api/predict/echo |
RoleAttrsstring | 服务角色额外属性。该字段仅在 DescribeService 接口中返回。 示例值:{"ApproxMaxLength":null,"Length":null,"MaxPayloadBytes":null} |
返回示例
变更历史
暂无变更历史