Collector Configuration Manual for "Huawei Cloud-ROMA"
Before reading this, please first read:
Before using this collector, you must install the 'Integration Core Package' and its associated third-party dependency packages.
1. Configuration Structure
The configuration structure of this collector is as follows:
Configuration One (Recommended)
Field | Type | Required | Description |
---|---|---|---|
regions |
list | Required | List of regions to collect data from |
regions[#] |
str | Required | Region ID. Example: 'cn-north-4' See appendix for full list |
The collector will automatically retrieve all IAM projects under the region and then obtain resources based on these IAM projects.
Configuration Two (Legacy Compatibility)
Field | Type | Required | Description |
---|---|---|---|
region_projects |
dict | Required | List of 'Region - Project ID' pairs for data collection |
region_projects[#] |
str:list | Required | Key-value pairs where: Key represents the region (e.g., 'cn-north-4' )Value represents the project IDs list within that region See appendix for full list |
2. Configuration Example
Specified Region
Collecting ROMA instance data corresponding to the cn-north-4
region.
Python | |
---|---|
1 2 3 |
|
3. Data Reporting Format
After data synchronizes correctly, it can be viewed in {{( brand_name )}}'s "Infrastructure - Resource Catalog".
Example of reported data:
JSON | |
---|---|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 |
|
Descriptions of some parameters are as follows:
Field | Type | Description |
---|---|---|
flavor_type |
str | Instance specification type - Basic: basic - Professional: professional - Enterprise: enterprise - Platinum: platinum |
cpu_arch |
str | CPU architecture type, possible values: x86_64: x86 architecture aarch64: arm architecture |
maintain_begin |
str | Start time for maintenance |
maintain_end |
str | End time for maintenance |
Fields in tags and fields may change with subsequent updates.
The value of tags.name is the instance ID, used as a unique identifier.
The following fields are serialized as JSON strings.
fields.message
X. Appendix
Huawei Cloud ROMA "Region ID"
Please refer to the official Huawei Cloud documentation: