หน้านี้ยังไม่พร้อมใช้งานในภาษาท้องถิ่นของคุณ เรากำลังพยายามอย่างหนักเพื่อเพิ่มเวอร์ชันภาษาอื่น ๆ เพิ่มเติม ขอบคุณสำหรับการสนับสนุนเสมอมา

Compute
Elastic Cloud Server
Huawei Cloud Flexus
Bare Metal Server
Auto Scaling
Image Management Service
Dedicated Host
FunctionGraph
Cloud Phone Host
Huawei Cloud EulerOS
Networking
Virtual Private Cloud
Elastic IP
Elastic Load Balance
NAT Gateway
Direct Connect
Virtual Private Network
VPC Endpoint
Cloud Connect
Enterprise Router
Enterprise Switch
Global Accelerator
Management & Governance
Cloud Eye
Identity and Access Management
Cloud Trace Service
Resource Formation Service
Tag Management Service
Log Tank Service
Config
OneAccess
Resource Access Manager
Simple Message Notification
Application Performance Management
Application Operations Management
Organizations
Optimization Advisor
IAM Identity Center
Cloud Operations Center
Resource Governance Center
Migration
Server Migration Service
Object Storage Migration Service
Cloud Data Migration
Migration Center
Cloud Ecosystem
KooGallery
Partner Center
User Support
My Account
Billing Center
Cost Center
Resource Center
Enterprise Management
Service Tickets
HUAWEI CLOUD (International) FAQs
ICP Filing
Support Plans
My Credentials
Customer Operation Capabilities
Partner Support Plans
Professional Services
Analytics
MapReduce Service
Data Lake Insight
CloudTable Service
Cloud Search Service
Data Lake Visualization
Data Ingestion Service
GaussDB(DWS)
DataArts Studio
Data Lake Factory
DataArts Lake Formation
IoT
IoT Device Access
Others
Product Pricing Details
System Permissions
Console Quick Start
Common FAQs
Instructions for Associating with a HUAWEI CLOUD Partner
Message Center
Security & Compliance
Security Technologies and Applications
Web Application Firewall
Host Security Service
Cloud Firewall
SecMaster
Anti-DDoS Service
Data Encryption Workshop
Database Security Service
Cloud Bastion Host
Data Security Center
Cloud Certificate Manager
Edge Security
Blockchain
Blockchain Service
Web3 Node Engine Service
Media Services
Media Processing Center
Video On Demand
Live
SparkRTC
MetaStudio
Storage
Object Storage Service
Elastic Volume Service
Cloud Backup and Recovery
Storage Disaster Recovery Service
Scalable File Service Turbo
Scalable File Service
Volume Backup Service
Cloud Server Backup Service
Data Express Service
Dedicated Distributed Storage Service
Containers
Cloud Container Engine
SoftWare Repository for Container
Application Service Mesh
Ubiquitous Cloud Native Service
Cloud Container Instance
Databases
Relational Database Service
Document Database Service
Data Admin Service
Data Replication Service
GeminiDB
GaussDB
Distributed Database Middleware
Database and Application Migration UGO
TaurusDB
Middleware
Distributed Cache Service
API Gateway
Distributed Message Service for Kafka
Distributed Message Service for RabbitMQ
Distributed Message Service for RocketMQ
Cloud Service Engine
Multi-Site High Availability Service
EventGrid
Dedicated Cloud
Dedicated Computing Cluster
Business Applications
Workspace
ROMA Connect
Message & SMS
Domain Name Service
Edge Data Center Management
Meeting
AI
Face Recognition Service
Graph Engine Service
Content Moderation
Image Recognition
Optical Character Recognition
ModelArts
ImageSearch
Conversational Bot Service
Speech Interaction Service
Huawei HiLens
Video Intelligent Analysis Service
Developer Tools
SDK Developer Guide
API Request Signing Guide
Terraform
Koo Command Line Interface
Content Delivery & Edge Computing
Content Delivery Network
Intelligent EdgeFabric
CloudPond
Intelligent EdgeCloud
Solutions
SAP Cloud
High Performance Computing
Developer Services
ServiceStage
CodeArts
CodeArts PerfTest
CodeArts Req
CodeArts Pipeline
CodeArts Build
CodeArts Deploy
CodeArts Artifact
CodeArts TestPlan
CodeArts Check
CodeArts Repo
Cloud Application Engine
MacroVerse aPaaS
KooMessage
KooPhone
KooDrive
Help Center/ Cloud Service Engine/ API Reference/ CSE API/ Engine Management/ Querying Details About a Microservice Engine

Querying Details About a Microservice Engine

Updated on 2023-11-22 GMT+08:00

Function

This API is used to query details about a microservice engine.

URI

GET /v2/{project_id}/enginemgr/engines/{engine_id}

Table 1 Path parameters

Parameter

Mandatory

Type

Description

project_id

Yes

String

Tenant sub-project ID, which must be unique. The value contains 1 to 64 characters. See Obtaining a Project ID.

