Affiche la vue d'ensemble du déploiement.
Description de l'opération
Méthode
GET
URI
/openapi/ha3/instances/{instanceId}/deploy-graph
Testez maintenant
Testez cette API dans OpenAPI Explorer, sans signature manuelle. Les appels réussis génèrent automatiquement du code SDK correspondant à vos paramètres. Téléchargez-le avec une sécurité intégrée des identifiants pour une utilisation locale. Testez cette API dans OpenAPI Explorer, sans signature manuelle. Les appels réussis génèrent automatiquement du code SDK correspondant à vos paramètres. Téléchargez-le avec une sécurité intégrée des identifiants pour une utilisation locale.
Test
Autorisation RAM
|
searchengine:GetDeployGraph |
get |
*Instance
|
Aucune | Aucune |
Syntaxe de la requête
GET /openapi/ha3/instances/{instanceId}/deploy-graph HTTP/1.1
Paramètres de chemin
|
Paramètre |
Type |
Requis |
Description |
Exemple |
| instanceId |
string |
Non |
L'identifiant de l'instance. |
ha-cn-pl32rf0**** |
Paramètres de requête
|
Paramètre |
Type |
Requis |
Description |
Exemple |
Exemples de requêtes
GET /openapi/ha3/instances/{instanceId}/deploy-graph
Éléments de réponse
|
Élément |
Type |
Description |
Exemple |
|
object |
Les paramètres de la réponse. |
||
| requestId |
string |
L'identifiant de la requête. |
E7B7D598-B080-5C8E-AA35-D43EC0D5F886 |
| result |
object |
Les résultats renvoyés. |
{} |
| graph |
object |
Les informations de déploiement. |
|
| onlineMaster |
array<object> |
Les métadonnées des clusters en ligne. |
|
|
object |
|||
| id |
integer |
L'identifiant du centre de données. |
1 |
| name |
string |
Le nom du cluster en ligne. |
ha-cn-pl32rf0****_hz_pre_vpc_domain_1 |
| domainName |
string |
Le nom du centre de données. |
hz_pre_vpc_domain_1 |
| hippoId |
string |
L'identifiant de la ressource. |
5377 |
| zoneMetas |
array<object> |
Les métadonnées des zones. |
|
|
object |
Les métadonnées des zones. |
||
| name |
string |
Le nom du worker Query Result Searcher (QRS). |
ha-cn-pl32rf0****_qrs |
| tag |
string |
La balise. |
ha-cn-pl32rf0****_qrs_hz_pre_vpc_domain_1 |
| suezAdminName |
string |
Le nom du service utilisé pour gérer les relations entre les clusters en ligne et les index. |
ha-cn-pl32rf0****_hz_pre_vpc_domain_1 |
| type |
string |
Le type de nœud. |
qrs |
| domainInfo |
string |
Le nom du centre de données. |
hz_pre_vpc_domain_1 |
| tableMetas |
array<object> |
Les métadonnées des sources de données. |
|
|
object |
|||
| tableDeployId |
integer |
L'identifiant de déploiement de la table. |
2177 |
| name |
string |
Le nom de la source de données. |
ha-cn-pl32rf0****_test_api |
| tag |
string |
La balise. |
ha-cn-pl32rf0****_test_api_hz_pre_vpc_domain_1 |
| domainName |
string |
Le nom du centre de données. |
hz_pre_vpc_domain_1 |
| buildDeployId |
integer |
L'identifiant du déploiement hors ligne. |
1 |
| type |
string |
Le type de la source de données. |
odps |
| indexMetas |
array<object> |
Les métadonnées des index. |
|
|
object |
Les métadonnées des index. |
||
| name |
string |
Le nom de l'index. |
test_api |
| tag |
string |
La balise. |
test_api_hz_pre_vpc_domain_1 |
| domainName |
string |
Le nom du centre de données. |
hz_pre_vpc_domain_1 |
| tableDeployId |
integer |
L'identifiant de déploiement de la table. |
2409 |
| tableName |
string |
Le nom de la source de données. |
ha-cn-pl32rf0****_test_api |
| zoneName |
string |
Le nom du worker QRS. |
ha-cn-pl32rf0****_qrs |
| zoneIndexRelation |
object |
Les relations d'association entre les zones et les index. |
|
|
array |
Les relations d'association entre les zones et les index. |
||
|
string |
Le cluster associé aux index. |
general_hz_pre_vpc_domain_1 |
|
| tableIndexRelation |
object |
Les relations d'association entre les sources de données et les index. |
|
|
array |
Les relations d'association entre les sources de données et les index. |
||
|
string |
La table associée aux index. |
test_api_hz_pre_vpc_domain_1 |
Exemples de réponses
Réponses de succès
{
"requestId": "0A6EB64B-B4C8-CF02-810F-E660812972FF",
"result": {
"app": {
"creator": "74087",
"gmtModified": 1628151698000,
"groupId": 596,
"platformType": "tisplus",
"description": "Test cluster for the QRS rewrite plug-in. Do not use it for other tests.",
"gmtCreate": 1628151698000,
"isActive": 0,
"type": "online_group",
"appStatus": 0,
"procStatus": 0,
"isDeleted": 0,
"name": "search4TestPlugin",
"id": 5171
},
"hippos": [],
"appGroupName": "multi-biz test business line",
"name": "search4TestPlugin",
"availableDeploys": [
{
"gmtModified": 1594193012000,
"virtualDomainList": "6,7,8",
"platformType": "[\"tisplus\",\"tisplus_khronos\",\"tisplus_dingtalk\"]",
"description": "pre_et2 data center",
"groups": "",
"gmtCreate": 1565752477000,
"type": "INNET",
"modules": "[\"online\"]",
"foundationDetailList": "15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,94",
"name": "pre_et2",
"hippoId": "hippo_et2_7u",
"id": 5
},
{
"gmtModified": 1571642223000,
"platformType": "[\"tisplus\"]",
"description": "oc27 staging data center",
"groups": "",
"gmtCreate": 1571642223000,
"type": "INNET",
"modules": "[\"online\"]",
"foundationDetailList": "67,68,69,70,71,72,73,74,75,76,77,78,79",
"name": "oc27_pre",
"hippoId": "hippo_7u_oc27",
"id": 15
}
],
"graph": {
"zoneMetas": [
{
"suezAdminName": "search4TestPlugin_pre",
"zoneMetaId": 8509,
"domainInfo": "pre",
"mainZone": true,
"name": "search4TestPlugin_qrs",
"zoneId": 11379,
"tag": "search4TestPlugin_qrs_pre",
"clusterId": 5265,
"type": "qrs"
},
{
"suezAdminName": "search4TestPlugin_pre",
"zoneMetaId": 8510,
"domainInfo": "pre",
"mainZone": true,
"name": "test_searcher",
"zoneId": 11380,
"tag": "test_searcher_pre",
"clusterId": 5265,
"type": "searcher"
}
],
"tableIndexRelation": {
"product_sku_pre_ea120": [
"product_sku_pre_ea120"
]
},
"onlineMaster": [
{
"appId": 5171,
"domainId": 1,
"domainName": "pre",
"gmtCreate": 1628561292000,
"gmtModified": 1628562498000,
"hippoGroupId": "20",
"id": 5265,
"monitorStatus": 1,
"name": "search4TestPlugin_pre",
"processorInfoId": 27789,
"zkAddr": ""
}
],
"indexMetas": [
{
"tableDeployId": 7366,
"zoneMetaId": 8510,
"domainName": "pre_ea120",
"name": "product_sku",
"tableId": 6866,
"tag": "product_sku_pre_ea120",
"zoneName": "test_searcher",
"tableName": "product_sku"
}
],
"offlineMaster": [
{
"appId": 5214,
"domainId": 18,
"domainName": "pre_ea120",
"gmtCreate": 1628501863000,
"gmtModified": 1628501863000,
"id": 3751,
"isPublic": 2,
"monitorStatus": 1,
"name": "search4_multi_biz_bs",
"platformType": "tisplus",
"processorInfoId": 27755,
"zkAddr": ""
}
Exemples
JSON format
{
"requestId": "E7B7D598-B080-5C8E-AA35-D43EC0D5F886",
"result": {
"graph": {
"onlineMaster": [
{
"id": 1,
"name": "ha-cn-pl32rf0****_hz_pre_vpc_domain_1",
"domainName": "hz_pre_vpc_domain_1",
"hippoId": "5377"
}
],
"zoneMetas": [
{
"name": "ha-cn-pl32rf0****_qrs",
"tag": "ha-cn-pl32rf0****_qrs_hz_pre_vpc_domain_1",
"suezAdminName": "ha-cn-pl32rf0****_hz_pre_vpc_domain_1",
"type": "qrs",
"domainInfo": "hz_pre_vpc_domain_1"
}
],
"tableMetas": [
{
"tableDeployId": 2177,
"name": "ha-cn-pl32rf0****_test_api",
"tag": "ha-cn-pl32rf0****_test_api_hz_pre_vpc_domain_1",
"domainName": "hz_pre_vpc_domain_1",
"buildDeployId": 1,
"type": "odps"
}
],
"indexMetas": [
{
"name": "test_api",
"tag": "test_api_hz_pre_vpc_domain_1",
"domainName": "hz_pre_vpc_domain_1",
"tableDeployId": 2409,
"tableName": "ha-cn-pl32rf0****_test_api",
"zoneName": "ha-cn-pl32rf0****_qrs"
}
],
"zoneIndexRelation": {
"key": [
"general_hz_pre_vpc_domain_1"
]
},
"tableIndexRelation": {
"key": [
"test_api_hz_pre_vpc_domain_1"
]
}
}
}
}
Codes d'erreur
Consultez Codes d'erreur pour la liste complète.
Notes de version
Consultez Notes de version pour la liste complète.