日本熟妇hd丰满老熟妇,中文字幕一区二区三区在线不卡 ,亚洲成片在线观看,免费女同在线一区二区

ListServices - 查詢服務(wù)列表

列舉服務(wù)

調(diào)試

您可以在OpenAPI Explorer中直接運行該接口,免去您計算簽名的困擾。運行成功后,OpenAPI Explorer可以自動生成SDK代碼示例。

授權(quán)信息

下表是API對應(yīng)的授權(quán)信息,可以在RAM權(quán)限策略語句的Action元素中使用,用來給RAM用戶或RAM角色授予調(diào)用此API的權(quán)限。具體說明如下:

  • 操作:是指具體的權(quán)限點。
  • 訪問級別:是指每個操作的訪問級別,取值為寫入(Write)、讀取(Read)或列出(List)。
  • 資源類型:是指操作中支持授權(quán)的資源類型。具體說明如下:
    • 對于必選的資源類型,用背景高亮的方式表示。
    • 對于不支持資源級授權(quán)的操作,用全部資源表示。
  • 條件關(guān)鍵字:是指云產(chǎn)品自身定義的條件關(guān)鍵字。
  • 關(guān)聯(lián)操作:是指成功執(zhí)行操作所需要的其他權(quán)限。操作者必須同時具備關(guān)聯(lián)操作的權(quán)限,操作才能成功。
