vault/ui/api-client/dist/esm/models/AppRoleWritePeriodRequest.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 AppRoleWritePeriodRequest
*/
export interface AppRoleWritePeriodRequest {
/**
* Use "token_period" instead. If this and "token_period" are both specified, only "token_period" will be used.
* @type {string}
* @memberof AppRoleWritePeriodRequest
* @deprecated
*/
period?: string;
/**
* 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 {string}
* @memberof AppRoleWritePeriodRequest
*/
tokenPeriod?: string;
}
/**
* Check if a given object implements the AppRoleWritePeriodRequest interface.
*/
export declare function instanceOfAppRoleWritePeriodRequest(value: object): value is AppRoleWritePeriodRequest;
export declare function AppRoleWritePeriodRequestFromJSON(json: any): AppRoleWritePeriodRequest;
export declare function AppRoleWritePeriodRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): AppRoleWritePeriodRequest;
export declare function AppRoleWritePeriodRequestToJSON(json: any): AppRoleWritePeriodRequest;
export declare function AppRoleWritePeriodRequestToJSONTyped(value?: AppRoleWritePeriodRequest | null, ignoreDiscriminator?: boolean): any;