@@ -89,7 +89,7 @@ message DeleteAccountRequest {
89
89
message DeleteAccountResponse {
90
90
}
91
91
92
- // ********** Below is the interfaces for optional feature: resource management ***************
92
+ // ********** Below is the interfaces for optional feature: RESOURCE_MANAGEMENT ***************
93
93
message BlockAccountWithPartitionsRequest {
94
94
string account_name = 1 ;
95
95
// when the value exists: block specified partition(s) of the account
@@ -151,7 +151,7 @@ message GetAllAccountsWithUsersAndBlockedDetailsResponse {
151
151
repeated ClusterAccountInfoWithBlockedDetails accounts = 1 ;
152
152
}
153
153
154
- // ********** Above is the interfaces for optional feature: resource management ***************
154
+ // ********** Above is the interfaces for optional feature: RESOURCE_MANAGEMENT ***************
155
155
156
156
157
157
service AccountService {
@@ -218,9 +218,9 @@ service AccountService {
218
218
rpc DeleteAccount (DeleteAccountRequest ) returns (DeleteAccountResponse );
219
219
220
220
221
- // ********** Below is the rpcs for optional feature: resource management ***************
221
+ // ********** Below is the rpcs for optional feature: RESOURCE_MANAGEMENT ***************
222
222
/*
223
- * FOR OPTIOANL FEATURE: RESOURCE MANAGEMENT
223
+ * FOR OPTIOANL FEATURE: RESOURCE_MANAGEMENT
224
224
* description: block an account with specified partitions
225
225
* errors:
226
226
* - account not exist
@@ -230,7 +230,7 @@ service AccountService {
230
230
*/
231
231
rpc BlockAccountWithPartitions (BlockAccountWithPartitionsRequest ) returns (BlockAccountWithPartitionsResponse );
232
232
/*
233
- * FOR OPTIOANL FEATURE: RESOURCE MANAGEMENT
233
+ * FOR OPTIOANL FEATURE: RESOURCE_MANAGEMENT
234
234
* description: unblock an account with specified partitions
235
235
* errors:
236
236
* - account not exist
@@ -240,19 +240,19 @@ service AccountService {
240
240
*/
241
241
rpc UnblockAccountWithPartitions (UnblockAccountWithPartitionsRequest ) returns (UnblockAccountWithPartitionsResponse );
242
242
/*
243
- * FOR OPTIOANL FEATURE: RESOURCE MANAGEMENT
243
+ * FOR OPTIOANL FEATURE: RESOURCE_MANAGEMENT
244
244
* description: query if an account is blocked with specified partitions
245
245
* errors:
246
246
* - account not exist
247
247
* NOT_FOUND, ACCOUNT_NOT_FOUND, {}
248
248
*/
249
249
rpc QueryAccountBlockStatusWithPartitions (QueryAccountBlockStatusWithPartitionsRequest ) returns (QueryAccountBlockStatusWithPartitionsResponse );
250
250
/*
251
- * FOR OPTIOANL FEATURE: RESOURCE MANAGEMENT
251
+ * FOR OPTIOANL FEATURE: RESOURCE_MANAGEMENT
252
252
* description: get all accounts with blocked partitions' detail and all associated users
253
253
* special case:
254
254
* - account no users, exclude this account
255
255
*/
256
256
rpc GetAllAccountsWithUsersAndBlockedDetails (GetAllAccountsWithUsersAndBlockedDetailsRequest ) returns (GetAllAccountsWithUsersAndBlockedDetailsResponse );
257
- // ********** Above is the interfaces for optional feature: resource management ***************
257
+ // ********** Above is the interfaces for optional feature: RESOURCE_MANAGEMENT ***************
258
258
}
0 commit comments