vault/ui/api-client/dist/esm/models/LeaderStatusResponse.d.ts

87 lines
2.1 KiB
TypeScript

/**
* HashiCorp Vault API
* HTTP API that gives you full access to Vault. All API routes are prefixed with `/v1/`.
*
* The version of the OpenAPI document: 1.21.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
/**
*
* @export
* @interface LeaderStatusResponse
*/
export interface LeaderStatusResponse {
/**
*
* @type {Date}
* @memberof LeaderStatusResponse
*/
activeTime?: Date;
/**
*
* @type {boolean}
* @memberof LeaderStatusResponse
*/
haEnabled?: boolean;
/**
*
* @type {boolean}
* @memberof LeaderStatusResponse
*/
isSelf?: boolean;
/**
*
* @type {number}
* @memberof LeaderStatusResponse
*/
lastWal?: number;
/**
*
* @type {string}
* @memberof LeaderStatusResponse
*/
leaderAddress?: string;
/**
*
* @type {string}
* @memberof LeaderStatusResponse
*/
leaderClusterAddress?: string;
/**
*
* @type {boolean}
* @memberof LeaderStatusResponse
*/
performanceStandby?: boolean;
/**
*
* @type {number}
* @memberof LeaderStatusResponse
*/
performanceStandbyLastRemoteWal?: number;
/**
*
* @type {number}
* @memberof LeaderStatusResponse
*/
raftAppliedIndex?: number;
/**
*
* @type {number}
* @memberof LeaderStatusResponse
*/
raftCommittedIndex?: number;
}
/**
* Check if a given object implements the LeaderStatusResponse interface.
*/
export declare function instanceOfLeaderStatusResponse(value: object): value is LeaderStatusResponse;
export declare function LeaderStatusResponseFromJSON(json: any): LeaderStatusResponse;
export declare function LeaderStatusResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): LeaderStatusResponse;
export declare function LeaderStatusResponseToJSON(json: any): LeaderStatusResponse;
export declare function LeaderStatusResponseToJSONTyped(value?: LeaderStatusResponse | null, ignoreDiscriminator?: boolean): any;