Lists the configuration items for a specified data source type.
Operation description
Before calling this operation, ensure you understand the billing methods and price for MaxCompute Reserved CUs.
Try it now
Test
RAM authorization
Request syntax
GET /api/v1/mms/configItems HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| sourceType |
string |
Yes |
The data source type. |
Hive |
| lang |
string |
No |
The language for the descriptions of the configuration items. Defaults to Chinese ( |
zh_CN |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response body. |
||
| requestId |
string |
The request ID. |
688003E1-D1B4-5468-957E-2FFB3AC8D79B |
| data |
array<object> |
A list of configuration items. |
|
|
array<object> |
A configuration item. |
||
| name |
string |
The name of the configuration item. |
MaxCompute Default Project |
| key |
string |
The key of the configuration item. |
mc.default.project |
| desc |
string |
The description of the configuration item. |
MaxCompute Default Project |
| placeHolder |
string |
The placeholder for the configuration value. |
project |
| type |
string |
The data type of the configuration item. |
STRING |
| subType |
string |
The file type. This parameter is valid only when |
.keytab |
| value |
any |
The value of the configuration item. |
p1=1/p2=abc |
| enums |
array |
The enumerated values for the configuration item. |
|
|
string |
An enumerated value. |
A |
|
| required |
boolean |
Indicates whether the configuration item is required. |
true |
| group |
string |
The group to which the configuration item belongs. |
group.basic |
| subItems |
object |
The sub-items of the configuration item. |
Examples
Success response
JSON format
{
"requestId": "688003E1-D1B4-5468-957E-2FFB3AC8D79B",
"data": [
{
"name": "MaxCompute Default Project",
"key": "mc.default.project",
"desc": "MaxCompute Default Project",
"placeHolder": "project",
"type": "STRING",
"subType": ".keytab",
"value": "p1=1/p2=abc\n",
"enums": [
"A "
],
"required": true,
"group": "group.basic",
"subItems": {
"test": "test",
"test2": 1
}
}
]
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.