engine_id

Yes

String

ID of a microservice engine. See Querying the Microservice Engine List.

Request

Table 2 Request header parameters

Parameter

Mandatory

Type

Description

X-Auth-Token

Yes

String

User token.

X-Enterprise-Project-ID

No

String

Enterprise project ID.

If this parameter is not set, the default enterprise project is default and the ID is 0.

Response

Status code: 200

Table 3 Response body parameters

Parameter

Type

Description

id

String

ID of a microservice engine.

name

String

Name of a microservice engine.

projectId

String

ID of the project to which a microservice engine belongs.

enterpriseProjectId

String

ID of the enterprise project to which a microservice engine belongs.

enterpriseProjectName

String

Name of the enterprise project to which a microservice engine belongs.

type

String

Engine type.

  • CSE
  • NACOS

description

String

Description of a microservice engine.

beDefault

Boolean

Whether the microservice engine is the default engine.

flavor

String

Microservice engine flavor.

  • cse.s1.small2: HA 100-instance ServiceComb engine
  • cse.s1.medium2: HA 200-instance ServiceComb engine
  • cse.s1.large2: HA 500-instance ServiceComb engine
  • cse.s1.xlarge2: HA 2000-instance ServiceComb engine
  • cse.nacos2.c1.large.10-10: 500 to 500 Nacos engines
  • cse.nacos2.c1.xlarge.11-80: 550 to 4000 Nacos engines
  • cse.nacos2.c1.2xlarge.81-100: 4050 to 5000 Nacos engines

payment

String

Billing mode of a microservice engine. 1 indicates pay-per-use, and 2 indicates free of charge.

authType

String

Authentication mode of a microservice engine. RBAC indicates security authentication, and NONE indicates no authentication.

status

String

Current status of a microservice engine.

cceSpec

Object

CCE specification of a microservice engine.

externalEntrypoint

Object

Access address of a microservice engine.

publicAddress

String

Public network access address of a microservice engine. You need to enable public network access.

version

String

Current version of a microservice engine.

latestVersion

String

Latest version of a microservice engine.

createTime

Integer

Creation time of a microservice engine.

createUser

String

Creator of a microservice engine.

latestJobId

Integer

ID of the latest job of a microservice engine.

engineAdditionalActions

Array of String

Additional operations allowed by a microservice engine.

Delete

ForceDelete

Upgrade

Modify

Retry

specType

String

Deployment type of a microservice engine.

  • For a ServiceComb engine, the fixed value is CSE2.
  • For a Nacos engine, the fixed value is NACOS2.

reference

Object

Additional information about a microservice engine.

vmIds

Array of String

ID list of VMs used by a microservice engine on the resource tenant side.

Table 4 EngineReference

Parameter

Type

Description

vpc

String

VPC name.

vpcId

String

VPC ID. The value can contain up to 64 characters.

azList

Array of String

List of AZs for microservice engine deployment.

networkId

String

Subnet network ID of a microservice engine.

subnetCidr

String

IPv4 subnet division of a microservice engine.

subnetCidrV6

String

IPv6 subnet division of a microservice engine.

subnetGateway

String

Subnet gateway of a microservice engine.

publicIpId

String

Public IP address ID of a microservice engine. You need to enable public network access.

serviceLimit

Integer

Total number of microservices supported by a package.

instanceLimit

Integer

Total number of instances supported by a package.

inputs

Map <String,String>

Additional parameter of a microservice engine.

Table 5 Spec

Parameter

Type

Description

id

Integer

CCE specification ID of a microservice engine.

engineId

String

ID of a microservice engine.

specType

String

CCE cluster deployment type of a microservice engine.

cluster

String

CCE cluster information about a microservice engine. Currently, the value is null.

clusterId

String

CCE cluster ID of a microservice engine.

clusterNodes

Object

CCE node list of a microservice engine.

flavor

String

CCE cluster flavor of a microservice engine.

region

String

Region where the CCE cluster of a microservice engine is located.

version

String

CCE cluster version of a microservice engine.

extendParam

String

Additional parameter of the CCE cluster of a microservice engine.

Table 6 SpecClusterNode

Parameter

Type

Description

clusterNodes

Array of ClusterNode objects

CCE node information of a microservice engine.

Table 7 ClusterNode

Parameter

Type

Description

id

String

CCE node ID of a microservice engine.

az

String

AZ to which the CCE cluster of a microservice engine belongs.

ip

String

CCE node IP of a microservice engine.

label

String

CCE node label of a microservice engine.

status

String

CCE node label of a microservice engine.

Table 8 EngineExternalEntrypoint

Parameter

Type

Description

externalAddress

String

Address for accessing a microservice engine in a VPC on the tenant side.

publicAddress

String

Public network access address of a microservice engine. You need to enable public network access.

serviceEndpoint

Object

Address for accessing a microservice engine component in a VPC on the tenant side.

publicServiceEndpoint

Object

Public network access address of a microservice engine component. You need to enable public network access.

