獲取資源元數(shù)據(jù)。
調(diào)試
您可以在OpenAPI Explorer中直接運(yùn)行該接口,免去您計(jì)算簽名的困擾。運(yùn)行成功后,OpenAPI Explorer可以自動(dòng)生成SDK代碼示例。
授權(quán)信息
當(dāng)前API暫無授權(quán)信息透出。
請(qǐng)求語法
GET /api/v1/providers/{provider}/products/{product}/resourceTypes/* HTTP/1.1
請(qǐng)求參數(shù)
名稱 | 類型 | 必填 | 描述 | 示例值 |
---|---|---|---|---|
x-acs-accept-language | string | 否 | 選擇返回產(chǎn)品的語言。 zh_CH:中文 (默認(rèn)) en_US:英文。 | zh_CH |
requestPath | string | 是 | 請(qǐng)求路徑。格式為: /api/v1/providers/{provider}/products/{product}/resourceTypes/{resourceType} 請(qǐng)求路徑中變量說明: provider: 云廠商,目前只支持 Aliyun。 product: 產(chǎn)品 Code。 resourceType: 資源類型。有父資源時(shí),格式為{父資源類型 code}/{資源類型 code} | 無父資源: /api/v1/providers/Aliyun/products/Redis/resourceTypes/DBInstance 有父資源: /api/v1/providers/Aliyun/products/Redis/resourceTypes/DBInstance/Account |
返回參數(shù)
示例
正常返回示例
JSON
格式
{
"requestId": "473469C7-AA6F-4DC5-B3DB-A3DC0DE3****",
"resourceType": {
"createOnlyProperties": [
"/properties/AutoRenew"
],
"deleteOnlyProperties": [
"/properties/ForceDelete"
],
"filterProperties": [
"\t\n/properties/ResourceGroupId"
],
"getOnlyProperties": [
"/properties/DryRun"
],
"getResponseProperties": [
"/properties/NetworkInterfaces/items/properties/IpvSets"
],
"handlers": {
"create": {
"permissions": [
"ecs:CreateInstance"
]
},
"delete": {
"permissions": [
"ecs:DeleteInstance"
]
},
"get": {
"permissions": [
"ecs:DescribeInstanceAttachmentAttributes"
]
},
"list": {
"permissions": [
"ecs:DescribeInstances"
]
},
"update": {
"permissions": [
"ecs:ModifyInstanceNetworkSpec"
]
}
},
"info": {
"chargeType": "paid",
"deliveryScope": "region",
"description": "An ECS instance is equivalent to a virtual machine, including the most basic computing components such as CPU, memory, operating system, network, and disk. You can easily customize and change the configuration of the instance. You have full control over the virtual machine.",
"title": "Instance"
},
"listOnlyProperties": [
"/properties/DryRun"
],
"listResponseProperties": [
"/properties/InstanceId"
],
"primaryIdentifier": "/properties/InstanceId\n",
"product": "ECS",
"properties": {
"test": "test",
"test2": 1
},
"publicProperties": [
"\t\n/properties/Description"
],
"readOnlyProperties": [
"/properties/CreateTime"
],
"required": [
"RegionId"
],
"resourceType": "無父資源:\nInstance\n有父資源:\nDBInstance/Account",
"sensitiveInfoProperties": [
"/properties/VncPassword"
],
"updateOnlyProperties": [
"/properties/DryRun"
],
"updateTypeProperties": [
"/properties/InstanceName"
]
}
}
錯(cuò)誤碼
訪問錯(cuò)誤中心查看更多錯(cuò)誤碼。
變更歷史
變更時(shí)間 | 變更內(nèi)容概要 | 操作 |
---|
暫無變更歷史