GetOperationParams - 查看某操作的输入参数

查看某操作的输入参数

调试

您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。

调试

授权信息

当前API暂无授权信息透出。

请求语法

POST  HTTP/1.1

请求参数

名称

类型

必填

描述

示例值

ServiceType

string

服务类型

ecs

Operation

string

操作名

addTags

返回参数

名称

类型

描述

示例值

object

Schema of Response

Message

string

错误信息

getBpmOperationParams errors

RequestId

string

请求 ID

F439A659-3B3D-50FB-A4BC-69FBF16413C8

Code

string

返回码

200

Data

object

结果集

Service

string

服务类型

ecs

Operation

string

操作名

addTags

Attributes

object

输入参数

{ "tags": { "controlType": "KeyValue", "display": "Label", "orderBy": 0, "associatedLabel": true, "required": true } }

Properties

object

输入参数

{ "instanceId": "ResourceId", "regionId": "region", "appId": "appId" }

Outputs

object

输出结果

{ "instance_id": { "display": "ECS instance ID", "dataType": "String", "orderBy": 0, "attributeName": "instance_id", "enableVariable": "String", "required": true }, "instance_name": { "display": "ECS name", "dataType": "String", "orderBy": 0, "attributeName": "instance_name", "required": true }, "private_ip": { "display": "Intranet IP", "dataType": "String", "orderBy": 0, "value": "private_ip", "required": true } }

示例

正常返回示例

JSON格式

{
  "Message": "getBpmOperationParams errors",
  "RequestId": "F439A659-3B3D-50FB-A4BC-69FBF16413C8",
  "Code": "200",
  "Data": {
    "Service": "ecs",
    "Operation": "addTags",
    "Attributes": {
      "tags": {
        "controlType": "KeyValue",
        "display": "Label",
        "orderBy": 0,
        "associatedLabel": true,
        "required": true
      }
    },
    "Properties": {
      "instanceId": "ResourceId",
      "regionId": "region",
      "appId": "appId"
    },
    "Outputs": {
      "instance_id": {
        "display": "ECS instance ID",
        "dataType": "String",
        "orderBy": 0,
        "attributeName": "instance_id",
        "enableVariable": "String",
        "required": true
      },
      "instance_name": {
        "display": "ECS name",
        "dataType": "String",
        "orderBy": 0,
        "attributeName": "instance_name",
        "required": true
      },
      "private_ip": {
        "display": "Intranet IP",
        "dataType": "String",
        "orderBy": 0,
        "value": "private_ip",
        "required": true
      }
    }
  }
}

错误码

访问错误中心查看更多错误码。

变更历史

更多信息,参考变更详情