All Products
Search
Document Center

Cloud Backup:DescribeHanaInstances

更新時間:Jul 05, 2024

Queries one or more SAP HANA instances that meet the specified conditions.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer.

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
VaultIdstringNo

The ID of the backup vault.

v-000b0ov******6zs
ClusterIdstringNo

The ID of the SAP HANA instance.

cl-0001zfc******50pr3
PageNumberintegerNo

The page number. Pages start from page 1. Default value: 1.

1
PageSizeintegerNo

The number of entries per page. Valid values: 1 to 99. Default value: 10.

10
Tagarray<object>No

The tags of the SAP HANA instance.

objectNo

The tags of SAP HANA instance.

KeystringNo

The tag key.

ace:rm:rgld
ValuestringNo

The tag value.

rg-acfmwutpyat2kwy
ResourceGroupIdstringNo

The ID of the resource group.

rg-aekz24ikcjyqjkq

Response parameters

ParameterTypeDescriptionExample
object
RequestIdstring

The request ID.

4003DD68-3C3C-5071-B4FC-631A6C1BAC1C
Successboolean

Indicates whether the request was successful. Valid values:

  • true
  • false
true
Codestring

The response code. The status code 200 indicates that the request was successful.

200
Messagestring

The returned message. If the request was successful, "successful" is returned. If the request failed, an error message is returned.

successful
PageNumberinteger

The page number. Pages start from page 1. Default value: 1.

1
PageSizeinteger

The number of entries per page. Valid values: 1 to 99. Default value: 10.

10
TotalCountinteger

The total number of entries returned.

21
Hanasarray<object>

The information about the SAP HANA instances.

object

The details of SAN HANA instance.

Statuslong

The status of the SAP HANA instance. Valid values:

  • INITIALIZING: The instance is being initialized.
  • INITIALIZED: The instance is registered.
  • INVALID_HANA_NODE: The instance is invalid.
  • INITIALIZE_FAILED: The client fails to be installed on the instance.
INITIALIZED
Hoststring

The private or internal IP address of the host where the primary node of the SAP HANA instance resides.

47.100.XX.XX
VaultIdstring

The ID of the backup vault.

v-0000s974******1hl
UseSslboolean

Indicates whether the SAP HANA instance is connected over Secure Sockets Layer (SSL). Valid values:

  • true: The SAP HANA instance is connected over SSL.
  • false: The SAP HANA instance is not connected over SSL.
true
HanaNamestring

The name of the SAP HANA instance.

HANA-DEV
InstanceNumberinteger

The instance number of the SAP HANA system.

00
ValidateCertificateboolean

Indicates whether the SSL certificate of the SAP HANA instance is verified.

false
AlertSettingstring

The alert settings. Valid value: INHERITED, which indicates that the Cloud Backup client sends alert notifications by using the same method configured for the backup vault.

INHERITED
UserNamestring

The username of the SYSTEMDB database.

admin
StatusMessagestring

The status information.

INSTALL_CLIENT_FAILED
ClusterIdstring

The ID of the SAP HANA instance.

cl-0004cf6g6******0yd7y
Tagsarray<object>

The tags of the SAP HANA instance.

object

The tags of SAP HANA instance.

Keystring

The tag key.

ace:rm:rgld
Valuestring

The tag value.

rg-acfmwutpyat2kwy
ResourceGroupIdstring

The resource group ID.

rg-acfmvnf22m7itha
CrossAccountTypestring

The backup type. Valid values:

  • SELF_ACCOUNT: Data is backed up within the same Alibaba Cloud account.
  • CROSS_ACCOUNT: Data is backed up across Alibaba Cloud accounts.
CROSS_ACCOUNT
CrossAccountUserIdlong

The ID of the source Alibaba Cloud account that authorizes the current Alibaba Cloud account to back up data across Alibaba Cloud accounts.

158975xxxxx4625
CrossAccountRoleNamestring

The name of the Resource Access Management (RAM) role that is created within the source Alibaba Cloud account and assigned to the current Alibaba Cloud account to authorize the current Alibaba Cloud account to back up data across Alibaba Cloud accounts.

hbrcrossrole

Examples

Sample success responses

JSONformat

{
  "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

For a list of error codes, visit the Service error codes.

Change history

Change timeSummary of changesOperation
2024-05-22The response structure of the API has changedView Change Details