Domain name for API request: ecm.tencentcloudapi.com.
This API is used to display the details of a module.
A maximum of 20 requests can be initiated per second for this API.
The following request parameter list only provides API request parameters and some common parameters. For the complete common parameter list, see Common Request Parameters.
Parameter Name | Required | Type | Description |
---|---|---|---|
Action | Yes | String | Common Params. The value used for this API: DescribeModuleDetail. |
Version | Yes | String | Common Params. The value used for this API: 2019-07-19. |
Region | No | String | Common Params. This parameter is not required for this API. |
ModuleId | Yes | String | Module ID, such as em-qn46snq8 . |
Parameter Name | Type | Description |
---|---|---|
Module | Module | Module details. For more information, see ModuleInfo in the data structure.Note: this field may return null, indicating that no valid values can be obtained. |
ModuleCounter | ModuleCounter | Module statistics. For more information, see ModuleCounterInfo in the data structure.Note: this field may return null, indicating that no valid values can be obtained. |
RequestId | String | The unique request ID, which is returned for each request. RequestId is required for locating a problem. |
This example shows you how to view the module details.
https://ecm.tencentcloudapi.com/?Action=DescribeModuleDetail
&ModuleId=em-eedttqfb
&<Common request parameters>
{
"Response": {
"RequestId": "187c16d5-1f53-4e88-b684-077f0c7369b2",
"Module": {
"ModuleId": "em-eedttqfb",
"ModuleName": "test1",
"ModuleState": "NORMAL",
"DefaultBandwidth": 106,
"DefaultImage": {
"ImageId": "img-oikl1tzv",
"ImageName": "CentOS 7.5 64-bit",
"ImageState": "NORMAL",
"ImageType": "PUBLIC_IMAGE",
"ImageOwner": 0,
"ImageOsName": "CentOS 7.5 64-bit",
"ImageDescription": "CentOS 7.5 64-bit",
"Architecture": "x86_64",
"OsType": "linux",
"Platform": "CentOS",
"OsVersion": "7.5.0",
"ImageCreateTime": "",
"ImageSize": 50
},
"InstanceTypeConfig": {
"InstanceFamilyConfig": {
"InstanceFamilyName": "Standard Network Optimized",
"InstanceFamily": "SN3ne"
},
"InstanceFamilyTypeConfig": {
"InstanceFamilyType": "S",
"InstanceFamilyTypeName": "Standard"
},
"InstanceType": "SN3ne.2XLARGE16",
"Vcpu": 8,
"Memory": 16,
"Frequency": "2.5 GHz",
"CpuModelName": "Intel Xeon Skylake 6133",
"ExtInfo": ""
},
"DefaultSystemDiskSize": 50,
"DefaultDataDiskSize": 48,
"CreateTime": "2020-03-09 17:03:44"
},
"ModuleCounter": {
"ISPCounterSet": [
{
"ProviderName": "CTCC",
"ProviderNodeNum": 1,
"ProvederInstanceNum": 1,
"ZoneInstanceInfoSet": [
{
"ZoneName": "Beijing Zone 3 (China Telecom)",
"InstanceNum": 1
}
]
},
{
"ProviderName": "CMCC",
"ProviderNodeNum": 2,
"ProvederInstanceNum": 2,
"ZoneInstanceInfoSet": [
{
"ZoneName": "Beijing Zone 1 (China Mobile)",
"InstanceNum": 1
},
{
"ZoneName": "Chengdu Zone 2 (China Mobile)",
"InstanceNum": 1
}
]
}
],
"NodeNum": 3,
"InstanceNum": 3,
"ProvinceNum": 2,
"CityNum": 2
}
}
}
TencentCloud API 3.0 integrates SDKs that support various programming languages to make it easier for you to call APIs.
The following only lists the error codes related to the API business logic. For other error codes, see Common Error Codes.
Error Code | Description |
---|---|
FailedOperation.InternalOperationFailure | Internal error. |
InvalidParameter.InvalidDataFormat | The data format is incorrect. |
InvalidParameterValue.InvalidModuleID | The module ID is invalid. |
InvalidParameterValue.InvalidPublicParam | The common parameter is invalid. |
MissingParameter.MissingModuleParameter | The module operation parameters are incomplete. |
UnauthorizedOperation.ForbiddenOperation | You don't have the permission to perform this operation. |
Was this page helpful?