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

63 lines
2.9 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 SystemWriteReplicationPerformanceSecondaryEnableRequest
*/
export interface SystemWriteReplicationPerformanceSecondaryEnableRequest {
/**
* A path to a file containing a PEM-encoded CA certificate to verify the call against the primary's API address
* @type {string}
* @memberof SystemWriteReplicationPerformanceSecondaryEnableRequest
*/
caFile?: string;
/**
* A path to a directory containing PEM-encoded CA certificates to verify the call against the primary's API address
* @type {string}
* @memberof SystemWriteReplicationPerformanceSecondaryEnableRequest
*/
caPath?: string;
/**
* The client certificate to use for authentication, in PEM format. Note: client authentication for this operation will always use TLS 1.2 or higher.
* @type {string}
* @memberof SystemWriteReplicationPerformanceSecondaryEnableRequest
*/
clientCertPem?: string;
/**
* The client key to use for authentication, in PEM format.
* @type {string}
* @memberof SystemWriteReplicationPerformanceSecondaryEnableRequest
*/
clientKeyPem?: string;
/**
* The API address of the primary. If not set, the value the primary supplies in the token will be used, which is the primary's redirect address.
* @type {string}
* @memberof SystemWriteReplicationPerformanceSecondaryEnableRequest
*/
primaryApiAddr?: string;
/**
* The token given by the primary to activate secondary status for this cluster.
* @type {string}
* @memberof SystemWriteReplicationPerformanceSecondaryEnableRequest
*/
token?: string;
}
/**
* Check if a given object implements the SystemWriteReplicationPerformanceSecondaryEnableRequest interface.
*/
export declare function instanceOfSystemWriteReplicationPerformanceSecondaryEnableRequest(value: object): value is SystemWriteReplicationPerformanceSecondaryEnableRequest;
export declare function SystemWriteReplicationPerformanceSecondaryEnableRequestFromJSON(json: any): SystemWriteReplicationPerformanceSecondaryEnableRequest;
export declare function SystemWriteReplicationPerformanceSecondaryEnableRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): SystemWriteReplicationPerformanceSecondaryEnableRequest;
export declare function SystemWriteReplicationPerformanceSecondaryEnableRequestToJSON(json: any): SystemWriteReplicationPerformanceSecondaryEnableRequest;
export declare function SystemWriteReplicationPerformanceSecondaryEnableRequestToJSONTyped(value?: SystemWriteReplicationPerformanceSecondaryEnableRequest | null, ignoreDiscriminator?: boolean): any;