You can call this operation to view the configuration tags of a specified service on a cluster.

Request parameters

Name Type Required Example Description
ClusterId String Yes C-EBD62A703A430E23 The ID of the cluster.
RegionId String Yes cn-hangzhou The region location ID.
ConfigTag String No FILE_NAME The name of the tag.
ServiceName String No Tez. The name of the service.
AccessKeyId String No xxx The AccessKey ID.

Response parameters

Name Type Example Description
RequestId String EBB4D49C-4064-4818-B3AE-4C6BE5FC8264 The ID of the request.
ConfigTagList The list of tags.
Tag String FILE_NAME The name of the tag.
TagDesc String file The description of the tag.
ValueList The list of tag values.
Value String tez-site The value of the tag.
ValueDesc String tez-site The description of the tag value.

Examples

  • Sample requests
    /? ClusterId=C-F32FB31D82954C64
    &RegionId=cn-hangzhou 
    &ConfigTag=FILE_NAME
    &ServiceName=TEZ
    &AccessKeyId=11
    &<Common request parameters>
  • Successful response examples
    JSON format
    {
    	"ConfigTagList":{
    		"ConfigTag":[
    			{
    				"Tag":"FILE_NAME",
    				"TagDesc":"file",
    				"ValueList":{
    					"Value":[{
    						"Value":"tez-site",
    						"ValueDesc":"tez-site"
    					}]
    				}
    			},
    			{
    				"Tag":"PROPERTY_TYPE",
    				"TagDesc":"configuration type",
    				"ValueList":{
    					"Value":{
    						{
    							"Value":"BASIC",
    							"ValueDesc":"basic configuration"
    						},
    						{
    							"Value":"ADVANCED",
    							"ValueDesc":"advanced configuration"
    						},
    						{
    							"Value":"INFORMATION",
    							"ValueDesc":"read-only configuration"
    						},
    						{
    							"Value":"DATA_PATH",
    							"ValueDesc":"data path"
    						},
    						{
    							"Value":"LOG_PATH",
    							"ValueDesc":"log path"
    						},
    						{
    							"Value":"LOG",
    							"ValueDesc":"about logs"
    						},
    						{
    							"Value":"JVM",
    							"ValueDesc":"about JVM"
    						},
    						{
    							"Value":"DATA",
    							"ValueDesc":"about data"
    						},
    						{
    							"Value":"DATABASE",
    							"ValueDesc":"about databases"
    						},
    						{
    							"Value":"PERFORMANCE",
    							"ValueDesc":"about performance"
    						},
    						{
    							"Value":"TIME",
    							"ValueDesc":"about time"
    						},
    						{
    							"Value":"CODEC",
    							"ValueDesc":"about codecs "
    						},
    						{
    							"Value":"OSS",
    							"ValueDesc":"about OSS"
    						},
    						{
    							"Value":"PORT",
    							"ValueDesc":"ports"
    						},
    						{
    							"Value":"MEMORY",
    							"ValueDesc":"memory configuration"
    						},
    						{
    							"Value":"DISK",
    							"ValueDesc":"about disks"
    						},
    						{
    							"Value":"NETWORK",
    							"ValueDesc":"about networks"
    						},
    						{
    							"Value":"PATH",
    							"ValueDesc":"file path"
    						},
    						{
    							"Value":"URI",
    							"ValueDesc":"URL or URI"
    						}
    					]
    				}
    			}
    		]
    	},
    	"RequestId":"B887B2A3-E770-4340-A556-D9FAF41ABF47"
    }
  • Error response examples
    JSON format
    {
    	"code":"RAM.Permission.NotAllow",
    	"message":"It is not allow to execute this operation,please use RAM to authorize!",
    	"requestId":"9AEDC439-1F63-491D-B8C6-9737C372BF3A",
    	"successResponse": true
    }

Error codes

View error codes.