Queries SAP HANA instances that meet specified conditions.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
hbr:DescribeHanaInstances |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| VaultId |
string |
No |
The ID of the backup vault. |
v-000b0ov******6zs |
| ClusterId |
string |
No |
The ID of the SAP HANA instance. |
cl-0001zfc******50pr3 |
| PageNumber |
integer |
No |
The page number, starting from 1. Default value: 1. |
1 |
| PageSize |
integer |
No |
The number of entries per page. Valid values: 1 to 99. Default value: 10. |
10 |
| Tag |
array<object> |
No |
The tags of the SAP HANA instance. |
|
|
object |
No |
The tags of the SAP HANA instance. |
||
| Key |
string |
No |
The tag key. |
ace:rm:rgld |
| Value |
string |
No |
The tag value. |
rg-acfmwutpyat2kwy |
| ResourceGroupId |
string |
No |
The ID of the resource group. |
rg-aekz24ikcjyqjkq |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
4003DD68-3C3C-5071-B4FC-631A6C1BAC1C |
| Success |
boolean |
Indicates whether the request was successful. Valid values:
|
true |
| Code |
string |
The response code. Status code 200 indicates success. |
200 |
| Message |
string |
The returned message. If the request was successful, "successful" is returned. Otherwise, an error message is returned. |
successful |
| PageNumber |
integer |
The page number, starting from 1. Default value: 1. |
1 |
| PageSize |
integer |
The number of entries per page. Valid values: 1 to 99. Default value: 10. |
10 |
| TotalCount |
integer |
The total number of entries. |
21 |
| Hanas |
object |
||
| Hana |
array<object> |
The information about the SAP HANA instances. |
|
|
array<object> |
The SAP HANA instance. |
||
| Status |
integer |
The status of the SAP HANA instance. Valid values:
|
INITIALIZED |
| Host |
string |
The private or internal IP address of the host where the primary node of the SAP HANA instance resides. |
47.100.XX.XX |
| VaultId |
string |
The ID of the backup vault. |
v-0000s974******1hl |
| UseSsl |
boolean |
Indicates whether the SAP HANA instance is connected over Secure Sockets Layer (SSL). Valid values:
|
true |
| HanaName |
string |
The name of the SAP HANA instance. |
HANA-DEV |
| InstanceNumber |
integer |
The instance number of the SAP HANA system. |
00 |
| ValidateCertificate |
boolean |
Indicates whether the SSL certificate of the SAP HANA instance is verified. |
false |
| AlertSetting |
string |
The alert settings. Valid value: INHERITED, which indicates that the Cloud Backup client sends alerts using the same method configured for the backup vault. |
INHERITED |
| UserName |
string |
The username of the SYSTEMDB database. |
admin |
| StatusMessage |
string |
The status message. |
INSTALL_CLIENT_FAILED |
| ClusterId |
string |
The ID of the SAP HANA instance. |
cl-0004cf6g6******0yd7y |
| Tags |
object |
||
| Tag |
array<object> |
The tags of the SAP HANA instance. |
|
|
object |
The tags of the SAP HANA instance. |
||
| Key |
string |
The tag key. |
ace:rm:rgld |
| Value |
string |
The tag value. |
rg-acfmwutpyat2kwy |
| ResourceGroupId |
string |
The resource group ID. |
rg-acfmvnf22m7itha |
| CrossAccountType |
string |
Indicates whether data is backed up within the same Alibaba Cloud account or across accounts. Valid values:
|
CROSS_ACCOUNT |
| CrossAccountUserId |
integer |
The ID of the source Alibaba Cloud account that authorizes the current account to back up data across accounts. |
158975xxxxx4625 |
| CrossAccountRoleName |
string |
The name of the Resource Access Management (RAM) role created within the source Alibaba Cloud account and assigned to the current account to authorize cross-account data backup. |
hbrcrossrole |
Examples
Success response
JSON format
{
"RequestId": "4003DD68-3C3C-5071-B4FC-631A6C1BAC1C",
"Success": true,
"Code": "200",
"Message": "successful",
"PageNumber": 1,
"PageSize": 10,
"TotalCount": 21,
"Hanas": {
"Hana": [
{
"Status": 0,
"Host": "47.100.XX.XX",
"VaultId": "v-0000s974******1hl",
"UseSsl": true,
"HanaName": "HANA-DEV",
"InstanceNumber": 0,
"ValidateCertificate": false,
"AlertSetting": "INHERITED",
"UserName": "admin",
"StatusMessage": "INSTALL_CLIENT_FAILED",
"ClusterId": "cl-0004cf6g6******0yd7y",
"Tags": {
"Tag": [
{
"Key": "ace:rm:rgld",
"Value": "rg-acfmwutpyat2kwy"
}
]
},
"ResourceGroupId": "rg-acfmvnf22m7itha",
"CrossAccountType": "CROSS_ACCOUNT",
"CrossAccountUserId": 0,
"CrossAccountRoleName": "hbrcrossrole"
}
]
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.