操作訪問級別資源類型條件關(guān)鍵字關(guān)聯(lián)操作
eas:ListServicesget
  • Service
    acs:eas:{#regionId}:{#accountId}:service/*

請求語法

GET /api/v2/services HTTP/1.1

請求參數(shù)

名稱類型必填描述示例值
Sortstring

排序字段。按時間戳類型默認(rèn)倒序排序。

CreateTime
Orderstring

排序方式,取值如下:

  • desc(默認(rèn)值):降序。
  • asc:升序。
asc
Filterstring

模糊匹配字段。只支持按服務(wù)名字模糊匹配。

foo
PageNumberinteger

服務(wù)列表的請求頁碼,默認(rèn)為 1。

1
PageSizeinteger

分頁查詢時設(shè)置的每頁顯示的服務(wù)數(shù)量,默認(rèn)為 100。

100
GroupNamestring

服務(wù)群組名稱,如何獲取服務(wù)群組名稱,請參見ListServices

foo
ParentServiceUidstring

Band 成員服務(wù)對應(yīng)的主服務(wù) ID。

eas-m-ijafy3c8cxxxx
ServiceTypestring

服務(wù)類型,取值如下:

  • Async
  • Standard
  • Offline Task
  • Proxima
枚舉值:
  • AsyncAsync
  • StandardStandard
  • OfflineTaskOfflineTask
  • ProximaProxima
Standard
Labelobject

按標(biāo)簽過濾。

string

{"key":"value"}格式填寫。Value 可為 null 或空字符,代表只按 Key 過濾,Value 可為任意值。

{"key1":"value1","key2":null}
ServiceStatusstring

服務(wù)運行的狀態(tài)。

枚舉值:
  • CreatingCreating
  • StoppedStopped
  • FailedFailed
  • CompleteComplete
  • CloningCloning
  • StoppingStopping
  • UpdatingUpdating
  • WaitingWaiting
  • HotUpdateHotUpdate
  • CommittingCommitting
  • StartingStarting
  • DeleteFailedDeleteFailed
  • RunningRunning
  • DevelopingDeveloping
  • ScalingScaling
  • DeletedDeleted
  • PendingPending
  • DeletingDeleting
Running
ServiceNamestring

服務(wù)名。

echo_test
ServiceUidstring

服務(wù) UID。

eas-m-c9iw3yitxxxx
ResourceNamestring

服務(wù)所屬的資源組名稱或 ID。

eas-r-hd0qwy8cxxxx
WorkspaceIdstring

工作空間 ID。

1234**
QuotaIdstring

配額 ID。

quota1****
Gatewaystring

私有網(wǎng)關(guān) ID。

gw-1uhcqmsc7x22******
Rolestring

服務(wù)角色

枚舉值:
  • DataLoaderDataLoader
  • FrontEndFrontEnd
  • DataSetDataSet
  • SDProxySDProxy
  • LLMSchedulerLLMScheduler
  • ScalableJobScalableJob
  • LLMGatewayLLMGateway
  • JobJob
  • QueueQueue
LLMGateway

返回參數(shù)

名稱類型描述示例值
object

返回結(jié)果。

RequestIdstring

請求 ID。

40325405-579C-4D82****
Servicesarray

服務(wù)列表。

ServiceService

服務(wù)實例。

PageNumberinteger

返回查詢的服務(wù)列表的當(dāng)前頁碼。

1
PageSizeinteger

返回每頁顯示的服務(wù)數(shù)量。

100
TotalCountinteger

服務(wù)總數(shù)。

2

示例

正常返回示例

JSON格式

{
  "RequestId": "40325405-579C-4D82****",
  "Services": [
    {
      "RequestId": "40325405-579C-4D82********",
      "Region": "cn-shanghai",
      "CallerUid": "20123*******",
      "ParentUid": "11234*******",
      "CurrentVersion": 1,
      "Cpu": 1,
      "Gpu": 0,
      "Image": "registry.cn-shanghai.aliyuncs.com/eas/echo_cn-shanghai:v0.0.1-20210129111320",
      "PendingInstance": 0,
      "RunningInstance": 1,
      "TotalInstance": 1,
      "InternetEndpoint": "http://10123*****.cn-shanghai.aliyuncs.com/api/predict/echo",
      "IntranetEndpoint": "http://10123*****.vpc.cn-shanghai.aliyuncs.com/api/predict/echo",
      "LatestVersion": 1,
      "Memory": 1024,
      "Message": "Service start successfully",
      "Namespace": "echo",
      "Reason": "RUNNING",
      "Resource": "eas-r-xxxxxxx",
      "ResourceAlias": "my_resource",
      "ServiceConfig": "{        \"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\"     }",
      "ServiceName": "echo",
      "ServiceGroup": "my_group",
      "Status": "Running",
      "CreateTime": "2021-01-29T11:13:20Z",
      "UpdateTime": "2021-01-29T11:13:20Z",
      "Weight": 100,
      "ServiceId": "eas-m-xxasdat",
      "ServiceUid": "eas-m-xxasdat\n",
      "AccessToken": "MzJiMDI5MDliODc0MTlkYmI0ZDhlYmExYjczYTIyZTE3Zm********",
      "Source": "dsw",
      "ExtraData": "{\\\"blue_green_services\\\":[\\\"test\\\",\\\"testxxxx\\\"]}",
      "Role": "Queue",
      "RoleAttrs": "\"{\\\"ApproxMaxLength\\\":null,\\\"Length\\\":null,\\\"MaxPayloadBytes\\\":null}\"",
      "SafetyLock": "dangerous",
      "SecondaryInternetEndpoint": "http://10123*****.cn-shanghai.aliyuncs.com/api/predict/async_path.echo\n",
      "SecondaryIntranetEndpoint": "http://10123*****.vpc.cn-shanghai.aliyuncs.com/api/predict/async_path.echo\n",
      "Labels": [
        {
          "LabelKey": "key1",
          "LabelValue": "value1"
        }
      ],
      "WorkspaceId": "123445",
      "AppType": "LLM",
      "AppConfig": "{\"ModelStorage\":\"oss\"}",
      "AppSpecName": "llama_7b_fp16",
      "AppVersion": "v1"
    }
  ],
  "PageNumber": 1,
  "PageSize": 100,
  "TotalCount": 2
}

錯誤碼

訪問錯誤中心查看更多錯誤碼。

變更歷史

變更時間變更內(nèi)容概要操作
2024-10-08OpenAPI 入?yún)l(fā)生變更查看變更詳情
2024-07-31OpenAPI 入?yún)l(fā)生變更查看變更詳情
2024-01-23OpenAPI 入?yún)l(fā)生變更查看變更詳情
2023-09-01OpenAPI 入?yún)l(fā)生變更查看變更詳情
2023-05-06OpenAPI 入?yún)l(fā)生變更查看變更詳情