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

40 lines
1.6 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 AppRoleReadPeriodResponse
*/
export interface AppRoleReadPeriodResponse {
/**
* Use "token_period" instead. If this and "token_period" are both specified, only "token_period" will be used.
* @type {number}
* @memberof AppRoleReadPeriodResponse
* @deprecated
*/
period?: number;
/**
* If set, tokens created via this role will have no max lifetime; instead, their renewal period will be fixed to this value. This takes an integer number of seconds, or a string duration (e.g. "24h").
* @type {number}
* @memberof AppRoleReadPeriodResponse
*/
tokenPeriod?: number;
}
/**
* Check if a given object implements the AppRoleReadPeriodResponse interface.
*/
export declare function instanceOfAppRoleReadPeriodResponse(value: object): value is AppRoleReadPeriodResponse;
export declare function AppRoleReadPeriodResponseFromJSON(json: any): AppRoleReadPeriodResponse;
export declare function AppRoleReadPeriodResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): AppRoleReadPeriodResponse;
export declare function AppRoleReadPeriodResponseToJSON(json: any): AppRoleReadPeriodResponse;
export declare function AppRoleReadPeriodResponseToJSONTyped(value?: AppRoleReadPeriodResponse | null, ignoreDiscriminator?: boolean): any;