Managed Service for Greenplum® API, gRPC: HBARuleService.ListAtRevision
Retrieves a list of HBA rules for Greenplum clusters for particular revision.
gRPC request
rpc ListAtRevision (ListHBARulesAtRevisionRequest) returns (ListHBARulesResponse)
ListHBARulesAtRevisionRequest
{
"clusterId": "string",
"revision": "int64"
}
Field |
Description |
clusterId |
string Required field. ID of the Greenplum cluster. |
revision |
int64 Cluster revision |
ListHBARulesResponse
{
"hbaRules": [
{
"priority": "int64",
"connectionType": "ConnectionType",
"database": "string",
"user": "string",
"address": "string",
"authMethod": "AuthMethod"
}
]
}
Field |
Description |
hbaRules[] |
Requested list of hba rules for the cluster. |
HBARule
Field |
Description |
priority |
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.
|