Managed Service for Greenplum® API, REST: HBARule.List
Retrieves a list of HBA rules for Greenplum clusters.
HTTP request
GET https://mdb.api.cloud.yandex.net/managed-greenplum/v1/clusters/{clusterId}/hbaRules
Path parameters
|
Field |
Description |
|
clusterId |
string Required field. ID of the Greenplum cluster. |
Response
HTTP Code: 200 - OK
{
"hbaRules": [
{
"priority": "string",
"connectionType": "string",
"database": "string",
"user": "string",
"address": "string",
"authMethod": "string"
}
]
}
|
Field |
Description |
|
hbaRules[] |
Requested list of hba rules for the cluster. |
HBARule
|
Field |
Description |
|
priority |
string (int64) Priority of the Greenplum cluster rule. |
|
connectionType |
enum (ConnectionType)
|
|
database |
string Required field. Specifies which database names this record matches. |
|
user |
string Required field. Specifies which database role names this user matches. |
|
address |
string Required field. Specifies the client machine addresses that this record matches. |
|
authMethod |
enum (AuthMethod) Specifies the authentication method to use when a connection matches this record.
|