kb-cloud-client-typescript 2.3.0-beta.15 → 2.3.0-beta.17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/adminapi/apis/account-api.d.ts +7 -7
- package/dist/adminapi/apis/account-api.d.ts.map +1 -1
- package/dist/adminapi/apis/account-api.js +10 -10
- package/dist/adminapi/apis/account-api.js.map +1 -1
- package/dist/adminapi/apis/diagnostics-api.d.ts +3 -3
- package/dist/adminapi/apis/diagnostics-api.js +2 -2
- package/dist/adminapi/apis/rabbit-mqapi.d.ts +7 -7
- package/dist/adminapi/apis/rabbit-mqapi.d.ts.map +1 -1
- package/dist/adminapi/apis/rabbit-mqapi.js +10 -10
- package/dist/adminapi/apis/rabbit-mqapi.js.map +1 -1
- package/dist/adminapi/apis/shared-api.d.ts +7 -7
- package/dist/adminapi/apis/shared-api.d.ts.map +1 -1
- package/dist/adminapi/apis/shared-api.js +10 -10
- package/dist/adminapi/apis/shared-api.js.map +1 -1
- package/dist/adminapi/models/aggregate-task-result-summary.d.ts +6 -0
- package/dist/adminapi/models/aggregate-task-result-summary.d.ts.map +1 -1
- package/dist/adminapi/models/aggregate-task-result-type.d.ts +1 -0
- package/dist/adminapi/models/aggregate-task-result-type.d.ts.map +1 -1
- package/dist/adminapi/models/aggregate-task-result-type.js +2 -1
- package/dist/adminapi/models/aggregate-task-result-type.js.map +1 -1
- package/dist/adminapi/models/index.d.ts +1 -0
- package/dist/adminapi/models/index.d.ts.map +1 -1
- package/dist/adminapi/models/index.js +1 -0
- package/dist/adminapi/models/index.js.map +1 -1
- package/dist/adminapi/models/inspection-task-item.d.ts +1 -1
- package/dist/adminapi/models/inspection-task.d.ts +3 -3
- package/dist/adminapi/models/inspection-task.d.ts.map +1 -1
- package/dist/adminapi/models/rbmq-password-update-request.d.ts +25 -0
- package/dist/adminapi/models/rbmq-password-update-request.d.ts.map +1 -0
- package/dist/adminapi/models/rbmq-password-update-request.js +16 -0
- package/dist/adminapi/models/rbmq-password-update-request.js.map +1 -0
- package/dist/openapi/apis/account-api.d.ts +7 -7
- package/dist/openapi/apis/account-api.d.ts.map +1 -1
- package/dist/openapi/apis/account-api.js +10 -10
- package/dist/openapi/apis/account-api.js.map +1 -1
- package/dist/openapi/apis/diagnostics-api.d.ts +3 -3
- package/dist/openapi/apis/diagnostics-api.js +2 -2
- package/dist/openapi/apis/rabbit-mqapi.d.ts +7 -7
- package/dist/openapi/apis/rabbit-mqapi.d.ts.map +1 -1
- package/dist/openapi/apis/rabbit-mqapi.js +10 -10
- package/dist/openapi/apis/rabbit-mqapi.js.map +1 -1
- package/dist/openapi/apis/shared-api.d.ts +7 -7
- package/dist/openapi/apis/shared-api.d.ts.map +1 -1
- package/dist/openapi/apis/shared-api.js +10 -10
- package/dist/openapi/apis/shared-api.js.map +1 -1
- package/dist/openapi/models/aggregate-task-result-summary.d.ts +6 -0
- package/dist/openapi/models/aggregate-task-result-summary.d.ts.map +1 -1
- package/dist/openapi/models/aggregate-task-result-type.d.ts +1 -0
- package/dist/openapi/models/aggregate-task-result-type.d.ts.map +1 -1
- package/dist/openapi/models/aggregate-task-result-type.js +2 -1
- package/dist/openapi/models/aggregate-task-result-type.js.map +1 -1
- package/dist/openapi/models/index.d.ts +1 -0
- package/dist/openapi/models/index.d.ts.map +1 -1
- package/dist/openapi/models/index.js +1 -0
- package/dist/openapi/models/index.js.map +1 -1
- package/dist/openapi/models/inspection-task-item.d.ts +1 -1
- package/dist/openapi/models/inspection-task.d.ts +3 -3
- package/dist/openapi/models/inspection-task.d.ts.map +1 -1
- package/dist/openapi/models/rbmq-password-update-request.d.ts +25 -0
- package/dist/openapi/models/rbmq-password-update-request.d.ts.map +1 -0
- package/dist/openapi/models/rbmq-password-update-request.js +16 -0
- package/dist/openapi/models/rbmq-password-update-request.js.map +1 -0
- package/package.json +1 -1
- package/src/adminapi/.openapi-generator/FILES +1 -0
- package/src/adminapi/apis/account-api.ts +14 -14
- package/src/adminapi/apis/diagnostics-api.ts +3 -3
- package/src/adminapi/apis/rabbit-mqapi.ts +14 -14
- package/src/adminapi/apis/shared-api.ts +14 -14
- package/src/adminapi/models/aggregate-task-result-summary.ts +6 -0
- package/src/adminapi/models/aggregate-task-result-type.ts +2 -1
- package/src/adminapi/models/index.ts +1 -0
- package/src/adminapi/models/inspection-task-item.ts +1 -1
- package/src/adminapi/models/inspection-task.ts +3 -3
- package/src/adminapi/models/rbmq-password-update-request.ts +30 -0
- package/src/adminapi.yaml +20 -4
- package/src/openapi/.openapi-generator/FILES +1 -0
- package/src/openapi/apis/account-api.ts +14 -14
- package/src/openapi/apis/diagnostics-api.ts +3 -3
- package/src/openapi/apis/rabbit-mqapi.ts +14 -14
- package/src/openapi/apis/shared-api.ts +14 -14
- package/src/openapi/models/aggregate-task-result-summary.ts +6 -0
- package/src/openapi/models/aggregate-task-result-type.ts +2 -1
- package/src/openapi/models/index.ts +1 -0
- package/src/openapi/models/inspection-task-item.ts +1 -1
- package/src/openapi/models/inspection-task.ts +3 -3
- package/src/openapi/models/rbmq-password-update-request.ts +30 -0
- package/src/openapi.yaml +20 -4
|
@@ -350,9 +350,9 @@ import type { RbmqAccountsList } from '../models';
|
|
|
350
350
|
// @ts-ignore
|
|
351
351
|
import type { RbmqExchange } from '../models';
|
|
352
352
|
// @ts-ignore
|
|
353
|
-
import type {
|
|
353
|
+
import type { RbmqPasswordUpdateRequest } from '../models';
|
|
354
354
|
// @ts-ignore
|
|
355
|
-
import type {
|
|
355
|
+
import type { RbmqPermission } from '../models';
|
|
356
356
|
// @ts-ignore
|
|
357
357
|
import type { RbmqVHost } from '../models';
|
|
358
358
|
// @ts-ignore
|
|
@@ -16092,19 +16092,19 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
16092
16092
|
* @param {string} orgName name of the Org
|
|
16093
16093
|
* @param {string} clusterName name of the Cluster
|
|
16094
16094
|
* @param {string} accountName name of the Account
|
|
16095
|
-
* @param {
|
|
16095
|
+
* @param {RbmqPasswordUpdateRequest} rbmqPasswordUpdateRequest
|
|
16096
16096
|
* @param {*} [options] Override http request option.
|
|
16097
16097
|
* @throws {RequiredError}
|
|
16098
16098
|
*/
|
|
16099
|
-
updateRabbitAccountPassword: async (orgName: string, clusterName: string, accountName: string,
|
|
16099
|
+
updateRabbitAccountPassword: async (orgName: string, clusterName: string, accountName: string, rbmqPasswordUpdateRequest: RbmqPasswordUpdateRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
16100
16100
|
// verify required parameter 'orgName' is not null or undefined
|
|
16101
16101
|
assertParamExists('updateRabbitAccountPassword', 'orgName', orgName)
|
|
16102
16102
|
// verify required parameter 'clusterName' is not null or undefined
|
|
16103
16103
|
assertParamExists('updateRabbitAccountPassword', 'clusterName', clusterName)
|
|
16104
16104
|
// verify required parameter 'accountName' is not null or undefined
|
|
16105
16105
|
assertParamExists('updateRabbitAccountPassword', 'accountName', accountName)
|
|
16106
|
-
// verify required parameter '
|
|
16107
|
-
assertParamExists('updateRabbitAccountPassword', '
|
|
16106
|
+
// verify required parameter 'rbmqPasswordUpdateRequest' is not null or undefined
|
|
16107
|
+
assertParamExists('updateRabbitAccountPassword', 'rbmqPasswordUpdateRequest', rbmqPasswordUpdateRequest)
|
|
16108
16108
|
const localVarPath = `/admin/v1/data/rabbitmq/organizations/{orgName}/clusters/{clusterName}/accounts/{accountName}`
|
|
16109
16109
|
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
16110
16110
|
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
@@ -16134,7 +16134,7 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
16134
16134
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
16135
16135
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
16136
16136
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
16137
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
16137
|
+
localVarRequestOptions.data = serializeDataIfNeeded(rbmqPasswordUpdateRequest, localVarRequestOptions, configuration)
|
|
16138
16138
|
|
|
16139
16139
|
return {
|
|
16140
16140
|
url: toPathString(localVarUrlObj),
|
|
@@ -21320,12 +21320,12 @@ export const SharedApiFp = function(configuration?: Configuration) {
|
|
|
21320
21320
|
* @param {string} orgName name of the Org
|
|
21321
21321
|
* @param {string} clusterName name of the Cluster
|
|
21322
21322
|
* @param {string} accountName name of the Account
|
|
21323
|
-
* @param {
|
|
21323
|
+
* @param {RbmqPasswordUpdateRequest} rbmqPasswordUpdateRequest
|
|
21324
21324
|
* @param {*} [options] Override http request option.
|
|
21325
21325
|
* @throws {RequiredError}
|
|
21326
21326
|
*/
|
|
21327
|
-
async updateRabbitAccountPassword(orgName: string, clusterName: string, accountName: string,
|
|
21328
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.updateRabbitAccountPassword(orgName, clusterName, accountName,
|
|
21327
|
+
async updateRabbitAccountPassword(orgName: string, clusterName: string, accountName: string, rbmqPasswordUpdateRequest: RbmqPasswordUpdateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
21328
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateRabbitAccountPassword(orgName, clusterName, accountName, rbmqPasswordUpdateRequest, options);
|
|
21329
21329
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
21330
21330
|
const localVarOperationServerBasePath = operationServerMap['SharedApi.updateRabbitAccountPassword']?.[localVarOperationServerIndex]?.url;
|
|
21331
21331
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -24387,7 +24387,7 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
|
|
|
24387
24387
|
* @throws {RequiredError}
|
|
24388
24388
|
*/
|
|
24389
24389
|
updateRabbitAccountPassword(requestParameters: SharedApiUpdateRabbitAccountPasswordRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
24390
|
-
return localVarFp.updateRabbitAccountPassword(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.
|
|
24390
|
+
return localVarFp.updateRabbitAccountPassword(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.rbmqPasswordUpdateRequest, options).then((request) => request(axios, basePath));
|
|
24391
24391
|
},
|
|
24392
24392
|
/**
|
|
24393
24393
|
* Update a RabbitMQ account privileges
|
|
@@ -37178,10 +37178,10 @@ export interface SharedApiUpdateRabbitAccountPasswordRequest {
|
|
|
37178
37178
|
|
|
37179
37179
|
/**
|
|
37180
37180
|
*
|
|
37181
|
-
* @type {
|
|
37181
|
+
* @type {RbmqPasswordUpdateRequest}
|
|
37182
37182
|
* @memberof SharedApiUpdateRabbitAccountPassword
|
|
37183
37183
|
*/
|
|
37184
|
-
readonly
|
|
37184
|
+
readonly rbmqPasswordUpdateRequest: RbmqPasswordUpdateRequest
|
|
37185
37185
|
}
|
|
37186
37186
|
|
|
37187
37187
|
/**
|
|
@@ -40998,7 +40998,7 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
|
|
|
40998
40998
|
* @memberof SharedApi
|
|
40999
40999
|
*/
|
|
41000
41000
|
public updateRabbitAccountPassword(requestParameters: SharedApiUpdateRabbitAccountPasswordRequest, options?: RawAxiosRequestConfig) {
|
|
41001
|
-
return SharedApiFp(this.configuration).updateRabbitAccountPassword(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.
|
|
41001
|
+
return SharedApiFp(this.configuration).updateRabbitAccountPassword(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.rbmqPasswordUpdateRequest, options).then((request) => request(this.axios, this.basePath));
|
|
41002
41002
|
}
|
|
41003
41003
|
|
|
41004
41004
|
/**
|
|
@@ -38,5 +38,11 @@ export interface AggregateTaskResultSummary {
|
|
|
38
38
|
* @memberof AggregateTaskResultSummary
|
|
39
39
|
*/
|
|
40
40
|
'normal'?: number;
|
|
41
|
+
/**
|
|
42
|
+
* Number of completed tasks with no evaluable inspection item. Tasks that contain both evaluable and unknown items retain the conclusion derived from their evaluable items.
|
|
43
|
+
* @type {number}
|
|
44
|
+
* @memberof AggregateTaskResultSummary
|
|
45
|
+
*/
|
|
46
|
+
'unknown'?: number;
|
|
41
47
|
}
|
|
42
48
|
|
|
@@ -23,7 +23,8 @@
|
|
|
23
23
|
export const AggregateTaskResultType = {
|
|
24
24
|
green: 'green',
|
|
25
25
|
yellow: 'yellow',
|
|
26
|
-
red: 'red'
|
|
26
|
+
red: 'red',
|
|
27
|
+
unknown: 'unknown'
|
|
27
28
|
} as const;
|
|
28
29
|
|
|
29
30
|
export type AggregateTaskResultType = typeof AggregateTaskResultType[keyof typeof AggregateTaskResultType];
|
|
@@ -791,6 +791,7 @@ export * from './rbmq-accounts-list';
|
|
|
791
791
|
export * from './rbmq-accounts-list-items-inner';
|
|
792
792
|
export * from './rbmq-exchange';
|
|
793
793
|
export * from './rbmq-message-stats';
|
|
794
|
+
export * from './rbmq-password-update-request';
|
|
794
795
|
export * from './rbmq-permission';
|
|
795
796
|
export * from './rbmq-topic-permission';
|
|
796
797
|
export * from './rbmq-user';
|
|
@@ -126,7 +126,7 @@ export interface InspectionTaskItem {
|
|
|
126
126
|
*/
|
|
127
127
|
'criticality'?: InspectionCriticality;
|
|
128
128
|
/**
|
|
129
|
-
* Structured evidence used to explain the item result. Prometheus/
|
|
129
|
+
* Structured evidence used to explain the item result. Unavailable or invalid evidence from any collection source, including Prometheus/exporters and DMS, is reported as unknown instead of being converted into a healthy or unhealthy conclusion.
|
|
130
130
|
* @type {{ [key: string]: any; }}
|
|
131
131
|
* @memberof InspectionTaskItem
|
|
132
132
|
*/
|
|
@@ -102,13 +102,13 @@ export interface InspectionTask {
|
|
|
102
102
|
*/
|
|
103
103
|
'expiredAt'?: string;
|
|
104
104
|
/**
|
|
105
|
-
*
|
|
105
|
+
* Weighted health score from 0 to 100 over evaluable inspection items only. Unknown items are excluded from both the numerator and denominator. The field is omitted when no item is evaluable; a present value of 0 is a valid evaluated score.
|
|
106
106
|
* @type {number}
|
|
107
107
|
* @memberof InspectionTask
|
|
108
108
|
*/
|
|
109
|
-
'score'?: number;
|
|
109
|
+
'score'?: number | null;
|
|
110
110
|
/**
|
|
111
|
-
*
|
|
111
|
+
* Task health conclusion derived from evaluable item states and criticality-aware score caps. Valid conclusions are red, yellow, green, and unknown. Unknown means no item is evaluable. Unknown items remain visible in the item list but do not override a red, yellow, or green conclusion derived from evaluable items.
|
|
112
112
|
* @type {string}
|
|
113
113
|
* @memberof InspectionTask
|
|
114
114
|
*/
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Admin API
|
|
5
|
+
* The Admin API is used to manage the ApeCloud platform.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
* Contact: support@apecloud.com
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
* RabbitMQ account password update request.
|
|
19
|
+
* @export
|
|
20
|
+
* @interface RbmqPasswordUpdateRequest
|
|
21
|
+
*/
|
|
22
|
+
export interface RbmqPasswordUpdateRequest {
|
|
23
|
+
/**
|
|
24
|
+
* New RabbitMQ account password.
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof RbmqPasswordUpdateRequest
|
|
27
|
+
*/
|
|
28
|
+
'password': string;
|
|
29
|
+
}
|
|
30
|
+
|
package/src/adminapi.yaml
CHANGED
|
@@ -20640,7 +20640,7 @@ paths:
|
|
|
20640
20640
|
content:
|
|
20641
20641
|
application/json:
|
|
20642
20642
|
schema:
|
|
20643
|
-
$ref: '#/components/schemas/
|
|
20643
|
+
$ref: '#/components/schemas/RbmqPasswordUpdateRequest'
|
|
20644
20644
|
responses:
|
|
20645
20645
|
'204':
|
|
20646
20646
|
description: A successful response.
|
|
@@ -22229,7 +22229,7 @@ paths:
|
|
|
22229
22229
|
type: string
|
|
22230
22230
|
- name: limit
|
|
22231
22231
|
in: query
|
|
22232
|
-
description: Maximum number of sessions to return.
|
|
22232
|
+
description: Maximum number of sessions to return. When omitted, the API returns the complete point-in-time session snapshot. When provided, the value must be positive.
|
|
22233
22233
|
required: false
|
|
22234
22234
|
schema:
|
|
22235
22235
|
type: integer
|
|
@@ -39298,7 +39298,7 @@ components:
|
|
|
39298
39298
|
type: boolean
|
|
39299
39299
|
inspectionTaskItemEvidence:
|
|
39300
39300
|
type: object
|
|
39301
|
-
description: Structured evidence used to explain the item result. Prometheus/
|
|
39301
|
+
description: Structured evidence used to explain the item result. Unavailable or invalid evidence from any collection source, including Prometheus/exporters and DMS, is reported as unknown instead of being converted into a healthy or unhealthy conclusion.
|
|
39302
39302
|
additionalProperties: true
|
|
39303
39303
|
inspectionTaskItem:
|
|
39304
39304
|
properties:
|
|
@@ -39394,9 +39394,12 @@ components:
|
|
|
39394
39394
|
description: Expiration timestamp fixed when the inspection report is created from savedDays.
|
|
39395
39395
|
score:
|
|
39396
39396
|
type: integer
|
|
39397
|
+
format: int64
|
|
39398
|
+
x-nullable: true
|
|
39399
|
+
description: Weighted health score from 0 to 100 over evaluable inspection items only. Unknown items are excluded from both the numerator and denominator. The field is omitted when no item is evaluable; a present value of 0 is a valid evaluated score.
|
|
39397
39400
|
result:
|
|
39398
39401
|
type: string
|
|
39399
|
-
description:
|
|
39402
|
+
description: Task health conclusion derived from evaluable item states and criticality-aware score caps. Valid conclusions are red, yellow, green, and unknown. Unknown means no item is evaluable. Unknown items remain visible in the item list but do not override a red, yellow, or green conclusion derived from evaluable items.
|
|
39400
39403
|
latestRunAt:
|
|
39401
39404
|
format: date-time
|
|
39402
39405
|
type: string
|
|
@@ -39447,6 +39450,7 @@ components:
|
|
|
39447
39450
|
- green
|
|
39448
39451
|
- yellow
|
|
39449
39452
|
- red
|
|
39453
|
+
- unknown
|
|
39450
39454
|
aggregateTaskResultSummary:
|
|
39451
39455
|
type: object
|
|
39452
39456
|
properties:
|
|
@@ -39456,6 +39460,9 @@ components:
|
|
|
39456
39460
|
type: integer
|
|
39457
39461
|
normal:
|
|
39458
39462
|
type: integer
|
|
39463
|
+
unknown:
|
|
39464
|
+
type: integer
|
|
39465
|
+
description: Number of completed tasks with no evaluable inspection item. Tasks that contain both evaluable and unknown items retain the conclusion derived from their evaluable items.
|
|
39459
39466
|
aggregateTaskResult:
|
|
39460
39467
|
properties:
|
|
39461
39468
|
engine:
|
|
@@ -41718,6 +41725,15 @@ components:
|
|
|
41718
41725
|
userPermission:
|
|
41719
41726
|
$ref: '#/components/schemas/RbmqPermission'
|
|
41720
41727
|
description: RabbitMQ user permissions
|
|
41728
|
+
RbmqPasswordUpdateRequest:
|
|
41729
|
+
type: object
|
|
41730
|
+
description: RabbitMQ account password update request.
|
|
41731
|
+
required:
|
|
41732
|
+
- password
|
|
41733
|
+
properties:
|
|
41734
|
+
password:
|
|
41735
|
+
type: string
|
|
41736
|
+
description: New RabbitMQ account password.
|
|
41721
41737
|
RbmqVHost:
|
|
41722
41738
|
type: object
|
|
41723
41739
|
properties:
|
|
@@ -800,6 +800,7 @@ models/rbmq-accounts-list-items-inner.ts
|
|
|
800
800
|
models/rbmq-accounts-list.ts
|
|
801
801
|
models/rbmq-exchange.ts
|
|
802
802
|
models/rbmq-message-stats.ts
|
|
803
|
+
models/rbmq-password-update-request.ts
|
|
803
804
|
models/rbmq-permission.ts
|
|
804
805
|
models/rbmq-topic-permission.ts
|
|
805
806
|
models/rbmq-user.ts
|
|
@@ -52,9 +52,9 @@ import type { RbmqAccountRequest } from '../models';
|
|
|
52
52
|
// @ts-ignore
|
|
53
53
|
import type { RbmqAccountsList } from '../models';
|
|
54
54
|
// @ts-ignore
|
|
55
|
-
import type {
|
|
55
|
+
import type { RbmqPasswordUpdateRequest } from '../models';
|
|
56
56
|
// @ts-ignore
|
|
57
|
-
import type {
|
|
57
|
+
import type { RbmqPermission } from '../models';
|
|
58
58
|
/**
|
|
59
59
|
* AccountApi - axios parameter creator
|
|
60
60
|
* @export
|
|
@@ -1874,19 +1874,19 @@ export const AccountApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
1874
1874
|
* @param {string} orgName name of the Org
|
|
1875
1875
|
* @param {string} clusterName name of the Cluster
|
|
1876
1876
|
* @param {string} accountName name of the Account
|
|
1877
|
-
* @param {
|
|
1877
|
+
* @param {RbmqPasswordUpdateRequest} rbmqPasswordUpdateRequest
|
|
1878
1878
|
* @param {*} [options] Override http request option.
|
|
1879
1879
|
* @throws {RequiredError}
|
|
1880
1880
|
*/
|
|
1881
|
-
updateRabbitAccountPassword: async (orgName: string, clusterName: string, accountName: string,
|
|
1881
|
+
updateRabbitAccountPassword: async (orgName: string, clusterName: string, accountName: string, rbmqPasswordUpdateRequest: RbmqPasswordUpdateRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1882
1882
|
// verify required parameter 'orgName' is not null or undefined
|
|
1883
1883
|
assertParamExists('updateRabbitAccountPassword', 'orgName', orgName)
|
|
1884
1884
|
// verify required parameter 'clusterName' is not null or undefined
|
|
1885
1885
|
assertParamExists('updateRabbitAccountPassword', 'clusterName', clusterName)
|
|
1886
1886
|
// verify required parameter 'accountName' is not null or undefined
|
|
1887
1887
|
assertParamExists('updateRabbitAccountPassword', 'accountName', accountName)
|
|
1888
|
-
// verify required parameter '
|
|
1889
|
-
assertParamExists('updateRabbitAccountPassword', '
|
|
1888
|
+
// verify required parameter 'rbmqPasswordUpdateRequest' is not null or undefined
|
|
1889
|
+
assertParamExists('updateRabbitAccountPassword', 'rbmqPasswordUpdateRequest', rbmqPasswordUpdateRequest)
|
|
1890
1890
|
const localVarPath = `/api/v1/data/rabbitmq/organizations/{orgName}/clusters/{clusterName}/accounts/{accountName}`
|
|
1891
1891
|
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
1892
1892
|
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
@@ -1916,7 +1916,7 @@ export const AccountApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
1916
1916
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1917
1917
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1918
1918
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
1919
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
1919
|
+
localVarRequestOptions.data = serializeDataIfNeeded(rbmqPasswordUpdateRequest, localVarRequestOptions, configuration)
|
|
1920
1920
|
|
|
1921
1921
|
return {
|
|
1922
1922
|
url: toPathString(localVarUrlObj),
|
|
@@ -2592,12 +2592,12 @@ export const AccountApiFp = function(configuration?: Configuration) {
|
|
|
2592
2592
|
* @param {string} orgName name of the Org
|
|
2593
2593
|
* @param {string} clusterName name of the Cluster
|
|
2594
2594
|
* @param {string} accountName name of the Account
|
|
2595
|
-
* @param {
|
|
2595
|
+
* @param {RbmqPasswordUpdateRequest} rbmqPasswordUpdateRequest
|
|
2596
2596
|
* @param {*} [options] Override http request option.
|
|
2597
2597
|
* @throws {RequiredError}
|
|
2598
2598
|
*/
|
|
2599
|
-
async updateRabbitAccountPassword(orgName: string, clusterName: string, accountName: string,
|
|
2600
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.updateRabbitAccountPassword(orgName, clusterName, accountName,
|
|
2599
|
+
async updateRabbitAccountPassword(orgName: string, clusterName: string, accountName: string, rbmqPasswordUpdateRequest: RbmqPasswordUpdateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
2600
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateRabbitAccountPassword(orgName, clusterName, accountName, rbmqPasswordUpdateRequest, options);
|
|
2601
2601
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2602
2602
|
const localVarOperationServerBasePath = operationServerMap['AccountApi.updateRabbitAccountPassword']?.[localVarOperationServerIndex]?.url;
|
|
2603
2603
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -3003,7 +3003,7 @@ export const AccountApiFactory = function (configuration?: Configuration, basePa
|
|
|
3003
3003
|
* @throws {RequiredError}
|
|
3004
3004
|
*/
|
|
3005
3005
|
updateRabbitAccountPassword(requestParameters: AccountApiUpdateRabbitAccountPasswordRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
3006
|
-
return localVarFp.updateRabbitAccountPassword(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.
|
|
3006
|
+
return localVarFp.updateRabbitAccountPassword(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.rbmqPasswordUpdateRequest, options).then((request) => request(axios, basePath));
|
|
3007
3007
|
},
|
|
3008
3008
|
/**
|
|
3009
3009
|
* Update a RabbitMQ account privileges
|
|
@@ -4523,10 +4523,10 @@ export interface AccountApiUpdateRabbitAccountPasswordRequest {
|
|
|
4523
4523
|
|
|
4524
4524
|
/**
|
|
4525
4525
|
*
|
|
4526
|
-
* @type {
|
|
4526
|
+
* @type {RbmqPasswordUpdateRequest}
|
|
4527
4527
|
* @memberof AccountApiUpdateRabbitAccountPassword
|
|
4528
4528
|
*/
|
|
4529
|
-
readonly
|
|
4529
|
+
readonly rbmqPasswordUpdateRequest: RbmqPasswordUpdateRequest
|
|
4530
4530
|
}
|
|
4531
4531
|
|
|
4532
4532
|
/**
|
|
@@ -5042,7 +5042,7 @@ export class AccountApi extends BaseAPI implements AccountApiInterface {
|
|
|
5042
5042
|
* @memberof AccountApi
|
|
5043
5043
|
*/
|
|
5044
5044
|
public updateRabbitAccountPassword(requestParameters: AccountApiUpdateRabbitAccountPasswordRequest, options?: RawAxiosRequestConfig) {
|
|
5045
|
-
return AccountApiFp(this.configuration).updateRabbitAccountPassword(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.
|
|
5045
|
+
return AccountApiFp(this.configuration).updateRabbitAccountPassword(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.rbmqPasswordUpdateRequest, options).then((request) => request(this.axios, this.basePath));
|
|
5046
5046
|
}
|
|
5047
5047
|
|
|
5048
5048
|
/**
|
|
@@ -898,7 +898,7 @@ export const DiagnosticsApiAxiosParamCreator = function (configuration?: Configu
|
|
|
898
898
|
* @summary List PostgreSQL session basic diagnostics
|
|
899
899
|
* @param {string} orgName Organization name
|
|
900
900
|
* @param {string} clusterName Cluster name
|
|
901
|
-
* @param {number} [limit] Maximum number of sessions to return.
|
|
901
|
+
* @param {number} [limit] Maximum number of sessions to return. When omitted, the API returns the complete point-in-time session snapshot. When provided, the value must be positive.
|
|
902
902
|
* @param {*} [options] Override http request option.
|
|
903
903
|
* @throws {RequiredError}
|
|
904
904
|
*/
|
|
@@ -1206,7 +1206,7 @@ export const DiagnosticsApiFp = function(configuration?: Configuration) {
|
|
|
1206
1206
|
* @summary List PostgreSQL session basic diagnostics
|
|
1207
1207
|
* @param {string} orgName Organization name
|
|
1208
1208
|
* @param {string} clusterName Cluster name
|
|
1209
|
-
* @param {number} [limit] Maximum number of sessions to return.
|
|
1209
|
+
* @param {number} [limit] Maximum number of sessions to return. When omitted, the API returns the complete point-in-time session snapshot. When provided, the value must be positive.
|
|
1210
1210
|
* @param {*} [options] Override http request option.
|
|
1211
1211
|
* @throws {RequiredError}
|
|
1212
1212
|
*/
|
|
@@ -2102,7 +2102,7 @@ export interface DiagnosticsApiListDiagnosticsPostgresqlSessionsRequest {
|
|
|
2102
2102
|
readonly clusterName: string
|
|
2103
2103
|
|
|
2104
2104
|
/**
|
|
2105
|
-
* Maximum number of sessions to return.
|
|
2105
|
+
* Maximum number of sessions to return. When omitted, the API returns the complete point-in-time session snapshot. When provided, the value must be positive.
|
|
2106
2106
|
* @type {number}
|
|
2107
2107
|
* @memberof DiagnosticsApiListDiagnosticsPostgresqlSessions
|
|
2108
2108
|
*/
|
|
@@ -30,9 +30,9 @@ import type { RbmqAccountsList } from '../models';
|
|
|
30
30
|
// @ts-ignore
|
|
31
31
|
import type { RbmqExchange } from '../models';
|
|
32
32
|
// @ts-ignore
|
|
33
|
-
import type {
|
|
33
|
+
import type { RbmqPasswordUpdateRequest } from '../models';
|
|
34
34
|
// @ts-ignore
|
|
35
|
-
import type {
|
|
35
|
+
import type { RbmqPermission } from '../models';
|
|
36
36
|
// @ts-ignore
|
|
37
37
|
import type { RbmqVHost } from '../models';
|
|
38
38
|
/**
|
|
@@ -282,19 +282,19 @@ export const RabbitMQApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
282
282
|
* @param {string} orgName name of the Org
|
|
283
283
|
* @param {string} clusterName name of the Cluster
|
|
284
284
|
* @param {string} accountName name of the Account
|
|
285
|
-
* @param {
|
|
285
|
+
* @param {RbmqPasswordUpdateRequest} rbmqPasswordUpdateRequest
|
|
286
286
|
* @param {*} [options] Override http request option.
|
|
287
287
|
* @throws {RequiredError}
|
|
288
288
|
*/
|
|
289
|
-
updateRabbitAccountPassword: async (orgName: string, clusterName: string, accountName: string,
|
|
289
|
+
updateRabbitAccountPassword: async (orgName: string, clusterName: string, accountName: string, rbmqPasswordUpdateRequest: RbmqPasswordUpdateRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
290
290
|
// verify required parameter 'orgName' is not null or undefined
|
|
291
291
|
assertParamExists('updateRabbitAccountPassword', 'orgName', orgName)
|
|
292
292
|
// verify required parameter 'clusterName' is not null or undefined
|
|
293
293
|
assertParamExists('updateRabbitAccountPassword', 'clusterName', clusterName)
|
|
294
294
|
// verify required parameter 'accountName' is not null or undefined
|
|
295
295
|
assertParamExists('updateRabbitAccountPassword', 'accountName', accountName)
|
|
296
|
-
// verify required parameter '
|
|
297
|
-
assertParamExists('updateRabbitAccountPassword', '
|
|
296
|
+
// verify required parameter 'rbmqPasswordUpdateRequest' is not null or undefined
|
|
297
|
+
assertParamExists('updateRabbitAccountPassword', 'rbmqPasswordUpdateRequest', rbmqPasswordUpdateRequest)
|
|
298
298
|
const localVarPath = `/api/v1/data/rabbitmq/organizations/{orgName}/clusters/{clusterName}/accounts/{accountName}`
|
|
299
299
|
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
300
300
|
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
@@ -324,7 +324,7 @@ export const RabbitMQApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
324
324
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
325
325
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
326
326
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
327
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
327
|
+
localVarRequestOptions.data = serializeDataIfNeeded(rbmqPasswordUpdateRequest, localVarRequestOptions, configuration)
|
|
328
328
|
|
|
329
329
|
return {
|
|
330
330
|
url: toPathString(localVarUrlObj),
|
|
@@ -474,12 +474,12 @@ export const RabbitMQApiFp = function(configuration?: Configuration) {
|
|
|
474
474
|
* @param {string} orgName name of the Org
|
|
475
475
|
* @param {string} clusterName name of the Cluster
|
|
476
476
|
* @param {string} accountName name of the Account
|
|
477
|
-
* @param {
|
|
477
|
+
* @param {RbmqPasswordUpdateRequest} rbmqPasswordUpdateRequest
|
|
478
478
|
* @param {*} [options] Override http request option.
|
|
479
479
|
* @throws {RequiredError}
|
|
480
480
|
*/
|
|
481
|
-
async updateRabbitAccountPassword(orgName: string, clusterName: string, accountName: string,
|
|
482
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.updateRabbitAccountPassword(orgName, clusterName, accountName,
|
|
481
|
+
async updateRabbitAccountPassword(orgName: string, clusterName: string, accountName: string, rbmqPasswordUpdateRequest: RbmqPasswordUpdateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
482
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateRabbitAccountPassword(orgName, clusterName, accountName, rbmqPasswordUpdateRequest, options);
|
|
483
483
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
484
484
|
const localVarOperationServerBasePath = operationServerMap['RabbitMQApi.updateRabbitAccountPassword']?.[localVarOperationServerIndex]?.url;
|
|
485
485
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -568,7 +568,7 @@ export const RabbitMQApiFactory = function (configuration?: Configuration, baseP
|
|
|
568
568
|
* @throws {RequiredError}
|
|
569
569
|
*/
|
|
570
570
|
updateRabbitAccountPassword(requestParameters: RabbitMQApiUpdateRabbitAccountPasswordRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
571
|
-
return localVarFp.updateRabbitAccountPassword(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.
|
|
571
|
+
return localVarFp.updateRabbitAccountPassword(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.rbmqPasswordUpdateRequest, options).then((request) => request(axios, basePath));
|
|
572
572
|
},
|
|
573
573
|
/**
|
|
574
574
|
* Update a RabbitMQ account privileges
|
|
@@ -809,10 +809,10 @@ export interface RabbitMQApiUpdateRabbitAccountPasswordRequest {
|
|
|
809
809
|
|
|
810
810
|
/**
|
|
811
811
|
*
|
|
812
|
-
* @type {
|
|
812
|
+
* @type {RbmqPasswordUpdateRequest}
|
|
813
813
|
* @memberof RabbitMQApiUpdateRabbitAccountPassword
|
|
814
814
|
*/
|
|
815
|
-
readonly
|
|
815
|
+
readonly rbmqPasswordUpdateRequest: RbmqPasswordUpdateRequest
|
|
816
816
|
}
|
|
817
817
|
|
|
818
818
|
/**
|
|
@@ -926,7 +926,7 @@ export class RabbitMQApi extends BaseAPI implements RabbitMQApiInterface {
|
|
|
926
926
|
* @memberof RabbitMQApi
|
|
927
927
|
*/
|
|
928
928
|
public updateRabbitAccountPassword(requestParameters: RabbitMQApiUpdateRabbitAccountPasswordRequest, options?: RawAxiosRequestConfig) {
|
|
929
|
-
return RabbitMQApiFp(this.configuration).updateRabbitAccountPassword(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.
|
|
929
|
+
return RabbitMQApiFp(this.configuration).updateRabbitAccountPassword(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.rbmqPasswordUpdateRequest, options).then((request) => request(this.axios, this.basePath));
|
|
930
930
|
}
|
|
931
931
|
|
|
932
932
|
/**
|
|
@@ -338,9 +338,9 @@ import type { RbmqAccountsList } from '../models';
|
|
|
338
338
|
// @ts-ignore
|
|
339
339
|
import type { RbmqExchange } from '../models';
|
|
340
340
|
// @ts-ignore
|
|
341
|
-
import type {
|
|
341
|
+
import type { RbmqPasswordUpdateRequest } from '../models';
|
|
342
342
|
// @ts-ignore
|
|
343
|
-
import type {
|
|
343
|
+
import type { RbmqPermission } from '../models';
|
|
344
344
|
// @ts-ignore
|
|
345
345
|
import type { RbmqVHost } from '../models';
|
|
346
346
|
// @ts-ignore
|
|
@@ -16157,19 +16157,19 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
16157
16157
|
* @param {string} orgName name of the Org
|
|
16158
16158
|
* @param {string} clusterName name of the Cluster
|
|
16159
16159
|
* @param {string} accountName name of the Account
|
|
16160
|
-
* @param {
|
|
16160
|
+
* @param {RbmqPasswordUpdateRequest} rbmqPasswordUpdateRequest
|
|
16161
16161
|
* @param {*} [options] Override http request option.
|
|
16162
16162
|
* @throws {RequiredError}
|
|
16163
16163
|
*/
|
|
16164
|
-
updateRabbitAccountPassword: async (orgName: string, clusterName: string, accountName: string,
|
|
16164
|
+
updateRabbitAccountPassword: async (orgName: string, clusterName: string, accountName: string, rbmqPasswordUpdateRequest: RbmqPasswordUpdateRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
16165
16165
|
// verify required parameter 'orgName' is not null or undefined
|
|
16166
16166
|
assertParamExists('updateRabbitAccountPassword', 'orgName', orgName)
|
|
16167
16167
|
// verify required parameter 'clusterName' is not null or undefined
|
|
16168
16168
|
assertParamExists('updateRabbitAccountPassword', 'clusterName', clusterName)
|
|
16169
16169
|
// verify required parameter 'accountName' is not null or undefined
|
|
16170
16170
|
assertParamExists('updateRabbitAccountPassword', 'accountName', accountName)
|
|
16171
|
-
// verify required parameter '
|
|
16172
|
-
assertParamExists('updateRabbitAccountPassword', '
|
|
16171
|
+
// verify required parameter 'rbmqPasswordUpdateRequest' is not null or undefined
|
|
16172
|
+
assertParamExists('updateRabbitAccountPassword', 'rbmqPasswordUpdateRequest', rbmqPasswordUpdateRequest)
|
|
16173
16173
|
const localVarPath = `/api/v1/data/rabbitmq/organizations/{orgName}/clusters/{clusterName}/accounts/{accountName}`
|
|
16174
16174
|
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
16175
16175
|
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
@@ -16199,7 +16199,7 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
16199
16199
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
16200
16200
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
16201
16201
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
16202
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
16202
|
+
localVarRequestOptions.data = serializeDataIfNeeded(rbmqPasswordUpdateRequest, localVarRequestOptions, configuration)
|
|
16203
16203
|
|
|
16204
16204
|
return {
|
|
16205
16205
|
url: toPathString(localVarUrlObj),
|
|
@@ -21393,12 +21393,12 @@ export const SharedApiFp = function(configuration?: Configuration) {
|
|
|
21393
21393
|
* @param {string} orgName name of the Org
|
|
21394
21394
|
* @param {string} clusterName name of the Cluster
|
|
21395
21395
|
* @param {string} accountName name of the Account
|
|
21396
|
-
* @param {
|
|
21396
|
+
* @param {RbmqPasswordUpdateRequest} rbmqPasswordUpdateRequest
|
|
21397
21397
|
* @param {*} [options] Override http request option.
|
|
21398
21398
|
* @throws {RequiredError}
|
|
21399
21399
|
*/
|
|
21400
|
-
async updateRabbitAccountPassword(orgName: string, clusterName: string, accountName: string,
|
|
21401
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.updateRabbitAccountPassword(orgName, clusterName, accountName,
|
|
21400
|
+
async updateRabbitAccountPassword(orgName: string, clusterName: string, accountName: string, rbmqPasswordUpdateRequest: RbmqPasswordUpdateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
21401
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateRabbitAccountPassword(orgName, clusterName, accountName, rbmqPasswordUpdateRequest, options);
|
|
21402
21402
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
21403
21403
|
const localVarOperationServerBasePath = operationServerMap['SharedApi.updateRabbitAccountPassword']?.[localVarOperationServerIndex]?.url;
|
|
21404
21404
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -24442,7 +24442,7 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
|
|
|
24442
24442
|
* @throws {RequiredError}
|
|
24443
24443
|
*/
|
|
24444
24444
|
updateRabbitAccountPassword(requestParameters: SharedApiUpdateRabbitAccountPasswordRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
24445
|
-
return localVarFp.updateRabbitAccountPassword(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.
|
|
24445
|
+
return localVarFp.updateRabbitAccountPassword(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.rbmqPasswordUpdateRequest, options).then((request) => request(axios, basePath));
|
|
24446
24446
|
},
|
|
24447
24447
|
/**
|
|
24448
24448
|
* Update a RabbitMQ account privileges
|
|
@@ -37453,10 +37453,10 @@ export interface SharedApiUpdateRabbitAccountPasswordRequest {
|
|
|
37453
37453
|
|
|
37454
37454
|
/**
|
|
37455
37455
|
*
|
|
37456
|
-
* @type {
|
|
37456
|
+
* @type {RbmqPasswordUpdateRequest}
|
|
37457
37457
|
* @memberof SharedApiUpdateRabbitAccountPassword
|
|
37458
37458
|
*/
|
|
37459
|
-
readonly
|
|
37459
|
+
readonly rbmqPasswordUpdateRequest: RbmqPasswordUpdateRequest
|
|
37460
37460
|
}
|
|
37461
37461
|
|
|
37462
37462
|
/**
|
|
@@ -41251,7 +41251,7 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
|
|
|
41251
41251
|
* @memberof SharedApi
|
|
41252
41252
|
*/
|
|
41253
41253
|
public updateRabbitAccountPassword(requestParameters: SharedApiUpdateRabbitAccountPasswordRequest, options?: RawAxiosRequestConfig) {
|
|
41254
|
-
return SharedApiFp(this.configuration).updateRabbitAccountPassword(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.
|
|
41254
|
+
return SharedApiFp(this.configuration).updateRabbitAccountPassword(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.rbmqPasswordUpdateRequest, options).then((request) => request(this.axios, this.basePath));
|
|
41255
41255
|
}
|
|
41256
41256
|
|
|
41257
41257
|
/**
|
|
@@ -38,5 +38,11 @@ export interface AggregateTaskResultSummary {
|
|
|
38
38
|
* @memberof AggregateTaskResultSummary
|
|
39
39
|
*/
|
|
40
40
|
'normal'?: number;
|
|
41
|
+
/**
|
|
42
|
+
* Number of completed tasks with no evaluable inspection item. Tasks that contain both evaluable and unknown items retain the conclusion derived from their evaluable items.
|
|
43
|
+
* @type {number}
|
|
44
|
+
* @memberof AggregateTaskResultSummary
|
|
45
|
+
*/
|
|
46
|
+
'unknown'?: number;
|
|
41
47
|
}
|
|
42
48
|
|
|
@@ -23,7 +23,8 @@
|
|
|
23
23
|
export const AggregateTaskResultType = {
|
|
24
24
|
green: 'green',
|
|
25
25
|
yellow: 'yellow',
|
|
26
|
-
red: 'red'
|
|
26
|
+
red: 'red',
|
|
27
|
+
unknown: 'unknown'
|
|
27
28
|
} as const;
|
|
28
29
|
|
|
29
30
|
export type AggregateTaskResultType = typeof AggregateTaskResultType[keyof typeof AggregateTaskResultType];
|
|
@@ -709,6 +709,7 @@ export * from './rbmq-accounts-list';
|
|
|
709
709
|
export * from './rbmq-accounts-list-items-inner';
|
|
710
710
|
export * from './rbmq-exchange';
|
|
711
711
|
export * from './rbmq-message-stats';
|
|
712
|
+
export * from './rbmq-password-update-request';
|
|
712
713
|
export * from './rbmq-permission';
|
|
713
714
|
export * from './rbmq-topic-permission';
|
|
714
715
|
export * from './rbmq-user';
|
|
@@ -126,7 +126,7 @@ export interface InspectionTaskItem {
|
|
|
126
126
|
*/
|
|
127
127
|
'criticality'?: InspectionCriticality;
|
|
128
128
|
/**
|
|
129
|
-
* Structured evidence used to explain the item result. Prometheus/
|
|
129
|
+
* Structured evidence used to explain the item result. Unavailable or invalid evidence from any collection source, including Prometheus/exporters and DMS, is reported as unknown instead of being converted into a healthy or unhealthy conclusion.
|
|
130
130
|
* @type {{ [key: string]: any; }}
|
|
131
131
|
* @memberof InspectionTaskItem
|
|
132
132
|
*/
|