Table 9 Endpoint

Parameter

Type

Description

kie

Object

Endpoint information of the configuration center.

serviceCenter

Object

Endpoint information of the service center.

Table 10 EntryPoint

Parameter

Type

Description

masterEntrypoint

String

Primary IPv4 address for accessing a microservice engine component in a VPC.

masterEntrypointIpv6

String

Primary IPv6 address for accessing microservice engine component in a VPC.

slaveEntrypoint

String

Secondary IPv4 address for accessing a microservice engine component in a VPC.

slaveEntrypointIpv6

String

Secondary IPv6 address for accessing a microservice engine component in a VPC.

type

String

Microservice engine component type.

CSE

NACOS

Status code: 400

Table 11 Response body parameters

Parameter

Type

Description

errorCode

String

Error code.

errorMessage

String

Error message.

detail

String

Location details.

Status code: 500

Table 12 Response body parameters

Parameter

Type

Description

errorCode

String

Error code.

errorMessage

String

Error message.

detail

String

Location details.

Example Request

Query details about an exclusive engine with specified engine_id.

GET /v2/{project_id}/enginemgr/engines/{engine_id}

Example Response

{
	"id": "891bf21a-4024-4f47-b38c-bd259ca8f10a",
	"name": "test",
	"description": "",
	"authType": "RBAC",
	"flavor": "cse.s1.medium2",
	"payment": "0",
	"version": "2.3.1",
	"latestVersion": "2.3.3",
	"status": "Creating",
	"beDefault": true,
	"createUser": "test",
	"createTime": 1635576800332,
	"cceSpec": {
		"id": 7465,
		"engineId": "891bf21a-4024-4f47-b38c-bd259ca8f10a",
		"specType": "CCE",
		"cluster": null,
		"clusterId": "41115a6f-912f-11eb-9af9-0255ac100188",
		"clusterNodes": {
			"clusterNodes": [{
				"id": "c13aaf5c-2192-421c-8e03-522e2b9a06b5",
				"az": "test",
				"ip": "172.31.25.277",
				"label": "test",
				"status": "Active"
			}]
		},
		"flavor": null,
		"region": "test",
		"version": "",
		"extendParam": ""
	},
	"externalEntrypoint": {
		"externalAddress": "192.168.0.169",
		"publicAddress": "",
		"serviceEndpoint": {
			"kie": {
				"masterEntrypoint": "https://192.168.0.169:30110",
				"masterEntrypointIpv6": "https://[2407:c080:11f0:11:b11d:675c:97ab:65f6]:30110",
				"slaveEntrypoint": null,
				"slaveEntrypointIpv6": null,
				"type": "REGISTRY"
			},
                      "serviceCenter": {
                                "masterEntrypoint": "https://192.168.0.169:30100",
                                "masterEntrypointIpv6": "https://[2407:c080:11f0:11:b11d:675c:97ab:65f6]:30100",
                                "slaveEntrypoint": null,
                                "slaveEntrypointIpv6": null,
                                "type": "REGISTRY"
                        }
		},
		"publicServiceEndpoint": {
			"kie": {
				"masterEntrypoint": "https://192.168.0.169:30110",
				"masterEntrypointIpv6": null,
				"slaveEntrypoint": null,
				"slaveEntrypointIpv6": null,
				"type": "REGISTRY"
			},
                      "serviceCenter": {
                                "masterEntrypoint": "https://192.168.0.169:30100",
				"masterEntrypointIpv6": null,
				"slaveEntrypoint": null,
				"slaveEntrypointIpv6": null,
				"type": "REGISTRY"
                        }
		}
	},
	"reference": {
		"vpc": "vpc-test",
                "vpcId": "09902850-9454-4715-9764-018f0c3701hy",
		"azList": ["test"],
		"networkId": "88550801-e892-4f8e-b21b-f7147f604f69",
		"subnetCidr": "192.168.0.0/24",
		"subnetCidrV6": "2407:c080:11f0:11::/64",
		"subnetGateway": "192.168.0.2",
		"publicIpId": null,
		"serviceLimit": 200,
		"instanceLimit": 200,
		"inputs": {
			"is_arm_cluster": "false",
			"nodeFlavor": "s6.large.2"
		}
	},
	"latestJobId": 12339,
	"enterpriseProjectId": "0",
	"enterpriseProjectName": "default",
	"engineAdditionalActions": ["Retry"],
	"specType": "CSE2",
	"type": "CSE",
	"projectId": "string",
	"vmIds": [""]
}

Status Code

Status Code

Description

200

OK

400

Bad Request

500

Internal Server Error

Error Code

See Error Code.

เราใช้คุกกี้เพื่อปรับปรุงไซต์และประสบการณ์การใช้ของคุณ การเรียกดูเว็บไซต์ของเราต่อแสดงว่าคุณยอมรับนโยบายคุกกี้ของเรา เรียนรู้เพิ่มเติม

Feedback

Feedback

Feedback

0/500

Selected Content

Submit selected content with the feedback