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

51 lines
1.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 EntityUpdateByNameRequest
*/
export interface EntityUpdateByNameRequest {
/**
* If set true, tokens tied to this identity will not be able to be used (but will not be revoked).
* @type {boolean}
* @memberof EntityUpdateByNameRequest
*/
disabled?: boolean;
/**
* ID of the entity. If set, updates the corresponding existing entity.
* @type {string}
* @memberof EntityUpdateByNameRequest
*/
id?: string;
/**
* Metadata to be associated with the entity. In CLI, this parameter can be repeated multiple times, and it all gets merged together. For example: vault <command> <path> metadata=key1=value1 metadata=key2=value2
* @type {object}
* @memberof EntityUpdateByNameRequest
*/
metadata?: object;
/**
* Policies to be tied to the entity.
* @type {Array<string>}
* @memberof EntityUpdateByNameRequest
*/
policies?: Array<string>;
}
/**
* Check if a given object implements the EntityUpdateByNameRequest interface.
*/
export declare function instanceOfEntityUpdateByNameRequest(value: object): value is EntityUpdateByNameRequest;
export declare function EntityUpdateByNameRequestFromJSON(json: any): EntityUpdateByNameRequest;
export declare function EntityUpdateByNameRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): EntityUpdateByNameRequest;
export declare function EntityUpdateByNameRequestToJSON(json: any): EntityUpdateByNameRequest;
export declare function EntityUpdateByNameRequestToJSONTyped(value?: EntityUpdateByNameRequest | null, ignoreDiscriminator?: boolean): any;