docs
api
Cloud MongoDB Database(UDB NVMe)
ListUMongoDBLogPackage

Log Package List - ListUMongoDBLogPackage

Overview

Log Packaging List

Definition

Public Parameters

Parameter NameTypeDescription InformationRequired
ActionstringCorresponding API command name, the current API is ListUMongoDBLogPackage.Yes
PublicKeystringThe user's public key can be obtained from Console (opens in a new tab)Yes
SignaturestringUser signature generated based on public key and API command, see Signature AlgorithmYes

Request Parameters

Parameter NameTypeDescription InformationRequired
RegionstringRegion. See Region and Availability Zone ListYes
ZonestringAvailability Zone. See Availability Zone ListYes
ProjectIdstringProject ID. If not filled in, the default project is used, sub-accounts must be filled in. Please refer to the GetProjectList interface.No
ClusterIdstringCluster IDYes
NodeIdstringNode IDNo

Response Field

Field NameTypeDescription InformationRequired
RetCodeintReturn status code. If it is 0, it means successful return. If it is not 0, it means failure.Yes
ActionstringOperation command name.Yes
MessagestringReturns an error message, providing detailed description when RetCode is non-zero.No
DataSetarray[PackageInfo]ListYes

Data Model

PackageInfo

Field NameTypeDescription InformationRequired
IdintThe translation for 'id' in English remains 'id'.No
NamestringNameNo
StatestringPackage_Running,Package_Success,Package_Failed,Package_Deleting,Package_Deleted,Package_DeleteFailedNo
SizeintSize, unit in bytesNo
PackageTypestringSlowLog,ErrorLogNo
ClusterIdstringCluster IDNo
NodeIdstringNode idNo
RolestringRoleNo
BeginintStart TimeNo
EndintEnd TimeNo
CreateTimeintCreation TimeNo
FinishTimeintCompletion TimeNo

Example

Request Example

https://api.surfercloud.com/?Action=ListUMongoDBLogPackage
&Region=cn-zj
&Zone=cn-zj-01
&ProjectId=cCrrDBep
&ClusterId=afqpXrft
&NodeId=zLejAepe

Response Example

{
  "Action": "ListUMongoDBLogPackageResponse",
  "DataSet": [
    {
      "Begin": 5,
      "ClusterId": "uzRxRBKy",
      "CreateTime": 5,
      "End": 1,
      "FinishTime": 1,
      "Id": 6,
      "Name": "lplwcWTx",
      "NodeId": "JnetkalK",
      "PackageType": "TaRJoULs",
      "Size": 2,
      "State": "kkpjvQUt"
    }
  ],
  "RetCode": 0
}
  • Company
  • ContactUs
  • Blog
Copyright © 2024 SurferCloud All Rights Reserved