@codingame/kubevirt-api
Version:
kubevirt OpenAPI automation for TypeScript
46 lines (45 loc) • 2.46 kB
TypeScript
/**
* KubeVirt API
* This is KubeVirt API an add-on for Kubernetes.
*
* The version of the OpenAPI document: 1.0.0
* Contact: kubevirt-dev@googlegroups.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
/**
* RestartOptions may be provided when deleting an API object.
* @export
* @interface V1RestartOptions
*/
export interface V1RestartOptions {
/**
* APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
* @type {string}
* @memberof V1RestartOptions
*/
apiVersion?: string;
/**
* When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
* @type {Array<string>}
* @memberof V1RestartOptions
*/
dryRun?: Array<string>;
/**
* The duration in seconds before the object should be force-restarted. Value must be non-negative integer. The value zero indicates, restart immediately. If this value is nil, the default grace period for deletion of the corresponding VMI for the specified type will be used to determine on how much time to give the VMI to restart. Defaults to a per object value if not specified. zero means restart immediately. Allowed Values: nil and 0
* @type {number}
* @memberof V1RestartOptions
*/
gracePeriodSeconds?: number;
/**
* Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
* @type {string}
* @memberof V1RestartOptions
*/
kind?: string;
}
export declare function V1RestartOptionsFromJSON(json: any): V1RestartOptions;
export declare function V1RestartOptionsFromJSONTyped(json: any, _ignoreDiscriminator: boolean): V1RestartOptions;
export declare function V1RestartOptionsToJSON(value?: V1RestartOptions | null): any;