mirror of
https://github.com/hashicorp/vault.git
synced 2025-08-25 00:21:07 +02:00
* adds patch endpoints to api client and missing params for sync * adds namespace param to sync activation api client method
45 lines
1.7 KiB
TypeScript
45 lines
1.7 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.20.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 KvV2PatchRequest
|
||
*/
|
||
export interface KvV2PatchRequest {
|
||
/**
|
||
* The contents of the data map will be stored and returned on read.
|
||
* @type {object}
|
||
* @memberof KvV2PatchRequest
|
||
*/
|
||
data?: object;
|
||
/**
|
||
* Options for writing a KV entry. Set the "cas" value to use a Check-And-Set operation. If not set the write will be allowed. If set to 0 a write will only be allowed if the key doesn’t exist. If the index is non-zero the write will only be allowed if the key’s current version matches the version specified in the cas parameter.
|
||
* @type {object}
|
||
* @memberof KvV2PatchRequest
|
||
*/
|
||
options?: object;
|
||
/**
|
||
* If provided during a read, the value at the version number will be returned
|
||
* @type {number}
|
||
* @memberof KvV2PatchRequest
|
||
*/
|
||
version?: number;
|
||
}
|
||
/**
|
||
* Check if a given object implements the KvV2PatchRequest interface.
|
||
*/
|
||
export declare function instanceOfKvV2PatchRequest(value: object): value is KvV2PatchRequest;
|
||
export declare function KvV2PatchRequestFromJSON(json: any): KvV2PatchRequest;
|
||
export declare function KvV2PatchRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): KvV2PatchRequest;
|
||
export declare function KvV2PatchRequestToJSON(json: any): KvV2PatchRequest;
|
||
export declare function KvV2PatchRequestToJSONTyped(value?: KvV2PatchRequest | null, ignoreDiscriminator?: boolean): any;
|