docs
api
RMQ Message Queue(URocketMQ)
ListURocketMQService

Get Instance List - ListURocketMQService

Overview

Get Service List

Definition

Public Parameters

Parameter NameTypeDescription InformationRequired
ActionstringCorresponding API command name, the current API is ListURocketMQService.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 List of Regions and Availability ZonesYes
ProjectIdstringProject ID. Please refer to the GetProjectList interfaceYes
LimitintThe maximum number of entries returned, (0, 1000], default is 20 entriesNo
OffsetintQuery start position, [0, ∞)No

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
ServiceListarray[ServiceBaseInfo]Service list, including the details of the Service obtainedYes

Data Model

ServiceBaseInfo

Field NameTypeDescription InformationRequired
RegionstringService LocationYes
RemarkstringDescriptionYes
ServiceIdstringService IdYes
NamestringService NameYes
StatestringService Status:. Enumeration values are: Unknown: Unknown; Available: Available; Initializing: Initializing; Deleting: Deleting; CreateFailed: Creation Failed; Closing: Closing; Closed: Closed; Recovering: Recovering from Shutdown; CloseFailed: Shutdown Failed; RecoverFailed: Recovery from Shutdown Failed; Upgrading: Upgrading; UpgradeFailed: Upgrade Failed; DeleteFailed: Deletion Failed.Yes
AddressstringService Intranet Access AddressYes
CreateTimeintService creation time, Unix timestamp secondsYes
StorageintMessage queue storage space, unit: GBYes
VpcIdstringVPC IDYes
SubnetIdstringsubnet idYes
ChargeTypestringBilling mode. Enumerated values are: Year: Pay annually; Month, Pay monthly; Dynamic, Prepay hourly.Yes
TpsintInstance Specification TpsYes
TopicLimitintTopic QuotaYes
IsExpirestringIs the resource expired. Enumerated values are: Yes: Expired; No: Not expiredYes
ModestringNetwork mode. Enumerated values are: Unknown: unknown; PrivateNet: intranet; PublicNet: internet.Yes
AddressExtranetstringService External Access AddressYes
ExpireTimeintResource Validity Period, Unix timestamp secondsYes
AutoRenewstringWhether to renew automatically. Enumerated values are: Yes: Yes; No: No.Yes
TagstringBusiness Group. Default: UngroupedYes
EditionstringVersion type. Enumeration values are: Unknown: unknown; Beta: beta version; Enterprise: enterprise version.Yes
FileReservedTimeintMessage storage duration, unit: daysYes

Example

Request Example

https://api.surfercloud.com/?Action=ListURocketMQService
&Region=cn-zj
&ProjectId=zIWgThcE
&Limit=4
&Offset=6

Response Example

{
  "Action": "ListURocketMQServiceResponse",
  "Message": "SoXGUyZH",
  "RetCode": 0,
  "ServiceList": [
    {
      "Address": "RlWTCGgV",
      "ChargeType": "Year",
      "CreateTime": 2,
      "Name": "vSvWCFtR",
      "Region": "LawhFXVi",
      "Remark": "QjpXWcCk",
      "ServiceId": "oYvBuuXU",
      "State": "Unknown",
      "Storage": 3,
      "SubnetId": "dSedXjym",
      "TopicCount": 3,
      "VPCId": "qMzPIiMS"
    }
  ]
}
  • Company
  • ContactUs
  • Blog
Copyright © 2024 SurferCloud All Rights Reserved