GetFunctionInstance
根据实例名称获取实例详情
服务地址:
华东1(杭州)
输入参数
只看必填
appGroupIdentity应用名称
functionName功能名称
instanceName实例名称
output控制返回信息的丰富度:
插件下载了解更多
VS Code 插件
安装插件之前,确保已安装 VS Code安装插件之前,确保已安装 VS Code
Alibaba Cloud Developer Toolkit is a collection of extensions that can help access Alibaba Cloud services in Visual Studio Code.
JetBrains 插件
安装插件之前,确保已安装 JetBrains IDE安装插件之前,确保已安装 JetBrains IDE
The Alibaba Cloud Developer Toolkit for JetBrains makes it easier to access Alibaba Cloud services.

请求语法

GET /v4/openapi/app-groups/{appGroupIdentity}/functions/{functionName}/instances/{instanceName} HTTP/1.1

路径参数

字段名称字段详情
appGroupIdentitystring

应用名称

示例值:150057101参考取值来源:
    CreateAppGroupCredentials
    ListAppGroups
functionNamestring

功能名称

示例值:ctr参考取值来源:
    CreateFunctionTask
instanceNamestring

实例名称

示例值:ctr_test参考取值来源:
    CreateFunctionInstance
    GetFunctionDefaultInstance
    ListFunctionInstances

请求参数

字段名称字段详情
outputstring

控制返回信息的丰富度:展开详情

示例值:detail

请求说明

示例

GET /v4/openapi/app-groups/my-app/functions/ctr/instances/ctr_test?output=detail

返回参数

字段名称字段详情
Statusstring

请求状态

示例值:OK
HttpCodeinteger<int64>

http 状态码

注意 请注意,该值为 Long 类型,在某些语言中可能存在精度丢失的风险,请小心使用。
示例值:200
RequestIdstring

请求 id

示例值:68ED4E1B-92B8-5821-A886-9C90686139EB
Messagestring

返回的错误信息

示例值:instance not exist.
Codestring

返回的错误码(没有错误为空)

示例值:Instance.NotExist
Resultobject

实例详情

示例值:{}
Latencyinteger<int64>

api 请求耗时(单位:毫秒)

注意 请注意,该值为 Long 类型,在某些语言中可能存在精度丢失的风险,请小心使用。
示例值:123

返回说明

正常返回示例:

{
    "status": "OK",
    "requestId": "",
    "httpCode": 200,
    "code": "",
    "message": "",
    "latency": 123,
    "result": {
        "versionId": 100,
        "instanceName": "ctr_test",
        "functionName": "ctr",
        "functionType": "PAAS",
        "modelType": "tf_checkpoint",
        "description": "测试",
        "status": "available",
        "belongs": {
            "domain": "ecommerce",
            "category": "general",
            "language": "zh"
        },
        "createTime": 100010,
        "createParameters": [
            {
                "name": "param1",
                "value": "val1"
            }
        ],
        "usageParameters": [
            {
                "name": "use_param1",
                "value": "val1"
            }
        ],
        "extendInfo": "{\"error\":{},\"dataReport\":{}}",
        "cron": "",
        "task": {
            "dagStatus": "running",
            "progress": 30,
            "lastRunTime": 200020
        }
    }
}
变更历史
暂无变更历史