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

DescribeService - 查詢服務詳情

獲取指定服務的詳細信息。

調試

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

授權信息

下表是API對應的授權信息,可以在RAM權限策略語句的Action元素中使用,用來給RAM用戶或RAM角色授予調用此API的權限。具體說明如下:

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

請求語法

GET /api/v2/services/{ClusterId}/{ServiceName} HTTP/1.1

請求參數

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

服務所在地域 ID。

cn-shanghai
ServiceNamestring

服務名稱。如何查看服務名稱,請參見ListServices

foo

返回參數

名稱類型描述示例值
Service

返回的服務詳情。

示例

正常返回示例

JSON格式

{
  "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"
}

錯誤碼

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

變更歷史

變更時間變更內容概要操作
暫無變更歷史